ENG 202 · Engineering Mathematics II (Linear Algebra & Analytic Geometry)
Our notes
2 min readDifferentiating and integrating a matrix
A matrix whose entries are functions of t is differentiated and integrated entry by entry.
Example: A(t) = [t² sin t; eᵗ 3t]
- dA/dt = [2t cos t; eᵗ 3]
- ∫₀¹ A dt = [1/3 1 − cos 1; e − 1 3/2]
Rules
- d(A + B)/dt = A′ + B′
- d(AB)/dt = A′B + AB′ (keep the order: matrices do not commute)
- d(A⁻¹)/dt = −A⁻¹ A′ A⁻¹
Systems of linear differential equations
Many engineering systems obey x′ = Ax. If A has eigenvalues λᵢ with eigenvectors vᵢ, the solution is
x(t) = c₁e^{λ₁t}v₁ + c₂e^{λ₂t}v₂ + ...
with the constants from the initial values.
Worked example
x′ = 4x + y, y′ = 2x + 3y, with x(0) = 3, y(0) = 0. Here A = [4 1; 2 3], which has λ = 5, v = (1, 1) and λ = 2, v = (1, −2) (eigenvalue topic).
- (x, y) = c₁e^{5t}(1, 1) + c₂e^{2t}(1, −2)
- At t = 0: c₁ + c₂ = 3 and c₁ − 2c₂ = 0, so c₂ = 1, c₁ = 2.
- x = 2e^{5t} + e^{2t}, y = 2e^{5t} − 2e^{2t}
Check: x′ = 10e^{5t} + 2e^{2t}; 4x + y = 8e^{5t} + 4e^{2t} + 2e^{5t} − 2e^{2t} = 10e^{5t} + 2e^{2t}. ✓
Stability from eigenvalues
If every eigenvalue has a negative real part, solutions die away: the system is stable. Any positive eigenvalue (like 5 and 2 here) makes it grow without limit. Complex eigenvalues give oscillations.
Other applications of matrix algebra
- Circuits: mesh and nodal equations as Ax = b.
- Structures: the stiffness equation Kd = F in trusses and frames.
- Vibrations: natural frequencies from det(K − ω²M) = 0.
- Transformations: rotations and scaling in computer graphics and robotics.
- Mass balances: steady-state flows in a chemical plant.
Exams usually ask
- Differentiate or integrate a given matrix.
- Solve a 2 × 2 system x′ = Ax with initial values.
- Show that d(AB)/dt = A′B + AB′ for given matrices.
Common mistake
Writing d(AB)/dt = B′A + ... in the wrong order. Matrix products must keep the order A then B.
Written by the UniHive team in our own words. Spotted a mistake? Tell us on WhatsApp.
Read
-
Matrix exponential
(opens en.wikipedia.org in a new tab)
Wikipedia, Matrix exponential, CC BY-SA 4.0 · licence
-
Matrix calculus
(opens en.wikipedia.org in a new tab)
Wikipedia, Matrix calculus, CC BY-SA 4.0 · licence
Watch
-
Best pick How (and why) to raise e to the power of a matrix | DE6
27 min · ≈ 122 MB · about ₦69
(opens youtube.com in a new tab)
-
Differential Equations | The Matrix Exponential e^{tA}.
14 min · ≈ 63 MB · about ₦35
(opens youtube.com in a new tab)
-
Matrix Systems of Differential Equations
25 min · ≈ 113 MB · about ₦63
(opens youtube.com in a new tab)
-
The Matrix Exponential
16 min · ≈ 72 MB · about ₦40
(opens youtube.com in a new tab)
-
Introduction to the Matrix Exponential
31 min · ≈ 140 MB · about ₦79
(opens youtube.com in a new tab)
We link to free material and never copy it. Every link was opened by our team before it went up; video data is a rough guide at 360p.