Katel and Juan are in charge of building a stage for their school's upcoming play. They go to the hardware store to buy supplies. Katel buys 10 yards of wood and 2 hammers. Her total comes to $130. Juan buys 8 yards of wood and 4 hammers. His total comes to $116. How could you use a matrix inverse to find the cost of a yard of wood and the cost of a hammer?
Guidance
Solving equations with matrices is very similar to solving an equation with real numbers. Just like real numbers, we can add or subtract the same matrix on both sides of an equation to isolate the variable matrix. The big change is that we cannot divide by a matrix - division by a matrix is not defined. We can, however, multiply by the inverse of a matrix to isolate the variable matrix. Just be careful - matrix multiplication is not commutative so you must “right multiply” or “left multiply” on both sides of the equation. To illustrate, let’s look at the variable matrix, , and constant matrices, and .
If , then to solve we must multiply on the left as shown:
If , then to solve we must multiply on the right as shown:
Example A
Solve the equation:
Solution: To isolate the variable matrix, denoted by , we need to get rid of the matrix being multiplied by on the left. Find the inverse of and multiply by it on the left of both sides of the equation as shown below.
Now, multiply by this inverse on the left on both sides of the equation:
Example B
Solve the equation:
Solution: This time the variable matrix, , is being multiplied by another matrix on the right. This time we will need to find the inverse of and multiply by it on the right side as shown below.
Now, multiply by this inverse on the right on both sides of the equation:
Because scalar multiplication is commutative, we can move this factor to the end and do the matrix multiplication first to avoid fractions.
Solve the matrix equation:
Example C
Solution: This equation is a little different. First, we have a matrix that we must subtract on both sides before we can multiply by the inverse of
Second, , is not a matrix. What are the dimensions of ? If we multiply a matrix by a matrix then we will get a matrix, so is a matrix. Let’s find the inverse of
Now we can “left multiply” on both sides of the equation and solve for .
Intro Problem Revisit Solve the equation:
Solution: To isolate the variable matrix, denoted by , we need to get rid of the matrix being multiplied by on the left. Find the inverse of and multiply by it on the left of both sides of the equation as shown below.
Now, multiply by this inverse on the left on both sides of the equation:
Therefore, wood costs $12 per yard and hammers cost $5 apiece.
Guided Practice
Solve the following matrix equations.
1.
2.
3.
Answers
1. “Left multiply” by the inverse on both sides.
2. “Right multiply” by the inverse on both sides.
3. Add the matrix to both sides and then “left multiply” by the inverse on both sides.
Explore More
Answer the following questions to best of your ability.
- Explain the steps used to solve for matrix X in the equation if A and B are 2x2 matrices.
- How is solving a matrix equation like solving a linear equation? How is it different?
- In the matrix equation , can the equation be solved for matrix X if there is no inverse of A ?
Solve for the unknown matrix in each equation below.