Matrix inverse
Introduction / Definition
The inverse matrix reverses the effect of a square matrix. It exists only when the matrix is nonsingular. Multiplying a matrix by its inverse produces the identity matrix. Inverses can also be used to solve linear systems.
Syntax / Mathematical Form
AA⁻¹=A⁻¹A=I; A⁻¹=1/(ad−bc)[ d -b ] [ -c a ]
Detailed Explanation
For A = [ a b ] [ c d ], the determinant is ad−bc. If it is zero, A has no ordinary inverse. If it is nonzero, the formula gives the inverse.
Example
A = [ 1 2 ]
[ 3 4 ]
det(A)=4−6=−2
A⁻¹[ -2 1 ]
[ 3/2 -1/2 ].
Output
A⁻¹[ -2 1 ]
[ 3/2 -1/2 ].
Important Points / Notes
- det(A)≠0 is required.
- AA⁻¹=I.
- Inverse is unique when it exists.
Mini Practice Question
Find the inverse of [ 2 1 ] [ 1 1 ].
CheckpointTest Yourself