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

Study Guides > ALGEBRA / TRIG I

Graphing Systems

Learning Outcomes

  • Graph systems of equations

Graph a system of linear equations

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. We will practice graphing two equations on the same set of axes, and then we will explore the different considerations you need to make when graphing two linear inequalities on the same set of axes. The same techniques are used to graph a system of linear equations as you have used to graph single linear equations. We can use tables of values, slope and yy-intercept, or xx- and yy-intercepts to graph both lines on the same set of axes.

Example

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

2x+y=8xy=1\begin{array}{c}2x+y=-8\\ x-y=-1\end{array}

Answer: Solve the first equation for yy.

2x+y=8y=2x8\begin{array}{c}2x+y=-8\\ y=-2x - 8\end{array}

Solve the second equation for yy.

xy=1y=x+1\begin{array}{c}x-y=-1\\ y=x+1\end{array}

Graph both equations on the same set of axes as seen 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 (3,2)\left(-3,-2\right). We can check to make sure that this is the solution to the system by substituting the ordered pair into both equations

2(3)+(2)=8 8=8True (3)(2)=1 1=1True\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}

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

You can watch the video below for another example of how to solve a system of equations by first graphing the lines and then identifying the solution the system has. https://youtu.be/Lv832rXAQ5k

Try It

[ohm_question]38339[/ohm_question]
 

In the following example, you will be given a system to graph that consists of two parallel lines.

Example

Graph the system y=2x+1y=2x3\begin{array}{c}y=2x+1\\y=2x-3\end{array} using the slopes and yy-intercepts of the lines.

Answer: First, graph y=2x+1y=2x+1 using the slope m=2m = 2 and the yy-intercept (0,1)(0,1) y=2x+1 Next, add y=2x3y=2x-3 using the slope m=2m = 2, and the yy-intercept (0,3)(0,-3) y = 2x+1 and y = 2x-3 Notice how these are parallel lines, and they don't cross.  In the previous section, we discussed how there are no solutions to a system of equations that are parallel lines.  We classified this type of system as an inconsistent system.

In the next example, you will be given a system whose equations look different, but after graphing, turn out to be the same line.

Example

Graph the system y=12x+22yx=4\begin{array}{c}y=\frac{1}{2}x+2\\2y-x=4\end{array} using the x - and y-intercepts.

Answer: First, find the xx- and yy- intercepts of y=12x+2y=\frac{1}{2}x+2 The xx-intercept will have a value of 00 for yy, so substitute y=0y=0 into the equation, and isolate the variable xx. 0=12x+2        2      22=12x(2)(2)=(2)12x4=x\begin{array}{c}0=\frac{1}{2}x+2\\\underline{\,\,\,\,\,\,\,\,-2\,\,\,\,\,\,-2}\\-2=\frac{1}{2}x\\\left(2\right)\left(-2\right)=\left(2\right)\frac{1}{2}x\\-4=x\end{array} The xx-intercept of y=12x+2y=\frac{1}{2}x+2 is (4,0)\left(-4,0\right). The yy-intercept is easier to find since this equation is in slope-intercept form.  The yy-intercept is (2,0)(2,0). Now we can plot y=12x+2y=\frac{1}{2}x+2 using the intercepts y=1/2x+2 with intercepts labeled Now find the intercepts of 2yx=42y-x=4 Substitute y=0y = 0 in to the equation to find the xx-intercept. 2yx=42(0)x=4x=4\begin{array}{c}2y-x=4\\2\left(0\right)-x=4\\x=-4\end{array} The xx-intercept of 2yx=42y-x=4 is (4,0)\left(-4,0\right). Now substitute x=0x = 0 into the equation to find the y-intercept. 2yx=42y0=42y=4y=2\begin{array}{c}2y-x=4\\2y-0=4\\2y=4\\y=2\end{array} The yy-intercept of 2yx=42y-x=4 is (0,2)\left(0,2\right). WAIT, these are the same intercepts as y=12x+2y=\frac{1}{2}x+2!  In fact, y=12x+2y=\frac{1}{2}x+2 and 2yx=42y-x=4 are really the same equation, expressed in different ways.  If you were to write them both in slope-intercept form you would see that they are the same equation. When you graph them, they are the same line. In the previous section, we learned that systems with two of the same equations in them have an infinite number of solutions and are classified as a dependent system.

As demonstrated by the examples above, 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. The video below provides more examples of how to graph systems of linear equations. https://youtu.be/BBmB3rFZLXU Graphing a system of linear equations consists of choosing which graphing method you want to use and drawing the graphs of both equations on the same set of axes.

Contribute!

Did you have an idea for improving this content? We’d love your input.

Licenses & Attributions