A brief note on Inverse of a Matrix and Linear Systems . Read it before a test. Try each question at the end before you open its answer.
The adjoint and the inverse Inverse: A A − 1 = A − 1 A = I AA^{-1} = A^{-1}A = I A A − 1 = A − 1 A = I . It exists exactly when ∣ A ∣ ≠ 0 |A| \ne 0 ∣ A ∣ = 0 . A matrix with ∣ A ∣ = 0 |A| = 0 ∣ A ∣ = 0 is singular. Adjoint: the transpose of the cofactor matrix, and A adj A = ∣ A ∣ I A\,\text{adj}\,A = |A|I A adj A = ∣ A ∣ I . Formula: A − 1 = adj A ∣ A ∣ A^{-1} = \dfrac{\text{adj}\,A}{|A|} A − 1 = ∣ A ∣ adj A . Order 2: swap the diagonal entries and negate the other two, then divide by a d − b c ad - bc a d − b c . Rules: ( A B ) − 1 = B − 1 A − 1 (AB)^{-1} = B^{-1}A^{-1} ( A B ) − 1 = B − 1 A − 1 , ( A T ) − 1 = ( A − 1 ) T (A^T)^{-1} = (A^{-1})^T ( A T ) − 1 = ( A − 1 ) T , ∣ A − 1 ∣ = 1 ∣ A ∣ |A^{-1}| = \dfrac{1}{|A|} ∣ A − 1 ∣ = ∣ A ∣ 1 and ∣ adj A ∣ = ∣ A ∣ n − 1 |\text{adj}\,A| = |A|^{n-1} ∣ adj A ∣ = ∣ A ∣ n − 1 . Linear systems Matrix form: A X = B AX = B A X = B . If ∣ A ∣ ≠ 0 |A| \ne 0 ∣ A ∣ = 0 , the unique solution is X = A − 1 B X = A^{-1}B X = A − 1 B . If ∣ A ∣ = 0 |A| = 0 ∣ A ∣ = 0 : there is no solution or infinitely many. Compare the equations. Homogeneous: A X = O AX = O A X = O has a non-zero solution exactly when ∣ A ∣ = 0 |A| = 0 ∣ A ∣ = 0 . Cramer's rule: x i = Δ i / Δ x_i = \Delta_i/\Delta x i = Δ i /Δ , where Δ i \Delta_i Δ i has column i i i replaced by B B B . Rows: a row ( 0 0 0 ∣ c ) (0\ 0\ 0 \,|\, c) ( 0 0 0 ∣ c ) with c ≠ 0 c \ne 0 c = 0 means no solution. A row ( 0 0 0 ∣ 0 ) (0\ 0\ 0 \,|\, 0) ( 0 0 0 ∣ 0 ) means a free unknown. Row operations The three operations: swap two rows, scale a row by a non-zero number, add a multiple of one row to another. The inverse: [ A ∣ I ] → [ I ∣ A − 1 ] [A \,|\, I] \to [I \,|\, A^{-1}] [ A ∣ I ] → [ I ∣ A − 1 ] . Models: flow in equals flow out at a junction, and an economy gives x = ( I − C ) − 1 d x = (I - C)^{-1}d x = ( I − C ) − 1 d . A worked example Solve 3 x + y = 7 3x + y = 7 3 x + y = 7 and 5 x + 2 y = 12 5x + 2y = 12 5 x + 2 y = 12 with the inverse.
The matrix. $A = [ 3 1 5 2 ] \displaystyle \begin{bmatrix} 3 & 1 \\ 5 & 2 \end{bmatrix} [ 3 5 1 2 ] , , , B =
[ 7 12 ] \displaystyle \begin{bmatrix} 7 \\ 12 \end{bmatrix} [ 7 12 ] , a n d , and , an d |A| = 6 - 5 = 1$.
The inverse. $A^{-1} = [ 2 − 1 − 5 3 ] \displaystyle \begin{bmatrix} 2 & -1 \\ -5 & 3 \end{bmatrix} [ 2 − 5 − 1 3 ] $.
The solution. $X = A^{-1}B = [ 14 − 12 − 35 + 36 ] \displaystyle \begin{bmatrix} 14 - 12 \\ -35 + 36 \end{bmatrix} [ 14 − 12 − 35 + 36 ] =
[ 2 1 ] \displaystyle \begin{bmatrix} 2 \\ 1 \end{bmatrix} [ 2 1 ] . C h e c k : . Check: . C h ec k : 3 \cdot 2 + 1 = 7$.
Practice with new numbers
A program to try The program checks the rules of this note on one matrix: A adj A = ∣ A ∣ I A\,\text{adj}\,A = |A|I A adj A = ∣ A ∣ I , the inverse, the inverse of a product and a solution of A X = B AX = B A X = B .
Run it. Which checks print True?
1. Change [4, 7] to [7, 12]. Does the solution agree with the worked example?
Mistakes to avoid Forgetting to transpose the cofactors. The adjoint is the transpose. Not dividing by ∣ A ∣ |A| ∣ A ∣ . Only when ∣ A ∣ = 1 |A| = 1 ∣ A ∣ = 1 is the adjoint the inverse. Writing ( A B ) − 1 = A − 1 B − 1 (AB)^{-1} = A^{-1}B^{-1} ( A B ) − 1 = A − 1 B − 1 . The order reverses. Calling ∣ A ∣ = 0 |A| = 0 ∣ A ∣ = 0 always "no solution". It may be infinitely many. Writing X = B A − 1 X = BA^{-1} X = B A − 1 for A X = B AX = B A X = B . It is X = A − 1 B X = A^{-1}B X = A − 1 B . Check yourself Find the inverse of $ [ 2 5 1 3 ] \displaystyle \begin{bmatrix} 2 & 5 \\ 1 & 3 \end{bmatrix} [ 2 1 5 3 ] $.
Stuck? Show a hint Show the answer[ 3 − 5 − 1 2 ] \displaystyle \begin{bmatrix} 3 & -5 \\ -1 & 2 \end{bmatrix} [ 3 − 1 − 5 2 ] $.
A A A is 3 × 3 3 \times 3 3 × 3 with ∣ A ∣ = 2 |A| = 2 ∣ A ∣ = 2 . Find ∣ adj A ∣ |\text{adj}\,A| ∣ adj A ∣ . Stuck? Show a hint Show the answerDoes x + y = 4 x + y = 4 x + y = 4 , 2 x + 2 y = 9 2x + 2y = 9 2 x + 2 y = 9 have a solution? Stuck? Show a hint Show the answerSolve x + y = 5 x + y = 5 x + y = 5 , x − y = 1 x - y = 1 x − y = 1 with Cramer's rule. Stuck? Show a hint Show the answerAfter row operations the last row of [ A ∣ B ] [A \,|\, B] [ A ∣ B ] is ( 0 0 0 ∣ 0 ) (0\ 0\ 0 \,|\, 0) ( 0 0 0 ∣ 0 ) . What follows? Stuck? Show a hint Show the answerSources NCERT, Mathematics Textbook for Class XII, Part I, Chapters 3 and 4 (Matrices, Determinants). OpenStax, Precalculus 2e, Sections 9.6 to 9.8 (Gaussian elimination, inverses, Cramer's rule).