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
- Write the equations as a matrix equation AX = B
- Find the determinant of A
- Find the inverse matrix A⁻¹ (swap and negate for 2×2, or use cofactors for 3×3, then divide by the determinant)
- Multiply: X = A⁻¹B
- Check by substituting the answer into every equation
Change the numbers and solve your own
The method in brief
- Solve det(A - λI) = 0 for the eigenvalues λ.
- For each λ solve (A - λI)v = 0 to find the eigenvector.
- Rotation by θ anticlockwise: [[cos θ, -sin θ], [sin θ, cos θ]].
- Reflection in y = x swaps x and y: [[0, 1], [1, 0]].
Full guide: Eigenvalues, eigenvectors, invariant points and transformation matrices.