Chapter 2.5: Systems of Linear Equations: Two Variables
Learning Objectives
In this section, you will:
- Solve systems of equations by graphing.
- Solve systems of equations by substitution.
- Solve systems of equations by addition.
- Identify inconsistent systems of equations containing two variables.
- Express the solution of a system of dependent equations containing two variables.

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
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) 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.
Determining Whether an Ordered Pair Is a Solution to a System of Equations
Determine whether the ordered pair is a solution to the given system of equations.
Show Solution
Substitute the ordered pair into both equations.
The ordered pair 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).

Try It
Determine whether the ordered pair is a solution to the following system.
Show Solution
Not a solution.
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.
Solving a System of Equations in Two Variables by Graphing
Solve the following system of equations by graphing. Identify the type of system.
Show Solution
Solve the first equation for
Solve the second equation for
Graph both equations on the same set of axes as in (Figure).

The lines appear to intersect at the point 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 so the system is independent.
Try It
Solve the following system of equations by graphing.
Show Solution
The solution to the system is the ordered pair
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.
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.
Solving a System of Equations in Two Variables by Substitution
Solve the following system of equations by substitution.
Show Solution
First, we will solve the first equation for
Now we can substitute the expression for
in the second equation.
Now, we substitute into the first equation and solve for
Our solution is
Check the solution by substituting into both equations.
Try It
Solve the following system of equations by substitution.
Show Solution
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.