Worked solution: solve 2x+y=5, x-y=1 using matrices

Step-by-step working for this eigenvalues, eigenvectors and matrix transformations problem, produced and checked by the solver.

Solve using matrices Answer checked
Answer
x=2,;y=1x = 2,; y = 1
  1. Write the equations as a matrix equation AX = B
  2. Find the determinant of A
  3. Find the inverse matrix A⁻¹ (swap and negate for 2×2, or use cofactors for 3×3, then divide by the determinant)
  4. Multiply: X = A⁻¹B
  5. Check by substituting the answer into every equation

Change the numbers and solve your own

The method in brief

  1. Solve det(A - λI) = 0 for the eigenvalues λ.
  2. For each λ solve (A - λI)v = 0 to find the eigenvector.
  3. Rotation by θ anticlockwise: [[cos θ, -sin θ], [sin θ, cos θ]].
  4. Reflection in y = x swaps x and y: [[0, 1], [1, 0]].

Full guide: Eigenvalues, eigenvectors, invariant points and transformation matrices.

More Further maths examples on this topic