Skip to main content
\(\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}}\)
Mathematics LibreTexts

3.5: Graphing Systems of Linear Inequalities

  • Page ID
    29056
  • \( \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}}\)

    Summary

    By the end of this section, you will be able to:

    • Determine whether an ordered pair is a solution of a system of linear inequalities
    • Solve a system of linear inequalities by graphing
    • Solve applications of systems of inequalities

    Before you get started, take this readiness quiz.

    1. Solve the inequality \(2a<5a+12\).
      If you missed this problem, review [link].
    2. Determine whether the ordered pair \((3,12)\) is a solution to the system \(y>2x+3\).
      If you missed this problem, review [link].

    Determine whether an ordered pair is a solution of a system of linear inequalities

    The definition of a system of linear inequalities is very similar to the definition of a system of linear equations.

    SYSTEM OF LINEAR INEQUALITIES

    Two or more linear inequalities grouped together form a system of linear inequalities.

    A system of linear inequalities looks like a system of linear equations, but it has inequalities instead of equations. A system of two linear inequalities is shown here.

    \[\left\{\begin{array} {l} x+4y\geq 10\\3x−2y<12\end{array}\right.\nonumber\]

    To solve a system of linear inequalities, we will find values of the variables that are solutions to both inequalities. We solve the system by using the graphs of each inequality and show the solution as a graph. We will find the region on the plane that contains all ordered pairs \((x,y)\) that make both inequalities true.

    SOLUTIONS OF A SYSTEM OF LINEAR INEQUALITIES

    Solutions of a system of linear inequalities are the values of the variables that make all the inequalities true.

    The solution of a system of linear inequalities is shown as a shaded region in the x, y coordinate system that includes all the points whose ordered pairs make the inequalities true.

    To determine if an ordered pair is a solution to a system of two inequalities, we substitute the values of the variables into each inequality. If the ordered pair makes both inequalities true, it is a solution to the system.

    Example \(\PageIndex{1}\)

    Determine whether the ordered pair is a solution to the system \(\left\{\begin{array} {l} x+4y\geq 10\\3x−2y<12\end{array}\right.\)

    ⓐ \((−2,4)\) ⓑ \((3,1)\)

    Answer

    ⓐ Is the ordered pair \((−2,4)\) a solution?

    We substitute x equal to negative 2 and y equal to 4 into both inequalities. First inequality is x plus 4 times y greater than or equal to 10. So negative 2 plus 4 open parentheses 4 close parenthesis is greater than or equal to 10 or not. 14 is greater than or equal to 10 is true. Second inequality, 3 times x minus 2 times y is less than 12. Three open parentheses negative 2 close parentheses minus two open parentheses 4 close parentheses is less than 12 or not. Negative 14 is less than 12 is true.

    The ordered pair \((−2,4)\) made both inequalities true. Therefore \((−2,4)\) is a solution to this system.

    ⓑ Is the ordered pair \((3,1)\) a solution?

    We substitute x equal to three and y equal to one into both inequalities. First inequality is x plus four times y greater than or equal to ten. So three plus four open parentheses one close parenthesis is greater than or equal to ten or not. Seven greater than or equal to ten is false. Second inequality, three times x minus two times y is less than twelve. Three open parentheses three close parentheses minus two open parentheses one close parentheses is less than twelve or not. Seven less than 12 holds true.

    The ordered pair \((3,1)\) made one inequality true, but the other one false. Therefore \((3,1)\) is not a solution to this system.

    Example \(\PageIndex{2}\)

    Determine whether the ordered pair is a solution to the system: \(\left\{ \begin{array} {l} x−5y>10\\2x+3y>−2 \end{array} \right.\)

    ⓐ \((3,−1)\) ⓑ \((6,−3)\)

    Answer

    ⓐ no ⓑ yes

    Example \(\PageIndex{3}\)

    Determine whether the ordered pair is a solution to the system: \(\left\{ \begin{array} {l} y>4x−2\\4x−y<20 \end{array} \right.\)

    ⓐ \((−2,1)\) ⓑ \((4,−1)\)

    Answer

    ⓐ yes ⓑ no

    Solve a System of Linear Inequalities by Graphing

    The solution to a single linear inequality is the region on one side of the boundary line that contains all the points that make the inequality true. The solution to a system of two linear inequalities is a region that contains the solutions to both inequalities. To find this region, we will graph each inequality separately and then locate the region where they are both true. The solution is always shown as a graph.

    Example \(\PageIndex{4}\): How to Solve a System of Linear Inequalities by Graphing

    Solve the system by graphing: \(\left\{\begin{array} {l} y\geq 2x−1 \\ y<x+1\end{array}\right.\)

    Answer

    Step 1. Graph the first inequality. We graph y less than 2x minus 1. Graph the boundary line y equal to 2x minus 1. It is a solid line because the inequality sign is less than. Shade in the side of the boundary line where the inequality is true. We choose 0, 0 as a test point. It is a solution to the equation, so we shade in above the boundary line.Step 2. On the same grid, graph the second inequality y less than x plus 1. Graph the boundary line y equal to x plus 1. It is a dashed line because the inequality sign is less than. Shade in the side of that boundary line where the inequality is true. Again, we use 0, 0 as a test point. It is a solution so we shade below the line y equals x plus 1.Step 3. The solution is the region where the shading overlaps. The point where the boundary lines intersect is not a solution because it is not a solution to y less than x plus 1. The solution is all points in the area bounded by the lines on the bottom left.Step 4. Check by choosing a test point. We use minus 1, minus 1. Substituting in the inequality y less than 2x minus 1, we get minus 1 less than minus 3 which is true. Hence, it is a solution. Similarly, it is also true for the other inequality. The region containing minus 1, minus 1 is the solution to this system.

    Example \(\PageIndex{5}\)

    Solve the system by graphing: \(\left\{\begin{array} {l} y<3x+2\\y>−x−1\end{array}\right.\)

    Answer

    The figure shows a graph plotted for the inequalities y less than three times x plus two and y greater than minus x minus one. Two lines intersect each other on the graph. An area to the right of both the lines is colored in grey. It is the solution.


    The solution is the grey region.

    Example \(\PageIndex{6}\)

    Solve the system by graphing: \(\left\{\begin{array} {l} y<−12x+3 \\ y<3x−4\end{array}\right.\)

    Answer

    The figure shows the graph plotted for the inequalities y less than minus half of x plus three and y less than three times x minus four. Two intersecting lines are shown on the graph. The area bound by the two lines to the bottom right is shown in grey. It is the solution.


    The solution is the grey region.

    SOLVE A SYSTEM OF LINEAR INEQUALITIES BY GRAPHING.

    1. Graph the first inequality.
      • Graph the boundary line.
      • Shade in the side of the boundary line where the inequality is true.
    2. On the same grid, graph the second inequality.
      • Graph the boundary line.
      • Shade in the side of that boundary line where the inequality is true.
    3. The solution is the region where the shading overlaps.
    4. Check by choosing a test point.

    Example \(\PageIndex{7}\)

    Solve the system by graphing: \(\left\{\begin{array} {l} x−y>3\\y<−15x+4\end{array}\right.\)

    Answer
    \(\left\{\begin{array} {l} x−y>3\\y<−15x+4\end{array}\right.\)
    Graph xy > 3, by graphing xy = 3
    and testing a point.

    The intercepts are x = 3 and y = −3 and the
    boundary line will be dashed.

    Test (0, 0) which makes the inequality false so shade
    (red) the side that does not contain (0, 0).
    .
    Graph \(y<−15x+4\) by graphing \(y=−15x+4\)
    using the slope \(m=−15\) and y-intercept b = 4.
    The boundary line will be dashed

    Test (0, 0) which makes the inequality true, so
    shade (blue) the side that contains (0, 0).

    Choose a test point in the solution and verify that it is a solution to both inequalties.
    .

    The point of intersection of the two lines is not included as both boundary lines were dashed. The solution is the area shaded twice—which appears as the darkest shaded region.

    Example \(\PageIndex{8}\)

    Solve the system by graphing: \(\left\{\begin{array} {l} x+y\leq 2 \\ y\geq \frac{2}{3}x−1\end{array}\right.\)

    Answer

    The figure shows the graph for the inequalities x plus y less than or equal to two and y greater than or equal to two by three of x minus one. Two intersecting lines are shown and the region bound by both the lines is the marked in grey. It is the solution.


    The solution is the grey region.

    Example \(\PageIndex{9}\)

    Solve the system by graphing: \(\left\{\begin{array} {l} 3x−2y\leq 6\\y>−\frac{1}{4}x+5\end{array} \right.\)

    Answer

    The figure shows graph for the inequalities three times x minus two times y less than or equal to six and y greater than or equal to minus one by four of x plus five. Two intersecting lines are shown and the region bound by both the lines is the marked in grey. It is the solution.


    The solution is the grey region.

    Example \(\PageIndex{10}\)

    Solve the system by graphing: \(\left\{\begin{array} {l} x−2y<5\\y>−4\end{array}\right.\)

    Answer
    \(\left\{\begin{array} {l} x−2y<5\\y>−4\end{array}\right.\)
    Graph \(x−2y<5\), by graphing \(x−2y=5\)
    and testing a point. The intercepts are
    x = 5 and y = −2.5 and the
    boundary line will be dashed.

    Test (0, 0) which makes the inequality true, so shade
    (red) the side that contains (0, 0).
    .
    Graph \(y>−4\), by graphing \(y=−4\) and
    recognizing that it is a horizontal line
    through \(y=−4\). The boundary line will
    be dashed.

    Test (0, 0) which makes the inequality
    true so shade (blue) the side that contains (0, 0).
    .

    The point \((0,0)\) is in the solution and we have already found it to be a solution of each inequality. The point of intersection of the two lines is not included as both boundary lines were dashed.

    The solution is the area shaded twice—which appears as the darkest shaded region.

    Example \(\PageIndex{11}\)

    Solve the system by graphing: \(\left\{\begin{array} {l} y\geq 3x−2 \\ y<−1\end{array}\right.\)

    Answer

    The figure shows graph for the inequalities y greater than or equal to three times x minus two and y less than minus one. Two intersecting lines are shown and the region bound by both the lines is the marked in grey. It is the solution


    The solution is the grey region.

    Example \(\PageIndex{12}\)

    Solve the system by graphing: \(\left\{\begin{array} {l} x>−4x−2 \\ y\geq −4 \end{array}\right.\)

    Answer

    The figure shows graph for the inequalities x greater than or equal to minus four and x minus two times y greater than minus four. Two intersecting lines are shown and the region bound by both the lines is the marked in grey. It is the solution.


    The solution is the grey region.

    Systems of linear inequalities where the boundary lines are parallel might have no solution. We’ll see this in the next example.

    Example \(\PageIndex{13}\)

    Solve the system by graphing: \(\left\{\begin{array} {l} 4x+3y\geq 12 \\ y<−\frac{4}{3}x+1\end{array}\right.\)

    Answer
    \(\left\{\begin{array} {l} 4x+3y\geq 12 \\ y<−\frac{4}{3}x+1\end{array}\right.\)
    Graph \(4x+3y\geq 12\), by graphing \(4x+3y=12\)
    and testing a point. The intercepts are x = 3
    and y = 4 and the boundary line will be solid.

    Test (0, 0) which makes the inequality false, so
    shade (red) the side that does not contain (0, 0).
    .
    Graph \(y<−\frac{4}{3}x+1\) by graphing \(y=−\frac{4}{3}x+1\)
    using the slope \(m=−\frac{4}{3}\) and y-intercept
    b = 1. The boundary line will be dashed.

    Test (0, 0) which makes the inequality true, so
    shade (blue) the side that contains (0, 0).
    .

    There is no point in both shaded regions, so the system has no solution.

    Example \(\PageIndex{14}\)

    Solve the system by graphing: \(\left\{\begin{array} {l} 3x−2y\geq 12 \\ y\geq \frac{3}{2}x+1\end{array}\right.\)

    Answer

    The graph of three times x minus two times y greater than or equal to twelve and y greater than or equal to three by two of x plus one is shown. Two intersecting lines are shown. The inequalities do not have a solution.


    No solution.

    Example \(\PageIndex{15}\)

    Solve the system by graphing: \(\left\{\begin{array} {l} x+3y>8\\y<−\frac{1}{3}x−2\end{array}\right.\)

    Answer

    The graph of x plus three times y greater than eight and y less than minus one by three of x minus two is shown. Two intersecting lines are shown. The inequalities do not have a solution.


    No solution.

    Some systems of linear inequalities where the boundary lines are parallel will have a solution. We’ll see this in the next example.

    Example \(\PageIndex{16}\)

    Solve the system by graphing: \(\left\{\begin{array} {l} y>\frac{1}{2}x−4\\x−2y<−4\end{array}\right.\)

    Answer
    \(\left\{\begin{array} {l} y>\frac{1}{2}x−4\\x−2y<−4\end{array}\right.\)
    Graph \(y>\frac{1}{2}x−4\) by graphing \(y=\frac{1}{2}x−4\)
    using the slope \(m=\frac{1}{2}\) and the intercept
    b = −4. The boundary line will be dashed.

    Test (0, 0) which makes the inequality true, so
    shade (red) the side that contains (0, 0).
    .
    Graph \(x−2y<−4\) by graphing \(x−2y=−4\)
    and testing a point. The intercepts are
    x = −4 and y = 2 and the boundary line will be dashed.

    Choose a test point in the solution and verify
    that it is a solution to both inequalties.

    Test (0, 0) which makes the inequality false, so
    shade (blue) the side that does not contain (0, 0).
    .

    No point on the boundary lines is included in the solution as both lines are dashed.

    The solution is the region that is shaded twice which is also the solution to \(x−2y<−4\).

    Example \(\PageIndex{17}\)

    Solve the system by graphing: \(\left\{\begin{array} {l} y\geq 3x+1 \\ −3x+y\geq −4\end{array}\right.\)

    Answer

    The figure shows the graph of the inequalities y greater than or equal to three times x plus one and minus three times x plus y greater than or equal to minus four. Two parallel lines are shown and the region to the left of both is colored in grey. It is the solution.


    The solution is the grey region.

    Example \(\PageIndex{18}\)

    Solve the system by graphing: \(\left\{\begin{array} {l} y\leq −\frac{1}{4}x+2\\x+4y\leq 4\end{array}\right.\)

    Answer

    The figure shows the graph of the inequalities y less than or equal to minus one fourth of x plus 2 and x plus four times y less than or equal to four. Two parallel lines are shown and the region to the bottom of both is colored in grey. It is the solution.


    The solution is the grey region.

    Solve Applications of Systems of Inequalities

    The first thing we’ll need to do to solve applications of systems of inequalities is to translate each condition into an inequality. Then we graph the system, as we did above, to see the region that contains the solutions. Many situations will be realistic only if both variables are positive, so we add inequalities to the system as additional requirements.

    Example \(\PageIndex{19}\)

    Christy sells her photographs at a booth at a street fair. At the start of the day, she wants to have at least 25 photos to display at her booth. Each small photo she displays costs her $4 and each large photo costs her $10. She doesn’t want to spend more than $200 on photos to display.

    ⓐ Write a system of inequalities to model this situation.
    ⓑ Graph the system.
    ⓒ Could she display 10 small and 20 large photos?
    ⓓ Could she display 20 large and 10 small photos?

    Answer


    \(\begin{array} {ll} \text{Let} &{x=\text{the number of small photos.}} \\ {} &{y=\text{the number of large photos}}\end{array}\)

    To find the system of equations translate the information.

    \( \qquad \begin{array} {l} \\ \\ \text{She wants to have at least 25 photos.} \\ \text{The number of small plus the number of large should be at least }25. \\ \hspace{45mm} x+y\geq 25 \\ \\ \\ $4 \text{ for each small and }$10\text{ for each large must be no more than }$200 \\ \hspace{40mm} 4x+10y\leq 200 \\ \\ \\ \text{The number of small photos must be greater than or equal to }0. \\ \hspace{50mm} x\geq 0 \\ \\ \\ \text{The number of large photos must be greater than or equal to }0. \\ \hspace{50mm} y\geq 0 \end{array} \)

    We have our system of equations.

    \(\hspace{65mm} \left\{\begin{array} {l} x+y\geq 25 \\4x+10y\leq 200\\x\geq 0\\y\geq 0\end{array}\right.\)


    Since \(x\geq 0\) and \(y\geq 0\) (both are greater than or equal to) all solutions will be in the first quadrant. As a result, our graph shows only quadrant one.

    To graph \(x+y\geq 25\), graph \(x+y=25\) as a solid line.
    Choose (0, 0) as a test point. Since it does not make the inequality true, shade (red) the side that does not include the point (0, 0).

    To graph \(4x+10y\leq 200\), graph \(4x+10y=200\) as a solid line.
    Choose (0, 0) as a test point. Since it does make the inequality true, shade (blue) the side that include the point (0, 0).
    .

    The solution of the system is the region of the graph that is shaded the darkest. The boundary line sections that border the darkly-shaded section are included in the solution as are the points on the x-axis from (25, 0) to (55, 0).

    ⓒ To determine if 10 small and 20 large photos would work, we look at the graph to see if the point (10, 20) is in the solution region. We could also test the point to see if it is a solution of both equations.

    It is not, Christy would not display 10 small and 20 large photos.

    ⓓ To determine if 20 small and 10 large photos would work, we look at the graph to see if the point (20, 10) is in the solution region. We could also test the point to see if it is a solution of both equations.

    It is, so Christy could choose to display 20 small and 10 large photos.

    Notice that we could also test the possible solutions by substituting the values into each inequality.

    Example \(\PageIndex{20}\)

    A trailer can carry a maximum weight of 160 pounds and a maximum volume of 15 cubic feet. A microwave oven weighs 30 pounds and has 2 cubic feet of volume, while a printer weighs 20 pounds and has 3 cubic feet of space.

    ⓐ Write a system of inequalities to model this situation.
    ⓑ Graph the system.
    ⓒ Could 4 microwaves and 2 printers be carried on this trailer?
    ⓓ Could 7 microwaves and 3 printers be carried on this trailer?

    Answer

    ⓐ \(\left\{\begin{array} {l} 30m+20p\leq 160\\2m+3p\leq 15\end{array}\right.\)

    The graph of two intersecting lines, one red and one blue, is shown. The area bound by the two lines is shown in grey.


    ⓒ yes
    ⓓ no

    Example \(\PageIndex{21}\)

    Mary needs to purchase supplies of answer sheets and pencils for a standardized test to be given to the juniors at her high school. The number of the answer sheets needed is at least 5 more than the number of pencils. The pencils cost $2 and the answer sheets cost $1. Mary’s budget for these supplies allows for a maximum cost of $400.

    ⓐ Write a system of inequalities to model this situation.
    ⓑ Graph the system.
    ⓒ Could Mary purchase 100 pencils and 100 answer sheets?
    ⓓ Could Mary purchase 150 pencils and 150 answer sheets?

    Answer

    ⓐ \(\left\{\begin{array} {l} a\geq p+5 \\ a+2p\leq 400\end{array}\right.\)

    The graph of two intersecting lines, one red and one blue, is shown. The area bound by the two lines is shown in grey.


    ⓒ no
    ⓓ no

    When we use variables other than x and y to define an unknown quantity, we must change the names of the axes of the graph as well.

    Example \(\PageIndex{22}\)

    Omar needs to eat at least 800 calories before going to his team practice. All he wants is hamburgers and cookies, and he doesn’t want to spend more than $5. At the hamburger restaurant near his college, each hamburger has 240 calories and costs $1.40. Each cookie has 160 calories and costs $0.50.

    ⓐ Write a system of inequalities to model this situation.
    ⓑ Graph the system.
    ⓒ Could he eat 3 hamburgers and 1 cookie?
    ⓓ Could he eat 2 hamburgers and 4 cookies?

    Answer


    \(\begin{array} {ll} \text{Let} &{h=\text{the number of hamburgers.} \\ &{c=\text{the number of cookies}\end{array}\)

    To find the system of equations translate the information.

    The calories from hamburgers at 240 calories each, plus the calories from cookies at 160 calories each must be more that 800.

    \(\qquad \begin{array} {l} \hspace{40mm} 240h+160c\geq 800 \\ \\ \\ \text{The amount spent on hamburgers at }$1.40\text{ each, plus the amount spent on cookies}\\\text{at }$0.50\text{ each must be no more than }$5.00.\\ \hspace{40mm} 1.40h+0.50c\leq 5 \\ \\ \\ \text{The number of hamburgers must be greater than or equal to 0.} \\ \hspace{50mm} h\geq 0 \\ \text{The number of cookies must be greater than or equal to 0.}\\ \hspace{50mm} c\geq 0 \end{array} \)

    \(\text{We have our system of equations.} \qquad \left\{ \begin{array} {l} 240h+160c\geq 800 \\ 1.40h+0.50c\leq 5 \\ h\geq 0 \\ c\geq 0\end{array} \right.\)


    Since \(h\geq 0\) and \(c\geq 0\) (both are greater than or equal to) all solutions will be in the first quadrant. As a result, our graph shows only quadrant one.

    To graph \(240h+160c\geq 800\), graph \(240h+160c=800\) as a solid line.


    Choose (0, 0) as a test point. Since it does not make the inequality true, shade (red) the side that does not include the point (0, 0).
    .

    Graph \(1.40h+0.50c\leq 5\). The boundary line is \(1.40h+0.50c=5\). We test (0, 0) and it makes the inequality true. We shade the side of the line that includes (0, 0).

    The solution of the system is the region of the graph that is shaded the darkest. The boundary line sections that border the darkly shaded section are included in the solution as are the points on the x-axis from (5, 0) to (10, 0).

    ⓒ To determine if 3 hamburgers and 2 cookies would meet Omar’s criteria, we see if the point (3, 2) is in the solution region. It is, so Omar might choose to eat 3 hamburgers and 2 cookies.

    ⓓ To determine if 2 hamburgers and 4 cookies would meet Omar’s criteria, we see if the point (2, 4) is in the solution region. It is, Omar might choose to eat 2 hamburgers and 4 cookies.

    We could also test the possible solutions by substituting the values into each inequality.

    Example \(\PageIndex{23}\)

    Tension needs to eat at least an extra 1,000 calories a day to prepare for running a marathon. He has only $25 to spend on the extra food he needs and will spend it on $0.75 donuts which have 360 calories each and $2 energy drinks which have 110 calories.

    ⓐ Write a system of inequalities that models this situation.
    ⓑ Graph the system.
    ⓒ Can he buy 8 donuts and 4 energy drinks and satisfy his caloric needs?
    ⓓ Can he buy 1 donut and 3 energy drinks and satisfy his caloric needs?

    Answer

    ⓐ \(\left\{\begin{array} {l} 0.75d+2e\leq 25\\360d+110e\geq 1000\end{array}\right.\)

    The graph of two intersecting lines, one red and one blue, is shown. The area bound by the two lines is shown in grey.


    ⓒ yes
    ⓓ no

    Example \(\PageIndex{24}\)

    Philip’s doctor tells him he should add at least 1,000 more calories per day to his usual diet. Philip wants to buy protein bars that cost $1.80 each and have 140 calories and juice that costs $1.25 per bottle and have 125 calories. He doesn’t want to spend more than $12.

    ⓐ Write a system of inequalities that models this situation.
    ⓑ Graph the system.
    ⓒ Can he buy 3 protein bars and 5 bottles of juice?
    ⓓ Can he buy 5 protein bars and 3 bottles of juice?

    Answer

    ⓐ \(\left\{\begin{array} {l} 140p+125j\geq 1000\\1.80p+1.25j\leq 12\end{array}\right.\)

    The graph of two intersecting lines, one red and one blue, is shown. The area bound by the two lines is shown in grey.


    ⓒ yes
    ⓓ no

    Access these online resources for additional instruction and practice with solving systems of linear inequalities by graphing.

    Key Concepts

    • Solutions of a System of Linear Inequalities: Solutions of a system of linear inequalities are the values of the variables that make all the inequalities true. The solution of a system of linear inequalities is shown as a shaded region in the x, ycoordinate system that includes all the points whose ordered pairs make the inequalities true.
    • How to solve a system of linear inequalities by graphing.
      1. Graph the first inequality.
        Graph the boundary line.
        Shade in the side of the boundary line where the inequality is true.
      2. On the same grid, graph the second inequality.
        Graph the boundary line.
        Shade in the side of that boundary line where the inequality is true.
      3. The solution is the region where the shading overlaps.
      4. Check by choosing a test point.

    Section Exercises

    Practice Makes Perfect

    Determine Whether an Ordered Pair is a Solution of a System of Linear Inequalities

    In the following exercises, determine whether each ordered pair is a solution to the system.

    \(\left\{\begin{array} {l} 3x+y>5\\2x−y\leq 10\end{array}\right.\)

    ⓐ \((3,−3)\)
    ⓑ \((7,1)\)

    \(\left\{\begin{array} {l} 4x−y<10\\−2x+2y>−8\end{array}\right.\)

    ⓐ \((5,−2)\)
    ⓑ \((−1,3)\)

    Answer

    ⓐ false ⓑ true

    \(\left\{\begin{array} {l} y>\frac{2}{3}x−5\\x+\frac{1}{2}y\leq 4\end{array}\right.\)

    ⓐ \((6, −4)\)
    ⓑ \((3, 0)\)

    \(\left\{\begin{array} {l} y<\frac{3}{2}x+3\\ \frac{3}{4}x−2y<5\end{array}\right.\)

    ⓐ \((−4,−1)\)
    ⓑ \((8, 3)\)

    Answer

    ⓐ false ⓑ true

    \(\left\{\begin{array} {l} 7x+2y>14\\5x−y\leq 8\end{array}\right.\)

    ⓐ \((2, 3)\)
    ⓑ \((7, −1)\)

    \(\left\{\begin{array} {l} 6x−5y<20\\−2x+7y>−8 \end{array}\right.\)

    ⓐ \((1, −3)\)
    ⓑ \((−4, 4)\)

    Answer

    ⓐ false ⓑ true

    Solve a System of Linear Inequalities by Graphing

    In the following exercises, solve each system by graphing.

    \(\left\{\begin{array} {l} y\leq 3x+2\\y>x−1\end{array}\right.\)

    \(\left\{\begin{array} {l} y<−2x+2\\y\geq −x−1\end{array}\right.\)

    Answer

    The figure shows the graph of inequalities y less than minus two times x plus two and y greater than or equal to minus x minus one. Two intersecting lines are shown, one in red and the other in blue. The area bound by the two lines is shown in grey.


    The solution is the grey region.

    \(\left\{\begin{array} {l} y<2x−1\\y\leq −\frac{1}{2}x+4\end{array}\right.\)

    \(\left\{\begin{array} {l} y\geq −\frac{2}{3}x+2\\y>2x−3\end{array}\right.\)

    Answer

    The figure shows the graph of the inequalities y greater than or equal to minus two by three x plus two and y greater than two times x minus three. Two intersecting lines, one in red and the other in blue, are shown. The region bound by them is shown in grey.


    The solution is the grey region.

    \(\left\{\begin{array} {l} x−y>1\\y<−\frac{1}{4}x+3\end{array}\right.\)

    \(\left\{\begin{array} {l} x+2y<4\\y<x−2\end{array}\right.\)

    Answer

    The figure shows the graph of the inequalities x minus two times y less than four and y less than x minus two. Two intersecting lines, one in blue and the other in red, are shown. The area bound by the lines is shown in grey.


    The solution is the grey region.

    \(\left\{\begin{array} {l} 3x−y\geq 6\\y\geq −\frac{1}{2}x\end{array}\right.\)

    \(\left\{\begin{array} {l} x+4y\geq 8\\y\leq \frac{3}{4}x\end{array}\right.\)

    Answer

    The figure shows the graph of the inequalities two times x plus four times y greater than or equal to eight and y less than or equal to minus three fourth of x. Two intersecting lines, one in blue and the other in red, are shown. The area bound by the lines is shown in grey. It is the solution.


    The solution is the grey region.

    \(\left\{\begin{array} {l} 2x−5y<10\\3x+4y\geq 12\end{array}\right.\)

    \(\left\{\begin{array} {l} 3x−2y\leq 6\\−4x−2y>8\end{array}\right.\)

    Answer

    The figure shows the graph of the inequalities three times x minus two times y less than or equal to six and minus four times x minus two times y greater than eight. Two intersecting lines, one in blue and the other in red, are shown. The area bound by the lines is shown in grey. It is the solution.


    The solution is the grey region.

    \(\left\{\begin{array} {l} 2x+2y>−4\\−x+3y\geq 9\end{array}\right.\)

    \(\left\{\begin{array} {l} 2x+y>−6\\−x+2y\geq −4\end{array}\right.\)

    Answer

    The figure shows the graph of the inequalities two times x plus y greater than minus six and minus x plus two times y greater than or equal to minus four. Two intersecting lines, one in blue and the other in red, are shown. The area bound by the lines is shown in grey. It is the solution.


    The solution is the grey region.

    \(\left\{\begin{array} {l} x−2y<3\\y\leq 1\end{array}\right.\)

    \(\left\{\begin{array} {l} x−3y>4\\y\leq −1\end{array}\right.\)

    Answer

    The figure shows the graph of the inequalities x minus three times y greater than four and y less than or equal to minus one. Two intersecting lines, one in blue and the other in red, are shown. The area bound by the lines is shown in grey. It is the solution.


    The solution is the grey region.

    \(\left\{\begin{array} {l} y\geq −\frac{1}{2}x−3\\x\leq 2\end{array}\right.\)

    \(\left\{\begin{array} {l} y\leq −\frac{2}{3}x+5\\x\geq 3\end{array}\right.\)

    Answer

    The figure shows the graph of the inequality y less than or equal to minus two by three times x plus five and x greater than or equal to three. Two intersecting lines, one in blue and the other in red, are shown. The area bound by the lines is shown in grey. It is the solution.


    The solution is the grey region.

    \(\left\{\begin{array} {l} y\geq \frac{3}{4}x−2\\y<2\end{array}\right.\)

    \(\left\{\begin{array} {l} y\leq −\frac{1}{2}x+3\\y<1\end{array}\right.\)

    Answer

    The figure shows the graph of the inequalities y less than or equal to minus half x plus three and y less than one. Two intersecting lines, one in blue and the other in red, are shown. The area bound by the lines is shown in grey. It is the solution.


    The solution is the grey region.

    \(\left\{\begin{array} {l} 3x−4y<8\\x<1\end{array}\right.\)

    \(\left\{\begin{array} {l} −3x+5y>10\\x>−1\end{array}\right.\)

    Answer

    The figure shows the graph of the inequalities minus three times x plus five times y greater than ten and x greater than minus one. Two intersecting lines, one in blue and the other in red, are shown. The area bound by the lines is shown in grey. It is the solution.


    The solution is the grey region.

    \(\left\{\begin{array} {l} x\geq 3\\y\leq 2\end{array}\right.\)

    \(\left\{\begin{array} {l} x\leq −1\\y\geq 3\end{array}\right.\)

    Answer

    The figure shows the graph of the inequalities x less than or equal to minus one and y greater than or equal to three. Two intersecting lines, one in blue and the other in red, are shown. The area bound by the lines is shown in grey. It is the solution.


    The solution is the grey region.

    \(\left\{\begin{array} {l} 2x+4y>4 \\ y\leq −\frac{1}{2}x−2\end{array}\right.\)

    \(\left\{\begin{array} {l} x−3y\geq 6\\y>\frac{1}{3}x+1\end{array}\right.\)

    Answer

    The figure shows the graph of the inequalities x minus three times y greater than or equal to six and y greater than one third of x plus one. Two non intersecting lines, one in blue and the other in red, are shown.


    No solution.

    \(\left\{\begin{array} {l} −2x+6y<0\\6y>2x+4\end{array}\right.\)

    \(\left\{\begin{array} {l} −3x+6y>12\\4y\leq 2x−4\end{array}\right.\)

    Answer

    The figure shows the graph of the inequalities minus three times x plus six times y greater than twelve and four times y less than or equal to two times x minus four. Two non intersecting lines, one in blue and the other in red, are shown.


    No solution.

    \(\left\{\begin{array} {l} y\geq −3x+2\\3x+y>5\end{array}\right.\)

    \(\left\{\begin{array} {l} y\geq \frac{1}{2}x−1\\−2x+4y\geq 4\end{array}\right.\)

    Answer

    The figure shows the graph of the inequalities y greater than or equal to minus half x minus one and minus two times x plus four times y greater than or equal to four. Two non intersecting lines, one in blue and the other in red, are shown. The solution area is shown in grey.


    The solution is the grey region.

    \(\left\{\begin{array} {l} y\leq −\frac{1}{4}x−2\\x+4y<6\end{array}\right.\)

    \(\left\{\begin{array} {l} y\geq 3x−1\\−3x+y>−4\end{array}\right.\)

    Answer

    The figure shows the graph of the inequalities y greater than or equal to three times x minus one and minus three times x plus y greater than minus four. Two non intersecting lines, one in blue and the other in red, are shown. The solution area is shown in grey.


    The solution is the grey region.

    \(\left\{\begin{array} {l} 3y>x+2\\−2x+6y>8\end{array}\right.\)

    \(\left\{\begin{array} {l} y<\frac{3}{4}x−2\\−3x+4y<7\end{array}\right.\)

    Answer

    The figure shows the graph of the inequalities y less than three by fourth x minus two and minus three x plus four y less than seven. Two non intersecting lines, one in blue and the other in red, are shown. The solution area is shown in grey.


    The solution is the grey region.

    Solve Applications of Systems of Inequalities

    In the following exercises, translate to a system of inequalities and solve.

    Caitlyn sells her drawings at the county fair. She wants to sell at least 60 drawings and has portraits and landscapes. She sells the portraits for $15 and the landscapes for $10. She needs to sell at least $800 worth of drawings in order to earn a profit.

    ⓐ Write a system of inequalities to model this situation.
    ⓑ Graph the system.
    ⓒ Will she make a profit if she sells 20 portraits and 35 landscapes?
    ⓓ Will she make a profit if she sells 50 portraits and 20 landscapes?

    Jake does not want to spend more than $50 on bags of fertilizer and peat moss for his garden. Fertilizer costs $2 a bag and peat moss costs $5 a bag. Jake’s van can hold at most 20 bags.

    ⓐ Write a system of inequalities to model this situation.
    ⓑ Graph the system.
    ⓒ Can he buy 15 bags of fertilizer and 4 bags of peat moss?
    ⓓ Can he buy 10 bags of fertilizer and 10 bags of peat moss?

    Answer

    ⓐ \(\left\{\begin{array} {l} f\geq 0 \\ p\geq 0 \\ f+p\leq 202 \\ f+5p\leq 50\end{array}\right.\)

    The figure shows the graph of the inequalities f plus p less than or equal to twenty and two f and five p less than or equal to fifty. Two intersecting lines, one in blue and the other in red, are shown. An area is shown in grey.


    ⓒ yes
    ⓓ no

    Reiko needs to mail her Christmas cards and packages and wants to keep her mailing costs to no more than $500. The number of cards is at least 4 more than twice the number of packages. The cost of mailing a card (with pictures enclosed) is $3 and for a package the cost is $7.

    ⓐ Write a system of inequalities to model this situation.
    ⓑ Graph the system.
    ⓒ Can she mail 60 cards and 26 packages?
    ⓓ Can she mail 90 cards and 40 packages?

    Juan is studying for his final exams in chemistry and algebra. he knows he only has 24 hours to study, and it will take him at least three times as long to study for algebra than chemistry.

    ⓐ Write a system of inequalities to model this situation.
    ⓑ Graph the system.
    ⓒ Can he spend 4 hours on chemistry and 20 hours on algebra?
    ⓓ Can he spend 6 hours on chemistry and 18 hours on algebra?

    Answer

    ⓐ \(\left\{\begin{array} {l} c\geq 0\\a\geq 0\\c+a\leq 24\\a\geq 3c\end{array}\right.\)

    The figure shows the graph of the inequalities c plus a less than or equal to twenty four and a greater than or equal to three times c. Two intersecting lines, one in blue and the other in red, are shown. An area is shown in grey.


    ⓒ yes
    ⓓ no

    Jocelyn is pregnant and so she needs to eat at least 500 more calories a day than usual. When buying groceries one day with a budget of $15 for the extra food, she buys bananas that have 90 calories each and chocolate granola bars that have 150 calories each. The bananas cost $0.35 each and the granola bars cost $2.50 each.

    ⓐ Write a system of inequalities to model this situation.
    ⓑ Graph the system.
    ⓒ Could she buy 5 bananas and 6 granola bars?
    ⓓ Could she buy 3 bananas and 4 granola bars?

    Mark is attempting to build muscle mass and so he needs to eat at least an additional 80 grams of protein a day. A bottle of protein water costs $3.20 and a protein bar costs $1.75. The protein water supplies 27 grams of protein and the bar supplies 16 gram. If he has $10 dollars to spend

    ⓐ Write a system of inequalities to model this situation.
    ⓑ Graph the system.
    ⓒ Could he buy 3 bottles of protein water and 1 protein bar?
    ⓓ Could he buy no bottles of protein water and 5 protein bars?

    Answer

    ⓐ \(\left\{\begin{array} {l} w\geq 0\\b\geq 0\\27w+16b>80\\3.20w+1.75b\leq 10\end{array}\right.\)

    The figure shows the graph of the inequalities twenty seven times w plus sixteen times b greater than eighty and three point two times w plus one point seven five b less than or equal to ten. Two intersecting lines, one in blue and the other in red, are shown. An area is shown in grey.


    ⓒ no
    ⓓ yes

    Jocelyn desires to increase both her protein consumption and caloric intake. She desires to have at least 35 more grams of protein each day and no more than an additional 200 calories daily. An ounce of cheddar cheese has 7 grams of protein and 110 calories. An ounce of parmesan cheese has 11 grams of protein and 22 calories.

    ⓐ Write a system of inequalities to model this situation.
    ⓑ Graph the system.
    ⓒ Could she eat 1 ounce of cheddar cheese and 3 ounces of parmesan cheese?
    ⓓ Could she eat 2 ounces of cheddar cheese and 1 ounce of parmesan cheese?

    Mark is increasing his exercise routine by running and walking at least 4 miles each day. His goal is to burn a minimum of 1500 calories from this exercise. Walking burns 270 calories/mile and running burns 650 calories.

    ⓐ Write a system of inequalities to model this situation.
    ⓑ Graph the system.
    ⓒ Could he meet his goal by walking 3 miles and running 1 mile?
    ⓓ Could he his goal by walking 2 miles and running 2 mile

    Answer

    ⓐ \(\left\{\begin{array} {l} w\geq 0\\r\geq 0\\w+r\geq 4\\270w+650r\geq 1500\end{array}\right.\)

    The figure shows the graph of the inequalities w plus r greater than or equals to four and two seventy w plus six fifty r greater than or equal to fifteen hundred. Two intersecting lines, one in blue and the other in red, are shown. An area is shown in grey.


    ⓒ no
    ⓓ yes

    Writing Exercises

    Graph the inequality \(x−y\geq 3\). How do you know which side of the line \(x−y=3\) should be shaded?

    Graph the system \(\left\{\begin{array} {l} x+2y\leq 6 \\ y\geq −\frac{1}{2}x−4\end{array}\right.\). What does the solution mean?

    Answer

    Answers will vary.

    Self Check

    ⓐ After completing the exercises, use this checklist to evaluate your mastery of the objectives of this section.

    The figure shows a table with four columns and four rows. The first row is the title row. The four titles are I can…, confidently, with some help and No – I don’t get it! In the second row of the first column, the text says ‘determine whether an ordered pair is a solution of a system of linear inequalities.’ In the third row of the first column, the text says ‘solve applications of systems of inequalities.’

    ⓑ What does this checklist tell you about your mastery of this section? What steps will you take to improve?

    Glossary

    system of linear inequalities
    Two or more linear inequalities grouped together form a system of linear inequalities.
    • Was this article helpful?