Phase portraits in this visualization
A phase portrait draws the solutions of a system of differential equations as curves in the plane of its variables, one curve through each starting point. This page shows the linear system for a matrix . Moving the point on the trace–determinant map takes the picture through saddles, nodes, spirals and centers, and the eigenvalue plane beside it shows the two eigenvalues behind each picture.
Every curve follows the direction field. Its arrows all have one length and show only the direction; the speed shows in the equal-time marks, which crowd together where the motion is slow. Some solutions run along a straight line through the origin. If , then is a solution, because its derivative is exactly applied to it. So the straight lines are the eigen-directions of , and is the rate along each: the motion goes out when , in when , and not at all when .
The eigenvalues solve , so is their sum, their product and the discriminant. Each boundary on the map is one event in the eigenvalue plane. Below the eigenvalues have opposite signs and the picture is a saddle; on that line one of them is 0, and a whole line of points stays at rest. On the parabola the two eigenvalues meet, and above it they are a complex pair. With the sign of separates decay from growth, and on the pair lies on the imaginary axis. So and fix the eigenvalues and the type of picture, except at repeated eigenvalues, where the type also depends on whether is a multiple of the identity.
For complex eigenvalues with , every nonzero solution goes once around the origin in time and, over that time, is scaled by . That is why marks one turn apart lie on one ray from the origin, each scaled by the same factor. When the factor is 1 and every nonzero orbit closes into an ellipse: a center. With and , the system is the damped oscillator with .
Crossing the parabola, the two straight lines close like scissors into one and then disappear as the picture becomes a spiral. Away from the vertex, a typical matrix on the parabola has only that one line, and every other solution enters or leaves the origin tangent to it. At , the matrix has the same eigenvalues, yet every direction is a straight line. Changing the basis, , reshapes the picture but keeps , , the eigenvalues and the type. A multiple of the identity stays as it is.
Things to notice
- The two straight lines of a node are usually not perpendicular. A solution off the two lines leaves or enters the origin along the slower one and, far out, turns toward the faster one.
- A blue curve is the whole solution through a start point. The yellow path is its part since the start was put down, so after changes it shows the new solution, not a history of the old one.
Controls
- Press an empty place on the phase plane to add a start point. Near a straight line, it lands on the line.
Related
- Damping
- EigenvectorPlanned
- Vector field
- Lotka–Volterra equationsPlanned
- Slope field
Further reading: Wikipedia: Phase portrait.