# Lesson 11: Solving Systems of Equations

## Opening Story

L11 Opening Story Transcript

## Introduction

Sophia and Emmy need to make a decision where they must compare two options. We often face situations with different options where we can use the Quantitative Reasoning Process to compare our options. There are several different quantitative tools we can use to make this type of comparison. One tool we look at in this lesson is a system of equations.

system of equations is a list of two or more equations that use the same input and output variables.

We can use graphs or algebra to solve for the values of the variables that satisfy both equations. Let’s start by looking at how Sophia and Emmy use a system of equations to decide between renting the monster truck or renting the boat.

### 1 Understand the Problem

Sophia and Emmy need to find a way back to their hotel from the jungle. They are faced with a decision where they need to compare the cost of two different things, renting the monster truck or renting the motor boat.

### 2 Identify Variables & Assumptions

We identify the following variables:

• The number of kilometers Sophia and Emmy need to travel

• The total cost of transportation out of the jungle

We can use the following assumptions:

• Sophia and Emmy can drive either the truck or the boat.

• Sophia can use her emergency credit card that was not swallowed by the black caiman.

We can set up two equations that are related to each other because the variables are the same in both cases: the total cost of transportation out of the jungle and the number of kilometers. With either the monster truck or the motor boat we are focused on money and distance.

### 3 Apply Quantitative Tools

We can model each scenario with a mathematical equation.

The total cost, y, of the truck is $37.50 +$0.88 × kilometers: $$y=37.50+0.88x$$
The total cost, y, of the boat is $60.00 +$0.19 × kilometers: $$y=60+0.19x$$

The input value, x , in each of the equations is the number of kilometers they travel. The output value y , is the total cost of transportation.

As we learned in Chapter 7 the two equations in this example are linear equations. The rate of change (or slope) in each equation is constant. When we plot this type of equation we get a straight line.

Let’s look more carefully at the graph of the two lines representing the Emmy and Sophia’s situation. The blue line represents the cost of the monster truck as the kilometers increase. The red line represents the cost of the boat as the kilometers increase.

Boat: total cost = $_______ [Record your answer.] Based on these calculations, which mode of transportation should Sophi and Emmy use? (Which is less expensive?) 1. Truck 2. Boat [Record your answer.] Be sure that you are substituting the distance into the x variable in the correct equations. $$Truck: y = 37.50 + 0.88(40)= \ 72.70$$ $$Boat: y = 60 + 0.19(38)= \ 67.22$$ (B) The boat is less expensive. ### 5 Evaluate Your Reasoning Sophia and Emmy tie the boat up at the town marina and ask directions to their hotel. After finding out that they have 5 kilometers still to walk they rethink their decision. Sophia and Emmy have realized that they made an incorrect assumption in their application of the Quantitative Reasoning process. They mistakenly assumed that both modes of transportation would get them back to their hotel. But since they didn’t realize that travel by boat would also require a 5 kilometer walk, they made a decision that didn’t turn out to be the best. Because the difference in price between the rentals was relatively small, they now wish they had rented the monster truck and driven straight to the hotel. The remainder of this lesson will focus on the powerful quantitative tool, systems of equations, that we used to understand Sophia and Emmy’s situation. There are several different techniques that can be used to solve systems of equations. We will look at two of them: solving systems of equations with graphs and solving systems of equations with algebra. ## Solving Systems with Graphs The graph of an equation represents all the points that satisfy the equation. When we are solving a system of equations we want to find a point that satisfies all of the equations in the system. This means that if you graph both equations in a system of two equations on a graph you can find the solution to the system by finding all points where the graphs intersect. An intersection point satisfies both equations so it represents the solution we are looking for. ### Example 1 Graph the following two equations to solve the system of equations: $$3x+2y=5$$ $$x-y=0$$ We want to find a point (x, y) that satisfies both equations. This means the point we are looking for will be the point where the two graphs intersect. If we solve each equation for y, we will see that they fit the pattern of a linear function and we will be able to graph the lines. Equation 1: $$3x+2y=5$$ $$2y=-3x+5$$ $$y=-\frac{3}{2}x+\frac{5}{2}$$ Equation 2: $$x-y=0$$ $$-y=-x$$ $$y=x$$ Equation 1 can be represented with a line with a y-intercept of $$\frac{5}{2}$$ and a slope of $$-\frac{3}{2}$$ . Equation 2 gives the graph of a line with a y - intercept of 0 and a slope of 1. If we plot both lines on the same graph, they look like this: The solution to the system of equations is represented on the graph by the point where the two lines intersect. By looking at the graph of these two lines, we can see that they cross at the point (1, 1). This means x = 1, y = 1 is the solution to the system of equations. We can verify that x = 1, y = 1 is the solution to the system by checking that (1, 1) is exactly the point where they cross. We do this by substituting in these values for x and in both equations and making sure that both mathematical statements are true. Equation 1: $$3x+2y=5$$ $$3(1)+2(1)=5$$ $$3+2=5$$ $$5=5$$ True Statement Equation 2: $$x-y=0$$ $$1-1=0$$ $$0=0$$ True Statement The point (1, 1) is the only point where the two lines cross and the values x = 1, y = 1 is the only set of x, y values that will yield true statements for both equations. When we get a single unique solution like this, we say that the system of equations is independent. ### Example 2 Graph the following two equations to solve the system of equations: $$-x+2y=4$$ $$-3x+6y=-18$$ If we solve each equation for y, we can see that each one fits the pattern of a linear function and can graph the lines. Equation 1: $$-x+2y=4$$ $$2y=x+4$$ $$y= \frac{x+4}{2}$$ $$y=\frac{1}{2}x+\frac{4}{2}$$ $$y=\frac{1}{2}x+2$$ The first equation can be graphed as a line with a slope of \frac{1}{2} and a y - intercept of 2. Equation 2: $$-3x+6y=18$$ $$6y=3x-18$$ $$y=\frac{3x-18}{6}$$ $$y=\frac{3}{6}x-\frac{18}{6}$$ $$y=\frac{1}{2}x-3$$ The second equation can be graphed as a line with a slope of $$\frac{1}{2}$$ and a y - intercept of -3. It we plot both lines on the same graph, they look like this: From the graph it looks like the lines are parallel, which means they will never cross. We can see from the equations that the lines are parallel because the two lines have the same slope. This means that there is no (x, y) pair that will satisfy both equations and thus there is no solution to this system of linear equations. When there is no solution to a system of equations we say that the system of equations is inconsistent. #### L11 - Interactive 2: Example 2 [This interactive teaches about systems of equations and the types of solutions.] ### Page 1 of 4 Systems of Equations: Types of Solutions There are three types of solutions for systems of equations: ### Page 2 of 4 Independent Solutions An independent system is formed when two lines intersect at one point. The point where the lines intersect is the solution to the system. ### Page 3 of 4 Inconsistent Systems And inconsistent system is formed when two lines are parallel and never intersect. Inconsistent systems have no solution. ### Page 4 of 4 Dependent Systems A dependent system is formed when the two equations in the system actually represent the same line. Every point on the line is a solution to the system. So the solution has infinitely-many solutions. Note: We won’t really see this type of system in MATH 108X. ### Solving Systems with Algebra Graphing systems of equations helps us to visualize the system and the solutions but unless the equations and solutions are fairly simple it can be difficult to obtain accurate results. We can also solve systems of equations using techniques of algebra. The Substitution Method is one way to solve a system of equations. To solve a system of equations using the substitution method we eliminate one variable from one of the equations by substituting an expression for that variable from the other equation. ### Example 3 Use the substitution method to solve the system of equations: $$2x-y=-5$$ $$3x+5y=12$$ To solve this system using the substitution method, we first solve the first equation for y: $$2x-y=-5$$ $$-y=-2x-5$$ $$y=2x+5$$ Now, we substitute the expression $$2x+5$$ in for the y in the other equation: $$3x+5y=12$$ $$3x+5(2x+5)=12$$ Because we have an equation with only x’s in it, we can solve for x: $$3x+5(2x+5)=12$$ $$3x+10x+25=12$$ $$13x+25=12$$ $$13x=12-25$$ $$13x=-13$$ $$x=-\frac{13}{13}$$ $$x=-1$$ We know x = -1 so we can substitute this value for the x in the y - expression we found earlier, $$y=2x+5$$: $$y=2x+5$$ $$y=2(-1)+5$$ $$y=-2+5$$ $$y=3$$ We have found the solution to this system of equations to be x = -1 , y = 3 . Because there is a single solution to this system of equations, it is independent. The graph of these two equations verifies this solution because the lines intersect at the point (-1, 3). ### Example 4 Use the substitution method to solve the system of equations: $$6x-9y=-13$$ $$18x-3y=1$$ We need to solve for one of the variables in one of the equations. We will solve for y in the second equation: $$18x-3y=1$$ $$-3y=-18x+1$$ $$y=-18x+\frac{1}{-3}$$ $$y=-\frac{18}{-3x}+\frac{1}{-3}$$ $$y=6x-\frac{1}{3}$$ Now that we know y in terms of x, we can substitute this into the first equation: $$6x-9y=-13$$ $$6x-9(6x-13)=-13$$ $$6x-54x+\frac{9}{3}=-13$$ $$-48x+3=-13$$ $$-48x=-13-3$$ $$-48x=-16$$ $$x=-\frac{16}{-48}$$ $$x=\frac{1}{3}$$ We can now substitute $$\frac{1}{3}$$ in for x in any of the equations to find y: $$y=6x-\frac{1}{3}$$ $$y=6(\frac{1}{3})-\frac{1}{3}$$ $$y=\frac{6}{3}-\frac{1}{3}$$ $$y=\frac{6-1}{3}$$ $$y=\frac{5}{3}$$ This system of equations is independent. The only solution that works for both equations is $$x = \frac{1}{3} ,y = \frac{5}{3}$$. The two lines cross at the point $$(\frac{1}{3}, \frac{5}{3})$$. ### Practice Solving a System #### L11 - Interactive 3: Practice Solving a System [This activity is exercise to help you practice making a prediction.] ### Page 1 of 1 Earlier in this lesson, you found the following trendline: [Image of a linear trendline on a graph for shoe size.] Use the trendline to predict the shoe size of a student who is 68 inches tall. Predicted Shoe Size = _________ [Record your answer.] HIDDEN CONTENT To predict the shoe size of a student who is 68 inches tall, we enter 68 as the input of the trendline function: $$y=0.6057x -31.555$$ $$y=0.6057(68)-31.555$$ $$y=41.1876 -31.555$$ $$y=9.6326$$ The student would need a shoe size of about 9.5 or 10. ## Solving in Context ### Piano Sales Example #### 1 Understand the Problem Jasper loves music and has recently been hired as a piano salesman. His new boss asked him to choose a commission plan. He can choose Plan A or Plan B. For Plan A Jasper gets a base salary of$25,000 a year plus a $500 commission for each piano he sells. In Plan B Jasper gets a base salary of$30,000 a year plus a $200 commission for each piano. #### 2 Identify Variables & Assumptions Jasper identifies two variables: • The number of pianos sold per year • The total amount of money he earns in the year. #### 3 Apply Quantitative Tools Because Plan A and Plan B have the same two variables, Jasper can model his situation using a system of equations to better understand the decision he needs to make. • Plan A: the money he earns in one year =$25,000 + $500 for each piano • Plan B: the money he earns in one year =$30,000 + $200 for each piano This can be turned into the following system of equations where the input variable, x, represents the number of pianos Jasper sells in a year and the output variable, y, represents the total amount of money he earns in one year. $$y=500x+25000$$ $$y=200x+30000$$ Because both equations are already solved for y we can substitute $$200x + 30000$$ in for y in the first equation and solve for x: $$200x+30000=500x+25000$$ $$200x-500x=25000-30000$$ $$-300x=-5000$$ $$x=-\frac{5000}{-300}$$ $$x=16.67$$ We can now substitute $$x = 16.67$$ into any of the equations to find y: $$y=500x+25000$$ $$y=500(16.67)+25000$$ $$y=33335$$ The solution to the system is $$x=16.67,y=\33,335$$ The following graph of this system supports this solution: #### 4 Make an Informed Decision From this solution, Jasper knows if he sells around 16 or 17 pianos the two plans pay about the same and he would make around$33,335 per year. If he sells more than 16 pianos, Plan A is a better plan because he earns more money in a year. If he sells 16 pianos or fewer, Plan B is a better plan.

He believes he can sell at least 2 pianos per month. Since this a total of 24 pianos he decides to select Plan A.

Before telling his boss his decision, Jasper decides to ask some of the other salesman how many pianos they sold the previous year. He talks to three of them and finds that they sold 18, 31, and 22 pianos each. Because these values are all more than 17, Jasper is satisfied with his decision to chose Plan A and tells his boss of his decision.

### Practice Solving in Context

#### Lesson 11 Solving Equations (Interactive 4)

[Practice solving in context.]

### Page 1 of 5:

#### 1 Understand the Problem

Serena is writing an exam for her 5th grade students. The exam is worth 100 points and Serena wants no more than 30 questions. She plans to use two types of questions:

1. Multiple choice questions = 3 points each

2. Essay questions = 8 points each

Serena needs to decide how many questions of each type to put on the exam.

### Page 2 of 5

#### 2 Identify Variables and Assumptions

Serena is writing an exam for her 5th grade students. The exam is worth 100 points and Serena wants no more than 30 questions. She plans to use two types of questions:

1. Multiple choice questions = 3 points each

2. Essay questions = 8 points each

Serena needs to decide how many questions of each type to put on the exam.

Identify two variables in Serena’s situation:

1. Variable #1: x = _____________

2. Variable #2: y = _____________

Because Serena wants to know how many of each type of question to put on the exam:

• x = the number of multiple choice questions

• y = the number of essay questions

### Page 3 of 5

#### 3 Apply Quantitative Tools

Serena is writing an exam for her 5th grade students. The exam is worth 100 points and Serena wants no more than 30 questions. She plans to use two types of questions:

• Multiple choice questions = 3 points each

• Essay questions = 8 points each

Serena needs to decide how many questions of each type to put on the exam.

Create a system of equations Serena could use to determine how many questions to put on the exam. Then solve the system.

System:

• Number of Points: $$3x+8y=100$$

• Total number of questions: $$x+y=30$$

Solution:

$$x=28, y=2$$

Graph: [Depicts two lines that intersect at (28, 2).]

### Page 4 of 5

#### 4 Make an informed Decision

Serena is writing an exam for her 5th grade students. The exam is worth 100 points and Serena wants no more than 30 questions. She plans to use two types of questions:

• Multiple choice questions = 3 points each

• Essay questions = 8 points each

Based on your calculations, how many questions of each type should Serena put on the exam?

1. Number of multiple choice = __________

2. Number of essay questions = __________

1. Number of multiple choice = 28

2. Number of essay questions = 2

### Page 5 of 5

Serena write an exam with 28 multiple choice questions and 2 essay questions.

1. Does this answer make sense in the context of the problem?

2. Does this seem like a reasonable ration of multiple choice and essay questions?

[End of activity.]

## Systems and Trendlines

Often, the equations that make up a system of equations are obtained from data using a trendline. The following example looks at an example from business: the break-even point.

### 4 Make an Informed Decision

These calculations give Jeff and Lucas the answer to their first question: How many pizzas do they need to sell to break even each month? They need to sell around 1,117 pizzas per month. Because they are closed on Sunday, their pizzeria is open for around 26 days per month. They divide the number of pizzas by the number of days and get 42.96. This means they need to sell an average of 43 pizzas every day in order to break even.

Looking back at the data, Jeff and Lucas notice that they sold more than 1,117 pizzas in 5 of the past 10 months: May, June, September, October, and November. They are concerned that they sold fewer than 1,117 pizzas in the other 5 months. But they notice that the most recent three months have had good sales. They hope that this upward trend in pizza sales continues as their pizzeria becomes more popular.

To answer the question of whether they should increase the price of the large pizza, they notice that in the past three months, although they have sold more than 1,117 pizzas their total revenue was not much larger than their total costs. That means their profits were relatively low. They decide to increase the price of the large pizza to $11. They hope the extra revenue will increase their profits. ### 5 Evaluate Your Reasoning As Jeff and Lucas evaluate their reasoning, they re-examine their assumptions. One of their assumptions was: “If they change the price of the pizza, the number of pizzas sold will stay the same.” As they think about this assumption, they realize it is probably not very accurate. Reducing prices would probably increase sales, while increasing prices would probably decrease sales. Because their decision was to increase the price of the large pizza to$11, Jeff and Lucas realize they might see a decrease in sales. They decide to try the higher price for three months and then re-evaluate their decision.

After three more months of sales, Jeff and Lucas reevaluate their decision. In those three months they sold 1410, 1511, and 1620 pizzas. So far, it appears that the increase in their prices has not decreased their sales too much. Their sales remain above the 1,117 pizzas they calculated that they needed to sell in order to break even. Because they raised the price of the large pizza they find that their revenue has increased, so their profits are also increasing. Jeff and Lucas decide to do more advertising. They know that if they can sell more pizzas their profits will continue to increase.

## Non-linear Systems

So far, all of the systems of equations we have encountered in this lesson have involved linear equations. Linear systems are the most common type of system that appear in real life problems. Because a line is simple, both in a graph and in an equation, we often choose to model situations with lines. This can be especially useful when the solution does not have to be precise, like rounding up to the nearest pizza or the nearest dollar.

However, sometimes situations need more precision or sometimes a line is not a close enough model and it is helpful to use non-linear models. There are ways to solve non-linear systems with algebra, but in this class, we will only solve non-linear systems using graphs.

Here is an example of a non-linear system of equations:

$$y=8x^2+12x+1$$

$$y=2(4)^x+3$$

Notice that the first equation is a quadratic function and the second equation is an exponential function. When we graph these functions we get the following:

Notice there are three solutions to this system of equations because the graphs intersect at three different points. It is difficult to determine the exact location of the intersection points from the graph, but we can tell they are somewhere around the points (-1.6, 3.5), (0.3, 6), and (2.8, 95).

### Solve a Non-linear System

#### L11 - Interactive 5: Solve a Non-linear System

[Exercise to practice solving a nonlinear system.]

### Page 1 of 3

We will use graphing to solve the following system of equations:

$$y=2x^2 -13x+11$$

$$y=x -1$$

1. What type of function is the equation $$y= 2x^2 -13x+11$$

1. Linear

3. Exponential

2. What type of function is the equation $$y=x -1$$

1. Linear

3. Exponential

2. A) Linear

### Page 2 of 3

Here is the graph of the system.

How many solutions will there be?

[Shows graph of the system. One line is a parabola, and a straight line intersects it at two points.]

Page 3 of 3

Use the graph to find the solutions:

1. Solution 1: x = ______ y = ________

2. Solution 2: x = ______ y = ________

In this problem, all the solutions are whole numbers. None of the answers are decimals or fractions.

1. Solution 1: x = 1 y = 0

2. Solution 2: x = 6 y = 5

Lesson Checklist

By the end of this lesson, you should be able to:

• create a system of linear equations from information provided in a written format

• solve a system of two linear equations with two unknowns using graphs

• solve a system of two linear equations with two unknowns using substitution

• interpret the solution to a system of equations

• solve a system of equations obtained using trendlines

• solve a non-linear system of two equations using a graph

© 2020 Brigham Young University - Idaho