How variation of constants and the inverse fundamental matrix solve a nonhomogeneous linear system, why a time-dependent coefficient matrix needs its own fundamental matrix, and why non-elementary integrals give exact answers.
With t as the independent variable and a prime meaning d/dt, a homogeneous system X′=A(t)X describes how states evolve on their own, and a fundamental matrix carries every initial state forward. Most models also have a prescribed input, such as a steady inflow or an applied force, which adds a term b(t) to the right side. This lesson lets the constants in X=Φ(t)c vary with time and derives the variation of constants formula for systems. It then solves a forced system whose coefficient matrix depends on t and whose answer contains an integral with no elementary antiderivative.
Key terms
Nonhomogeneous linear system
Definition A linear system of first-order equations has the form
X′=A(t)X+b(t),
where the state X(t) has n components, A(t) is an n×n coefficient matrix and b(t) is a column with n entries, called the forcing or input. All entries are assumed continuous on an open interval I. The system is nonhomogeneous when b is not identically zero, and X′=A(t)X is the associated homogeneous system. For every t0 in I and every initial state X0 there is exactly one solution with X(t0)=X0, and it exists on all of I. If Xp is one solution and Φ is a fundamental matrix of the homogeneous system, then every solution on I is X=Φ(t)c+Xp for exactly one constant vector c.
In plain words The matrix term says how the components act on one another, and the forcing is an input that does not depend on the state. A linear system cannot blow up while its coefficients and forcing stay continuous, so its solutions last as long as the interval does. Two solutions differ by a solution of the homogeneous system. The sum of two solutions is not a solution, because it satisfies the system with the forcing 2b(t) in place of b(t).
Example For the state X=(x1,x2)T, the equations x1′=tx1+1 and x2′=−x2+2 form the system with b=(1,2)T and
A(t)=(t00−1).
Both are continuous on R, so every initial state at any time t0 gives a solution on all of R. The constant x2=2 and the function x2=2−e−t both solve the second equation, and their difference e−t solves the homogeneous equation x2′=−x2.
Time-dependent coefficient matrix
Definition A coefficient matrix A(t) is time dependent when its entries change with t. If A is continuous on an open interval I, the homogeneous system X′=A(t)X still has fundamental matrices on I and a principal fundamental matrix U(t,t0), but there is no general formula for them. The matrix etA(t) is not a solution in general. The exponential of ∫t0tA(τ)dτ is the principal fundamental matrix when A(t)A(s)=A(s)A(t) for all t and s in I, but not in general. The eigenvalues of A(t) at each fixed t do not determine how the solutions behave. In practice a fundamental matrix is found from special structure, such as a diagonal or triangular matrix, or it is computed numerically.
In plain words With a changing matrix, the shortcuts for constant matrices stop working. A fundamental matrix still exists and still carries every initial state forward, but finding it takes the structure of the particular system or a numerical method.
Example For A(t)=diag(t,−1) the equations separate. The solution of x1′=tx1 with x1(0)=1 is et2/2, and the solution of x2′=−x2 with x2(0)=1 is e−t, so
Φ(t)=(et2/200e−t)
is the principal fundamental matrix at 0. Diagonal matrices commute, and Φ(t) is indeed the exponential of the integral diag(t2/2,−t). A second example shows that eigenvalues at frozen times do not decide whether solutions decay. For
A(t)=(−10e2t−1),
each matrix A(t) has the single eigenvalue −1. Yet X(t)=(21et,e−t)T is a solution, because the second component satisfies x2′=−x2 and the derivative of the first component is 21et=−21et+e2te−t. Its first component grows without bound.
Inverse fundamental matrix
Definition Let Φ be a fundamental matrix of X′=A(t)X on I. By Liouville’s formula detΦ(t)=0 at every point of I, so the inverse fundamental matrix Φ(t)−1 exists for every t in I. It is differentiable, and differentiating ΦΦ−1=I gives (Φ−1)′=−Φ−1A(t). For each t it converts a state into coordinates with respect to the columns of Φ(t), by c=Φ(t)−1X. In particular c0=Φ(t0)−1X0 gives the constants of the homogeneous solution with X(t0)=X0. For a constant matrix and Φ=etA the inverse is e−tA, but for a time-dependent matrix Φ(t)−1 is generally not Φ(−t). For a 2×2 matrix M with rows (α,β) and (γ,δ) and nonzero determinant detM=αδ−βγ, the inverse M−1 is the matrix with rows (δ,−β) and (−γ,α) divided by detM.
In plain words The inverse fundamental matrix reads off how much of each basis solution a state contains at a given time. It undoes Φ(t) at the same time t, which is not the same as running time backward to −t.
Example For Φ(t)=diag(et2/2,e−t) the inverse is diag(e−t2/2,et), while Φ(−t)=diag(et2/2,et) has the wrong first entry for every t=0. For the oscillator matrix A with rows (0,1) and (−4,0), the principal fundamental matrix etA has rows (cos2t,21sin2t) and (−2sin2t,cos2t) and determinant 1. The formula above keeps the equal diagonal entries and changes the signs of the other two, so e−tA has rows (cos2t,−21sin2t) and (2sin2t,cos2t). This is etA with t replaced by −t, as it must be for a constant matrix.
Variation of constants for systems
Definition Let A(t) and b(t) be continuous on an open interval I, let Φ be a fundamental matrix of X′=A(t)X on I, and let t0 be a point of I. The unique solution of X′=A(t)X+b(t) with X(t0)=X0 is X(t)=Φ(t)c(t) for every t in I, where
c(t)=Φ(t0)−1X0+∫t0tΦ(τ)−1b(τ)dτ.
To derive it, substitute X=Φ(t)c(t). The product rule gives X′=Φ′c+Φc′=A(t)Φc+Φc′, and the term A(t)Φc matches the homogeneous part of the equation, which leaves Φ(t)c′(t)=b(t). Hence c′=Φ−1b, and integrating from t0 with c(t0)=Φ(t0)−1X0 gives the formula for c(t). For a constant matrix with Φ=etA it reads
X(t)=e(t−t0)AX0+∫t0te(t−τ)Ab(τ)dτ.
The order of the factors matters. The inverse Φ(τ)−1 acts on the input b(τ) at the time τ when it arrives, and Φ(t) stands to the left of the integral. Variation of parameters for y′′+p(t)y′+q(t)y=g(t) is the special case of the first-order form with state (y,y′)T and forcing (0,g)T.
In plain words The homogeneous solutions form a moving basis, and the forcing is absorbed by letting the coordinates in that basis drift. The rate of drift is the input expressed in the basis at the moment it arrives, and the final state is rebuilt from the accumulated coordinates with the basis at the time of observation.
Example Solve x1′=tx1+1 and x2′=−x2+2 with X(0)=(1,1)T, using Φ(t)=diag(et2/2,e−t), whose value at 0 is I. The integrand is
Φ(τ)−1b=(e−τ2/22eτ).
The second entry integrates to 2et−2, so x2=e−t(1+2et−2)=2−e−t. The first entry has no elementary antiderivative and stays as an integral,
x1(t)G(t)=et2/2(1+G(t)),=∫0te−τ2/2dτ.
The formula holds for every real t, since A and b are continuous on R. As t grows, x2 approaches 2 while x1 grows without bound.
Non-elementary integrals
Definition An elementary function is built from constants, powers, roots, exponentials, logarithms, trigonometric functions and their inverses by finitely many arithmetic operations and compositions. An integral is non-elementary when its integrand has no elementary antiderivative, as for e−τ2/2, eτ2 and sinτ/τ. For f continuous on an interval I and t0 in I, the function
F(t)=∫t0tf(τ)dτ
is still defined and differentiable on I, with F′=f by the fundamental theorem of calculus. A solution formula that contains such an integral is exact. Its values can be computed to any accuracy by numerical quadrature or through a named function such as the error function
erf(x)=π2∫0xe−s2ds.
In plain words An integral that cannot be written with familiar functions is still a perfectly good function. It can be differentiated, checked and evaluated, and a name such as erf only abbreviates the integral.
Example The first component x1=et2/2(1+G) of the example above satisfies its equation, since G′(t)=e−t2/2 and the product rule gives
x1′=tx1+et2/2e−t2/2=tx1+1.
Also x1(0)=1, because G(0)=0. The substitution τ=2s gives
G(t)=π/2erf(t/2),
which is about 0.8556 at t=1, so x1(1)≈3.0594. The improper integral of e−τ2/2 over [0,∞) has the closed-form value π/2, so e−t2/2x1(t)→1+π/2≈2.2533 as t→∞. The exact formula shows how fast x1 grows, even though x1 itself is not an elementary function.
Check yourself
Let A have rows (0,1) and (0,0) and let b(t)=(0,6t)T. Solve X′=AX+b(t) with X(0)=(0,0)T, and compare the result with the equation y′′=6t.
Show the answer
Since A2=0, the exponential is etA=I+tA, and its inverse at time τ is e−τA=I−τA. The integrand e−τAb(τ)=(−6τ2,6τ)T integrates from 0 to t to (−2t3,3t2)T. Multiplying by etA gives
X(t)=(10t1)(−2t33t2)=(t33t2).
The system is the first-order form of y′′=6t with state (y,y′)T and y(0)=y′(0)=0. Its solution y=t3 has y′=3t2, which matches both components.
Let B have rows (0,1) and (1,0). The matrix Φ(t) with rows (t,1/t) and (t,−1/t) is a fundamental matrix of tX′=BX on (0,∞). Solve tX′=BX+(2t2,0)T with X(1)=(0,0)T, and explain what goes wrong if the forcing (2t2,0)T is used in the formula without first dividing by t.
Show the answer
The formula needs the form X′=A(t)X+b(t). Dividing by t gives A(t)=B/t and b(t)=(2t,0)T, which are continuous on (0,∞), while A(t) is not defined at t=0. So the solution lives on (0,∞). The determinant of Φ(t) is −1−1=−2, and the 2×2 inverse formula gives
Φ(t)−1=(2t12t2t1−2t),
so Φ(τ)−1b(τ)=(1,τ2)T. Since X(1)=0, only the integral term remains. The integral from 1 to t is (t−1,(t3−1)/3)T, and multiplying by Φ(t) gives
X(t)=(34t2−t−3t132t2−t+3t1).
To check, t times the derivative of the first component is 38t2−t+3t1, which equals the second component plus 2t2. Also t times the derivative of the second component is 34t2−t−3t1, which is the first component, and both components vanish at t=1. With the forcing (2t2,0)T left undivided, the formula solves X′=(B/t)X+(2t2,0)T instead. That is the equation tX′=BX+(2t3,0)T, not the one we were given.
Solve X′=A(t)X+b with A(t)=diag(−2t,−1), b=(1,1)T and X(0)=(0,0)T. Explain why the answer is exact although one of its integrals is non-elementary, and find the limit of each component as t→∞.
Show the answer
The principal fundamental matrix at 0 is Φ(t)=diag(e−t2,e−t), and Φ(τ)−1b=(eτ2,eτ)T. With X(0)=0 the formula gives x2(t)=e−t(et−1) and
x1(t)=e−t2∫0teτ2dτ,x2(t)=1−e−t.
The integrand eτ2 has no elementary antiderivative, but it is continuous, so the integral is a differentiable function of t with derivative et2. The product rule then confirms x1′=−2tx1+1, and x1(0)=0. The second component tends to 1. For the first, the numerator ∫0teτ2dτ and the denominator et2 of the quotient both tend to infinity, and L’Hôpital’s rule gives
t→∞limx1(t)=t→∞lim2tet2et2=0.
In fact x1(t) is close to 1/(2t) for large t, and x1(10)≈0.0503.
May we count page visits to understand which courses and learning features are useful? Cloudflare collects visit and performance statistics, without your account details or answers. Your choice does not affect access. Details