**4.1 Systems of Linear Equations with Two Variables **

Topics covered in this section are:

- Determine whether an ordered pair is a solution of a system of equations
- Solve a system of linear equations by graphing
- Solve a system of equations by substitution
- Solve a system of equations by elimination
- Choose the most convenient method to solve a system of linear equations

**4.1.1 Determine Whether an Ordered Pair is a Solution of a System of Equations**

In Chapter 2, we learned how to solve linear equations with one variable. Now we will work with two or more linear equations grouped together, which is known as a **system of linear equations**.

**SYSTEM OF LINEAR EQUATIONS**

When two or more linear equations are grouped together, they form a **system of linear equations**.

In this section, we will focus our work on systems of two linear equations in two unknowns. We will solve larger systems of equations later in this chapter.

An example of a system of two linear equations is shown below. We use a brace to show the two equations are grouped together to form a system of equations.

$ \Bigg\{ \begin{align*} 2x+y&=7 \\ x-2y&=6 \end{align*}$

A linear equation in two variables, such as $2x+y=7$, has an infinite number of solutions. Its graph is a line. Remember, every point on the line is a solution to the equation and every solution to the equation is a point on the line.

To solve a system of two linear equations, we want to find the values of the variables that are solutions to *both* equations. In other words, we are looking for the ordered pairs $(x, y)$ that make both equations true. These are called the **solutions of a system of equations**.

**SOLUTIONS OF A SYSTEM OF EQUATIONS**

The **solutions of a system of equations** are the values of the variables that make *all* the equations true. A solution of a system of two linear equations is represented by an ordered pair $(x, y)$.

To determine if an ordered pair is a solution to a system of two equations, we substitute the values of the variables into each equation. If the ordered pair makes both equations true, it is a solution to the system.

**Example 1**

Determine whether the ordered pair is a solution to the system

$\Bigg\{ \begin{align*} &x-y=-1 \\ &2x-y=-5 \end{align*}$.

- $(-2, -1)$
- $(-4, -3)$

**Solution**

**Part 1**

$\textcolor{blue}{\Bigg\{} \begin{align*} &x-y=-1 \\ &2x-y=-5 \end{align*}$

We substitute $x=\textcolor{red}{-2}$ and $y=\textcolor{blue}{-1}$ into both equations.

$x-y=-1$ | $2x-y=-5$ |

$\textcolor{red}{-2} -(\textcolor{blue}{-1}) = -1$ | $2 \cdot \textcolor{red}{-2} -(\textcolor{blue}{-1}) = -5$ |

$-1=-1 \ \checkmark$ | $-3≠-5$ |

$(-2, -1)$ does not make both equations true, so $(-2, -1)$ is not a solution.

**Part 2**

We substitute $x=\textcolor{red}{-4}$ and $y=\textcolor{blue}{-3}$ into both equations.

$x-y=-1$ | $2x-y=-5$ |

$\textcolor{red}{-4} -(\textcolor{blue}{-3}) = -1$ | $2 \cdot \textcolor{red}{-4} -(\textcolor{blue}{-3}) = -5$ |

$-1=-1 \ \checkmark$ | $-5=-5 \ \checkmark$ |

$(-4, -3)$ does make both equations true, so $(-4, -3)$ is a solution.

**4.1.2 Solve a System of Linear Equations by Graphing**

In this section, we will use three methods to solve a system of linear equations. The first method we’ll use is graphing.

The graph of a linear equation is a line. Each point on the line is a solution to the equation. For a system of two equations, we will graph two lines. Then we can see all the points that are solutions to each equation. And, by finding what the lines have in common, we’ll find the solution to the system.

Most linear equations in one variable have one solution, but we saw that some equations, called contradictions, have no solutions and for other equations, called identities, all numbers are solutions.

Similarly, when we solve a system of two linear equations represented by a graph of two lines in the same plane, there are three possible cases, as shown.

Each time we demonstrate a new method, we will use it on the same system of linear equations. At the end of the section you’ll decide which method was the most convenient way to solve this system.

**Example 2**

Solve the system by graphing $\Bigg\{ \begin{align*} 2x+y&=7 \\ x-2y&=6 \end{align*}$.

**Solution**

The steps to use to solve a system of linear equations by graphing are shown here.

**HOW TO: Solve a system of linear equations by graphing.**

- Graph the first equation.
- Graph the second equation on the same rectangular coordinate system.
- Determine whether the lines intersect, are parallel, or are the same line.
- Identify the solution to the system.
- If the lines intersect, identify the point of intersection. This is the solution to the system.
- If the lines are parallel, the system has no solution.
- If the lines are the same, the system has an infinite number of solutions.

- Check the solution in both equations.

In the next example, we’ll first re-write the equations into slope–intercept form as this will make it easy for us to quickly graph the lines.

**Example 3**

Solve the system by graphing: $\Bigg\{ \begin{align*} 3x+y&=-1 \\ 2x+y&=0 \end{align*}$.

**Solution**

$\Bigg\{ \begin{align*} 3x+y&=-1 \\ 2x+y&=0 \end{align*}$ | |

Solve the first equation for $y$. | $\begin{align*} 3x+y&=-1 \\ y&=-3x-1 \end{align*}$ |

Find the slope and $y$-intercept. | $m=-3$ $b=-1$ |

Solve the second equation for $y$. | $\begin{align*} 2x+y&=0 \\ y&=-2x \end{align*}$ |

Find the slope and $y$-intercept. | $m=-2$ $b=0$ |

Graph the lines. | |

Determine the point of intersection. | The lines intersect at $(-1, 2)$. |

Check the solution in both equations. $3x+y=-1 \ \ \ \ \ \ \ \ \ \ \ \ \ 2x+y=0$ $3(-1)+2=-1 \ \ \ \ \ \ 2(-1)+2=0$ $-1=-1 \ \checkmark \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ 0=0 \ \checkmark$ | |

The solution is $(-1, 2)$. |

In all the systems of linear equations so far, the lines intersected and the solution was one point. In the next two examples, we’ll look at a system of equations that has no solution and at a system of equations that has an infinite number of solutions.

**Example 4**

Solve the system by graphing: $\Bigg\{ \begin{align*} y&=\frac{1}{2}x – 3 \\ x&-2y=4 \end{align*}$.

**Solution**

$\Bigg\{ \begin{align*} y&=\frac{1}{2}x – 3 \\ x-2y&=4 \end{align*}$ | |

To graph the first equation, we will use its slope and $y$-intercept. | $\textcolor{red}{y=\frac{1}{2}x – 3}$ $m=\frac{1}{2}$ $b=-3$ |

To graph the second equation, we will use the intercepts. | $\textcolor{blue}{x-2y=4}$ |

Graph the lines. | |

Determine the points of intersection. | The lines are parallel. Since no point is on both lines, there is no ordered pair that makes both equations true. There is no solution to this system. |

Sometimes the equations in a system represent the same line. Since every point on the line makes both equations true, there are infinitely many ordered pairs that make both equations true. There are infinitely many solutions to the system.

**Example 5**

Solve the system by graphing: $\Bigg\{ \begin{align*} &y=2x – 3 \\ &-6x+3y=-9 \end{align*}$.

**Solution**

$\Bigg\{ \begin{align*} y&=2x – 3 \\ -6x+3y&=-9 \end{align*}$ | |

Find the slope and $y$-intercept of the first equation. | $\begin{align*} y&=2x – 3 \\ m&=2 \\b&=-3 \end{align*}$ |

Find the intercepts of the second equation. | $-6x+3y=-9$ |

Graph the lines. | |

Determine the points of intersection. | The lines are the same! Since every point on the line makes both equations true, there are infinitely many ordered pairs that make both equations true. There are infinitely many solution to this system. |

If you write the second equation in slope-intercept form, you may recognize that the equations have the same slope and same *y*-intercept.

When we graphed the second line in the last example, we drew it right over the first line. We say the two lines are **coincident**. Coincident lines have the same slope and same $y$-intercept.

**COINCIDENT LINES**

**Coincident lines** have the same slope and same $y$-intercept.

The systems of equations in Example 2 and Example 3 each had two intersecting lines. Each system had one solution.

In Example 5, the equations gave coincident lines, and so the system had infinitely many solutions.

The systems in those three examples had at least one solution. A system of equations that has at least one solution is called a *consistent* system.

A system with parallel lines, like Example 4, has no solution. We call a system of equations like this *inconsistent.* It has no solution.

**CONSISTENT AND INCONSISTENT SYSTEMS**

A **consistent system of equations** is a system of equations with at least one solution.

An **inconsistent system of equations** is a system of equations with no solution.

We also categorize the equations in a system of equations by calling the equations *independent* or *dependent*. If two equations are independent, they each have their own set of solutions. Intersecting lines and parallel lines are independent.

If two equations are dependent, all the solutions of one equation are also solutions of the other equation. When we graph two dependent equations, we get coincident lines.

Let’s sum this up by looking at the graphs of the three types of systems. See below and Table 1.

Intersecting | Parallel | Coincident | |

Number of solutions | 1 point | No solution | Infinitely many |

Consistent/inconsistent | Consistent | Inconsistent | Consistent |

Dependent/independent | Independent | Independent | Dependent |

**Table 1**

**Example 6**

Without graphing, determine the number of solutions and then classify the system of equations.

- $\Bigg\{ \begin{align*} &y=3x-1 \\ &6x-2y=12 \end{align*}$
- $\Bigg\{ \begin{align*} 2x+y&=-3 \\ x-5y&=5 \end{align*}$

**Solution**

**Part 1**

We will compare the slopes and intercepts of the two lines.

The first equation is already in slope-intercept form. | $y=3x-1$ | |

Write the second equations in slope-intercept form. | $\begin{align*} 6x-2y&=12 \\ -2y&=-6x+12 \\ \frac{-2y}{-2} &=\frac{-6x+12}{-2} \\ y&=3x-6 \end{align*}$ | |

Fins the slope and intercept of each line. | $\begin{align*} y&=3x-1 \\ m&=3 \\ b&=-1 \end{align*}$ | $\begin{align*} y&=3x-6 \\ m&=3 \\ b&=-6 \end{align*}$ |

Since the slopes are the same and $y$-intercepts are different, the lines are parallel. |

A system of equations whose graphs are parallel lines has no solution and is inconsistent and independent.

**Part 2**

We will compare the slopes and intercepts of the two lines.

$\Bigg\{ \begin{align*} 2x+y&=-3 \\ x-5y&=5 \end{align*}$ | ||

Write both equations in slope-intercept form. | $\begin{align*} 2x+y&=-3 \\ y&=-2x-3 \end{align*}$ | $\begin{align*} x-5y&=5 \\ -5y&=-x+5 \\ \frac{-5y}{-5} &= \frac{-x+5}{-5} \\ y&=\frac{1}{5}x -1 \end{align*}$ |

Find the slope and intercept of each line. | $\begin{align*} y&=-2x-3 \\ m&=-2 \\ b&=-3 \end{align*}$ | $\begin{align*} y&=\frac{1}{5}x-1 \\ m&=\frac{1}{5} \\ b&=-1 \end{align*}$ |

Since the slopes are different, the lines intersect. |

A system of equations whose graphs are intersect has $1$ solution and is consistent and independent.

Solving systems of linear equations by graphing is a good way to visualize the types of solutions that may result. However, there are many cases where solving a system by graphing is inconvenient or imprecise. If the graphs extend beyond the small grid with $x$ and $y$ both between $−10$ and $10$, graphing the lines may be cumbersome. And if the solutions to the system are not integers, it can be hard to read their values precisely from a graph.

**4.1.3 Solve a System of Equations by Substitution**

We will now solve systems of linear equations by the substitution method. We will use the same system we used first for graphing.

$\Bigg\{ \begin{align*} &2x+y=7 \\ &x-2y=6 \end{align*}$

We will first solve one of the equations for either $x$ or $y$. We can choose either equation and solve for either variable—but we’ll try to make a choice that will keep the work easy.

Then we substitute that expression into the other equation. The result is an equation with just one variable—and we know how to solve those!

After we find the value of one variable, we will substitute that value into one of the original equations and solve for the other variable. Finally, we check our solution and make sure it makes both equations true.

**Example 7**

Solve the system by substitution: $\Bigg\{ \begin{align*} &2x+y=7 \\ &x-2y=6 \end{align*}$.

**Solution**

**HOW TO: Solve a system of equations by substitution.**

- Solve one of the equations for either variable.
- Substitute the expression from Step 1 into the other equation.
- Solve the resulting equation.
- Substitute the solution in Step 3 into either of the original equations to find the other variable.
- Write the solution as an ordered pair.
- Check that the ordered pair is a solution to
**both**original equations.

Be very careful with the signs in the next example.

**Example 8**

Solve the system by substitution: $\Bigg\{ \begin{align*} &4x+2y=4 \\ &6x-y=8 \end{align*}$.

**Solution**

$\Bigg\{ \begin{align*} &4x+2y=4 \\ &6x-y=8 \end{align*}$ | |

Solve the first equation for $y$. Substitute $-2x+2$ for $y$ in the second equation. | $\begin{align*} 4x+2y&=4 \\ 2y&=-4x+4 \\ y&=-2x-2 \end{align*}$ |

Replace $y$ with $-2x+2$. | $6x-(\textcolor{red}{-2x+2})=8$ |

Solve the equation for $x$. | $\begin{align*} 6x+2x-2&=8\\ 8x-2&=8 \\ 8x&=10 \\ x&=\frac{5}{4} \end{align*}$ |

Substitute $x=\frac{5}{4}$ into $4x+2y=4$ to find $y$. | $\begin{align*} 4x+2y&=4 \\ 4\Big(\textcolor{red}{\frac{5}{4}}\Big)+2y&=4\\ 5+2y&=4\\ 2y&=-1\\ y&=-\frac{1}{2} \end{align*}$ |

The ordered pair is $(\frac{5}{4}, -\frac{1}{2})$. | |

Check the ordered pair in both equations. | $4x+2y=4 \ \ \ \ \ \ \ \ \ \ \ \ 6x-y=8$ $4(\frac{5}{4}+2(-\frac{1}{2})=4 \ \ \ \ \ \ \ \ \ 6(\frac{5}{4})-(-\frac{1}{2})=8$ $\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ 5-1=4 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \frac{15}{2} -(-\frac{1}{2})=8$ $\ \ \ \ \ 4=4 \ \checkmark \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \frac{16}{2}=8$ $ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ 8=8 \ \checkmark$ |

The solution is $(\frac{5}{4}, -\frac{1}{2})$. |

**4.1.4 Solve a System of Equations by Elimination**

We have solved systems of linear equations by graphing and by substitution. Graphing works well when the variable coefficients are small and the solution has integer values. Substitution works well when we can easily solve one equation for one of the variables and not have too many fractions in the resulting expression.

The third method of solving systems of linear equations is called the Elimination Method. When we solved a system by substitution, we started with two equations and two variables and reduced it to one equation with one variable. This is what we’ll do with the elimination method, too, but we’ll have a different way to get there.

The Elimination Method is based on the Addition Property of Equality. The Addition Property of Equality says that when you add the same quantity to both sides of an equation, you still have equality. We will extend the Addition Property of Equality to say that when you add equal quantities to both sides of an equation, the results are equal.

For any expressions $a$, $b$, $c$, and $d$.

if | $a=b$ |

and | $c=d$ |

then | $a+c=b+d$ |

To solve a system of equations by elimination, we start with both equations in standard form. Then we decide which variable will be easiest to eliminate. How do we decide? We want to have the coefficients of one variable be opposites, so that we can add the equations together and eliminate that variable.

Notice how that works when we add these two equations together:

$\Bigg \{ \begin{align*} &3x+y=5 \\ &\underline{2x-y=0}\end{align*}$

$\ \ \ 5x \ \ \ \ \ \ \ =5$

The $y$’s add to zero and we have one equation with one variable.

Let’s try another one:

$\Bigg \{ \begin{align*} x+4y&=2 \\ 2x+5y&=-2 \end{align*}$

This time we don’t see a variable that can be immediately eliminated if we add the equations.

But if we multiply the first equation by $−2$, we will make the coefficients of $x$ opposites. We must multiply every term on both sides of the equation by $-2$.

$\Bigg \{ \begin{align*} \textcolor{red}{-2}(x+4y)&=\textcolor{red}{-2}(2) \\ 2x+5y&=-2 \end{align*}$

Then rewrite the system of equations.

$\Bigg \{ \begin{align*} \textcolor{red}{-2}x-\textcolor{red}{8}y&=\textcolor{red}{-4} \\ 2x+5y&=-2 \end{align*}$

Now we see that the coefficients of the $x$ terms are opposites, so $x$ will be eliminated when we add these two equations.

$\Bigg \{ \begin{align*} \textcolor{red}{-2}x-\textcolor{red}{8}y&=\textcolor{red}{-4} \\ 2x+5y&=-2 \end{align*}$

$\ \ \overline{ \ \ \ \ \ \ \ \ \ -3y=-6}$

Once we get an equation with just one variable, we solve it. Then we substitute that value into one of the original equations to solve for the remaining variable. And, as always, we check our answer to make sure it is a solution to both of the original equations.

Now we’ll see how to use elimination to solve the same system of equations we solved by graphing and by substitution.

**Example 9**

Solve the system by elimination: $\Bigg\{ \begin{align*} &2x+y=7 \\ &x-2y=6 \end{align*}$.

**Solution**

Step 1. Write both equations in standard form. If any coefficients are fractions, clear them. | Both equations are in Standard form, $Ax+By=C$. There are no fractions | $\Bigg \{ \begin{align*} &2x+y=7 \\ &x-2y=6 \end{align*}$ |

Step 2. Make the coefficients of one variable opposites. Decide which variable you will eliminate. Multiply one or both equations so that the coefficients of that variable are opposite. | We can eliminate the $y$’s by multiplying the first equation by $2$. Multiply both sides of $2x+y=7$ by $2$. | $\Bigg \{ \begin{align*} &2x+\textcolor{red}{y}=7 \\ &x-\textcolor{red}{2y}=6 \end{align*}$ $\Bigg \{ \begin{align*} \textcolor{red}{2}(2x+y)&=\textcolor{red}{2}(7) \\ x-2y&=6 \end{align*}$ |

Step 3. Add the equations resulting from Step 2 to eliminate one variable. | We add the $x$’s and $y$’s, and constants. | $\Bigg \{ \begin{align*} \textcolor{red}{4}x+\textcolor{red}{2}{y}&=\textcolor{red}{14} \\ x-2y&=6 \end{align*}$ $\ \ \ \ \overline{5x \ \ \ \ \ \ \ \ =20}$ |

Step 4. Solve for the remaining variable. | Solve for $x$. | $x=4$ |

Step 5. Substitute the solution from Step 4 into one of the original equations. Then solve for the other variable. | Substitute $x=4$ into the second equation, $x-2y=6$. Then solve for $y$. | $\begin{align*} x-2y&=6 \\ \textcolor{red}{4}-2y&=6 \\ -2y&=2 \\ y&=-1 \end{align*}$ |

Step 6. Write the solutions as an ordered pair. | Write it as $(x, y)$. | $(4, -1)$ |

Step 7. Check that the ordered pair is a solution to both original equations. | Substitute $x=4$ and $y=-1$ into $2x+y=7$ and $x-2y=6$. Do they make both equations true? | $2x+y=7 \ \ \ \ \ \ \ \ \ \ \ x-2y=6$ $2(\textcolor{red}{4}) + (\textcolor{red}{-1}) = 7 \ \ \ \ \textcolor{red}{4}-2(\textcolor{red}{-1}) = 6$ $ \ \ \ \ \ 7=7 \ \checkmark \ \ \ \ \ \ \ \ \ \ \ \ \ 6=6 \ \checkmark$ The solution is $(4, -1)$. |

The steps are listed here for easy reference.

**HOW TO: Solve a system of equations by elimination.**

- Write both equations in standard form. If any coefficients are fractions, clear them.
- Make the coefficients of one variable opposites.
- Decide which variable you will eliminate.
- Multiply one or both equations so that the coefficients of that variable are opposites.

- Add the equations resulting from Step 2 to eliminate one variable.
- Solve for the remaining variable.
- Substitute the solution from Step 4 into one of the original equations. Then solve for the other variable.
- Write the solution as an ordered pair.
- Check that the ordered pair is a solution to
**both**original equations.

Now we’ll do an example where we need to multiply both equations by constants in order to make the coefficients of one variable opposites.

**Example 10**

Solve the system of equations by elimination: $\Bigg \{ \begin{align*} 4x-3y&=9 \\ 7x+2y&=-6 \end{align*}$.

**Solution**

In this example, we cannot multiply just one equation by any constant to get opposite coefficients. So we will strategically multiply both equations by different constants to get the opposites.

$\Bigg \{ \begin{align*} 4x-3y&=9 \\ 7x+2y&=-6 \end{align*}$ | |

Both equations are in standard form. To get opposite coefficients of $y$, we will multiply the first equation by $2$ and the second equation by $3$. | $\Bigg \{ \begin{align*} \textcolor{red}{2}(4x-3y)&=\textcolor{red}{2}(9) \\ \textcolor{red}{3}(7x+2y)&=\textcolor{red}{3}(-6) \end{align*}$ |

Simplify. | $\Bigg \{ \begin{align*} 8x-6y&=18 \\ 21x+6y&=-18 \end{align*}$ |

Add the two equations to eliminate $y$. | $\Bigg \{ \begin{align*} 8x-6y&=18 \\ 21x+6y&=-18 \end{align*}$ $\ \ \overline{29x \ \ \ \ \ \ \ \ =0}$ |

Solve for $x$. | $x=0$ |

Substitute $x-0$ into on of the original equations. | $7x+2y=-6$ $7 \cdot \textcolor{red}{0} + 2y=6$ |

Solve for $y$. | $\begin{align*} 2y&=-6 \\ y&=-3 \end{align*}$ |

Write the solution as an ordered pair. | The ordered pair is $(0, -3)$. |

Check that the ordered pair is a solution to both original equations. | $4x-3y=9 \ \ \ \ \ \ \ \ \ 7x+2y=-6$ $4(0)-3(-3)=9 \ \ \ \ \ 7(0)+2(-3)=-6$ $ \ \ \ \ \ \ \ 9=9 \ \checkmark \ \ \ \ \ \ \ \ \ \ \ \ \ \ -6 =-6 \ \checkmark $ |

The solution is $(0, -3)$. |

When the system of equations contains fractions, we will first clear the fractions by multiplying each equation by the LCD of all the fractions in the equation.

**Example 11**

Solve the system by elimination: $\Bigg \{ \begin{align*} &x+\frac{1}{2}y=6 \\ &\frac{3}{2}x+\frac{2}{3}y = \frac{17}{2} \end{align*}$.

**Solution**

In this example, both equations have fractions. Our first step will be to multiply each equation by the LCD of all the fractions in the equation to clear the fractions.

$\Bigg \{ \begin{align*} &x+\frac{1}{2}y=6 \\ &\frac{3}{2}x+\frac{2}{3}y = \frac{17}{2} \end{align*}$ | |

To clear the fractions, multiply each equation by its LCD. | $\Bigg \{ \begin{align*} \textcolor{red}{2} \Big(x+\frac{1}{2}y\Big)&=\textcolor{red}{2}(6) \\ \textcolor{red}{6}\Big(\frac{3}{2}x+\frac{2}{3}y\Big)& = \textcolor{red}{6}\Big(\frac{17}{2}\Big) \end{align*}$ |

Simplify. | $\Bigg \{ \begin{align*} 2x+y&=12 \\ 9x+4y &= 51 \end{align*}$ |

Now we are ready to eliminate one of the variables. Notice that both equations are in standard form. | |

We can eliminate $y$ by multiplying the top equations by $-4$. | $\Bigg \{ \begin{align*} \textcolor{red}{-4}(2x+y)&=\textcolor{red}{-4}(12) \\ 9x+4y &= 51 \end{align*}$ |

Simplify and add. | $\Bigg \{ \begin{align*} -8x-4y&=-48 \\ 9x+4y &= 51 \end{align*}$ $ \ \ \ \ \ \overline{x \ \ \ \ \ \ \ \ =3}$ |

Substitute $x=3$ into one of the original equations. Then solve for y. | $\begin{align*} x+\frac{1}{2}y&=6\\ 3+\frac{1}{2}y&= 6\\ \frac{1}{2}y&=3\\ y&=6 \end{align*}$ |

Write the solution as an ordered pair. | The ordered pair is $(3, 6)$. |

Check that the ordered pair is a solution to both original equations. | $x+\frac{1}{2}y=6 \ \ \ \ \ \ \ \ \ \ \frac{3}{2}x+\frac{2}{3}y = \frac{17}{2}$ $3+\frac{1}{2}(6)=6 \ \ \ \ \ \ \frac{3}{2}(3)+\frac{2}{3}(6) = \frac{17}{2}$ $\ \ 3+3=6 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \frac{9}{2}+4=\frac{17}{2}$ $ \ \ \ 6=6 \ \checkmark \ \ \ \ \ \ \ \ \ \ \ \frac{9}{2}+\frac{8}{2} = \frac{17}{2}$ $ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \frac{17}{2}=\frac{17}{2} \ \checkmark$ |

The solution is $(3, 6)$. |

When we solved the system by graphing, we saw that not all systems of linear equations have a single ordered pair as a solution. When the two equations were really the same line, there were infinitely many solutions. We called that a consistent system. When the two equations described parallel lines, there was no solution. We called that an inconsistent system.

The same is true using substitution or elimination. If the equation at the end of substitution or elimination is a true statement, we have a consistent but dependent system and the system of equations has infinitely many solutions. If the equation at the end of substitution or elimination is a false statement, we have an inconsistent system and the system of equations has no solution.

**Example 12**

Solve the system by elimination: $\Bigg\{ \begin{align*} &3x+4y=12 \\ &y=3-\frac{3}{4}x \end{align*}$.

**Solution**

$\Bigg\{ \begin{align*} &3x+4y=12 \\ &y=3-\frac{3}{4}x \end{align*}$ | |

Write the second equation in standard form. | $\Bigg\{ \begin{align*} 3x+4y&=12 \\ \frac{3}{4}x +y&=3 \end{align*}$ |

Clear the fractions by multiplying the second equation by $4$. | $\Bigg\{ \begin{align*} 3x+4y&=12 \\ 4\Big(\frac{3}{4}x +y\Big)&=4(3) \end{align*}$ |

Simplify. | $\Bigg\{ \begin{align*} 3x+4y&=12 \\ 3x+4y&=12 \end{align*}$ |

To eliminate a variable, we multiply the second equation by $-1$. Simplify and add. | $\Bigg\{ \begin{align*} 3x+4y&=12 \\ -3x-4y&=-12 \end{align*}$ $ \overline{ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ 0=0 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ }$ |

This is a true statement. The equations are consistent but dependent. Their graphs would be the same line. The system has infinitely many solutions.

After we cleared the fractions in the second equation, did you notice that the two equations were the same? That means we have coincident lines.

**4.1.5 Choose the Most Convenient Method to Solve a System of Linear Equations**

When you solve a system of linear equations in in an application, you will not be told which method to use. You will need to make that decision yourself. So you’ll want to choose the method that is easiest to do and minimizes your chance of making mistakes.

**Choose the Most Convenient Method to Solve a System of Linear Equations**

**Graphing**

Use when you need a

picture of the situation.

**Substitution**

Use when one equations is already solved or can be easily solved for one variable.

**Elimination**

Use when the equations are in standard form.

**Example 13**

For each system of linear equations, decide whether it would be more convenient to solve it by substitution or elimination. Explain your answer.

- $\Bigg\{ \begin{align*} 3x+8y&=40 \\ 7x-4y&=-32 \end{align*}$
- $\Bigg\{ \begin{align*} &5x+6y=12 \\ &y=\frac{2}{3}x-1 \end{align*}$

**Solution**

Since both equations are in standard form, using elimination will be the most convenient.

Sine one equation is already solved for $y$, using substitution will be most convenient.

*Licenses & Attributions*

*Licenses & Attributions*

*CC Licensed Content, Original*

*Revision and Adaption. Provided by: Minute Math. License: CC BY 4.0*

*CC Licensed Content, Shared Previously*

*Marecek, L., & Mathis, A. H. (2020). Graphs of Functions. In Intermediate Algebra 2e. OpenStax. https://openstax.org/books/intermediate-algebra-2e/pages/4-1-solve-systems-of-linear-equations-with-two-variables*.*License: CC BY 4.0. Access for free at https://openstax.org/books/intermediate-algebra-2e/pages/1-introduction*