Just as we have equations that we can solve using algebraic manipulation, we also have matrix equations we can solve using manipulation according to the laws of matrices.
We know that AA^{-1}=A^{-1}A=I where A^{-1} is the inverse of A and I is the identity matrix.
Division for matrices is actually not defined, but this doesn't mean we can't manipulate equations. Anything that we would normally need to do using division, we instead do multiplication by using the inverse, provided the inverse of a matrix exists.
Because AA^{-1}=A^{-1}A we can use this property to simplify by carry out pre-multiplication and post-multiplication in equations instead of division. This is because we are aiming to multiply a matrix and its inverse to form the identity matrix.
For instance consider the matrix equation AX=B. To solve for X we need to pre-multiply. This means placing A^{-1} out the front of both sides of the equation.
\displaystyle AX | \displaystyle = | \displaystyle B | Write down the equation |
\displaystyle A^{-1}AX | \displaystyle = | \displaystyle A^{-1}B | Pre-multiply both sides by A^{-1} |
\displaystyle IX | \displaystyle = | \displaystyle A^{-1}B | Use the fact that A^{-1}A=I |
\displaystyle X | \displaystyle = | \displaystyle A^{-1}B | Use the fact that IX=X |
For the matrix equation XA=B, to solve for X we need to post-multiply. This means placing A^{-1} at the end of both sides of the equation.
XAA^{-1}=BA^{-1}. Here A^{-1} is post-multiplied on both sides.
\displaystyle XA | \displaystyle = | \displaystyle B | Write down the equation |
\displaystyle XAA^{-1} | \displaystyle = | \displaystyle BA^{-1} | Post-multiply both sides by A^{-1} |
\displaystyle XI | \displaystyle = | \displaystyle BA^{-1} | Use the fact that AA^{-1}=I |
\displaystyle X | \displaystyle = | \displaystyle BA^{-1} | Use the fact that XI=X |
A, B and C are matrices such that AB=C. Using matrix algebra, write the equations to solve for matrix B.
A, B and C are matrices such that BA-C=0. Using matrix algebra, fill in the gaps to solve for matrix B.
Let M= \begin{bmatrix} 7&-6\\ 5&-9 \end{bmatrix} and N= \begin{bmatrix} 1&7\\ 10&-3 \end{bmatrix}. Find X, if XM=N, in its most simplified form.
Since AA^{-1}=A^{-1}A we can use this property to simplify by carry out pre-multiplication and post-multiplication in equations instead of division. This is because we are aiming to multiply a matrix and its inverse to form the identity matrix.
It is possible to solve simultaneous equations using matrices. Inverse matrices are the main tool that we use to do this.
Remember that simultaneous equations are two equations that when solved simultaneously (at the same time) provide a solution that is true for each of the equations. You will have already solved these using graphical and algebraic methods. Now we will use matrices.
First, represent the information using matrices.
Take this pair of equations.
\begin{cases} 2x + 3 y &= 16 \\ -3 x + y &= -13 \end{cases}
To write these using matrices split up the system into 3 parts.
a coefficient matrix (numbers in front of the pronumerals)
a variable matrix (also referred to as pronumerals)
an answer matrix (values on the other side of the equals sign)
\begin{bmatrix} 2&3\\ -3&1\\ \end{bmatrix} \begin{bmatrix} x\\ y \end{bmatrix} = \begin{bmatrix} 16\\ -13\\ \end{bmatrix}
To verify that this matrix representation is indeed equivalent, let's expand the multiplication.
\begin{bmatrix} 2&3\\ -3&1\\ \end{bmatrix} \begin{bmatrix} x\\ y \end{bmatrix} = \begin{bmatrix} 16\\ -13\\ \end{bmatrix}
By equating equivalent positions, the elements 2x+3y must equal 16, and -3x+y=-13.
Let's now look at how to solve it.
\begin{bmatrix} 2&3\\ -3&1\\ \end{bmatrix} \begin{bmatrix} x\\ y \end{bmatrix} = \begin{bmatrix} 16\\ -13\\ \end{bmatrix}
For matrix equations, if MX=C, we can isolate matrix X, by pre-multiplying both sides by the inverse of M. Hence X=M^{-1}C.
Recall that when multiplying matrices, the order is important.
This means the inverse of \begin{bmatrix} 2&3\\ -3&1\\ \end{bmatrix} is required.
We already know how to find the inverses:
If A= \begin{bmatrix} a&b\\ c&d \end{bmatrix} , then A^{-1}=\dfrac{1}{det(A)} \begin{bmatrix} d&-b\\ -c&a \end{bmatrix} so we have M= \begin{bmatrix} 2&3\\ -3&1 \end{bmatrix} then M^{-1}=\dfrac{1}{2-(-9)} \begin{bmatrix} 1&-3\\ 3&2 \end{bmatrix}.
\displaystyle \begin{bmatrix} 2&3\\ -3&1\\ \end{bmatrix} \begin{bmatrix} x\\ y \end{bmatrix} | \displaystyle = | \displaystyle \begin{bmatrix} 16\\ -13\\ \end{bmatrix} |
\displaystyle \dfrac{1}{11} \begin{bmatrix} 1&-3\\ 3&2\\ \end{bmatrix} \begin{bmatrix} 2&3\\ -3&1\\ \end{bmatrix} \begin{bmatrix} x\\ y \end{bmatrix} | \displaystyle = | \displaystyle \dfrac{1}{11} \begin{bmatrix} 1&-3\\ 3&2\\ \end{bmatrix} \begin{bmatrix} 16\\ -13\\ \end{bmatrix} |
\displaystyle \begin{bmatrix} x\\ y \end{bmatrix} | \displaystyle = | \displaystyle \dfrac{1}{11} \begin{bmatrix} 1\times 16 + \left(-3 \times-13\right)\\ 3\times 16 + 2\times \left(-13\right) \end{bmatrix} |
\displaystyle \begin{bmatrix} x\\ y \end{bmatrix} | \displaystyle = | \displaystyle \dfrac{1}{11} \begin{bmatrix} 16 +39\\ 48-26 \end{bmatrix} |
\displaystyle \begin{bmatrix} x\\ y \end{bmatrix} | \displaystyle = | \displaystyle \dfrac{1}{11} \begin{bmatrix} 55\\ 22 \end{bmatrix} |
\displaystyle \begin{bmatrix} x\\ y \end{bmatrix} | \displaystyle = | \displaystyle \begin{bmatrix} 5\\ 2 \end{bmatrix} |
So this means that the solution to \begin{cases} 2x + 3 y &= 16 \\ -3 x + y &= -13 \end{cases} is x=5, and y=2. If graphing the two equations the intersection point would be (5,2).
Given the following linear equations:\begin{aligned} 4 x + 6 y &= 23 \\ 8 x + 12 y &= 61 \end{aligned}
Express the system of equations in matrix form.
Calculate the determinant of the coefficient matrix.
The determinant of the coefficient matrix is equal to zero. What can you conclude?
We have two numbers x and y, where x>y. Their sum is 42, while their difference is 16.
Write two equations that describe the relationship between x and y in the form ax+by=c. Write each equation on the same line, separated by a comma.
Express the system of equations in matrix form.
Calculate the determinant of the coefficient matrix.
Solve the system of equations using matrices.
To write the systems of equations using matrices, we split up the system into 3 parts:
a coefficient matrix (numbers in front of the pronumerals)
a variable matrix (also referred to as pronumerals)
an answer matrix (values on the other side of the equals sign)