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

Hướng dẫn học tập > College Algebra

Solving Systems of Equations by Graphing

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.

[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.
Figure 2 compares 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.Figure 2

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 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.
[latex]\begin{array}{l}x+3y=8\hfill \\ 2x - 9=y\hfill \end{array}[/latex]

Solution

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.

Analysis of the Solution

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.Figure 3

Try It 1

Determine whether the ordered pair [latex]\left(8,5\right)[/latex] is a solution to the following system.
[latex]\begin{array}{c}5x - 4y=20\\ 2x+1=3y\end{array}[/latex]
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.

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.
[latex]\begin{array}{c}2x+y=-8\\ x-y=-1\end{array}[/latex]

Solution

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 Figure 4.
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.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.
[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.

Try It 2

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

Q& A

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.

Licenses & Attributions

CC licensed content, Specific attribution