Lesson 7: Solving matrix equations
Decode a secret message
SkillsSolving matrix equationsModelling with matricesInverses of 2 × 2 matrices
Worked example
A simple code turns letters into numbers (, , …, ), writes them in pairs as the columns of a matrix , and sends the coded matrix , where
You receive
Find the four-letter message.
Step 1: Set up the matrix equation
, with the unknown on the right of . This has the form .
Decoding means solving the coding equation for the original matrix.
Step 2: Find
, so .
The code can only be undone because . A singular coding matrix would destroy information.
Step 3: Pre-multiply both sides by
Step 4: Turn the numbers back into letters
Read down each column: and then , which are M, A, T, H.
Step 5: Check the answer is reasonable
Every entry is a whole number from 1 to 26, as letters must be. The wrong order, , gives negative numbers here, which cannot be letters.
Answer
The message is MATH.
Try a similar one
A fresh question of the same kind, checked as you answer, with hints and a full solution.
Method
Write the decoding problem as a matrix equation.
Multiply by the inverse of the coding matrix on the correct side.
Convert back to letters and check the entries make sense.
Watch out for
Calculating . Since , the inverse must go on the left.
Reading the letters across the rows instead of down the columns.