UNIHIVE

Study Hub UNIPORT ENG 202

ENG 202 · Engineering Mathematics II (Linear Algebra & Analytic Geometry)

Calculus of matrices and applications

Differentiating and integrating matrices, systems of differential equations, and engineering uses.

Our notes

2 min read

Differentiating 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).

  1. (x, y) = c₁e^{5t}(1, 1) + c₂e^{2t}(1, −2)
  2. At t = 0: c₁ + c₂ = 3 and c₁ − 2c₂ = 0, so c₂ = 1, c₁ = 2.
  3. 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

Watch

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.

All ENG 202 topics

Report

Sign in to report this. It is free.

Is this your work (a lecturer, author or publisher)? Ask us to take it down.