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.

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

Compare your answer:

The graph of the inequality representing x minus y less than 5 on a coordinate grid displays the line as dashed and the shaded region located above the line and to the left.
2.

x − y ≤ 5 x − y ≤ 5

Compare your answer:

The graph of the inequality representing x minus y less than or equal to 5 on a coordinate grid displays the line as solid and the shaded region located above the line and to the left.
3.

x − y > 5 x − y > 5

Compare your answer:

The graph of the inequality representing x minus y greater than 5 on a coordinate grid displays the line as dashed and the shaded region located below the line and to the right.
4.

x − y ≥ 5 x − y ≥ 5

Compare your answer:

The graph of the inequality representing x minus y greater than or equal to 5 on a coordinate grid displays the line as solid and the shaded region located below the line and to the right.

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

Compare your answer:

x>3x>3

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

Compare your answer:

y≤−2y≤−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).

Compare your answer:

y>xy>x

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

Compare your answer:

y≤xy≤x or x≥yx≥y

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

Compare your answer:

1 and -3

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?

Compare your answer:

(7,3)(7,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?

Compare your answer:

Compare your answer: (5,2)(5,2) is closer because (3,2)=(3)−(2)(2)=−1(3,2)=(3)−(2)(2)=−1   (5,2)=(5)−(2)(2)=1(5,2)=(5)−(2)(2)=1

1 is closer to 3 than -1, so the point that comes closest to satisfying the equation is (5,2)(5,2).

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?

Compare your answer: Your answer may vary, but here is a sample.  6−(2)(2)=26−(2)(2)=2

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.

Compare your answer: Your answer may vary, but here is a sample.  (3,1)(3,1) Any point on the line y=12x−12y=12x−12 will work.

Use the point (5,3)(5,3) to answer questions 6 and 7.

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

6.

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

x=5x=5

y=3y=3

(5)−2(3)(5)−2(3)

5−6=−15−6=−1

7.

Find two other points that give the same answer.

Compare your answer: Your answer may vary, but here are some samples.

  • (3,2)(3,2) (from previous work), (1,1)(1,1)
  • Any point on the line y=12x+12y=12x+12 will work.

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+By≤CAx+By≤C
Ax+By>CAx+By>C Ax+By≥CAx+By≥C
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.
Comparison of strict and non-strict linear inequalities, detailing their boundary line properties and graphical representation.

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

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

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

The graph of y=12x−3y=12x−3 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<12x−3.y<12x−3. using the Desmos tool below.

Compare your answer:

y<12x−3y<12x−3

The graph of the inequality on the coordinate plane displaying a shaded region below the dashed boundary line.