3.8: Linear Inequalities (Two Variables)
 Page ID
 24123
Learning Objectives
 Identify and check solutions to linear inequalities with two variables.
 Graph solution sets of linear inequalities with two variables.
Solutions to Linear Inequalities
We know that a linear equation with two variables has infinitely many ordered pair solutions that form a line when graphed. A linear inequality with two variables, on the other hand, has a solution set consisting of a region that defines half of the plane.
Linear Equation  Linear Inequality 

\(y=\frac{3}{2}x+3\)  \(y\leq \frac{3}{2}x+3\) 
Figure 3.8.1 
Figure 3.8.2 
Table 3.8.1
For the inequality, the line defines one boundary of the region that is shaded. This indicates that any ordered pair that is in the shaded region, including the boundary line, will satisfy the inequality. To see that this is the case, choose a few test points and substitute them into the inequality.
\(\color{Cerulean}{Test\:point}\)  \(y\leq\frac{3}{2}x+3\) 
\((0,0)\)  \(\begin{aligned} 0&\leq \frac{3}{2}(0)+3 \\ 0&\leq 3 \quad\color{Cerulean}{\checkmark} \end{aligned}\) 
\((2,1)\)  \(\begin{aligned} 1&\leq \frac{3}{2}(2)+3 \\ 1&\leq 3+3 \\ 1&\leq 6\quad\color{Cerulean}{\checkmark}\end{aligned}\) 
\((2,1)\)  \(\begin{aligned} 1&\leq\frac{3}{2}(2)+3 \\ 1&\leq 3+3 \\ 1&\leq 0\quad\color{Cerulean}{\checkmark} \end{aligned}\) 
Table 3.8.2
Also, we can see that ordered pairs outside the shaded region do not solve the linear inequality.
\(\begin{array} {cc} {\underline{\color{Cerulean}{Test\:point}}}&{\underline{y\leq\frac{3}{2}x+3}}\\{(2,3)} &{3\leq\frac{3}{2}(2)+3}\\{}&{3\leq 3+3}\\{}&{3\leq 0\quad\color{red}{x}} \end{array}\)
The graph of the solution set to a linear inequality is always a region. However, the boundary may not always be included in that set. In the previous example, the line was part of the solution set because of the “or equal to” part of the inclusive inequality \(≤\). If we have a strict inequality \(<\), we would then use a dashed line to indicate that those points are not included in the solution set.
NonInclusive Boundary  Inclusive Boundary 

\(y<\frac{3}{2}x+3\)  \(y\leq \frac{3}{2}x+3\) 
Figure 8.3.3 
Figure 8.3.4 
Table 3.8.3
Consider the point \((0, 3)\) on the boundary; this ordered pair satisfies the linear equation. It is the “or equal to” part of the inclusive inequality that makes it part of the solution set.
\(\begin{array}{cc}{\underline{y<\frac{3}{2}x+3}}&{\underline{y\leq \frac{3}{2}x+3}}\\{3<\frac{3}{2}(0)+3}&{3\leq\frac{3}{2}(0)+3}\\{3<0+3}&{3\leq 0+3}\\{3<3\quad\color{red}{x}}&{3\leq 3\quad\color{Cerulean}{\checkmark}} \end{array}\)
So far, we have seen examples of inequalities that were “less than.” Now consider the following graphs with the same boundary:
Greater Than (Above)  Less Than (Below) 

\(y\geq \frac{3}{2}x+3\)  \(y\leq \frac{3}{2}x+3\) 
Figure 8.3.5 
Figure 3.8.6 
Table 3.8.4
Given the graphs above, what might we expect if we use the origin \((0, 0)\) as a test point?
\(\begin{array}{cc}{\underline{y\geq\frac{3}{2}x+3}}&{\underline{y\leq\frac{3}{2}x+3}}\\{0\geq\frac{3}{2}(0)+3}&{0\leq\frac{3}{2}(0)+3}\\{0\geq 0+3}&{0\leq0+3}\\{0\geq 3\quad\color{red}{x}}&{0\leq 3\quad\color{Cerulean}{\checkmark}} \end{array}\)
Exercise \(\PageIndex{1}\)
Which of the ordered pairs \((−2, −1), (0, 0), (−2, 8), (2, 1),\) and \((4, 2)\) solve the inequality \(y>−\frac{1}{2}x+2\)?
 Answer

\((−2, 8)\) and \((4, 2)\)
Graphing Solutions to Linear Inequalities
Solutions to linear inequalities are a shaded halfplane, bounded by a solid line or a dashed line. This boundary is either included in the solution or not, depending on the given inequality. If we are given a strict inequality, we use a dashed line to indicate that the boundary is not included. If we are given an inclusive inequality, we use a solid line to indicate that it is included. The steps for graphing the solution set for an inequality with two variables are outlined in the following example.
Example \(\PageIndex{1}\)
Graph the solution set:
\(y>−3x+1\).
Solution:
Step 1: Graph the boundary line. In this case, graph a dashed line \(y=−3x+1\) because of the strict inequality. By inspection, we see that the slope is \(m=−3=−\frac{3}{1}=\frac{rise}{run}\) and the \(y\)intercept is \((0, 1)\).
Figure 3.8.7
Step 2: Test a point not on the boundary. A common test point is the origin \((0, 0)\). The test point helps us determine which half of the plane to shade.
\(\begin{array}{cc} {\underline{\color{Cerulean}{Test\:point}}}&{\underline{y>3x+1}}\\{(0,0)}&{0>3(0)+1}\\{}&{0>1\quad\color{red}{x}} \end{array}\)
Step 3: Shade the region containing the solutions. Since the test point \((0, 0)\) was not a solution, it does not lie in the region containing all the ordered pair solutions. Therefore, shade the half of the plane that does not contain this test point. In this case, shade above the boundary line.
Answer:
Figure 3.8.8
Consider the problem of shading above or below the boundary line when the inequality is in slopeintercept form. If \(y>mx+b\), then shade above the line. If \(y<mx+b\), then shade below the line. Use this with caution; sometimes the boundary is given in standard form, in which case these rules do not apply.
Example \(\PageIndex{2}\)
Graph the solution set:
\(2x−5y≥−10\).
Solution:
Here the boundary is defined by the line \(2x−5y=−10\). Since the inequality is inclusive, we graph the boundary using a solid line. In this case, graph the boundary line using intercepts.
\(\begin{array}{cc} {\underline{\color{Cerulean}{To\:find\:the\:xintercept,\:set\:y=0.}}}&{\underline{\color{Cerulean}{To\:find\:the\:yintercept,\:set\:x=0.}}} \\ {\begin{aligned} 2x5y&=10 \\ 2x5(\color{OliveGreen}{0}\color{black}{)}&=10 \\ 2x&=10 \\ x&=5 \end{aligned}}&{\begin{aligned} 2x5y&=10 \\ 2(\color{OliveGreen}{0}\color{black}{)5y}&=10 \\ 5y&=10 \\ y&=2 \end{aligned}} \\ {xintercept:\:(5,0)}&{yintercept:\:(0,2)} \end{array}\)
Figure 3.8.9
Next, test a point; this helps decide which region to shade.
\(\begin{array} {cc} {\underline{\color{Cerulean}{Test\:point}}}&{\underline{2x5y\geq 10}}\\{(0,0)}&{2(0)5(0)\geq 10} \\ {}&{0\geq 10\quad\color{Cerulean}{\checkmark}} \end{array}\)
Since the test point is in the solution set, shade the half of the plane that contains it.
Answer:
Figure 3.8.10
In this example, notice that the solution set consists of all the ordered pairs below the boundary line. This may be counterintuitive because of the original \(≥\) in the inequality. This illustrates that it is a best practice to actually test a point. Solve for \(y\) and you see that the shading is correct.
\(\begin{aligned} 2x5y&\geq 10 \\ 2x5y\color{Cerulean}{2x}&\geq 10\color{Cerulean}{2x} \\ 5y&\geq 2x10 \\ \frac{5y}{\color{Cerulean}{5}}&\color{OliveGreen}{\leq}\color{black}{\frac{2x10}{\color{Cerulean}{5}}}\quad\color{Cerulean}{Reverse\:the\:inequality.} \\ y&\leq \frac{2}{5}x+2 \end{aligned}\)
In slopeintercept form, you can see that the region below the boundary line should be shaded. An alternate approach is to first express the boundary in slopeintercept form, graph it, and then shade the appropriate region.
Example \(\PageIndex{3}\)
Graph the solution set:
\(y<2\).
Solution:
First, graph the boundary line \(y=2\) with a dashed line because of the strict inequality.
Figure 3.8.11
Now, test a point.
\(\begin{array}{cc}{\underline{\color{Cerulean}{Test\:point}}}&{\underline{y<2}}\\{(0,0)}&{0<2\quad\color{Cerulean}{\checkmark}} \end{array}\)
In this case, shade the region that contains the test point.
Answer:
Figure 3.8.12
Exercise \(\PageIndex{2}\)
Graph the solution set:
\(5x−y≤10\).
 Answer

Figure 3.8.13
Key Takeaways
 Linear inequalities with two variables have infinitely many ordered pair solutions, which can be graphed by shading in the appropriate half of a rectangular coordinate plane.
 To graph the solution set of a linear inequality with two variables, first graph the boundary with a dashed or solid line depending on the inequality. If given a strict inequality, use a dashed line for the boundary. If given an inclusive inequality, use a solid line. Next, choose a test point not on the boundary. If the test point solves the inequality, then shade the region that contains it; otherwise, shade the opposite side.
 When graphing the solution sets of linear inequalities, it is a good practice to test values in and out of the solution set as a check.
Exercise \(\PageIndex{3}\) Solutions to Linear Inequalities (Two Variables)
Is the ordered pair a solution to the given inequality?
 \(y<5x+1\); \((0,0)\)
 \(y>−\frac{1}{2}x−4\); \((0, −2)\)
 \(y≤\frac{2}{3}x+1\); \((6, 5)\)
 \(y≥−\frac{1}{3}x−5\); \((−3, −8)\)
 \(y<\frac{1}{5}x\frac{1}{3}\); \((\frac{1}{2},1)\)
 \(4x3y\leq 2\); \((2,1)\)
 \(x+4y>7\); \((0, 0)\)
 \(7x−3y<21\); \((5,3)\)
 \(y>−5\); \((−3, −1)\)
 \(x≤0\); \((0, 7)\)
 Answer

1. Yes
3. Yes
5. Yes
7. No
9. Yes
Exercise \(\PageIndex{4}\) Graphing Solutions to Linear Inequalities
Graph the solution set.
 \(y<−3x+3\)
 \(y<−\frac{2}{3}x+4\)
 \(y≥−\frac{1}{2}x\)
 \(y≥\frac{4}{5}x−8\)
 \(y≤8x−7\)
 \(y>−5x+3\)
 \(y>−x+4\)
 \(y>x−2\)
 \(y≥−1\)
 \(y<−3\)
 \(x<2\)
 \(x≥2\)
 \(y≤\frac{3}{4}x−\frac{1}{2}\)
 \(y>−\frac{3}{2}x+\frac{5}{2}\)
 \(−2x+3y>6\)
 \(7x−2y>14\)
 \(5x−y<10\)
 \(xy<0\)
 \(3x−2y≥0\)
 \(x−5y≤0\)
 \(−x+2y≤−4\)
 \(−x+2y≤3\)
 \(2x−3y≥−1\)
 \(5x−4y<−3\)
 \(\frac{1}{2}x\frac{1}{3}y<1\)
 \(\frac{1}{2}x\frac{1}{10}y\geq\frac{1}{2}\)
 \(x≥−2y\)
 \(x<2y+3\)
 \(3x−y+2>0\)
 \(3−y−2x<0\)
 \(−4x≤12−3y\)
 \(5x≤−4y−12\)
 Write an inequality that describes all points in the upper halfplane above the \(x\)axis.
 Write an inequality that describes all points in the lower halfplane below the \(x\)axis.
 Write an inequality that describes all points in the halfplane left of the \(y\)axis.
 Write an inequality that describes all points in the halfplane right of the \(y\)axis.
 Write an inequality that describes all ordered pairs whose \(y\)coordinates are at least \(2\).
 Write an inequality that describes all ordered pairs whose \(x\)coordinate is at most \(5\).
 Answer

1.
Figure 3.8.14
3.
Figure 3.8.15
5.
Figure 3.8.16
7.
Figure 3.8.17
9.
Figure 3.8.18
11.
Figure 3.8.19
13.
Figure 3.8.20
15.
Figure 3.8.21
17.
Figure 3.8.22
19.
Figure 3.8.23
21.
Figure 3.8.24
23.
Figure 3.8.25
25.
Figure 3.8.26
27.
Figure 3.8.27
29.
Figure 3.8.28
31.
Figure 3.8.29
33. \(y>0\)
35. \(x<0\)
37. \(y≥2\)