### Learning Objectives

In this section, you will:

A skateboard manufacturer introduces a new line of boards. The manufacturer tracks its costs, which is the amount it spends to produce the boards, and its revenue, which is the amount it earns through sales of its boards. How can the company determine if it is making a profit with its new line? How many skateboards must be produced and sold before a profit is possible? In this section, we will consider linear equations with two variables to answer these and similar questions.

### Introduction to Systems of Equations

In order to investigate situations such as that of the skateboard manufacturer, we need to recognize that we are dealing with more than one variable and likely more than one equation. A system of linear equations consists of two or more linear equations made up of two or more variables such that all equations in the system are considered simultaneously. To find the unique solution to a system of linear equations, we must find a numerical value for each variable in the system that will satisfy all equations in the system at the same time. Some linear systems may not have a solution and others may have an infinite number of solutions. In order for a linear system to have a unique solution, there must be at least as many equations as there are variables. Even so, this does not guarantee a unique solution.

In this section, we will look at systems of linear equations in two variables, which consist of two equations that contain two different variables. For example, consider the following system of linear equations in two variables.

The *solution* to a system of linear equations in two variables is any ordered pair that satisfies each equation independently. In this example, the ordered pair (4, 7) is the solution to the system of linear equations. We can verify the solution by substituting the values into each equation to see if the ordered pair satisfies both equations. Shortly we will investigate methods of finding such a solution if it exists.

In addition to considering the number of equations and variables, we can categorize systems of linear equations by the number of solutions. A consistent system of equations has at least one solution. A consistent system is considered to be an **independent system** if it has a single solution, such as the example we just explored. The two lines have different slopes and intersect at one point in the plane. A consistent system is considered to be a **dependent system** if the equations have the same slope and the same *y*-intercepts. In other words, the lines coincide so the equations represent the same line. Every point on the line represents a coordinate pair that satisfies the system. Thus, there are an infinite number of solutions.

Another type of system of linear equations is an **inconsistent system**, which is one in which the equations represent two parallel lines. The lines have the same slope and different *y-*intercepts. There are no points common to both lines; hence, there is no solution to the system.

### Types of Linear Systems

There are three types of systems of linear equations in two variables, and three types of solutions.

- An independent system has exactly one solution pair [latex]\,\left(x,y\right).\,[/latex] The point where the two lines intersect is the only solution.
- An inconsistent system has no solution. Notice that the two lines are parallel and will never intersect.
- A dependent system has infinitely many solutions. The lines are coincident. They are the same line, so every coordinate pair on the line is a solution to both equations.

Figure 2 compares graphical representations of each type of system.

### How To

**Given a system of linear equations and an ordered pair, determine whether the ordered pair is a solution.**

- Substitute the ordered pair into each equation in the system.
- Determine whether true statements result from the substitution in both equations; if so, the ordered pair is a solution.

### Example 1 – Determining Whether an Ordered Pair Is a Solution to a System of Equations

Determine whether the ordered pair [latex]\,\left(5,1\right)\,[/latex] is a solution to the given system of equations.

Substitute the ordered pair [latex]\,\left(5,1\right)\,[/latex] into both equations.

The ordered pair [latex]\,\left(5,1\right)\,[/latex] satisfies both equations, so it is the solution to the system.

#### Analysis

We can see the solution clearly by plotting the graph of each equation. Since the solution is an ordered pair that satisfies both equations, it is a point on both of the lines and thus the point of intersection of the two lines. See Figure 3.

### Try It

Determine whether the ordered pair [latex]\,\left(8,5\right)\,[/latex] is a solution to the following system.

## Show answer

Not a solution.

### 2.5.1 – Solving Systems of Equations by Graphing

There are multiple methods of solving systems of linear equations. For a system of linear equations in two variables, we can determine both the type of system and the solution by graphing the system of equations on the same set of axes.

### Example 2 – Solving a System of Equations in Two Variables by Graphing

Solve the following system of equations by graphing. Identify the type of system.

Solve the first equation for [latex]\,y.[/latex]

Solve the second equation for [latex]\,y.[/latex]

Graph both equations on the same set of axes as in Figure 4.

The lines appear to intersect at the point [latex]\,\left(-3,-2\right).\,[/latex] We can check to make sure that this is the solution to the system by substituting the ordered pair into both equations.

The solution to the system is the ordered pair [latex]\,\left(-3,-2\right),[/latex] so the system is independent.

### Try It

Solve the following system of equations by graphing.

[latex]\begin{array}{l}\text{ }2x-5y=-25\hfill \\ -4x+5y=35\hfill \end{array}[/latex]

## Show answer

The solution to the system is the ordered pair [latex]\,\left(-5,3\right).[/latex]

**Can graphing be used if the system is inconsistent or dependent?**

*Yes, in both cases we can still graph the system to determine the type of system and solution. If the two lines are parallel, the system has no solution and is inconsistent. If the two lines are identical, the system has infinite solutions and is a dependent system.*

### 2.5.2 – Solving Systems of Equations by Substitution

Solving a linear system in two variables by graphing works well when the solution consists of integer values, but if our solution contains decimals or fractions, it is not the most precise method. We will consider two more methods of solving a system of linear equations that are more precise than graphing. One such method is solving a system of equations by the substitution method, in which we solve one of the equations for one variable and then substitute the result into the second equation to solve for the second variable. Recall that we can solve for only one variable at a time, which is the reason the substitution method is both valuable and practical.

### How To

**Given a system of two equations in two variables, solve using the substitution method.**

- Solve one of the two equations for one of the variables in terms of the other.
- Substitute the expression for this variable into the second equation, then solve for the remaining variable.
- Substitute that solution into either of the original equations to find the value of the first variable. If possible, write the solution as an ordered pair.
- Check the solution in both equations.

### Example 3 – Solving a System of Equations in Two Variables by Substitution

Solve the following system of equations by substitution.

First, we will solve the first equation for [latex]\,y.[/latex]

Now we can substitute the expression [latex]\,x-5\,[/latex] for [latex]\,y\,[/latex] in the second equation.

Now, we substitute [latex]\,x=8\,[/latex] into the first equation and solve for [latex]\,y.[/latex]

Our solution is [latex]\,\left(8,3\right).[/latex]

Check the solution by substituting [latex]\,\left(8,3\right)\,[/latex] into both equations.

### Try It

Solve the following system of equations by substitution.

## Show answer

[latex]\left(-2,-5\right)[/latex]

**Can the substitution method be used to solve any linear system in two variables?**

*Yes, but the method works best if one of the equations contains a coefficient of 1 or –1 so that we do not have to deal with fractions.*

### 2.5.3 – Solving Systems of Equations by the Addition Method

A third method of solving systems of linear equations is the addition method. In this method, we add two terms with the same variable, but opposite coefficients, so that the sum is zero. Of course, not all systems are set up with the two terms of one variable having opposite coefficients. Often we must adjust one or both of the equations by multiplication so that one variable will be eliminated by addition.

### How To

**Given a system of equations, solve using the addition method.**

- Write both equations with
*x*– and*y*-variables on the left side of the equal sign and constants on the right. - Write one equation above the other, lining up corresponding variables. If one of the variables in the top equation has the opposite coefficient of the same variable in the bottom equation, add the equations together, eliminating one variable. If not, use multiplication by a nonzero number so that one of the variables in the top equation has the opposite coefficient of the same variable in the bottom equation, then add the equations to eliminate the variable.
- Solve the resulting equation for the remaining variable.
- Substitute that value into one of the original equations and solve for the second variable.
- Check the solution by substituting the values into the other equation.

### Example 4 – Solving a System by the Addition Method

Solve the given system of equations by addition.

Both equations are already set equal to a constant. Notice that the coefficient of [latex]\,x\,[/latex] in the second equation, –1, is the opposite of the coefficient of [latex]\,x\,[/latex] in the first equation, 1. We can add the two equations to eliminate [latex]\,x\,[/latex] without needing to multiply by a constant.

Now that we have eliminated [latex]\,x,[/latex] we can solve the resulting equation for [latex]\,y.[/latex]

Then, we substitute this value for [latex]\,y\,[/latex] into one of the original equations and solve for [latex]\,x.[/latex]

The solution to this system is [latex]\,\left(-\frac{7}{3},\frac{2}{3}\right).[/latex]

Check the solution in the first equation.

#### Analysis

We gain an important perspective on systems of equations by looking at the graphical representation. See Figure 5 to find that the equations intersect at the solution. We do not need to ask whether there may be a second solution because observing the graph confirms that the system has exactly one solution.

### Example 5 – Using the Addition Method When Multiplication of One Equation Is Required

Solve the given system of equations by the addition method.

Adding these equations as presented will not eliminate a variable. However, we see that the first equation has [latex]\,3x\,[/latex] in it and the second equation has [latex]\,x.\,[/latex] So if we multiply the second equation by [latex]\,-3,\text{}[/latex] the *x*-terms will add to zero.

Now, let’s add them.

For the last step, we substitute [latex]\,y=-4\,[/latex] into one of the original equations and solve for [latex]\,x.[/latex]

Our solution is the ordered pair [latex]\,\left(3,-4\right).\,[/latex] See Figure 6. Check the solution in the original second equation.

### Try It

Solve the system of equations by addition.

## Show answer

[latex]\left(-6,-2\right)[/latex]

### Example 6 – Using the Addition Method When Multiplication of Both Equations Is Required

Solve the given system of equations in two variables by addition.

One equation has [latex]\,2x\,[/latex] and the other has [latex]\,5x.\,[/latex] The least common multiple is [latex]\,10x\,[/latex] so we will have to multiply both equations by a constant in order to eliminate one variable. Let’s eliminate [latex]\,x\,[/latex] by multiplying the first equation by [latex]-5\,[/latex] and the second equation by [latex]\,2.[/latex]

Then, we add the two equations together.

Substitute [latex]\,y=-4\,[/latex] into the original first equation.

The solution is [latex]\,\left(-2,-4\right).\,[/latex] Check it in the other equation.

See Figure 7.

### Example 7 – Using the Addition Method in Systems of Equations Containing Fractions

Solve the given system of equations in two variables by addition.

First clear each equation of fractions by multiplying both sides of the equation by the least common denominator.

Now multiply the second equation by [latex]\,-1\,[/latex] so that we can eliminate the *x*-variable.

Add the two equations to eliminate the *x*-variable and solve the resulting equation.

Substitute [latex]\,y=7\,[/latex] into the first equation.

The solution is [latex]\,\left(\frac{11}{2},7\right).\,[/latex] Check it in the other equation.

### Try It

Solve the system of equations by addition.

## Show answer

[latex]\left(10,-4\right)[/latex]

### 2.5.4 – Using Systems of Equations to Investigate Profits

Using what we have learned about systems of equations, we can return to the skateboard manufacturing problem at the beginning of the section. The skateboard manufacturer’s revenue function is the function used to calculate the amount of money that comes into the business. It can be represented by the equation [latex]\,R=xp,[/latex] where [latex]\,x=[/latex] quantity and [latex]\,p=[/latex] price. The revenue function is shown in orange in Figure 8.

The cost function is the function used to calculate the costs of doing business. It includes fixed costs, such as rent and salaries, and variable costs, such as utilities. The cost function is shown in blue in Figure 8. The [latex]\,x[/latex] -axis represents quantity in hundreds of units. The *y*-axis represents either cost or revenue in hundreds of dollars.

The point at which the two lines intersect is called the break-even point. We can see from the graph that if 700 units are produced, the cost is $3,300 and the revenue is also $3,300. In other words, the company breaks even if they produce and sell 700 units. They neither make money nor lose money.

The shaded region to the right of the break-even point represents quantities for which the company makes a profit. The shaded region to the left represents quantities for which the company suffers a loss. The profit function is the revenue function minus the cost function, written as [latex]\,P\left(x\right)=R\left(x\right)-C\left(x\right).\,[/latex] Clearly, knowing the quantity for which the cost equals the revenue is of great importance to businesses.

### Example 8 – Finding the Break-Even Point and the Profit Function Using Substitution

Given the cost function [latex]\,C\left(x\right)=0.85x+35,000\,[/latex] and the revenue function [latex]\,R\left(x\right)=1.55x,[/latex] find the break-even point and the profit function.

Write the system of equations using [latex]\,y\,[/latex] to replace function notation.

Substitute the expression [latex]\,0.85x+35,000\,[/latex] from the first equation into the second equation and solve for [latex]\,x.[/latex]

Then, we substitute [latex]\,x=50,000\,[/latex] into either the cost function or the revenue function.

The break-even point is [latex]\,\left(50,000,77,500\right).[/latex]

The profit function is found using the formula [latex]\,P\left(x\right)=R\left(x\right)-C\left(x\right).[/latex]

The profit function is [latex]\,P\left(x\right)=0.7x-35,000.[/latex]

#### Analysis

The cost to produce 50,000 units is $77,500, and the revenue from the sales of 50,000 units is also $77,500. To make a profit, the business must produce and sell more than 50,000 units. See Figure 9.

We see from the graph in Figure 10 that the profit function has a negative value until [latex]\,x=50,000,[/latex] when the graph crosses the *x*-axis. Then, the graph emerges into positive *y*-values and continues on this path as the profit function is a straight line. This illustrates that the break-even point for businesses occurs when the profit function is 0. The area to the left of the break-even point represents operating at a loss.

### Example 9 – Writing and Solving a System of Equations in Two Variables

The cost of a ticket to the circus is [latex]\,\text{\$}25.00\,[/latex] for children and [latex]\,\text{\$}50.00\,[/latex] for adults. On a certain day, attendance at the circus is [latex]\,2,000\,[/latex] and the total gate revenue is [latex]\,\text{\$}70,000.\,[/latex] How many children and how many adults bought tickets?

Let *c* = the number of children and *a* = the number of adults in attendance.

The total number of people is [latex]\,2,000.\,[/latex] We can use this to write an equation for the number of people at the circus that day.

The revenue from all children can be found by multiplying [latex]\,\text{\$}25.00\,[/latex] by the number of children, [latex]\,25c.\,[/latex] The revenue from all adults can be found by multiplying [latex]\,\text{\$}50.00\,[/latex] by the number of adults, [latex]\,50a.\,[/latex] The total revenue is [latex]\text{\$}70,000.\,[/latex] We can use this to write an equation for the revenue.

We now have a system of linear equations in two variables.

In the first equation, the coefficient of both variables is 1. We can quickly solve the first equation for either [latex]\,c\,[/latex] or [latex]\,a.\,[/latex] We will solve for [latex]\,a.[/latex]

Substitute the expression [latex]\,2,000-c\,[/latex] in the second equation for [latex]\,a\,[/latex] and solve for [latex]\,c.[/latex]

Substitute [latex]\,c=1,200\,[/latex] into the first equation to solve for [latex]\,a.[/latex]

We find that [latex]\,1,200\,[/latex] children and [latex]\,800\,[/latex] adults bought tickets to the circus that day.

### Try It

Meal tickets at the circus cost [latex]\,\text{\$}4.00\,[/latex] for children and [latex]\,\text{\$}12.00\,[/latex] for adults. If [latex]\,1,650\,[/latex] meal tickets were bought for a total of [latex]\,\text{\$}14,200,[/latex] how many children and how many adults bought meal tickets?

## Show answer

700 children, 950 adults

Access these online resources for additional instruction and practice with systems of linear equations.

### Key Concepts

- A system of linear equations consists of two or more equations made up of two or more variables such that all equations in the system are considered simultaneously.
- The solution to a system of linear equations in two variables is any ordered pair that satisfies each equation independently. See Example 1.
- Systems of equations are classified as independent with one solution, dependent with an infinite number of solutions, or inconsistent with no solution.
- One method of solving a system of linear equations in two variables is by graphing. In this method, we graph the equations on the same set of axes. See Example 2.
- Another method of solving a system of linear equations is by substitution. In this method, we solve for one variable in one equation and substitute the result into the second equation. See Example 3.
- A third method of solving a system of linear equations is by addition, in which we can eliminate a variable by adding opposite coefficients of corresponding variables. See Example 4.
- It is often necessary to multiply one or both equations by a constant to facilitate elimination of a variable when adding the two equations together. See Example 5, Example 6, and Example 7.
- Systems of equations can be used to solve real-world problems that involve more than one variable, such as those relating to revenue, cost, and profit. See Example 8 and Example 9.

### Glossary

- addition method
- an algebraic technique used to solve systems of linear equations in which the equations are added in a way that eliminates one variable, allowing the resulting equation to be solved for the remaining variable; substitution is then used to solve for the first variable

- break-even point
- the point at which a cost function intersects a revenue function; where profit is zero

- consistent system
- a system for which there is a single solution to all equations in the system and it is an independent system, or if there are an infinite number of solutions and it is a dependent system

- cost function
- the function used to calculate the costs of doing business; it usually has two parts, fixed costs and variable costs

- dependent system
- a system of linear equations in which the two equations represent the same line; there are an infinite number of solutions to a dependent system

- inconsistent system
- a system of linear equations with no common solution because they represent parallel lines, which have no point or line in common

- independent system
- a system of linear equations with exactly one solution pair [latex]\,\left(x,y\right)[/latex]

- profit function
- the profit function is written as [latex]\,P\left(x\right)=R\left(x\right)-C\left(x\right),[/latex] revenue minus cost

- revenue function
- the function that is used to calculate revenue, simply written as [latex]\,R=xp,[/latex] where [latex]\,x=\,[/latex] quantity and [latex]\,p=\,[/latex] price

- substitution method
- an algebraic technique used to solve systems of linear equations in which one of the two equations is solved for one variable and then substituted into the second equation to solve for the second variable

- system of linear equations
- a set of two or more equations in two or more variables that must be considered simultaneously.