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=[acbd], 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=[3512].
- 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: [213−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.