Solving Matrix Equations

Solving Matrix Equations
Matrix Multiplication
You can multiply both sides of a matrix equation by a matrix:
- Left multiplication by a matrix C:
Ax=b⟹CAx=Cb
- Right multiplication by a matrix C :
Ax=b⟹AxC=bC
Solving Linear Systems Using Inverse
Write the matrix equation for the linear system: Ax=b.
Rearrange to solve for x, the solution vector, by cancelling A on the LHS:
Ax=IA−1A xIx=b=A−1b=A−1b
x=A−1b
Steps
- Write the system of linear equations as a matrix equation Ax=b.
- Find A−1.
- The solution is x=A−1b.

Example: Solving Linear Systems Using Inverse
A=102211110,A−1=−12−21−231−11,b=0−34
Find the solution(s) to the linear system Ax=b.
The linear system we want to solve can be written:
x+2y+zy+z2x+y===0−34
In matrix form, we have:
Ax=b⟹102211110xyz=0−34
We have been given the inverse of A, so A must be invertible.
Ax=b⟹⟹⟹xxyzxyz===A−1b−12−21−231−110−3412−5

Example: Solving Matrix Equations
Find the matrix C such that:
(I−2C[2−14−3])−1=[3111]
Writing the equation symbolically:
(I−2CA)−1=B, where A=[2−14−3],B=[3111]
Take the inverse of both sides to cancel the inverse on the LHS:
I−2CA=B−1
We are trying to isolate C, so subtract I from both sides:
−2CA=B−1−I
Multiply both sides by the scalar −21:
CA=−21(B−1−I)
Right multiply both sides by A−1 to cancel A on the LHS:
CAA−1⟹CI⟹ C=−21(B−1−I)A−1=−21(B−1−I)A−1=−21(B−1−I)A−1
We can now compute C (use the formula for 2×2 matrices to find B−1, A−1):
B−1=[3111]−1=21[1−1−13]=[21−21−2123]
−21(B−1−I) = −21([21−21−2123]−[1001]) = −21[−21−21−2121] = [414141−41]
A−1=[2−14−3]−1=−21[−31−42]=[23−212−1]
C = −21(B−1−I)A−1 = [414141−41][23−212−1] = [41214143]
∴ C=[41214143]
Let [30−14] be the inverse of the matrix [acbd].
Find the solution to the following system of linear equations:
ax+bycx+dy==−22
Solve for A in the following equation:
A[−122−5]=I2−[20−32]
[Fill in the entries for matrix A]