- Learn
- Mathematics
- University Math
- Differential Equations
- Linear Systems of Differential Equations
Linear Systems of Differential Equations
IntermediateLesson 7 of 8 in Differential Equations Course
What you will learn
- Write coupled rate equations, models and higher-order equations as one matrix equation, and describe the structure of all its solutions.
- Write a system in matrix formTurn coupled first-order equations, higher-order equations and simple models into the form and state an initial-value problem.
- Describe all solutions of a homogeneous systemUse superposition, linear independence and the Wronskian to build the general solution of from independent solutions and fit it to an initial condition.
- Write a system in matrix form
- Find real solutions of when the eigenvalues are distinct and real, complex or repeated, and explain what the eigenvalues and eigenvectors say about a model.
- Solve systems with distinct real eigenvaluesDerive the eigenvalue method from the trial solution , carry it out step by step and fit initial conditions.
- Turn complex eigenvalues into real solutionsUse one complex eigenpair and Euler's formula to write two real solutions, and read growth and oscillation from the real and imaginary parts.
- Handle repeated eigenvaluesTell a complete repeated eigenvalue from a defective one, and build the second solution with a generalized eigenvector.
- Interpret eigen-solutions in modelsApply the eigenvalue method to mixing tanks and coupled oscillators, and explain what each eigenvalue and eigenvector means for the physical behavior.
- Solve systems with distinct real eigenvalues
- Sketch trajectories of in the phase plane, name the type of equilibrium from the eigenvalues or from trace and determinant, and judge its stability.
- Read and sketch trajectories in the phase planeUse equilibria, velocity vectors, straight-line solutions and nullclines to sketch a phase portrait and read it correctly.
- Classify portraits with real eigenvaluesRecognize saddles, nodal sinks and sources, star and degenerate nodes and lines of equilibria, and explain their shapes from the solution formula.
- Classify portraits with complex eigenvaluesRecognize spiral sinks, spiral sources and centers, and find the direction of rotation and the time per turn.
- Classify by trace and determinant and judge stabilityClassify the origin of any system from , and , decide its stability, and follow how the type changes with a parameter.
- Read and sketch trajectories in the phase plane
- Collect solutions into a fundamental matrix, compute by several methods, and add a particular solution for a nonhomogeneous system.
- Build and use a fundamental matrixForm a fundamental matrix from a fundamental set, use it to solve initial-value problems, and turn it into the special fundamental matrix that equals the identity at .
- Compute the matrix exponentialDefine by its power series, use its properties, and compute it for diagonalizable, repeated-eigenvalue and rotation matrices.
- Solve nonhomogeneous systemsFind a particular solution of by undetermined coefficients or by variation of parameters, and combine it with the homogeneous solution.
- Build and use a fundamental matrix
Linear Systems of Differential Equations study guide
1Set up linear systems of differential equations in matrix form
Coupled rates become easier to track when every quantity has a fixed place in a state vector. Matrix form keeps the equations organized, whether the states are salt amounts or position and velocity. The structure of a homogeneous linear system then tells you how a few independent solutions can describe every starting state, and why a complete initial condition selects exactly one motion.
1.1 Write a system in matrix form
A state vector collects quantities that change together. Its derivative records their rates. A first-order linear system has the form : each rate is a linear combination of the state variables plus an input depending on time alone.
Put each rate in its own row
Keep the order of the variables fixed. For and , write
The first row produces the first derivative; the second row produces the second. The zero preserves the place of the missing term. Check your matrix by multiplying it by the state vector. Putting the coefficients of one variable across a row would transpose the matrix and change the equations.
The system is homogeneous when throughout the interval, and nonhomogeneous otherwise. It has constant coefficients when the entries of are constant. Time-dependent coefficients still give a linear system: is linear. Products such as and functions such as are nonlinear.
Replace a higher derivative with a state
For , choose and . The definitions give . The original equation gives . Therefore
Its characteristic polynomial is , the same polynomial used for the scalar equation. Its roots are . The first component is ; the second is . An equation of order similarly uses the unknown and its first derivatives as states.
For a spring, becomes
Position is in meters, velocity in m/s, mass in kg, stiffness in N/m, and damping in N·s/m. Force changes acceleration, so it enters the second equation after division by mass.
Build rates from a balance
Two well-mixed tanks each contain 50 L. Each sends 10 L/min to the other, keeping the volumes fixed. Let be kilograms of salt in tank . Its outgoing concentration is kg/L, so the salt flow is kg/min. Rate in minus rate out gives
Adding the equations gives zero total rate: this closed exchange conserves salt.
Specify the starting state
An initial-value problem adds , specifying every component at one time. If all entries of and are continuous on an open interval containing , exactly one solution exists on that whole interval. Constant coefficients and forcing continuous for all real time give a solution for all real time.
Key Takeaways
- Row of supplies the equation for .
- Use the unknown and successive derivatives as states for a higher-order equation.
- In a balance model, each rate is input minus output.
- Continuous coefficients and forcing give a unique solution for every complete initial state.
1.2 Describe all solutions of a homogeneous system
One solution describes one possible motion. To describe all motions of a homogeneous system, find enough independent solutions and combine them with constant coefficients. The word independent means that none of the chosen motions is redundant.
Check solutions before combining them
A vector function must satisfy every equation at every time. For
both differentiation and multiplication by give . Thus is a solution. So is .
Superposition says that solves the same homogeneous system for any constants. Indeed, its derivative is . With forcing, adding two solutions also adds the forcing twice. Arbitrary linear combinations therefore do not preserve a fixed nonhomogeneous equation.
Test independence with a determinant
Vector functions are independent if throughout the interval forces every constant to be zero. For solutions in dimension , put the vectors in columns and take the determinant. This is their Wronskian. Here,
It is never zero. The columns therefore give two independent solutions, a fundamental set. In dimension a fundamental set has independent solutions, and every solution is their linear combination.
Why one time is enough
For solutions of a common homogeneous system with continuous coefficients, Abel's formula gives
The exponential is positive. Thus a nonzero Wronskian stays nonzero. For constant , this simplifies to . Our matrix has trace 2, so agrees with the formula.
If the determinant is zero at one time, some nonzero choice of constants makes the combined solution start at zero. Uniqueness forces that combined solution to remain zero. This proves dependence on the entire interval.
The shared-system condition matters. The functions and have determinant zero everywhere, yet no fixed nonzero pair of constants makes their combination vanish for every time in an open interval. Pointwise proportionality by the factor is different from dependence with constant coefficients. These two functions cannot form solutions of one continuous homogeneous system on such an interval.
Fit the constants
For , use the fundamental set above:
Adding and subtracting gives . The solution is . The nonzero Wronskian ensures that these constants are unique; a second copy of one solution would leave some initial states unreachable.
Key Takeaways
- Check a vector solution by comparing its derivative with .
- Superposition preserves a homogeneous system.
- A fundamental set has independent solutions in dimension .
- The Wronskian tests independence at one time for solutions of the same continuous linear system.
- Fit constants by evaluating the whole fundamental set at the initial time.
2Solve constant-coefficient systems with eigenvalues and eigenvectors
An eigenvector identifies a pattern that the coefficient matrix preserves, and its eigenvalue sets that pattern’s time dependence. Real eigenvalues produce exponential modes; complex pairs produce real oscillations; defective repeated values need an extra polynomial factor. Applying these constructions to tanks and coupled carts connects the algebra with conservation, decay, and normal frequencies.
2.1 Solve systems with distinct real eigenvalues
An eigenvector gives a direction that the matrix preserves. Along that direction a vector differential equation becomes a scalar exponential growth or decay law. Distinct real eigenvalues provide enough independent directions to solve the whole system.
Turn an exponential trial into an eigenpair
Try with a nonzero constant vector. Substitution gives . Canceling the nonzero exponential leaves . This is the eigenvalue equation.
First solve . For each root, solve . Pair each eigenvector with its own exponential, then add the resulting vector solutions.
Solve a two-dimensional example
Let . Its trace is and determinant is , so
For , the first row of gives . Choose . For , the first row gives . Choose . Hence
With initial state , the equations and give . Thus and . Differentiating the first component gives , which equals as required.
Choose convenient eigenvectors
Multiplying an eigenvector by any nonzero constant changes its scale, not its direction. Choosing in place of halves the corresponding fitted coefficient. The family of solutions stays the same.
For a two-dimensional eigenvalue calculation, one nonzero row usually determines the direction; the other must agree. When the first row is with , is a convenient choice. Always check . A scalar expression without vectors cannot be the solution of a vector equation.
Extend the method and read the result
Distinct eigenvalues give independent eigenvectors. For the triangular matrix
the eigenvalues are the diagonal entries. Corresponding eigenvectors are , , and . Multiply them by and give each its own constant.
A zero eigenvalue gives a constant mode, since . Its eigenvectors lie in the nullspace of and identify equilibria. In the two-dimensional worked example, a nonzero growing-mode coefficient makes the direction approach at large positive time. If that coefficient is zero, only the decaying mode remains. Late behavior depends on which modes the initial state actually activates.
Key Takeaways
- Each eigenpair gives .
- Distinct real eigenvalues supply independent solutions.
- Rescaling an eigenvector changes its coefficient, not the solution family.
- An initial state can remove a growing mode entirely.
- A zero eigenvalue produces a constant mode.
2.2 Turn complex eigenvalues into real solutions
Complex eigenvalues encode real oscillations. For a real matrix, they occur in conjugate pairs. One complex eigenpair contains two independent real solutions: the real and imaginary parts of its exponential solution.
Multiply before taking real parts
Write with and . Euler's formula gives
Expanding the product gives the real solution
and the imaginary-part solution
Their real linear combinations give every real solution in two dimensions. Because is real, equating real and imaginary parts of proves that both functions solve the equation. Taking the real parts of the eigenvalue and eigenvector separately loses the sine terms and generally fails.
Work from one eigenpair
For , the characteristic polynomial is , giving . Choose . The second row of the eigenvector equation says , so choose . Then and , yielding
At zero, these vectors are and . The initial state therefore selects . Its first derivative is , exactly . The conjugate eigenpair would produce the same real solution space, with a sign change in one basis vector.
Separate decay from oscillation
The factor controls the envelope. A negative real part gives decay, a positive real part growth, and zero real part constant-amplitude oscillation. The positive number is the angular frequency. One full turn takes , and the state at that later time is multiplied by .
For the example, and the multiplier is . The state returns to the same ray but much closer to the origin. The changing distance means the solution itself is not periodic.
For , the state has matrix and eigenvalues . Its nonzero solutions have period . Different coordinate amplitudes can make the phase-plane curves elliptical; imaginary eigenvalues do not require circles in the chosen coordinates.
Key Takeaways
- Expand before taking real and imaginary parts.
- One conjugate pair supplies two real solutions.
- The real part sets growth or decay; the imaginary part sets angular frequency.
- One turn takes and multiplies size by .
2.3 Handle repeated eigenvalues
A repeated eigenvalue does not tell you how many independent eigenvectors exist. In two dimensions there are two cases: two independent eigenvectors give a complete eigenvalue, while one eigenvector direction gives a defective eigenvalue.
Check the eigenspace
A two-dimensional matrix with a repeated eigenvalue has two independent eigenvectors exactly when . Then each component satisfies the same scalar equation and . Every direction is an eigenvector direction.
For a defective matrix, the usual eigenpair gives only . Find a generalized eigenvector by solving
It provides the second solution . The general solution is .
Build the missing solution
Consider . Its polynomial is , so the repeated eigenvalue is 2. Subtracting gives
The eigenvector equation gives . Choose . To find , solve ; choose . Therefore
For the second solution, differentiation gives . Multiplication by gives , the same vector. At zero, the two solutions are and , which are independent.
Understand the correction term
The scalar repeated-root shortcut alone fails. Its derivative has the extra term , while multiplication by does not. Adding supplies precisely this difference because .
The generalized eigenvector is not unique. Replacing it with still satisfies the equation. In this example, also works. The resulting second solution differs by a multiple of the first, so it spans the same solution family.
Connect to a repeated scalar root
The equation becomes the state system with matrix . It has eigenvalue 2 twice and eigenvector . Choosing gives the second state solution . Its first component is and its second is its derivative, reproducing .
In larger systems, too few eigenvectors require longer generalized-eigenvector chains. A chain of length three produces a solution with a term.
Key Takeaways
- A repeated eigenvalue requires an eigenspace check.
- In two dimensions, the complete case is exactly .
- A defective double eigenvalue needs .
- The second solution is .
- Adding an eigenvector to a generalized eigenvector preserves the solution family.
- Longer chains in larger systems produce higher powers of time.
2.4 Interpret eigen-solutions in models
A mode is a fixed pattern of relative motion. Its eigenvector specifies the pattern, and its eigenvalue specifies the rate or frequency. Splitting an initial state into modes can expose conservation and long-term behavior without tracking every component separately.
Separate the tank modes
For the two 50 L tanks exchanging 10 L/min, the matrix is . Its eigenpairs are and . Thus
The first mode represents equal salt amounts. It stays constant. The second transfers salt between tanks while preserving the total. With starting amounts 5 kg and 1 kg, and give . Therefore and kg.
The sum stays 6 kg; both tanks approach 3 kg. Their difference is kg. The time constant is min: in that time the difference falls to of its current value. At 10 min the difference is kg.
Among modes actually present, the largest real part controls late behavior. For negative real eigenvalues, the value closest to zero decays slowest. For complex eigenvalues, compare real parts, not absolute values of the complex numbers.
Find the patterns of coupled carts
Two carts of 2 kg each lie on a frictionless track in the arrangement wall–spring–cart–spring–cart–spring–wall. Each spring has stiffness 8 N/m. With displacements in meters, the force balances are
Dividing by mass gives with . Try . Two derivatives give . An eigenvalue of this second-order matrix therefore gives angular frequency .
Here . Both carts move together at 2 rad/s, leaving the middle spring unstretched. Also . They move oppositely at rad/s. The middle spring stretches, giving the higher frequency.
Fit displacement and velocity
For an initial displacement m, write it as . Starting from rest eliminates both sine terms, so
Each mode is periodic, but their irrational frequency ratio prevents a shared period for this two-mode motion. Using positions and velocities as four first-order states gives eigenvalues . These are different from the negative eigenvalues of : taking the square root connects the two descriptions.
Key Takeaways
- A mode separates a pattern from its time dependence.
- The tank total is conserved; the difference decays exponentially.
- Only modes with nonzero coefficients affect a particular motion.
- For , a negative eigenvalue gives frequency .
- Two oscillatory modes need a common period for their sum to be periodic.
3Draw and classify phase portraits of two-dimensional systems
A solution formula gives the state at each time, while a phase portrait shows the paths that states follow. Equilibrium points, eigenvector lines, and a few velocity checks anchor a reliable sketch. The signs and types of the eigenvalues explain the shapes, and trace and determinant provide a fast way to classify them. Stability asks whether nearby starting states stay close and whether they eventually approach the equilibrium.
3.1 Read and sketch trajectories in the phase plane
A phase portrait shows how states move in the plane with coordinates . Each curve is a trajectory, with arrows for increasing time. Time itself is not an axis; the separate graphs of the two components against time show different views of the same motion.
Find the stationary states
An equilibrium satisfies . The derivative vanishes there, so the state stays fixed. The origin always works for a homogeneous system. If , it is the only equilibrium. A nonzero singular two-dimensional matrix has a line of equilibria, while makes every point an equilibrium.
For , the determinant is , so only the origin is stationary. At , the velocity is , pointing right and up. At , it is . A velocity vector supplies the tangent direction and the speed at that particular state.
Draw invariant directions first
A real eigenvector gives a line that solutions stay on. At a point on that line, the velocity is . A positive eigenvalue points away from the origin; a negative eigenvalue points toward it. Zero gives a stationary line.
Our matrix has eigenvalues 3 and , with directions and . Draw arrows out on the first line and in on the second. At , direct multiplication gives , confirming the incoming arrow. These straight trajectories form the frame for the curved trajectories between them.
Use nullclines to place tangents
A nullcline is a set where one component of velocity is zero. For , the first nullcline is . Away from an equilibrium, only changes there, so the tangent is vertical. The equation gives , where tangents are horizontal.
A nullcline can be crossed by trajectories; check its tangent before treating it as a trajectory. For instance, at on the first nullcline, the velocity is . This vector is vertical, not parallel to the sloping nullcline. Check a sample point on each side to determine how the tangent direction changes.
Respect uniqueness and scaling
Two different trajectories cannot cross or merge. If they shared a state at a time, uniqueness for the autonomous equation would give the same motion through that state. A nonzero trajectory also cannot reach an equilibrium in finite time; it may approach one as time tends to infinity.
Linearity adds useful symmetry. If solves the equation, so does . Reflecting through the origin corresponds to , and positive factors scale the entire curve. Draw smooth curves consistent with the eigenvector lines, the checked velocity arrows, the nullcline tangents, and this symmetry. An arrow shows the direction of motion, not a new axis or an extra solution component.
Key Takeaways
- The phase plane plots state against state, with time shown by arrows.
- Equilibria solve .
- Real eigenvectors give invariant straight-line directions.
- At a nonequilibrium point, gives a vertical tangent and a horizontal tangent.
- Uniqueness prevents distinct trajectories from crossing or merging.
3.2 Classify portraits with real eigenvalues
For real eigenvalues, the signs determine whether motion grows or decays along each eigenvector. Their relative sizes explain how curved trajectories bend between the straight-line solutions. Repeated and zero eigenvalues need separate checks.
Compare the real-eigenvalue types
| Eigenvalues | Portrait | Forward motion |
|---|---|---|
| Opposite signs | Saddle | In on one eigenvector line, out on the other |
| Two distinct negative values | Nodal sink | Every trajectory approaches the origin |
| Two distinct positive values | Nodal source | Every nonzero trajectory moves away |
| Repeated nonzero value | Star or degenerate node | In for negative, out for positive |
| One zero, one nonzero | Line of equilibria | Toward or away from that line |
For the saddle , the eigenvalue gives the incoming line through ; eigenvalue 3 gives the outgoing line through . Other trajectories approach from far away nearly parallel to the incoming line, turn, and leave nearly parallel to the outgoing line. The incoming line contains decaying solutions, but the equilibrium is unstable because nearby starting states can activate the growing mode.
Find the direction that dominates a node
For ,
Both modes decay. If , the first decays more slowly and determines the tangent near the origin. The exceptional trajectory with stays on the fast eigenvector line. For a curved trajectory with both coefficients nonzero, the fast mode dominates far away as .
For a nodal source with , curves leave near the origin along the smaller-eigenvalue direction and become parallel to the faster direction far away. Replacing by reverses every arrow while preserving the curves.
Distinguish repeated nodes
If with , every direction is invariant. This star node, also called a proper node, consists entirely of straight rays. A defective repeated eigenvalue has only one eigenvector line and gives a degenerate node, also called an improper node. Other trajectories contain . The polynomial factor makes their direction approach the eigenvector line at both ends of time.
For , the repeated eigenvalue is 2 and the unique eigenvector direction is . It is a degenerate source. At the velocity points upward; at the velocity points left. These checks establish the counterclockwise turning between the asymptotic directions.
Follow motion toward an equilibrium line
With eigenvalues and , a solution is a constant zero-mode vector plus one exponential mode. Every moving trajectory is a straight half-line parallel to the nonzero eigenvector. Negative brings it toward one point on the equilibrium line. Positive takes it away. In the closed tank system, the constant total selects the point where both amounts become equal; other nearby totals select different equilibria.
Key Takeaways
- Opposite real signs give an unstable saddle.
- At a nodal sink, the slow mode sets the generic tangent near the origin.
- A repeated node is a star only when .
- One zero and one nonzero eigenvalue give a line of equilibria.
3.3 Classify portraits with complex eigenvalues
Complex eigenvalues make the state wind around the origin. There is no real eigenvector direction to support a straight nonzero trajectory. The real part of the pair determines whether successive turns move inward, outward, or close on themselves.
Name the portrait from the real part
| Eigenvalues , | Type | Stability |
|---|---|---|
| Spiral sink, or stable focus | Asymptotically stable | |
| Spiral source | Unstable | |
| Center | Stable, not asymptotically stable |
A center has closed elliptical trajectories. A spiral combines the oscillation with the factor , so each full turn changes the state by a positive scale factor. It does not close when .
Check a velocity to get the rotation
For , the velocity at is the first column . Upward motion there means counterclockwise rotation, and downward motion means clockwise rotation. Thus the sign of determines the direction for a complex pair. The value cannot be zero in this case, because the negative discriminant requires .
Both signs of the imaginary part occur in the eigenvalue pair, so choosing or cannot decide rotation. Rotation belongs to the actual real velocity field.
Track one turn of a spiral
For , the eigenvalues are . This is a spiral sink, and its lower-left entry is positive, so the turning is counterclockwise. From ,
Ignoring the changing scale for a moment, the cosine and sine trace an ellipse with horizontal semi-axis 2 and vertical semi-axis 1. The factor shrinks it continuously. One full turn takes time units; at that time the state is times its starting value. The factor is about 0.043.
For a general complex eigenvector, the real and imaginary parts can tilt the reference ellipse. The axes of a spiral or center therefore need not align with the coordinate axes.
Read an undamped oscillator's ellipse
For and , the eigenvalues are . The lower-left entry is negative, so the center rotates clockwise. Along each trajectory,
Thus stays constant, producing the closed ellipses. They stay near the origin when they start near it, yet they do not approach it. This is the distinction between stability and asymptotic stability.
In position–velocity coordinates for a spring with positive mass and stiffness, and the lower-left entry is . Above the horizontal axis position increases; below it position decreases. This directly explains the clockwise rotation of oscillatory spring trajectories.
Key Takeaways
- Complex eigenvalues give spirals or a center, with no straight nonzero trajectories.
- Negative real part means spiral sink; positive means spiral source.
- At a center, trajectories remain on closed ellipses.
- Check the first column of to determine rotation.
- The imaginary part sets the time per turn, not its direction.
3.4 Classify by trace and determinant and judge stability
Trace and determinant classify a two-dimensional linear system without first finding eigenvectors. They reveal the signs and real or complex nature of the eigenvalues. Eigenvectors are still needed to orient real directions in a detailed sketch.
Compute three numbers
For , calculate , , and . The characteristic equation is . Thus is the sum of the eigenvalues and their product.
| Test | Classification |
|---|---|
| Saddle | |
| Node; sink for , source for | |
| Spiral; sink for , source for ; center for | |
| Repeated node; inspect for star or degenerate | |
| Zero eigenvalue; inspect the equilibrium set |
When and , the eigenvalue is . Only gives a star node; otherwise the node is defective. Trace and determinant alone do not separate those two cases.
Apply the tests
For , : a spiral sink. For , already proves saddle. For , , and the matrix is not : a degenerate source.
Subtract the off-diagonal product in . A sign error there can change a saddle into an apparent node. A negative trace alone also cannot establish a sink: one large negative eigenvalue and one positive eigenvalue can still sum to a negative number.
State stability precisely
An equilibrium is stable if every chosen distance can be protected by starting sufficiently close and staying within that distance for all future time. It is asymptotically stable if those nearby states also approach the equilibrium. Otherwise it is unstable.
For a real two-dimensional homogeneous system, the origin is asymptotically stable exactly when and . All sinks satisfy this. Saddles and sources are unstable; centers are stable without attraction. With , each point on the equilibrium line is stable but not asymptotically stable. If it is unstable. If and , linear-in-time growth makes the origin unstable; if , all states stay fixed.
Follow a parameter through the diagram
For a 1 kg mass with stiffness 4 N/m and damping N·s/m,
At there is a center. For there is a spiral sink; at a degenerate sink; above 4 a nodal sink. These are undamped, underdamped, critically damped, and overdamped motion.
In a diagram with horizontal and vertical , saddles lie below . For positive , the parabola separates nodes below it from spirals above it. Centers lie on the positive vertical axis, and repeated nodes lie on the parabola. Small matrix changes can move a borderline system into an adjacent type.
Key Takeaways
- Calculate , , and .
- The determinant tests for a saddle before any other calculation is needed.
- The origin is asymptotically stable exactly when .
- A negative trace alone does not establish stability.
- Repeated eigenvalues and zero eigenvalues require extra checks.
- The parabola separates real and complex eigenvalues.
4Use fundamental matrices and the matrix exponential, and solve forced systems
Independent solution vectors can be collected into a fundamental matrix that evolves an entire initial state in one multiplication. Normalizing its starting value gives the matrix exponential, with useful formulas for diagonalizable, repeated, and rotation-type matrices. A forcing term adds a particular response; trial solutions or variation of parameters then extend the same framework to nonhomogeneous initial-value problems.
4.1 Build and use a fundamental matrix
A fundamental matrix stores a fundamental set of solutions as columns. It packages the general solution into one matrix product and turns the initial-value problem into an ordinary matrix equation.
Collect solutions as columns
If are independent solutions, set . Each column solves the same equation, so . Its determinant is the Wronskian and never vanishes on the solution interval.
The general solution is . From , solve . Hence
Read this product from right to left: convert the initial state into solution coefficients, then evolve those coefficients. Reversing the two matrix factors can change the answer.
Compute the initial coefficients
For , choose
At zero, , with determinant . Its inverse is . Multiplying by gives the coefficients , recovering the sum of the two columns.
A matrix of eigenvectors alone is usually not a fundamental matrix: its columns need their time factors to solve the differential equation. On the other hand, a fundamental matrix need not start at the identity. Reordering, rescaling, or combining its columns with an invertible constant matrix gives another fundamental matrix .
Normalize the starting matrix
Define . Now , so the initial state at zero can be used directly as the coefficient vector. For constant , this unique normalized matrix is . In the example, multiplication gives
At zero its diagonal entries equal 1 and its off-diagonal entries equal zero. The first column evolves the state ; the second evolves . An initial state selects twice the first column.
Use real columns for a complex pair
The real and imaginary parts of a complex eigen-solution also form a real fundamental matrix. For , one choice is
Its determinant is , which is nonzero. Its initial matrix is , not the identity. Normalization works exactly as in the real-eigenvalue case. The inverse in an initial-value formula belongs to the initial time; using instead would cancel the evolution and leave the state constant.
Key Takeaways
- A fundamental matrix has independent solution columns and satisfies .
- The initial-value formula is .
- Different choices of fundamental matrix describe the same solution family.
- Normalization at zero gives .
- Each column of evolves one coordinate unit vector.
4.2 Compute the matrix exponential
The matrix exponential is the evolution matrix for a constant-coefficient homogeneous system. Its definition works even when eigenvectors are missing, and its algebra gives efficient formulas for several important matrix types.
Start with the power series
Define
The series converges for every square matrix and real time. It equals at zero and satisfies . Thus an initial state at evolves as .
For one fixed matrix, and . In particular, the evolution matrix is invertible even when is singular. For two different matrices, holds if they commute; it is not a general rule.
For example, take and . Both square to zero, so . But gives , a different matrix.
Choose a computation method
| Matrix structure | Exponential |
|---|---|
| , diagonal | |
| Two-dimensional repeated eigenvalue | |
| A known fundamental matrix |
For a diagonal matrix, exponentiate the diagonal entries and retain the off-diagonal zeros. For example, . Exponentiating every entry is wrong: it would turn the off-diagonal zeros into ones.
Use a repeated eigenvalue directly
In two dimensions, satisfies for a repeated eigenvalue. Because commutes with , the series becomes . For and , this gives
It handles the generalized-eigenvector contribution without finding the chain explicitly.
Recognize rotation and check the result
For , . The even powers in the series form and the odd powers form , giving the counterclockwise rotation matrix. Adding introduces the factor because the two parts commute.
For any proposed exponential, check its value at zero and its derivative at zero: they must be and . These quick tests catch many errors. To verify a candidate completely, also check that it satisfies for every time.
Key Takeaways
- The matrix exponential is defined by matrix powers, not entrywise exponentiation.
- It solves the homogeneous initial-value problem at any initial time.
- Its inverse is , including when is singular.
- Diagonalization, nilpotent parts, rotation formulas, and fundamental matrices offer different computation routes.
- The product rule for exponentials of different matrices requires commutation.
- Check the initial matrix and the differential equation.
4.3 Solve nonhomogeneous systems
Forcing adds a response to the homogeneous motion. Find any one particular solution, add the full homogeneous family, and then fit the initial state to their sum. The forcing determines which particular-solution method is convenient.
Add one forced response
The general solution of is . The difference between any two forced solutions satisfies the homogeneous equation, so one particular solution plus every homogeneous solution gives the complete family.
For constant forcing and invertible , a constant particular solution satisfies . Thus . With and , choose . Direct substitution gives . The general solution is
Both modes decay, so every state approaches the forced equilibrium . Fit constants using the difference between the initial state and this equilibrium.
Match a trial to the forcing
For with not an eigenvalue of , try . Substitution gives . For the matrix above and , solve
The result is . If is a simple eigenvalue, use the fuller trial . The constant-vector term lets the nonresonant part of the forcing be matched. For forcing with invertible , try and compare powers of time.
Let the coefficients vary
For continuous forcing, variation of parameters starts from . Differentiation and cancel the homogeneous terms, leaving . Hence a particular solution is . For an initial-value problem, the definite-integral form is
For , forcing , and zero initial state, the integrand is . Integration gives . Its derivative equals .
If is diagonalizable, instead gives . Each component can then be solved with a scalar integrating factor. Transform the forcing as well as the state. Matrix order matters: an inverse matrix multiplies the forcing column on the left.
Key Takeaways
- Add a particular solution to the complete homogeneous family.
- Fit initial conditions after adding the particular solution.
- Constant forcing with invertible has equilibrium .
- An exponential trial requires a resonance check.
- Variation of parameters handles any continuous forcing.
- Diagonalization transforms the forcing along with the state.
Linear Systems of Differential Equations examples
1From coupled rates to a complete solution family
11 steps
- 1IntroductionTrack the state and its rate
A linear system records how several quantities change together. Put those quantities in a state column and their rates in . The form separates state-dependent rates from an external input. We will first organize the equations, then see how independent solution vectors can represent every starting state.
- 2ExampleMatch a row to each derivative
For and , keep the order in both equations. The matrix is . Its second row needs a zero because does not appear in the second rate. Multiplying reconstructs the two equations and checks that rows and columns have not been swapped.
- 3ConnectionUse derivatives as new states
For , define and . The definitions give , while rearranging the equation gives . Thus . The first component solves the original second-order equation; the second records its velocity. Both initial position and velocity belong in the initial state.
- 4ExampleBuild a tank rate from concentration
Two well-mixed tanks each contain 50 L and exchange 10 L/min in each direction. If is kilograms of salt, the outgoing concentration is kg/L. Salt flow is therefore kg/min. Input minus output gives and . The negative diagonal entries record salt leaving its current tank.
- 5ChallengeCheck the total salt
For the two-tank equations just built, how does the total change, and why?
---reveal---
Adding the equations gives , so the total stays constant. Each outgoing salt flow appears as an equal incoming flow for the other tank. There is no external salt input or output, so exchange changes the distribution without changing the total.
- 6Key InsightSelect one motion with an initial state
An initial condition fixes every component at one time. Continuous entries of and on an open interval containing guarantee exactly one solution throughout that interval. For a constant matrix and forcing continuous for all real time, this gives a solution for all real time. A single tank amount would not specify the full two-tank initial state.
- 7ExplanationCombine homogeneous solutions
If and solve , then also solves it for constant coefficients . This follows because differentiation and multiplication by are linear. For a two-dimensional system, two independent solutions span all solutions. A second copy of the same motion adds no new possible starting direction.
- 8ExampleTest two solution columns
For , solutions are and . Their Wronskian is . It never vanishes, so they form a fundamental set. You can check each solution directly by comparing its derivative with times the vector.
- 9TipUse a convenient time for independence
For solutions of one continuous homogeneous system, the Wronskian is either always zero or never zero. Abel’s formula tracks it from any initial time using the trace; uniqueness shows that zero at one time forces dependence. In the current example, is already enough. This test concerns solutions of a common system, so do not apply its converse to arbitrary vector functions.
- 10ChallengeFit the full starting state
Using , find the constants for . Why is the answer unique?
---reveal---
The equations are and , giving . The initial solution columns are independent, so their coefficient matrix is invertible. Both component conditions must be fitted, not just the first.
- 11RecapConnect equations, solutions, and starting data
Use a fixed state order to turn rate equations into a matrix equation. Check candidate solutions by differentiation, then check whether their columns are independent. A fundamental set describes every homogeneous motion, while the complete initial state chooses its coefficients. In the tank model, a rate balance also revealed a conserved total before we solved for either amount.
2Build real, complex, and repeated modes
20 steps
Save this lesson to follow every Walkthrough step by step.
- 1IntroductionFind patterns the matrix preserves
- 2ExampleFind the real eigenvalues
- 3ExampleFind the directions and combine them
- 4ChallengeRemove the growing mode
- 5ExplanationExtract real solutions from one complex pair
- 6ExampleSplit the eigenvector
- 7ExampleFit the complex-mode initial state
- 8ChallengeDistinguish a turn from a period
- 9ExplanationCheck whether the repeated root is complete
- 10ExampleSolve for a generalized eigenvector
- 11Key InsightSee why the correction works
- 12ChallengeChoose another valid generalized vector
- 13ExampleRead the tank solution as two modes
- 14ChallengePredict the final amounts and decay time
- 15ConnectionConvert cart eigenvalues into frequencies
- 16ExampleInterpret the two cart patterns
- 17ExampleUse rest to fit the sine amplitudes
- 18ChallengeDecide whether the combined motion repeats
- 19ChallengeCompare late behavior across mode types
- 20RecapChoose the right eigenvalue construction
3Sketch and classify a phase portrait
17 steps
Save this lesson to follow every Walkthrough step by step.
- 1IntroductionRead motion in the state plane
- 2ExampleLocate the equilibrium and sample a velocity
- 3ExplanationPlace tangents on nullclines
- 4ChallengeTest a proposed crossing
- 5ExampleUse signs to sketch the saddle
- 6ConnectionFollow the slow direction into a node
- 7TipCheck the matrix at a repeated root
- 8ChallengeInterpret a zero mode geometrically
- 9ExplanationRecognize winding trajectories
- 10ExampleDetermine the direction from a column
- 11ChallengeSeparate stability from attraction
- 12ExplanationClassify with trace and determinant
- 13ExampleCheck a repeated boundary case
- 14Key InsightUse both stability conditions
- 15ChallengeFollow damping through the portrait types
- 16ChallengeCombine a velocity check with classification
- 17RecapBuild a sketch from compatible evidence
4Evolve states and add a forced response
18 steps
Save this lesson to follow every Walkthrough step by step.
- 1IntroductionStore evolution in a matrix
- 2ExampleTurn a starting state into coefficients
- 3ExplanationNormalize the solution columns
- 4ChallengePut the inverse at the correct time
- 5ExplanationDefine the exponential by powers
- 6ExampleStop the series for a nilpotent matrix
- 7ExampleUse the repeated-eigenvalue formula
- 8ConnectionRecognize the other computation routes
- 9ChallengeCatch an entrywise exponential
- 10TipKeep the exponential product rule qualified
- 11ExplanationAdd a particular response before fitting data
- 12ExampleFind a forced equilibrium
- 13ExampleMatch exponential forcing
- 14ExplanationAccumulate forcing through an integral
- 15ExampleIntegrate a simple input
- 16ChallengeInclude the starting displacement in a forced solution
- 17ChallengeChange the basis without changing the motion
- 18RecapKeep the two contributions visible
Linear Systems of Differential Equations practice questions
Set 1: Set up systems and solve real modes10 Practice Questions
Question 1 of 10
Show answerHide answer
Question 2 of 10
Show answerHide answer
Question 3 of 10
Show answerHide answer
Question 4 of 10
Show answerHide answer
Question 5 of 10
Show answerHide answer
Question 6 of 10
Show answerHide answer
Question 7 of 10
Show answerHide answer
Question 8 of 10
Show answerHide answer
Question 9 of 10
Show answerHide answer
Question 10 of 10
Show answerHide answer
Set 2: Complex modes, repeated roots, and models10 Practice Questions
Save this lesson to see every answer and practice every set.
Question 1 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 2 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 3 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 4 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 5 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 6 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 7 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 8 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 9 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 10 of 10
Show answerHide answer
Save this lesson to see this answer.
Set 3: Read portraits and classify stability10 Practice Questions
Save this lesson to see every answer and practice every set.
Question 1 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 2 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 3 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 4 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 5 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 6 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 7 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 8 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 9 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 10 of 10
Show answerHide answer
Save this lesson to see this answer.
Set 4: Evolve initial states and include forcing10 Practice Questions
Save this lesson to see every answer and practice every set.
Question 1 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 2 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 3 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 4 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 5 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 6 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 7 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 8 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 9 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 10 of 10
Show answerHide answer
Save this lesson to see this answer.
Stuck on your own question? Homework Help
Key Terms
A
Abel’s formula
Angular frequency
Asymptotic stability
C
Center
Characteristic equation
Coefficient matrix
Commuting matrices
Complete eigenvalue
Complex conjugate pair
Constant coefficients
D
Decoupling
Defective eigenvalue
Degenerate node
Determinant
Diagonalization
Direction of rotation
Discriminant
E
Eigenspace
Eigenvalue
Eigenvector
Equilibrium
Euler’s formula
F
Forcing vector
Fundamental matrix
Fundamental set
G
Generalized eigenvector
H
Homogeneous system
I
In-phase motion
Initial coefficient vector
Initial-value problem
L
Linear independence
M
Matrix exponential
Mode
N
Nilpotent matrix
Nodal sink
Nodal source
Nonhomogeneous system
Normal mode
Normalization
Nullcline
P
Particular solution
Phase plane
R
Real part
Repeated eigenvalue
S
Saddle
Special fundamental matrix
Spiral sink
Spiral source
Stability
Star node
State vector
Superposition
T
Time constant
Trace
Trajectory
U
Undetermined coefficients
V
Variation of parameters
W
Wronskian
Z
Zero mode
About this lesson
Make your own Study Materials
Turn your notes, slides and documents into Study Guides, Practice Questions, Flashcards and 6 more tools.