Skip to main content
Mathematics LibreTexts

4.1: System of Equations - Graphing

  • Page ID
    45044
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \) \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)\(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\) \(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\)\(\newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    Three Types of Solutions to a Linear System by Graphing

    Given two linear equations and after graphing the lines,

    Solution 1. If the two lines intersect, then the point of intersection is the solution to the system, i.e., the solution is an ordered-pair \((x, y)\).

    Solution 2. If the two lines do not intersect and are parallel, i.e., they have the same slope and different \(y\)-intercepts, then the system has no solution.

    Solution 3. If the two lines are the same line, then the solution is infinitely many solutions on that line.

    Verifying Solutions

    Example 4.1.1

    Is the ordered-pair \((2, 1)\) a solution to the system \[\left\{\begin{array}{l}3x-y=5 \\ x+y=3\end{array}\right. \quad ?\nonumber\]

    Solution

    To verify whether \((2, 1)\) is the solution to the system, we plug-n-chug \((2, 1)\) into each equation and determine whether we obtain a true statement. If we obtain true statements for both equations in the system, then \((2, 1)\) will be the solution to the system.

    \[\begin{array}{rl}3x-y=5&\text{Plug-n-chug }x=2\text{ and }y=1 \\ 3(\color{blue}{2}\color{black}{})-(\color{blue}{1}\color{black}{})\stackrel{?}{=}5&\text{Simplify} \\ 6-1\stackrel{?}{=}5&\text{Subtract} \\ 5=5&\checkmark\:\text{True}\end{array}\nonumber\]

    Let’s do the same for the second equation:

    \[\begin{array}{rl}x+y=3&\text{Plug-n-chug }x=2\text{ and }y=1 \\ (\color{blue}{2}\color{black}{})+(\color{blue}{1}\color{black}{})\stackrel{?}{=}3&\text{Add} \\ 3=3&\checkmark\:\text{True}\end{array}\nonumber\]

    Since the ordered-pair \((2, 1)\) makes both statements true, then \((2, 1)\) is a solution to the system. Hence, if we were to graph these lines, they would intersect at the point \((2, 1)\).

    Example 4.1.2

    Is the ordered-pair \((−3, −4)\) a solution to the system \[\left\{\begin{array}{l}5x+4y=-31 \\ 3x+6y=-36\end{array}\right.\quad ?\nonumber\]

    Solution

    To verify whether \((−3, −4)\) is the solution to the system, we plug-n-chug \((−3, −4)\) into each equation and determine whether we obtain a true statement. If we obtain true statements for both equations in the system, then \((−3, −4)\) will be the solution to the system.

    \[\begin{array}{rl}5x+4y=-31&\text{Plug-n-chug }x=-3\text{ and }y=-4 \\ 5(\color{blue}{-3}\color{black}{})+4(\color{blue}{-4}\color{black}{})\stackrel{?}{=}-31&\text{Simplify} \\ -15-16\stackrel{?}{=}=31&\text{Subtract} \\ -31=-31&\checkmark\:\text{True}\end{array}\nonumber\]

    Let’s do the same for the second equation:

    \[\begin{array}{rl}3x+6y=-36&\text{Plug-n-chug }x=-3\text{ and }y=-4 \\ 3(\color{blue}{-3}\color{black}{})+6(\color{blue}{-4}\color{black}{})\stackrel{?}{=}-36&\text{Simplify} \\ -9-24\stackrel{?}{=}-36&\text{Subtract} \\ -33\neq -36&X \:\text{False}\end{array}\nonumber\]

    Since the ordered-pair \((−3, −4)\) makes only one of the statements true, then \((−3, −4)\) is not a solution to the system. Recall, the ordered-pair must make the statement true for both equations in order to be a solution to the system.

    Solve a System by Graphing

    Example 4.1.3

    Solve the system by graphing: \[\left\{ \begin{array}{l}y=-\dfrac{1}{2}x+3 \\ y=\dfrac{3}{4}x-2\end{array}\right.\nonumber\]

    Solution

    We first need to decide the method in which we will graph. We learned in the previous chapter to make a table, use intercepts, or use the slope-intercept form. Notice both equations are given in slope-intercept form. Let’s go ahead and use the slope-intercept form to graph the lines.

    \[\begin{array}{ll}y=-\dfrac{1}{2}x+3&(1) \\ y=\dfrac{3}{4}x-2&(2)\end{array}\nonumber\]

    We will graph line (1) with a solid line and graph line (2) with a dashed line.

    clipboard_e37fdd0cde29222f9cca9e9636ebc3c0c.png
    Figure 4.1.1

    We can see after graphing the two lines that they intersect at the point \((4, 1)\). Hence, the solution to the system is \((4, 1)\).

    Example 4.1.4

    Solve the system by graphing: \[\left\{\begin{array}{l}6x-3y=-9 \\ 2x+2y=-6\end{array}\right.\nonumber\]

    Solution

    We first need to decide the method in which we will graph. We learned in the previous chapter to make a table, use intercepts, or use the slope-intercept form. Since both equations are not given in slope-intercept form as in Example 4.1.3 , we can rewrite them in slope-intercept form, then graph. So, let’s rewrite each equation in slope-intercept form: \[\begin{array}{ll}6x-3y=-9 &2x+2y=-6 \\ -3y=-6x-9&2y=-2x-6 \\ y=\dfrac{-6x}{-3}-\dfrac{9}{-3}&y=\dfrac{-2}{2}x-\dfrac{6}{2} \\ y=2x+3&y=-x-3\end{array}\nonumber\]

    Let’s go ahead and use the slope-intercept form to graph the lines.

    \[\begin{array}{ll}y=2x+3&(1) \\ y=-x-3&(2)\end{array}\nonumber\]

    We will graph line (1) with a solid line and graph line (2) with a dashed line.

    clipboard_eac5f68886e164e569690b6e17df7ce43.png
    Figure 4.1.2

    We can see after graphing the two lines that they intersect at the point \((−2, −1)\). Hence, the solution to the system is \((−2, −1)\).

    Example 4.1.5

    Solve the system by graphing: \[\left\{\begin{array}{l}y=\dfrac{3}{2}x-4 \\ y=\dfrac{3}{2}x+1\end{array}\right.\nonumber\]

    Solution

    We first need to decide the method in which we will graph. We learned in the previous chapter to make a table, use intercepts, or use the slope-intercept form. Notice both equations are given in slope-intercept form. Let’s go ahead and use the slope-intercept form to graph the lines.

    \[\begin{array}{ll}y=\dfrac{3}{2}x-4&(1) \\ y=\dfrac{3}{2}x+1&(2)\end{array}\nonumber\]

    We will graph line (1) with a solid line and graph line (2) with a dashed line.

    clipboard_ed4ecc8ec549ff84dd2732d5c57fa6940.png
    Figure 4.1.3

    We can see after graphing the two lines that these two lines are parallel. Hence, there is no solution to the system (since they will never intersect). Note, we could see by the system that these lines shared the same slope, but had different \(y\)-intercepts. Without graphing, we could have seen that these lines were parallel, hence, having no solution.

    Example 4.1.6

    Solve the system by graphing: \[\left\{\begin{array}{l}2x-6y=12 \\ 3x-9y=18\end{array}\right.\nonumber\]

    Solution

    We first need to decide the method in which we will graph. We learned in the previous chapter to make a table, use intercepts, or use the slope-intercept form. Since neither of the equations are written in slope-intercept form, let’s try graphing by making a table for each equation. Start with equation (1):

    \[\begin{array}{lr} x=-3\quad & 2\color{blue}{(-3)}\color{black}{}-6y=12 \\ & -6-6y=12 \\ &-6y=18 \\ & y=-3\end{array}\nonumber\]

    \[\begin{array}{lr} x=0\quad & 2\color{blue}{(0)}\color{black}{}-6y=12 \\ &-6y=12 \\ &y=-2\end{array}\nonumber\]

    \[\begin{array}{lr} x=3\quad & 2\color{blue}{(3)}\color{black}{}-6y=12 \\ &6-6y=12 \\ &-6y=6 \\ &y=-1 \end{array}\nonumber\]

    Table 4.1.1
    \(x\) \(y\)
    \(-3\) \(-3\)
    \(0\) \(-2\)
    \(3\) \(-1\)

    Next, equation (2):

    \[\begin{array}{lr} x=-3\quad &3\color{blue}{(-3)}\color{black}{}-9y=18 \\ &-9-9y=18 \\ &-9y=27 \\ &y=-3\end{array}\nonumber\]

    \[\begin{array}{lr} x=0\quad &3\color{blue}{(0)}\color{black}{}-9y=18 \\ &-9y=18 \\ &y=-2\end{array}\nonumber\]

    \[\begin{array}{lr}x=3\quad &3\color{blue}{(3)}\color{black}{}-9y=18 \\ &9-9y=18 \\ &-9y=9 \\ &y=-1\end{array}\nonumber\]

    Table 4.1.2
    \(x\) \(y\)
    \(-3\) \(-3\)
    \(0\) \(-2\)
    \(3\) \(-1\)

    Now, let’s graph the ordered-pairs. We will graph line (1) with a solid line and graph line (2) with a dashed line.

    clipboard_e4e3cfec76ed78801aa0e6a9ca03941a0.png
    Figure 4.1.4

    We can see after graphing the two lines that these two lines are the same. Hence, there are infinitely many solutions on the line \(2x − 6y = 12\) (or the other equation) to the system (since they intersect at every point on the line). Note, we could see by the system that these lines shared the same slope and \(y\)-intercepts (after putting them in slope-intercept form). Without graphing, we could have seen that these lines were the same line, hence, having infinitely many solutions.

    Note

    The Babylonians were the first to work with systems of equations with two variables. However, their work with systems was quickly passed by the Greeks, around 300 AD, who would solve systems of equations with three or four variables and eventually developed methods for solving systems with any number of unknowns.

    Systems of Equations: Graphing Homework

    Determine whether the given ordered pair(s) is a solution to the system.

    Exercise 4.1.1

    \(\begin{array}{l}2x+8y=0 \\ -8x+3y=38;\: (-4,1)\end{array}\)

    Exercise 4.1.2

    \(\begin{array}{l}-5x+6y=11 \\ 4x+2y=-4;\: (-1,1)\end{array}\)

    Exercise 4.1.3

    \(\begin{array}{l}6x+5y=49 \\ -x-6y=-34;\: (4,5)\end{array}\)

    Exercise 4.1.4

    \(\begin{array}{l} -2x+2y=-8 \\ -6x-3y=-6;\: (2,-2)\end{array}\)

    Solve each system by graphing.

    Exercise 4.1.5

    \(\begin{array}{l}y=-x+1 \\ y=-5x-3\end{array}\)

    Exercise 4.1.6

    \(\begin{array}{l}y=-3 \\ y=-x-4\end{array}\)

    Exercise 4.1.7

    \(\begin{array}{l}y=-\dfrac{3}{4}x+1 \\ y=-\dfrac{3}{4}x+2\end{array}\)

    Exercise 4.1.8

    \(\begin{array}{l}y=\dfrac{1}{3}x+2 \\ y=-\dfrac{5}{3}x-4\end{array}\)

    Exercise 4.1.9

    \(\begin{array}{l}y=\dfrac{5}{3}x+4 \\ y=-\dfrac{2}{3}x-3\end{array}\)

    Exercise 4.1.10

    \(\begin{array}{l}x+3y=-9 \\ 5x+3y=3\end{array}\)

    Exercise 4.1.11

    \(\begin{array}{l}x-y=4 \\ 2x+y=-1\end{array}\)

    Exercise 4.1.12

    \(\begin{array}{l}2x+3y=-6 \\ 2x+y=2\end{array}\)

    Exercise 4.1.13

    \(\begin{array}{l}2x+y=2 \\ x-y=4\end{array}\)

    Exercise 4.1.14

    \(\begin{array}{l}2x+y=-2 \\ x+3y=9\end{array}\)

    Exercise 4.1.15

    \(\begin{array}{l}0=-6x-9y+36 \\ 12=6x-3y\end{array}\)

    Exercise 4.1.16

    \(\begin{array}{l}2x-y=-1 \\ 0=-2x-y-3\end{array}\)

    Exercise 4.1.17

    \(\begin{array}{l}3+y=-x \\ -4-6x=-y\end{array}\)

    Exercise 4.1.18

    \(\begin{array}{l}-y+7x=4 \\ -y-3+7x=0\end{array}\)

    Exercise 4.1.19

    \(\begin{array}{l}-12+x=4y \\ 12-5x=4y\end{array}\)

    Exercise 4.1.20

    \(\begin{array}{l}y=-\dfrac{5}{4}x-2 \\ y=-\dfrac{1}{4}x+2\end{array}\)

    Exercise 4.1.21

    \(\begin{array}{l}y=-x-2 \\ y=\dfrac{2}{3}x+3\end{array}\)

    Exercise 4.1.22

    \(\begin{array}{l}y=2x+2 \\ y=-x-4\end{array}\)

    Exercise 4.1.23

    \(\begin{array}{l}y=2x-4 \\ y=\dfrac{1}{2}x+2\end{array}\)

    Exercise 4.1.24

    \(\begin{array}{l}y=\dfrac{1}{2}x+4 \\ y=\dfrac{1}{2}x+1\end{array}\)

    Exercise 4.1.25

    \(\begin{array}{l}x+4y=-12 \\ 2x+y=4\end{array}\)

    Exercise 4.1.26

    \(\begin{array}{l}6x+y=-3 \\ x+y=2\end{array}\)

    Exercise 4.1.27

    \(\begin{array}{l}3x+2y=2 \\ 3x+2y=-6\end{array}\)

    Exercise 4.1.28

    \(\begin{array}{l}x+2y=6 \\ 5x-4y=16\end{array}\)

    Exercise 4.1.29

    \(\begin{array}{l}x-y=3 \\ 5x+2y=8\end{array}\)

    Exercise 4.1.30

    \(\begin{array}{l}-2y+x=4 \\ 2=-x+\dfrac{1}{2}y\end{array}\)

    Exercise 4.1.31

    \(\begin{array}{l}-2y=-4-x \\ -2y=-5x+4\end{array}\)

    Exercise 4.1.32

    \(\begin{array}{l}16=-x-4y \\ -2x=-4-4y\end{array}\)

    Exercise 4.1.33

    \(\begin{array}{l}-4+y=x \\ x+2=-y\end{array}\)

    Exercise 4.1.34

    \(\begin{array}{l}-5x+1=-y \\ -y+x=-3\end{array}\)


    This page titled 4.1: System of Equations - Graphing is shared under a CC BY-NC-SA 4.0 license and was authored, remixed, and/or curated by Darlene Diaz (ASCCC Open Educational Resources Initiative) via source content that was edited to the style and standards of the LibreTexts platform; a detailed edit history is available upon request.