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.