Matrix Inverses and Linear Systems
Matrix Inverses and Linear Systems
In matrix algebra, the inverse of a matrix allows us to perform an operation similar to division. The inverse of a matrix A, denoted as Aโ1, is a matrix such that when multiplied by A, it yields the Identity matrix I: AAโ1=Aโ1A=I
Finding the Inverse of a 2ร2 Matrix
For a 2ร2 matrix A=[acโbdโ], the inverse exists if and only if its determinant is not zero.
The determinant is calculated as: det(A)=adโbc
If det(A)๎ =0, the inverse is given by the formula: Aโ1=adโbc1โ[dโcโโbaโ] Notice that we swap the positions of a and d, change the signs of b and c, and multiply everything by 1 over the determinant.
Example 1: Finding an Inverse
Find the inverse of A=[35โ12โ].
- Find the determinant: det(A)=(3)(2)โ(1)(5)=6โ5=1.
- Apply the inverse formula: Aโ1=11โ[2โ5โโ13โ]=[2โ5โโ13โ]
Solving Linear Systems Using Matrices
We can write a system of linear equations as a single matrix equation AX=B, where:
- A is the coefficient matrix.
- X is the variable matrix.
- B is the constant matrix.
To solve for X, we multiply both sides by Aโ1 (on the left): X=Aโ1B
Example 2: Solving a System
Solve the system 2x+3y=7 and xโy=1 using matrices.
-
Set up the matrix equation AX=B: [21โ3โ1โ][xyโ]=[71โ]
-
Find the inverse of A: The determinant is (2)(โ1)โ(3)(1)=โ2โ3=โ5. Aโ1=โ51โ[โ1โ1โโ32โ]
-
Multiply Aโ1B to find X: X=โ51โ[โ1โ1โโ32โ][71โ] X=โ51โ[(โ1)(7)+(โ3)(1)(โ1)(7)+(2)(1)โ]=โ51โ[โ10โ5โ]=[21โ]
The solution is x=2 and y=1.