We've updated our
Privacy Policy effective December 15. Please read our updated Privacy Policy and tap

Guide allo studio > Intermediate Algebra

Solve Systems in Two Variables

Learning Objectives

  • Define and classify solutions to systems of linear equations
    • Recognize consistent and inconsistent, dependent and independent systems of linear equations
    • Determine whether an ordered pair is a solution to a system of linear equations
    • Solve a system of linear equations by graphing
  • Methods for solving systems
    • Use substitution to solve a system algebraically
    • Recognize when a system is inconsistent from algebraic results
    • Find the break even point for a cost and revenue system
    • Write a system of equations based on attendance and cost data
    • Solve a system using the elimination method
    • Solve a system using the elimination method when multiplication is required
    • Recognize when a system is dependent using algebraic results
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.
[latex]\begin{array}{c}2x+y=\text{ }15\\ 3x-y=\text{ }5\end{array}[/latex]
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.
[latex]\begin{array}{l}2\left(4\right)+\left(7\right)=15\text{ }\text{True}\hfill \\ 3\left(4\right)-\left(7\right)=5\text{ }\text{True}\hfill \end{array}[/latex]
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.

A General Note: 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.
Below are graphical representations of each type of system. Graphs of an independent system, an inconsistent system, and a dependent system. The independent system has two lines which cross at the point seven-fifths, negative eleven fifths. The inconsistent system shows two parallel lines. The dependent system shows a single line running through the points negative one, negative two and one, two. The independent and dependent systems are also consistent because they both have at least one solution.

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

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

Example

Determine whether the ordered pair [latex]\left(5,1\right)[/latex] is a solution to the given system of equations.
[latex]\begin{array}{l}x+3y=8\hfill \\ 2x - 9=y\hfill \end{array}[/latex]

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

[latex]\begin{array}{ll}\left(5\right)+3\left(1\right)=8\hfill & \hfill \\ \text{ }8=8\hfill & \text{True}\hfill \\ 2\left(5\right)-9=\left(1\right)\hfill & \hfill \\ \text{ }\text{1=1}\hfill & \text{True}\hfill \end{array}[/latex]

The ordered pair [latex]\left(5,1\right)[/latex] satisfies both equations, so it is the solution to the system. 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. A graph of two lines running through the point five, one. The first line's equation is x plus 3y equals 8. The second line's equation is 2x minus 9 equals y.

In the following video we will show another example of how to verify whether an ordered pair is a solution to a system of equations. https://youtu.be/2IxgKgjX00k

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

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

[latex]\begin{array}{c}2x+y=-8\\ x-y=-1\end{array}[/latex]

Answer: Solve the first equation for [latex]y[/latex].

[latex]\begin{array}{c}2x+y=-8\\ y=-2x - 8\end{array}[/latex]

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

[latex]\begin{array}{c}x-y=-1\\ y=x+1\end{array}[/latex]

Graph both equations on the same set of axes as in the figure below. A graph of two lines running through the point negative 3, negative 2. The first line's equation is y equals minus 2x minus 8. The second line's equation is y equals x+1. 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

[latex]\begin{array}{ll}2\left(-3\right)+\left(-2\right)=-8\hfill & \hfill \\ \text{ }-8=-8\hfill & \text{True}\hfill \\ \text{ }\left(-3\right)-\left(-2\right)=-1\hfill & \hfill \\ \text{ }-1=-1\hfill & \text{True}\hfill \end{array}[/latex]

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

Graphing can be used if the system is inconsistent or dependent. 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. In the following video we show another example of how to identify whether a graphed system has a solution, and identify what type of solution is represented. https://youtu.be/ZolxtOjcEQY In our last video we show how to solve a system of equations by first graphing the lines, then identifying the type of solution the system has. https://youtu.be/Lv832rXAQ5k

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.

  1. Solve one of the two equations for one of the variables in terms of the other.
  2. Substitute the expression for this variable into the second equation, then solve for the remaining variable.
  3. 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.
  4. Check the solution in both equations.

Example

Solve the following system of equations by substitution.
[latex]\begin{array}{l}\text{ }-x+y=-5\hfill \\ \text{ }2x - 5y=1\hfill \end{array}[/latex]

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

[latex]\begin{array}{l}-x+y=-5\hfill \\ \text{ }y=x - 5\hfill \end{array}[/latex]
Now we can substitute the expression [latex]x - 5[/latex] for [latex]y[/latex] in the second equation.
[latex]\begin{array}{l}\text{ }2x - 5y=1\hfill \\ 2x - 5\left(x - 5\right)=1\hfill \\ \text{ }2x - 5x+25=1\hfill \\ \text{ }-3x=-24\hfill \\ \text{ }x=8\hfill \end{array}[/latex]
Now, we substitute [latex]x=8[/latex] into the first equation and solve for [latex]y[/latex].
[latex]\begin{array}{l}-\left(8\right)+y=-5\hfill \\ \text{ }y=3\hfill \end{array}[/latex]
Our solution is [latex]\left(8,3\right)[/latex]. Check the solution by substituting [latex]\left(8,3\right)[/latex] into both equations.

[latex]\begin{array}{llll}-x+y=-5\hfill & \hfill & \hfill & \hfill \\ -\left(8\right)+\left(3\right)=-5\hfill & \hfill & \hfill & \text{True}\hfill \\ 2x - 5y=1\hfill & \hfill & \hfill & \hfill \\ 2\left(8\right)-5\left(3\right)=1\hfill & \hfill & \hfill & \text{True}\hfill \end{array}[/latex]

The substitution method can be used to solve any linear system in two variables, but the method works best if one of the equations contains a coefficient of 1 or [latex]–1[/latex] so that we do not have to deal with fractions.

In the following video, you will be given an example of solving a systems of two equations using the substitution method. https://youtu.be/MIXL35YRzRw If you had chosen the other equation to start with in the previous example, you would still be able to find the same solution. It is really a matter of preference because sometimes solving for a variable will result in having to work with fractions. As you become more experienced with algebra, you will be able to anticipate what choices will lead to more desirable outcomes. Recall that an inconsistent system consists of parallel lines that have the same slope but different y-intercepts. They will never intersect. When searching for a solution to an inconsistent system, we will come up with a false statement, such as [latex]12=0[/latex].

Example

Solve the following system of equations.

[latex]\begin{array}{l}\text{ }x=9 - 2y\hfill \\ x+2y=13\hfill \end{array}[/latex]

Answer: We can approach this problem in two ways. Because one equation is already solved for x, the most obvious step is to use substitution.

[latex]\begin{array}{r}x+2y=13\hfill \\ \left(9 - 2y\right)+2y=13\hfill \\ 9+0y=13\hfill \\ 9=13\hfill \end{array}[/latex]

Clearly, this statement is a contradiction because [latex]9\ne 13[/latex]. Therefore, the system has no solution. The second approach would be to first manipulate the equations so that they are both in slope-intercept form. We manipulate the first equation as follows.

[latex]\begin{array}{l}\text{ }x=9 - 2y\hfill \\ 2y=-x+9\hfill \\ \text{ }y=-\frac{1}{2}x+\frac{9}{2}\hfill \end{array}[/latex]

We then convert the second equation expressed to slope-intercept form.

[latex]\begin{array}{l}x+2y=13\hfill \\ \text{ }2y=-x+13\hfill \\ \text{ }y=-\frac{1}{2}x+\frac{13}{2}\hfill \end{array}[/latex]

Comparing the equations, we see that they have the same slope but different y-intercepts. Therefore, the lines are parallel and do not intersect.

[latex]\begin{array}{l}\begin{array}{l}\\ y=-\frac{1}{2}x+\frac{9}{2}\end{array}\hfill \\ y=-\frac{1}{2}x+\frac{13}{2}\hfill \end{array}[/latex]

Writing the equations in slope-intercept form confirms that the system is inconsistent because all lines will intersect eventually unless they are parallel. Parallel lines will never intersect; thus, the two lines have no points in common. The graphs of the equations in this example are shown below. A graph of two parallel lines. The first line's equation is y equals negative one-half x plus 13 over two. The second line's equation is y equals negative one-half x plus 9 over two.

Answer

There is no solution to this system of linear equations.

In the next video we show another example of using substitution to solve a system that has no solution. https://youtu.be/kTtKfh5gFUc In our next video we show that a system can have an infinite number of solutions. https://youtu.be/Pcqb109yK5Q Consider a skateboard manufacturer’s revenue function, this 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 the graph below. 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 the graph below. The x-axis represents the quantity of skateboards produced and sold in hundreds of units. The y-axis represents either cost or revenue in hundreds of dollars. A graph showing money in hundreds of dollars on the y axis and quantity in hundreds of units on the x axis. A line representing cost and a line representing revenue cross at the point (7,33), which is marked break-even. The shaded space between the two lines to the right of the break-even point is labeled profit. 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.

Example

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.

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

[latex]\begin{array}{l}\begin{array}{l}\\ y=0.85x+35,000\end{array}\hfill \\ y=1.55x\hfill \end{array}[/latex]

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

[latex]\begin{array}{c}0.85x+35,000=1.55x\\ 35,000=0.7x\\ 50,000=x\end{array}[/latex]

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

[latex]1.55\left(50,000\right)=77,500[/latex]

The break-even point is [latex]\left(50,000,77,500\right)[/latex]. 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. A graph showing money in dollars on the y axis and quantity on the x axis. A line representing cost and a line representing revenue cross at the break-even point of fifty thousand, seventy-seven thousand five hundred. The cost line's equation is C(x)=0.85x+35,000. The revenue line's equation is R(x)=1.55x. The shaded space between the two lines to the right of the break-even point is labeled profit. The company will make a profit after 50,000 units are produced.

In the next example, we will show how to write a system of linear equations given attendance and ticket cost data. We will then find the number of tickets purchased based on our system.

Example

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

Answer: Let [latex]c=[/latex] the number of children and [latex]a=[/latex] 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

[latex]c+a=2,000[/latex]

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

[latex]25c+50a=70,000[/latex]

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

[latex]\begin{array}{c}c+a=2,000\\ 25c+50a=70,000\end{array}[/latex]

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].

[latex]\begin{array}{c}c+a=2,000\\ a=2,000-c\end{array}[/latex]

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

[latex]\begin{array}{l} 25c+50\left(2,000-c\right)=70,000\hfill \\ 25c+100,000 - 50c=70,000\hfill \\ \text{ }-25c=-30,000\hfill \\ \text{ }c=1,200\hfill \end{array}[/latex]

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

[latex]\begin{array}{l}1,200+a=2,000\hfill \\ \text{ }\text{}a=800\hfill \end{array}[/latex]

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

In our last video example we show how to set up a system of linear equations that represents the total cost for admission to a museum. https://youtu.be/euh9ksWrq0A

Elimination

A third method of solving systems of linear equations is the elimination 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 elimination.

Example

Solve the given system of equations by elimination.
[latex]\begin{array}{l}x+2y=-1\hfill \\ -x+y=3\hfill \end{array}[/latex]

Answer: 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.

[latex]\frac{\begin{array}{l}\hfill \\ x+2y=-1\hfill \\ -x+y=3\hfill \end{array}}{\text{}\text{}\text{}\text{}\text{}3y=2}[/latex]
Now that we have eliminated [latex]x[/latex], we can solve the resulting equation for [latex]y[/latex].

[latex]\begin{array}{l}3y=2\hfill \\ \text{ }y=\frac{2}{3}\hfill \end{array}[/latex]

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

[latex]\begin{array}{l}\text{ }-x+y=3\hfill \\ \text{ }-x+\frac{2}{3}=3\hfill \\ \text{ }-x=3-\frac{2}{3}\hfill \\ \text{ }-x=\frac{7}{3}\hfill \\ \text{ }x=-\frac{7}{3}\hfill \end{array}[/latex]

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

[latex]\begin{array}{llll}\text{ }x+2y=-1\hfill & \hfill & \hfill & \hfill \\ \text{ }\left(-\frac{7}{3}\right)+2\left(\frac{2}{3}\right)=\hfill & \hfill & \hfill & \hfill \\ \text{ }-\frac{7}{3}+\frac{4}{3}=\hfill & \hfill & \hfill & \hfill \\ \text{ }-\frac{3}{3}=\hfill & \hfill & \hfill & \hfill \\ \text{ }-1=-1\hfill & \hfill & \hfill & \text{True}\hfill \end{array}[/latex]

We gain an important perspective on systems of equations by looking at the graphical representation. In the graph below, you will see 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. A graph of two lines that cross at the point negative seven-thirds, two-thirds. The first line's equation is x+2y=negative 1. The second line's equation is negative x + y equals 3.

In the following video you will see another example of how to use the method of elimination to solve systems of linear equations. https://youtu.be/M4IEmwcqR3c Sometimes we have to do a couple of steps of algebra before we can eliminate a variable from a system solve it. In the next example you will see a technique where we multiply one of the equations in the system by a number that will allow us to eliminate one of the variables.

Example

Solve the given system of equations by the elimination method.

[latex]\begin{array}{l}3x+5y=-11\hfill \\ \hfill \\ x - 2y=11\hfill \end{array}[/latex]

Answer: 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.

[latex]\begin{array}{llll}\text{ }x - 2y=11\hfill & \hfill & \hfill & \hfill \\ -3\left(x - 2y\right)=-3\left(11\right)\hfill & \hfill & \hfill & \text{Multiply both sides by }-3.\hfill \\ \text{ }-3x+6y=-33\hfill & \hfill & \hfill & \text{Use the distributive property}.\hfill \end{array}[/latex]
Now, let’s add them.

[latex]\begin{array}\ \hfill 3x+5y=−11 \\ \hfill −3x+6y=−33 \\ \text{_____________} \\ \hfill 11y=−44 \\ \hfill y=−4 \end{array}[/latex]

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

[latex]\begin{array}{c}3x+5y=-11\\ 3x+5\left(-4\right)=-11\\ 3x - 20=-11\\ 3x=9\\ x=3\end{array}[/latex]

Our solution is the ordered pair [latex]\left(3,-4\right)[/latex]. Check the solution in the original second equation.
[latex]\begin{array}{llll}\text{ }x - 2y=11\hfill & \hfill & \hfill & \hfill \\ \left(3\right)-2\left(-4\right)=3+8\hfill & \hfill & \hfill & \hfill \\ \text{ }=11\hfill & \hfill & \hfill & \text{True}\hfill \end{array}[/latex]
A graph of two lines that cross at the point 3, negative 4. The first line's equation is 3x+5y=-11. The second line's equation is x-2y=11.

Below is another video example of using the elimination method to solve a system of linear equations. https://youtu.be/_liDhKops2w In the next example, we will see that sometimes both equations need to be multiplied by different numbers in order for one variable to be eliminated.

Example

Solve the given system of equations in two variables by elimination.
[latex]\begin{array}{c}2x+3y=-16\\ 5x - 10y=30\end{array}[/latex]

Answer: 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].

[latex]\begin{array}{l} -5\left(2x+3y\right)=-5\left(-16\right)\hfill \\ \text{ }-10x - 15y=80\hfill \\ \text{ }2\left(5x - 10y\right)=2\left(30\right)\hfill \\ \text{ }10x - 20y=60\hfill \end{array}[/latex]
Then, we add the two equations together.

[latex]\begin{array}\ −10x−15y=80 \\ 10x−20y=60 \\ \text{______________} \\ \text{ }−35y=140 \\ y=−4 \end{array}[/latex]

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

[latex]\begin{array}{c}2x+3\left(-4\right)=-16\\ 2x - 12=-16\\ 2x=-4\\ x=-2\end{array}[/latex]

The solution is [latex]\left(-2,-4\right)[/latex]. Check it in the other equation.
[latex]\begin{array}{r}\hfill \text{ }5x - 10y=30\\ \hfill 5\left(-2\right)-10\left(-4\right)=30\\ \hfill \text{ }-10+40=30\\ \hfill \text{ }30=30\end{array}[/latex]
A graph of two lines that cross the point -2,-4. The first line's equation is 2x+3y=-16. The second line's equation is 5x-10y=30.

Below is a summary of the general steps for using the elimination method to solve a system of equations.

How To: Given a system of equations, solve using the elimination method.

  1. Write both equations with x- and y-variables on the left side of the equal sign and constants on the right.
  2. 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.
  3. Solve the resulting equation for the remaining variable.
  4. Substitute that value into one of the original equations and solve for the second variable.
  5. Check the solution by substituting the values into the other equation.
In the next example, we will show how to solve a system with fractions. As with single linear equations, the easiest way to solve is to clear the fractions first with the least common denominator.

Example

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

[latex]\begin{array}{l}\frac{x}{3}+\frac{y}{6}=3\hfill \\ \frac{x}{2}-\frac{y}{4}=\text{ }1\hfill \end{array}[/latex]

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

[latex]\begin{array}{l}6\left(\frac{x}{3}+\frac{y}{6}\right)=6\left(3\right)\hfill \\ \text{ }2x+y=18\hfill \\ 4\left(\frac{x}{2}-\frac{y}{4}\right)=4\left(1\right)\hfill \\ \text{ }2x-y=4\hfill \end{array}[/latex]

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

[latex]\begin{array}{l}-1\left(2x-y\right)=-1\left(4\right)\hfill \\ \text{ }-2x+y=-4\hfill \end{array}[/latex]

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

[latex]\begin{array}\ \hfill 2x+y=18 \\ \hfill−2x+y=−4 \\ \text{_____________} \\ \hfill 2y=14 \\ \hfill y=7 \end{array}[/latex]

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

[latex]\begin{array}{l}2x+\left(7\right)=18\hfill \\ \text{ }2x=11\hfill \\ \text{ }x=\frac{11}{2}\hfill \\ \text{ }=7.5\hfill \end{array}[/latex]

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

[latex]\begin{array}{c}\frac{x}{2}-\frac{y}{4}=1\\ \frac{\frac{11}{2}}{2}-\frac{7}{4}=1\\ \frac{11}{4}-\frac{7}{4}=1\\ \frac{4}{4}=1\end{array}[/latex]

In the following video, you will find one more example of using the elimination method to solve a system, this one has coefficients that are fractions. https://youtu.be/s3S64b1DrtQ Recall that a dependent system of equations in two variables is a system in which the two equations represent the same line. Dependent systems have an infinite number of solutions because all of the points on one line are also on the other line. After using substitution or elimination, the resulting equation will be an identity, such as [latex]0=0[/latex]. The last example includes two equations that represent the same line and are therefore dependent.

Example

Find a solution to the system of equations using the elimination method.

[latex]\begin{array}{c}x+3y=2\\ 3x+9y=6\end{array}[/latex]

Answer: With the elimination method, we want to eliminate one of the variables by adding the equations. In this case, let’s focus on eliminating [latex]x[/latex]. If we multiply both sides of the first equation by [latex]-3[/latex], then we will be able to eliminate the [latex]x[/latex] -variable.

[latex]\begin{array}{l}\text{ }x+3y=2\hfill \\ \left(-3\right)\left(x+3y\right)=\left(-3\right)\left(2\right)\hfill \\ \text{ }-3x - 9y=-6\hfill \end{array}[/latex]

Now add the equations.

[latex]\begin{array} \hfill−3x−9y=−6 \\ \hfill+3x+9y=6 \\ \hfill \text{_____________} \\ \hfill 0=0 \end{array}[/latex]

We can see that there will be an infinite number of solutions that satisfy both equations. If we rewrote both equations in the slope-intercept form, we might know what the solution would look like before adding. Let’s look at what happens when we convert the system to slope-intercept form.

[latex]\begin{array}{l}\text{ }x+3y=2\hfill \\ \text{ }3y=-x+2\hfill \\ \text{ }y=-\frac{1}{3}x+\frac{2}{3}\hfill \\ 3x+9y=6\hfill \\ \text{ }9y=-3x+6\hfill \\ \text{ }y=-\frac{3}{9}x+\frac{6}{9}\hfill \\ \text{ }y=-\frac{1}{3}x+\frac{2}{3}\hfill \end{array}[/latex]

See the graph below. Notice the results are the same. The general solution to the system is [latex]\left(x, -\frac{1}{3}x+\frac{2}{3}\right)[/latex]. A graph of two lines that overlap each other. The first line's equation is x+3y=2. The second line's equation is 3x-9y=6.

In the following video we show another example of solving a system that is dependent using elimination. https://youtu.be/NRxh9Q16Ulk In our last video example we present a system that is inconsistent - it has no solutions which means the lines the equations represent are parallel to each other. https://youtu.be/z5_ACYtzW98

Licenses & Attributions

CC licensed content, Original

  • Determine if an Ordered Pair is a Solution to a System of Linear Equations. Authored by: James Sousa (Mathispower4u.com) for Lumen Learning. License: CC BY: Attribution.
  • Determine the Number of Solutions to a System of Linear Equations From a Graph. Authored by: James Sousa (Mathispower4u.com) for Lumen Learning. License: CC BY: Attribution.
  • Ex 2: Solve a System of Equations Using the Elimination Method. Authored by: James Sousa (Mathispower4u.com) . License: CC BY: Attribution.

CC licensed content, Shared previously

  • Ex 2: Solve a System of Equations by Graphing. Authored by: James Sousa (Mathispower4u.com) . License: CC BY: Attribution.
  • Ex 2: Solve a System of Equations Using Substitution. Authored by: James Sousa (Mathispower4u.com) . License: CC BY: Attribution.
  • Unit 14: Systems of Equations and Inequalities, from Developmental Math: An Open Program. Provided by: Monterey Institute of Technology and Education Located at: https://www.nroc.org/. License: CC BY: Attribution.
  • Ex: Solve a System of Equations Using Substitution - No Solution. Authored by: James Sousa (Mathispower4u.com) . License: CC BY: Attribution.
  • Ex: Solve a System of Equations Using Substitution - Infinite Solutions. Authored by: James Sousa (Mathispower4u.com) . License: CC BY: Attribution.
  • Ex: Solve an Application Problem Using a System of Linear Equations (09x-43). Authored by: James Sousa (Mathispower4u.com) . License: Public Domain: No Known Copyright.
  • Ex 1: Solve a System of Equations Using the Elimination Method. Authored by: James Sousa (Mathispower4u.com) . License: CC BY: Attribution.
  • Ex: Solve a System of Equations Using Eliminations (Fractions). Authored by: James Sousa (Mathispower4u.com) . License: CC BY: Attribution.
  • Ex: System of Equations Using Elimination (Infinite Solutions). Authored by: James Sousa (Mathispower4u.com) . License: CC BY: Attribution.
  • Ex: System of Equations Using Elimination (No Solution). Authored by: James Sousa (Mathispower4u.com) . License: CC BY: Attribution.

CC licensed content, Specific attribution