Linear Systems and Eigenvectors
Linear Systems: Eigenvalues, Phase Planes, Coordinate Changes, and Flows
This lesson brings together several major ideas about a two-dimensional linear system:
- solving a system in scalar and matrix form,
- finding eigenvalues and eigenvectors,
- constructing the general solution,
- interpreting solutions geometrically in the phase plane,
- using nullclines to determine direction,
- changing to eigenvector coordinates,
- diagonalizing the system,
- computing matrix exponentials,
- and connecting continuous-time systems with discrete-time maps.
The central example is the linear system
{dtdx=−x−2y,dtdy=x−4y.In matrix form, with
y=[xy],the system is
y′=Ay,A=[−11−2−4].The goal is not only to solve this system, but also to understand what the algebra says about the geometry of its solutions.
1. Why Eigenvalues and Eigenvectors Matter
An eigenvector identifies a direction that the matrix transformation preserves. If v is an eigenvector of A with eigenvalue λ, then
Av=λv.This equation says that applying A to v produces a vector parallel to v. The vector may become longer, shorter, or reverse direction, but it does not rotate away from that line.
That algebraic fact has a direct geometric meaning for the differential equation
y′=Ay.At a point y=v, the velocity vector y′ is
y′=Av=λv.Therefore, the velocity is parallel to the position vector. A solution that begins on the eigenvector line remains on that line. Such a solution is called a straight-line solution.
If λ>0, the solution moves away from the origin along the eigenvector line. If λ<0, it moves toward the origin. The size of ∣λ∣ determines the rate of exponential growth or decay.
An eigenvector is a direction in which the vector field points parallel to the position vector, producing a straight-line solution.
2. Finding Eigenvalues
To find the eigenvalues, begin with
Av=λv.Move everything to one side:
Av−λv=0.Because λv=λIv, this becomes
(A−λI)v=0.The objective is to find a nonzero vector v satisfying this homogeneous system. A homogeneous system has a nonzero solution only when its coefficient matrix is singular, meaning noninvertible. A matrix is singular exactly when its determinant is zero. Therefore, the eigenvalues satisfy
det(A−λI)=0.For this example,
A−λI=[−1−λ1−2−4−λ].Its determinant is
det(A−λI)=(−1−λ)(−4−λ)−(−2)(1).Simplifying gives
det(A−λI)=(λ+1)(λ+4)+2=λ2+5λ+6.Factoring,
λ2+5λ+6=(λ+3)(λ+2).Thus,
(λ+3)(λ+2)=0,so the eigenvalues are
λ1=−3,λ2=−2.These are the only eigenvalues of the matrix.
Why the determinant condition is necessary
If A−λI were invertible, then the equation
(A−λI)v=0could be multiplied by (A−λI)−1, giving only
v=0.But eigenvectors must be nonzero. Therefore, A−λI must fail to be invertible, which is why its determinant must vanish.
This connects several equivalent ideas:
- A−λI is singular,
- A−λI is noninvertible,
- the null space of A−λI is nontrivial,
- the kernel of the corresponding linear transformation contains nonzero vectors,
- and λ is an eigenvalue of A.
Think About It
Why would an invertible matrix A−λI prevent the existence of an eigenvector? The key is that an invertible matrix has only the zero vector in its null space.
3. Finding Eigenvectors
Once an eigenvalue is known, it is substituted into
(A−λI)v=0.The resulting system determines the corresponding eigenvectors.
Eigenvalue λ=−3
Substitute λ=−3:
A−(−3)I=A+3I=[21−2−1].The equations are equivalent to
x−y=0.Thus,
x=y.Taking y=1 gives x=1, so one convenient eigenvector is
v1=[11].Any nonzero scalar multiple of this vector is also an eigenvector. For example,
[22]and[−5−5]represent the same eigenvector direction.
The zero vector is not an eigenvector because eigenvectors are required to be nonzero.
Eigenvalue λ=−2
Substitute λ=−2:
A−(−2)I=A+2I=[11−2−2].The equation becomes
x−2y=0,so
x=2y.Taking y=1 gives x=2, producing the convenient eigenvector
v2=[21].Again, any nonzero scalar multiple is valid.
Eigenvalues are fixed numerical values for the matrix, but eigenvectors are not unique individual vectors. They are directions, so multiplying by a nonzero scalar produces another representative of the same direction.
4. Constructing the General Solution
For an eigenvalue-eigenvector pair (λ,v), a solution of
y′=Ayis
y(t)=eλtv.For this system, the two eigenvalue-eigenvector pairs are
λ1=−3,v1=[11],and
λ2=−2,v2=[21].Therefore, two solutions are
y1(t)=e−3t[11]and
y2(t)=e−2t[21].The general solution is their arbitrary linear combination:
y(t)=C1e−3t[11]+C2e−2t[21],where C1 and C2 are arbitrary constants.
In scalar form,
x(t)=C1e−3t+2C2e−2t,and
y(t)=C1e−3t+C2e−2t.Why this is the general solution
The two vector-valued functions
e−3t[11]ande−2t[21]are linearly independent because their eigenvectors point in different directions. A two-dimensional linear system has a two-dimensional solution space. Therefore, two linearly independent solutions form a basis for that solution space.
Every solution can consequently be expressed as a linear combination of these two basis solutions.
This is an application of vector-space theory: the constants C1 and C2 select one particular solution from the entire two-dimensional family of solutions.
The general solution is a linear combination of independent eigenvector solutions because the solution space of a two-dimensional linear system is itself two-dimensional.
Think About It
The eigenvectors are not unique, but the solution space is. Replacing an eigenvector with a nonzero scalar multiple changes the constants in the general solution without changing the set of solutions.
5. The Phase Plane and Straight-Line Solutions
A phase plane displays the possible states (x,y) of the system. Each point represents a state, and the vector field assigns a velocity vector to that point.
The eigenvectors determine two important straight-line trajectories:
- v1=(1,1) lies on the line y=x;
- v2=(2,1) lies on the line y=21x.
These lines pass through the origin because they are spans of eigenvectors.
The corresponding straight-line solutions are
y(t)=C1e−3t[11]when C2=0, and
y(t)=C2e−2t[21]when C1=0.
Since both eigenvalues are negative, both straight-line solutions approach the origin as t→∞. The origin is therefore a sink for this system.
The eigenvalue −3 produces faster decay than −2 because
e−3tapproaches zero faster than
e−2tas t→∞.
6. Nullclines and Direction Fields
A nullcline is a curve where one component of the velocity is zero.
The x-nullcline
The x-nullcline is found by setting
dtdx=0.Since
dtdx=−x−2y,the equation is
−x−2y=0.Solving for y,
y=−21x.This line has slope −21. Along this line, the horizontal component of the velocity is zero, so solution curves have vertical tangents.
The y-nullcline
The y-nullcline is found by setting
dtdy=0.Since
dtdy=x−4y,the equation is
x−4y=0.Solving for y,
y=41x.This line has slope 41. Along this line, the vertical component of the velocity is zero, so solution curves have horizontal tangents.
Nullclines divide the plane into regions where the signs of dtdx and dtdy are constant. Those signs determine the direction of motion.
7. Determining Motion in Different Regions
Consider a point on the positive x-axis, where x>0 and y=0. Then
dtdx=−x<0,and
dtdy=x>0.Thus, the solution moves left and upward, toward the northwest.
As the trajectory moves, it crosses the y-nullcline with a horizontal tangent because dtdy=0 there. After entering the region above the relevant nullcline, both velocity components may be negative, so the trajectory moves southwest toward the origin.
Similarly, in a region where x=0 and y>0,
dtdx=−2y<0,and
dtdy=−4y<0.Thus, a trajectory in that region moves southwest.
The signs of the velocity components provide a consistency check for the phase portrait:
- dtdx>0 means motion to the right;
- dtdx<0 means motion to the left;
- dtdy>0 means motion upward;
- dtdy<0 means motion downward.
The nullclines identify where one of these directional components changes or vanishes.
8. Why Most Trajectories Become Tangent to One Eigenvector
Every solution has the form
y(t)=C1e−3tv1+C2e−2tv2.The first term decays like e−3t, while the second decays like e−2t. Because −3 is farther from zero than −2, the e−3t term disappears more rapidly.
Consequently, for large t, the solution is dominated by
C2e−2tv2.Therefore, most trajectories become tangent to the eigenvector direction v2=(2,1), whose line is
y=21x.This eigenvalue, −2, is closer to zero and therefore corresponds to the slower decay. The slower-decaying component controls the direction of the solution near the origin.
The line y=x, associated with λ=−3, is exceptional. A trajectory that begins exactly on this line has C2=0, so it remains on the faster-decaying eigenvector line and does not become tangent to the other eigenvector direction.
Thus:
- the line y=x is a straight-line solution associated with λ=−3;
- the line y=21x is a straight-line solution associated with λ=−2;
- all other trajectories approach the origin and become tangent to y=21x as t→∞.
The phrase “become tangent” can be understood through the two eigenvector components. In the eigenvector coordinate system, the component associated with v1 becomes negligible compared with the component associated with v2. The solution therefore lies increasingly close to the v2 direction.
Near a sink, the eigenvector associated with the eigenvalue closest to zero usually determines the eventual direction of most trajectories because its exponential component decays most slowly.
Think About It
If the eigenvalues were −1 and −5, which eigenvector direction would control most trajectories near the origin? It would be the direction associated with −1, because e−t decays more slowly than e−5t.
9. Change of Coordinates Using Eigenvectors
The two eigenvectors can be used as a new coordinate basis. Form the matrix P whose columns are the eigenvectors:
P=[1121].Because the eigenvectors are linearly independent, they form a basis for R2. Therefore, P is invertible.
Its determinant is
det(P)=1⋅1−2⋅1=−1,which is nonzero, confirming that P is invertible.
The inverse is
P−1=[−112−1].The matrix P changes coordinates from eigenvector coordinates to the original (x,y) coordinates. If z represents the coordinates in the eigenvector basis, then
y=Pz.Conversely,
z=P−1y.In the new coordinates, the system becomes diagonal. Specifically,
P−1AP=D,where
D=[−300−2].The diagonal entries are the eigenvalues.
Why diagonalization decouples the system
Suppose
y=Pz.Then
y′=Pz′.Since y′=Ay,
Pz′=APz.Multiplying by P−1 gives
z′=P−1APz=Dz.Thus,
{z1′=−3z1,z2′=−2z2.The system is now completely decoupled. Its solution is immediately visible:
z1(t)=C1e−3t,z2(t)=C2e−2t.Transforming back using y=Pz produces the original general solution.
The original coordinates are skewed relative to the eigenvector coordinates. In that skewed coordinate system, the system behaves like two independent one-dimensional exponential equations.
10. Similar Matrices
Two matrices A and D are called similar if there is an invertible matrix P such that
P−1AP=D.Equivalently,
A=PDP−1.Similar matrices represent the same linear transformation in different coordinate systems. They have the same essential linear-algebraic behavior, including the same eigenvalues.
The matrix A describes the system in the standard coordinate basis, while the diagonal matrix D describes the same system in the eigenvector basis.
A special case concerns matrices similar to a scalar multiple of the identity matrix,
λI.The identity matrix commutes with every matrix:
P−1(λI)P=λP−1IP=λP−1P=λI.Therefore, λI is similar only to itself. A change of coordinates cannot turn a scalar multiple of the identity into a genuinely different matrix.
11. Matrix Exponentials
For a constant matrix system
y′=Ay,the solution to the initial-value problem
y(0)=y0is
y(t)=etAy0.The matrix exponential etA plays the role that the ordinary exponential eat plays for the scalar equation
y′=ay.When A is diagonalizable,
A=PDP−1,the matrix exponential can be computed through the diagonal matrix:
etA=PetDP−1.Because D is diagonal,
etD=[e−3t00e−2t].Therefore,
etA=P[e−3t00e−2t]P−1.This method is useful because exponentiating a diagonal matrix is straightforward. The difficult behavior of A has been converted into independent scalar exponentials in the eigenvector coordinates.
12. Flows and the Time-One Map
The solution operator defines a flow. For an initial state y0, write
Φt(y0)=etAy0.This notation emphasizes that the flow takes an initial point and follows the differential equation for time t.
The time-one map is obtained by setting t=1:
Φ1(y0)=eAy0.Because eA is a matrix, the time-one map is a linear transformation of the plane.
The continuous-time system satisfies
y(t)=etAy0.If time is sampled at integer values, define
yn=y(n).Then
yn=enAy0.This satisfies the discrete recurrence
yn=eAyn−1.Thus, the differential equation and the corresponding difference equation are connected through the time-one map eA.
The continuous flow uses etA, while the discrete system repeatedly applies eA:
y1=eAy0, y2=eAy1=e2Ay0,and in general,
yn=enAy0.13. Eigenvalues and Eigenvectors of eA
The matrix exponential has a direct relationship with the eigenvalues and eigenvectors of A.
If
Av=λv,then
eAv=eλv.Therefore:
- the eigenvectors of A are also eigenvectors of eA;
- an eigenvalue λ of A becomes the eigenvalue eλ of eA.
For the example,
λ1=−3⟹e−3is an eigenvalue of eA, and
λ2=−2⟹e−2is another eigenvalue of eA.
Both are between 0 and 1, reflecting the fact that the continuous system contracts toward the origin over one unit of time.
The determinant of a matrix represents the factor by which the matrix scales area, up to orientation. Therefore, the determinant of eA gives the area-scaling factor of the time-one map. Since the eigenvalues of eA are e−3 and e−2,
det(eA)=e−3e−2=e−5.Thus, the time-one map multiplies areas by
e−5.A region such as a disk is transformed into another region whose area is e−5 times the original area. The system contracts area because both independent directions contract.
14. Comprehensive Review
The entire analysis can be organized as one connected chain of ideas:
-
Begin with the matrix system
y′=Ay. -
Look for special directions in which the vector field is parallel to the position vector:
Av=λv. -
Rearrange the eigenvector equation:
(A−λI)v=0. -
Require a nonzero solution by imposing
det(A−λI)=0. -
Solve for the eigenvalues. In the example,
λ1=−3,λ2=−2. -
Substitute each eigenvalue back into the homogeneous system to find eigenvectors:
v1=[11],v2=[21]. -
Build the general solution:
y(t)=C1e−3tv1+C2e−2tv2. -
Use the eigenvectors to identify straight-line solutions and the eigenvalues to determine their stability.
-
Use nullclines and the signs of dtdx and dtdy to determine the direction of trajectories in different regions.
-
Recognize that both eigenvalues are negative, so the origin is a sink.
-
Observe that most trajectories eventually become tangent to the eigenvector associated with the slower decay, namely λ=−2.
-
Form the change-of-coordinates matrix
which gives
P−1AP=[−300−2].- Use diagonalization to compute the matrix exponential:
-
Interpret etA as the flow map and eA as the time-one map.
-
Connect the continuous system to the discrete system
The algebra, geometry, vector-space theory, coordinate changes, and flow interpretation all describe the same system from different perspectives. The eigenvalues determine the exponential rates, the eigenvectors determine the special directions, the nullclines determine local motion, diagonalization reveals independent coordinates, and the matrix exponential describes the complete evolution of every initial condition.

Ask anything
We've read this whole study set, so questions about it get the best answers.