For a 2×2 matrix A=(abcd) the inverse is A−1=1ad−bc(d−b−ca) (when ad−bc≠0). How do you use it to solve 2x+y=5 and x+3y=10?

Linear algebra and optimisation, Systems of linear equations
Level L2 Elementary. Length Medium. Nature Mat Mathematical.

What's being asked

Whether you can write a system as Ax=b, apply a given inverse formula carefully, and check the answer.

Key idea

A system of equations can be written as one matrix equation Ax=b. If A has an inverse, multiply both sides by it: x=A−1b. For a 2×2 matrix the inverse formula is given in the question; the number ad−bc is called the determinant.

Steps

  1. Write the system in matrix form: A=(2113), x=(xy), b=(510).
  2. Compute the determinant: ad−bc=2⋅3−1⋅1=5. It is not zero, so A−1 exists.
  3. Build the inverse: swap the diagonal entries, flip the signs of the other two, divide by 5: A−1=15(3−1−12).
  4. Multiply: x=15(3⋅5−1⋅10−1⋅5+2⋅10)=15(515)=(13).
  5. Check in the original equations: 2(1)+3=5 and 1+3(3)=10. Both hold, so x=1 and y=3.

Common mistakes

How long your answer should be

About 3 minutes; half a page including the check.

Read this

Previous in Linear algebra and optimisation: Find all stationary points of f(x,y)=x3−3x+y2−4y, and use the Hessian at each stationary point to classify it as a local minimum, local maximum or saddle point. What happens if gradient descent is initialised at (−1,2) versus (−1,0)?
Next in Linear algebra and optimisation: The determinant of (abcd) is ad−bc. Compute it for A=(3162) and B=(3122). Which matrix is invertible, and what does the determinant tell you about its columns?