# 4.12: Solving Linear Systems Using Matrices and Technology

**At Grade**Created by: CK-12

**Practice**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 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 . From the last concept, we know that . We can enter the coefficient matrix into matrix and the constants into matrix and have the calculator find for us.

#### Example A

Use the calculator to find the inverse of the matrix:

**
Solution:
**
First, enter the matrix into the calculator in matrix
. Now,
QUIT to return to the home screen. From here, go back into the MATRIX menu and select
under NAMES and press ENTER. You should see
in the home screen. Now press the
button to get
and press ENTER. The result is the inverse matrix

Note that the calculator can find the inverse of any square matrix.

#### Example B

Solve the system using matrices on the calculator:

**
Solution:
**
Let
and
Enter these matrices into the calculator. Now, from the home screen, we can call up matrix
(from NAMES in the matrix menu) and use the
button to get
on the home screen. Finally we can call up matrix
from the matrix menu to get
and press ENTER. The result is

The solution to the system is .

#### Example C

Solve the system using matrices on the calculator:

**
Solution:
**
Let
and
Enter these matrices into the calculator. Now, from the home screen, we can call up matrix
(from NAMES in the matrix menu) and use the
button to get
on the home screen. Finally we can call up matrix
from the matrix menu to get
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.

**
Intro Problem Revisit
**

Solve the system using matrices on the calculator:

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

### Guided Practice

1. Find the inverse of using your calculator.

Solve the following systems using matrices on the calculator.

2.

3.

#### Answers

1.

The calculator will convert all the values in the matrix to fractions. Press MATH and ENTER to choose .

2. Let and Using the calculator The solution is (-7, 9).

3. Let and Using the calculator The solution is (-2, 5, 7).

### Problem Set

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

Solve the systems using matrices and a calculator.

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

- 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?
- 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?
- 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?

### Image Attributions

## Description

## Learning Objectives

Here you'll learn how to use a graphing calculator to solve systems of linear equations in two and three variables.