Skip to ContentGo to accessibility pageKeyboard shortcuts menu
OpenStax Logo
Algebra 1

2.11.3 Sketching Solutions to Inequalities

Algebra 12.11.3 Sketching Solutions to Inequalities

Search for key terms or text.

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 xy=5xy=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.

The graph of the line x minus y equals 5 on a coordinate grid displays the line crosses the y-axis at negative five and intersects the x-axis at 5.
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.
The graph on the coordinate plane shows a region with a vertical boundary line that is dashed and shaded to the right. The vertical line intersects the x-axis at (3, 0).
6.
The graph on the coordinate plane shows a region shaded below a horizontal boundary line that is solid. The horizontal line has a y-intercept at (0, negative 2).
7.
The graph on the coordinate plane displays an inequalilty that is shaded above a dashed boundary line that passes through the points (negative 4, negative 4), (0, 0) and (5, 5).
8.
The graph on the coordinate plane displays an inequalilty that is shaded below a solid boundary line that passes through the points (negative 4, negative 4), (0, 0) and (5, 5).

Are you ready for more?

Extending Your Thinking

The graph on the coordinate plane displays an inequalilty that is shaded above a dashed boundary line.

This is a graph of the inequality x2y<3x2y<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 x2yx2y for both of these points.

2.

Which point comes closest to satisfying the equation x2y=3x2y=3? That is, for which (x,y)(x,y) pair is x2yx2y 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 x2y=3x2y=3?

4.

Find a point in the solution region that comes even closer to satisfying the equation x2y=3x2y=3. What is the value of x2yx2y?

5.

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

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

6.

Find the value of x2yx2y.

7.

Find two other points that give the same answer.

Self Check

Which graph represents the inequality y 3 x + 2 ?
  1. GRAPH OF A LINEAR INEQUALITY IN TWO VARIABLES WITH A SOLID LINE, SHADING BELOW THE LINE, Y-INTERCEPT OF 2, AND X-INTERCEPT OF -‚Öî.
  2. GRAPH OF A LINEAR INEQUALITY IN TWO VARIABLES WITH A DOTTED LINE, SHADING BELOW THE LINE, Y-INTERCEPT OF 2, AND X-INTERCEPT OF -‚Öî.
  3. GRAPH OF A LINEAR INEQUALITY IN TWO VARIABLES WITH A SOLID LINE, SHADING ABOVE THE LINE, Y-INTERCEPT OF 2, AND X-INTERCEPT OF -‚Öî.
  4. ALT TEXT: GRAPH OF A LINEAR INEQUALITY IN TWO VARIABLES WITH A DOTTED LINE, SHADING ABOVE THE LINE, Y-INTERCEPT OF 2, AND X-INTERCEPT OF -‚Öî.

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.

A number line from negative 5 to 5 with arrows above it. On the number line, there is an open parenthesis at 3 with the numbers to the right of 3 shaded. Above the number line is a set of arrows. One arrow points left from 3 and is labeled numbers less than 3. The other arrow above the number line points right from 3 and is labeled numbers greater than 3.

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:

Two number line graphs: the left shows a ray starting at point a (open parenthesis) and extending left for x less than a; the right shows a ray starting at point a (closed bracket) and extending left for x less than or equal to a.

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.

Ax+By<CAx+By<C Ax+ByCAx+ByC
Ax+By>CAx+By>C Ax+ByCAx+ByC
Boundary line is Ax+By=CAx+By=C Boundary line is Ax+By=CAx+By=C
Boundary line is not included in solution. Boundary line is included in solution.
Boundary line is dashed. Boundary line is solid.

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.

The graph of y equals x plus four on a coordinate plane. Five additional points are plotted on the plane at (0, 0), (1, 6), (2, 6), (negative 5, negative 15), and (negative 8, 12).

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 y equals x plus four on a coordinate plane. Six additional points are plotted on the plane at (0, 10), (0, 0), (1, 6), (2, 6), (negative 5, negative 15), and (negative 8, 12).  The half plane above the line and to the left is labeled as y greater than x plus 4. The region below the line and to the right is labeled as y less than x plus 4.

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 wherey=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.

A graph with a red dashed line representing y equals x plus 2. The area above the line is shaded in red, indicating the solution to the inequality y greather than x plus 2.

Try it

Try It: Recognize the Relation Between the Solutions of an Inequality and its Graph

The graph of y=12x3y=12x3 is shown here.

The graph of the line on the coordinate plane.

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

Citation/Attribution

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 permission.

Want to cite, share, or modify this book? This book uses the Creative Commons Attribution-NonCommercial-ShareAlike License and you must attribute OpenStax.

Attribution information
  • If you are redistributing all or part of this book in a 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 digital format, then you must 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

© May 21, 2025 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 are not subject to the Creative Commons license and may not be reproduced without the prior and express written consent of Rice University.