Matrices package whole systems of numbers into a single object — the backbone of structural analysis, robotics transformations, and solving many equations at once. Work through each tab: rules first, then the interactive tools, then worked examples and practice.
Level 4 HN Engineering MathsInteractive ToolsVisual DiagramsGraded Practice
3Topics
12Worked Examples
4Eng. Cases
12Practice Qs
➕Matrix BasicsAdd, scale, multiply
🔢Determinants & Inverses2×2 and 3×3
⚖️Simultaneous EquationsThe matrix method
⚙️ApplicationsReal engineering
🎮Quick-Fire GameTest your speed
📝PracticeGraded questions
🎯What you will learn
Add, subtract and multiply matrices; find determinants and inverses of 2×2 and 3×3 matrices; and use the matrix method to solve systems of simultaneous equations — the same technique behind structural load analysis and circuit mesh analysis.
💡 A matrix is just a rectangular grid of numbers. The one rule that trips people up: matrix multiplication is not commutative — AB usually does not equal BA.
🧭How to use this resource
1. Read the rules banner at the top of each tab
2. Experiment with the interactive tool
3. Check the key vocabulary panel
4. Study the visual diagram, then the worked examples
➕
Matrix Basics & Operations
A grid of numbers you can add, scale and multiply — with one crucial twist on the usual rules.
📏 The Rules — Basic Operations
Order: rows × columns
A 2×3 matrix has 2 rows, 3 columns — always state rows first
Add/subtract: same order only
Combine corresponding elements; sizes must match exactly
Multiply: (m×n)(n×p) = m×p
Inner dimensions must match; row × column, then sum
🔧2×2 Matrix CalculatorEnter both matrices, choose an operation
Enter matrix A (and B, or k for scaling), choose an operation, then press Calculate. For scaling, only fill A and put k in the first B box.
📖 Key Vocabulary
Element (aij) — the entry in row i, column j.
Order — the size of a matrix, written rows × columns.
Square matrix — same number of rows and columns; required for a determinant/inverse.
Identity matrix (I) — 1's on the diagonal, 0's elsewhere; the matrix "1" — AI = A.
👁️ Visual aid: the highlighted row of A pairs with the highlighted column of B — multiply matching positions, then add.
✏️Worked Example 1 — Addition and subtractionType: Add/Subtract
Question Given A = [[3,1],[2,5]] and B = [[1,4],[0,2]], find A + B and A − B.
Add element by element: [[3+1,1+4],[2+0,5+2]] = [[4,5],[2,7]]
Subtract[[3−1,1−4],[2−0,5−2]] = [[2,−3],[2,3]]
Answer Sum = [[4,5],[2,7]], Difference = [[2,−3],[2,3]]
🔢Worked Example 2 — Scalar multiplicationType: Scale
Question Find 3A where A = [[2,−1],[0,4]].
Multiply every element by 3[[3×2,3×−1],[3×0,3×4]]
Answer[[6,−3],[0,12]] — every entry scales, unlike addition which needs a matching matrix.
✖️Worked Example 3 — Matrix multiplication (row × column)Type: Multiply
Question Find AB where A = [[1,2],[3,4]] and B = [[5,6],[7,8]].
Answer x ≈ 8.10 mm, y ≈ 5.24 mm — the same inverse from the Determinants tab now solves an entire structural system in one multiplication.
🧠 Common slip: multiplying A⁻¹ by b in the wrong order or on the wrong side. Since matrix multiplication is not commutative, always compute A⁻¹b, never bA⁻¹.
⚙️
Engineering Applications
Four live scenarios — each with its own calculator. Enter your own numbers.
🏗️ Structural Stiffness — Force from Displacement
For a 2-DOF spring system, F = Kd links nodal forces to displacements through the stiffness matrix K.
F = K d (matrix multiplication)
📟 Try it — Nodal Force Calculator
Enter K and d, then press Calculate…
🔌 Circuit Mesh Analysis
Kirchhoff's voltage law for a two-mesh circuit gives a 2×2 system solved directly by the matrix method for the mesh currents.
R·I = V → I = R⁻¹V
📟 Try it — Mesh Current Solver
Enter R and V, then press Calculate…
🤖 2D Rotation — Robotics Transformation
A rotation matrix transforms a point's coordinates by angle θ — the foundation of robot-arm kinematics and CAD transformations.
[x'] = [cosθ −sinθ][x] [y'] [sinθ cosθ][y]
📟 Try it — Rotate a Point
Enter x, y and the rotation angle, then press Calculate…
📡 Sensor Fusion — Checking a System is Solvable
Before trusting any multi-sensor least-squares solution, engineers check the determinant of the normal-equations matrix isn't (numerically) zero — otherwise the system is ill-conditioned.
det(A) ≈ 0 → ill-conditioned; small errors in data cause huge errors in the solution
📟 Try it — Conditioning Check
Enter a, b, c, d, then press Calculate…
🎮
Quick-Fire Matrices Game
12 questions — operations, determinants and solving mixed. How many can you get?
⚡ Matrices Challenge
Score: 0Question: 1/12Streak: 0🔥
Press Start to begin!
📝
Practice Questions
Graded from warm-up to challenge. Attempt fully before revealing the working.
🥉 Q1–4 Warm-up🥈 Q5–8 Standard🥇 Q9–12 Challenge
Question 1 🥉2 marks
Add A = [[2,3],[1,4]] and B = [[5,0],[2,1]].
[[2+5,3+0],[1+2,4+1]] = [[7,3],[3,5]]
Question 2 🥉2 marks
Find 4A where A = [[1,−2],[3,0]].
[[4,−8],[12,0]] = [[4,−8],[12,0]]
Question 3 🥉2 marks
Find det(A) for A = [[3,2],[1,5]].
(3)(5) − (2)(1) = 15 − 2 = 13
Question 4 🥉2 marks
State the order of the product when a 2×3 matrix multiplies a 3×4 matrix.
Inner dimensions (3 and 3) match, outer dimensions give the result: 2×4
Question 5 🥈3 marks
Find AB where A = [[2,0],[1,3]] and B = [[4,1],[2,5]].
Top row: (2×4+0×2, 2×1+0×5) = (8,2) Bottom row: (1×4+3×2, 1×1+3×5) = (10,16) AB = [[8,2],[10,16]]
A stiffness matrix K = [[12,−6],[−6,12]] kN/mm acts on a load vector F = [30, 6] kN. Find the displacement vector d = K⁻¹F.
det = 144−36 = 108 K⁻¹ = (1/108)[[12,6],[6,12]] d₁ = (12×30+6×6)/108 = (360+36)/108 = 3.667 d₂ = (6×30+12×6)/108 = (180+72)/108 = 2.333 d ≈ (3.67, 2.33) mm
Question 11 🥇5 marks
Verify (AB)⁻¹ = B⁻¹A⁻¹ is at least dimensionally sensible by checking orders, given A and B are both 3×3.
AB is 3×3 (3×3 × 3×3 = 3×3), so (AB)⁻¹ must be 3×3. B⁻¹ is 3×3, A⁻¹ is 3×3, so B⁻¹A⁻¹ is 3×3 ✓ Orders match — consistent with the identity (proof requires showing AB·B⁻¹A⁻¹ = I).
Question 12 🥇5 marks
Two circuit meshes give 20I₁ − 8I₂ = 40 and −8I₁ + 18I₂ = 10 (volts). Find I₁ and I₂ in amps to 3 s.f.
A=[[20,−8],[−8,18]], det=360−64=296 A⁻¹=(1/296)[[18,8],[8,20]] I₁=(18×40+8×10)/296=(720+80)/296=2.703 I₂=(8×40+20×10)/296=(320+200)/296=1.757 I₁ ≈ 2.70 A, I₂ ≈ 1.76 A