<meta http-equiv="refresh" content="1; url=/nojavascript/">

# Solving Linear Systems Using Matrices and Technology

## Use a graphing calculator to evaluate matrix operations

0%
Progress
Practice Solving Linear Systems Using Matrices and Technology
Progress
0%
Solving Linear Systems Using Matrices and Technology

Customers of the ice cream shop are asking for more sizes, so the shop decides to test out medium and large cones. During its test, the shop sells 24 medium chocolate cones and 32 large chocolate cones. It also sells 40 medium vanilla cones and 60 X-large vanilla cones. The shop's chocolate sales for the day totaled $292 and its vanilla sales totaled$525. How much did the shop charge for a medium cone versus a large cone.

### Guidance

In this concept we will be using the calculator to find the inverse matrix and do matrix multiplication. We have already entered matrices into the calculator and multiplied matrices together on the calculator. To find the inverse of a matrix using the calculator we can call up the matrix by name and use the x1\begin{align*}x^{-1}\end{align*} key on the calculator to get the inverse of the matrix. See Example A below for practice with this.

Now that we know how to get an inverse using the calculator, let’s look at solving the system. When we translate our system into a matrix equation we have the expression AX=B\begin{align*}AX=B\end{align*}. From the last concept, we know that X=A1B\begin{align*}X=A^{-1}B\end{align*}. We can enter the coefficient matrix into matrix A\begin{align*}A\end{align*} and the constants into matrix B\begin{align*}B\end{align*} and have the calculator find A1B\begin{align*}A^{-1}B\end{align*} for us.

#### Example A

Use the calculator to find the inverse of the matrix:

[3152]

Solution: First, enter the matrix into the calculator in matrix [A]\begin{align*}[A]\end{align*}. Now, 2nd\begin{align*}2^{nd}\end{align*} QUIT to return to the home screen. From here, go back into the MATRIX menu and select [A]\begin{align*}[A]\end{align*} under NAMES and press ENTER. You should see [A]\begin{align*}[A]\end{align*} in the home screen. Now press the x1\begin{align*}x^{-1}\end{align*} button to get [A]1\begin{align*}[A]^{-1}\end{align*} and press ENTER. The result is the inverse matrix

[2153].

\begin{align*}^*\end{align*}Note that the calculator can find the inverse of any square matrix.

#### Example B

Solve the system using matrices on the calculator:

10x+6y6x+9y=11=15

Solution: Let

A=[10669]
and
B=[1115].
Enter these matrices into the calculator. Now, from the home screen, we can call up matrix A\begin{align*}A\end{align*} (from NAMES in the matrix menu) and use the x1\begin{align*}x^{-1}\end{align*} button to get [A]1\begin{align*}[A]^{-1}\end{align*} on the home screen. Finally we can call up matrix B\begin{align*}B\end{align*} from the matrix menu to get [A]1[B]\begin{align*}[A]^{-1}[B]\end{align*} and press ENTER. The result is

3223.
The solution to the system is (32,23)\begin{align*}\left(\frac{3}{2},- \frac{2}{3} \right)\end{align*}.

#### Example C

Solve the system using matrices on the calculator:

3x+11y9x33y=2=6

Solution: Let

A=[391133]
and
B=[26].
Enter these matrices into the calculator. Now, from the home screen, we can call up matrix A\begin{align*}A\end{align*}(from NAMES in the matrix menu) and use the x1\begin{align*}x^{-1}\end{align*} button to get [A]1\begin{align*}[A]^{-1}\end{align*} on the home screen. Finally we can call up matrix B\begin{align*}B\end{align*} from the matrix menu to get [A]1[B]\begin{align*}[A]^{-1}[B]\end{align*} and press ENTER. The result is ERR: SINGULAR MATRIX. Recall that a singular matrix is a matrix for which the inverse does not exist. This message tells us that there is no unique solution to this system. We must now use an alternative method to determine whether there are infinite solutions or no solution to the system. Using linear combination as shown below we can see that there are infinite solutions to this system.

3(3x+11y=2) 9x+33y=69x33y=69x33y=6  0=0

Intro Problem Revisit

Solve the system using matrices on the calculator:

24x+32y40x+60y=292=525

The shop charges $4.50 for a medium cone and$5.75 for a large cone.

### Guided Practice

1. Find the inverse of

237412541
using your calculator.

Solve the following systems using matrices on the calculator.

2.

2x+3y6x7y=13=21

3.

3x5y+z4x+3y2z7x+y3z=24=9=30

#### Answers

1.

2374125411=9532553135314533353325311537531053

The calculator will convert all the values in the matrix to fractions. Press MATH and ENTER to choose 1:>FRAC\begin{align*}1: >FRAC\end{align*}.

2. Let

A=[2637]
and
B=[1321].
Using the calculator
A1B=[79].
The solution is (-7, 9).

3. Let

A=347531123
and
B=24930.
Using the calculator
A1B=257.
The solution is (-2, 5, 7).

### Problem Set

Use a calculator to find the inverse of each matrix below.

1. [2832]
2. [6382]
3. 534251106

Solve the systems using matrices and a calculator.

1. 2x+y3x2y=1=3
2. 2x+10yx+11y=6=3
3. 3x+y2x3y=17=23
4. 10x5y2.5y=9=5x+4
5. 4x3y7x=12=2y+5
6. 2x+5y4x+10y=0=12
7. 7x+2y+3z8xy+4z10x+3y+5z=12=6=1
8. 2x4y+11z3x+5y13z5x+10y+10z=18=25=5
9. 8x+y4z2z3y+4z4x+5y8z=4=7=11

For the following word problems, set up a system of linear equations to solve using matrices.

1. A mix of 1 lb almonds and 1.5 lbs cashews sells for $15.00. A mix of 2 lbs almonds and 1 lb cashews sells for$17.00. How much does each nut cost per pound?
2. Maria, Rebecca and Sally are selling baked goods for their math club. Maria sold 15 cookies, 20 brownies and 12 cupcakes and raised $23.50. Rebecca sold 22 cookies, 10 brownies and 11 cupcakes and raised$19.85. Sally sold 16 cookies, 5 brownies and 8 cupcakes and raised $13.30. How much did they charge for each type of baked good? 3. Justin, Mark and George go to the farmer’s market to buy fruit. Justin buys 2 lbs apples, 3 lbs pears and 1 lb of peaches for$13.24. Mark buys 1 lb apples, 2 lbs pears and 3 lbs peaches for $13.34. George buys 3 lbs apples, 1 lb pears and 2 lbs peaches for$14.04. How much does each fruit cost per pound?

Please wait...
Please wait...