Maths WorkshopMaths problems with full solutions
Exercise 1496Calculus › Differential equations › Linear systemsL3Added 2 Nov 2026

A linear system with a second member

#second member#variation of constants#matrix exponential

Statement

Solve the system X′=AX+B(t)X' = AX + B(t) where AA is diagonalizable and B(t)B(t) is a given vector function.

Hint

Use variation of constants: X(t)=etAC(t)X(t) = e^{tA}C(t), so C′(t)=e−tAB(t)C'(t) = e^{-tA}B(t).

Show solutionHide solution

Solution

Variation of constants. Set X(t)=etAC(t)X(t) = e^{tA}C(t). Then
X′=AetAC+etAC′=AX+etAC′.X' = A e^{tA}C + e^{tA}C' = AX + e^{tA}C'.
We need etAC′=B(t)e^{tA}C' = B(t), so
C′(t)=e−tAB(t).C'(t) = e^{-tA}B(t).

Integration.
C(t)=C0+∫t0te−sAB(s) ds.C(t) = C_0 + \int_{t_0}^{t} e^{-sA}B(s)\,ds.

General solution.
X(t)=etAC0+∫t0te(t−s)AB(s) ds.X(t) = e^{tA}C_0 + \int_{t_0}^{t} e^{(t-s)A}B(s)\,ds.