Skip to ContentGo to accessibility page
Algebra 1

2.11.3 Sketching Solutions to Inequalities

Algebra 12.11.3 Sketching Solutions to Inequalities

2.11.3 Sketching Solutions to Inequalities

2.11.3 • Sketching Solutions to Inequalities

Activity

Access the Desmos guide PDF for tips on solving problems with the Desmos graphing calculator.

Here is a graph that represents solutions to the equation x−y=5x−y=5.

Using this graph as a guide, sketch a quick graph that represents the solutions to each of the inequalities in questions 1 – 4. Use the graphing tool or technology outside the course. Graph the equation that represents each scenario using the Desmos tool provided.

1.

x − y < 5 x − y < 5

2.

x − y ≤ 5 x − y ≤ 5

3.

x − y > 5 x − y > 5

4.

x − y ≥ 5 x − y ≥ 5

For each graph in questions 5 – 8, write an inequality whose solutions are represented by the shaded part of the graph.

5.
6.
7.
8.

Are you ready for more?

Extending Your Thinking

This is a graph of the inequality x−2y<3x−2y<3. The points (7,3)(7,3) and (7,5)(7,5) are both in the solution region for this inequality. Use this information to answer questions 1 – 5.

1.

Compute x−2yx−2y for both of these points.

2.

Which point comes closest to satisfying the equation x−2y=3x−2y=3? That is, for which (x,y)(x,y) pair is x−2yx−2y closest to 3?

3.

The points (3,2)(3,2) and (5,2)(5,2) are also in the solution region. Which of these points comes closest to satisfying the equation x−2y=3x−2y=3?

4.

Find a point in the solution region that comes even closer to satisfying the equation x−2y=3x−2y=3. What is the value of x−2yx−2y?

5.

For the points (5,2)(5,2) and (7,3)(7,3), x−2y=1x−2y=1. Find another point in the solution region for which x−2y=1x−2y=1.

Use the point (5,3)(5,3) to answer question 6.

6.

Find the value of x−2yx−2y.

7.

Find two other points that give the same answer.

Self Check

Which graph represents the inequality y ≤ 3 x + 2 ?

Additional Resources

Recognize the Relation Between the Solutions of an Inequality and its Graph

Now, we will look at how the solutions of an inequality relate to its graph. Let’s think about the number line shown previously again. The point x=3x=3 separated that number line into two parts. On one side of 3 are all the numbers less than 3. On the other side of 3 all the numbers are greater than 3. See the figure below.

The solution of x>3x>3 is the shaded part of the number line to the right of x=3x=3

Similarly, the line y=x+4y=x+4 separates the plane into two regions. On one side of the line are points with y<x+4y<x+4 . On the other side of the line are the points with y>x+4y>x+4. We call the line y=x+4y=x+4 a boundary line.

Boundary Line

The line with equation Ax+By=CAx+By=C is the boundary line that separates the region where Ax+By>CAx+By>C from the region where Ax+By<CAx+By<C.

For an inequality in one variable, the endpoint is shown with a parenthesis or a bracket depending on whether or not aa is included in the solution:

Similarly, for an inequality in two variables, the boundary line is shown with a solid or dashed line to show whether or not it the line is included in the solution.

Now, let’s take a look at what we found in the example above. We’ll start by graphing the line y=x+4y=x+4, and then we’ll plot the five points we tested, as shown in the graph. See the figure below.

In the previous example, we found that some of the points were solutions to the inequality y>x+4y>x+4 and some were not.

Which of the points we plotted are solutions to the inequality y>x+4y>x+4?

The points (1,6)(1,6) and (−8,12)(−8,12) are solutions to the inequality y>x+4y>x+4. Notice that they are both on the same side of the boundary line y>x+4y>x+4.

The two points (0,0)(0,0) and (−5,−15)(−5,−15) are on the other side of the boundary line y=x+4y=x+4, and they are not solutions to the inequality y>x+4y>x+4. For those two points. y<x+4y<x+4.

What about the point (2,6)(2,6)? The point (2,6)(2,6) is a solution to the boundary line equation y=x+4y=x+4, because 6=2+46=2+4. However, (2,6)(2,6) is not a solution to the inequality, because the boundary line is not included in the solution to the inequality y>x+4y>x+4.

Let's take another point above the boundary line and test whether or not it is a solution to the inequality y>x+4y>x+4. The point (0,10)(0,10) clearly looks to above the boundary line, doesn't it? Is it a solution to the inequality?

y>x+4y>x+4

10>0+410>0+4

10>410>4

So, (0,10)(0,10) is a solution to y>x+4y>x+4.

Any point you choose above the boundary line is a solution to the inequality y>x+4y>x+4. All points above the boundary line are solutions.

Similarly, all points below the boundary line, the side with (0,0)(0,0) and (−5,−15)(−5,−15), are not solutions to y>x+4y>x+4, as shown in the figure below.

The graph of the inequality y>x+4y>x+4 is shown in below.

The line y=x+4y=x+4 divides the plane into two regions. The shaded side shows the solutions to the inequality y>x+4y>x+4.

The points on the boundary line, those where y=x+4y=x+4, are not solutions to the inequality y>x+4y>x+4, so the line itself is not part of the solution. We show that by making the line dashed, not solid.

Try it

Recognize the Relation Between the Solutions of an Inequality and its Graph

The graph of y=12x−3y=12x−3 is shown here.

Use the graphing tool or technology outside the course. Graph the inequality that represents y<12x−3.y<12x−3. using the Desmos tool below.

Citation/Attribution
Reuse and redistribution of this content in digital or print format:
  • This book may not be used in the training of large language models or otherwise be ingested into large language models or generative AI offerings without OpenStax's prior written permission.
  • This book uses the Creative Commons Attribution-NonCommercial-ShareAlike License, which means that you can reuse and modify the material only for noncommercial purposes, must attribute OpenStax, and must distribute any derivative works under the same license.
  • Any commercial printing of this textbook, including using a local or custom printer, must be approved by OpenStax, and proper citation provided.
  • OpenStax-copyrighted images, activities, assessments, and similar components of this book are subject to the same licensing – CC-BY-NC-SA. They can be used for noncommercial purposes with attribution. Commercial use requires permission.
  • Permission requests: Anyone who intends to incorporate this content (including text, images, and other components) into large language models, use it in AI offerings, use it commercially (including in print), and/or has questions about another use case is welcome to complete our reuse request form.
Attribution information
  • If you are redistributing all or part of this book in a noncommercial print format, then you must include on every physical page the following attribution:

    Access for free at https://openstax.org/books/algebra-1/pages/about-this-course

  • If you are redistributing all or part of this book in a noncommercial digital format, then for every page that includes OpenStax content, you must license the derivative work under the same CC-BY-NC-SA license as the original, and include on every digital page view the following attribution:

    Access for free at https://openstax.org/books/algebra-1/pages/about-this-course

Citation information

The information below includes the information needed to generate citations in most major styles (APA, MLA, etc.); you must reformat and organize the information as needed to fit the requirements of the style. Use the information below to generate a citation. We recommend using a citation tool such as this one.

© Apr 23, 2026 OpenStax. Textbook content produced by OpenStax is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike License. The OpenStax name, OpenStax logo, OpenStax book covers, OpenStax CNX name, and OpenStax CNX logo, and Rice University name, and Rice University logo trademarks, or wordmarks are not subject to the Creative Commons license and may not be reproduced without the prior and express written consent of Rice University.