UNIHIVE

Study Hub UNIPORT ENG 202

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

Systems of linear equations

Gaussian elimination, Cramer's rule, and when a system has one, many or no solutions.

Our notes

1 min read

The matrix form

A system of m equations in n unknowns is Ax = b. The augmented matrix [A | b] holds everything.

Gaussian elimination

Use row operations (swap rows, multiply a row by a non-zero number, add a multiple of one row to another) to reach row echelon form (zeros below each leading entry), then back-substitute.

Worked example

x + y + z = 6
2x − y + z = 3
x + 2y − z = 2

  1. R2 − 2R1: −3y − z = −9
  2. R3 − R1: y − 2z = −4
  3. From step 2: y = 2z − 4. Into step 1: −3(2z − 4) − z = −9 → −7z + 12 = −9 → z = 3.
  4. y = 2(3) − 4 = 2; x = 6 − 2 − 3 = 1.

Solution: x = 1, y = 2, z = 3. Check in equation 3: 1 + 4 − 3 = 2. ✓

Cramer's rule

If det A ≠ 0, xᵢ = det Aᵢ / det A, where Aᵢ is A with column i replaced by b.
For the example: det A = 7, det A₁ = 7, det A₂ = 14, det A₃ = 21, so x = 1, y = 2, z = 3. ✓
Cramer is neat for 2 × 2 and 3 × 3 by hand, but slow for large systems.

How many solutions? (rank test)

Compare rank A with rank [A | b] (rank = number of non-zero rows in echelon form):

CaseResult
rank A = rank [Ab] = none unique solution
rank A = rank [Ab] < ninfinitely many (free parameters)
rank A < rank [Ab]no solution (inconsistent)

Homogeneous systems

Ax = 0 always has x = 0. It has non-zero solutions only if det A = 0 (square case), which is exactly the eigenvalue condition later.

Where engineers use it

Circuit currents (Kirchhoff's laws), truss forces, mass and energy balances in chemical plants, and any problem solved by finite elements.

Exams usually ask

  • Solve a 3 × 3 system by elimination and by Cramer's rule.
  • Find the value of k for which a system has no solution or infinitely many.

Common mistake

Doing a row operation on A but not on b. Always work on the augmented matrix.

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.