If you're seeing this message, it means we're having trouble loading external resources on our website. Show If you're behind a web filter, please make sure that the domains *.kastatic.org and *.kasandbox.org are unblocked. By the end of this section, you will be able to: NoteBefore you get started, take this readiness quiz.
Verify Solutions to an Inequality in Two VariablesWe have learned how to solve inequalities in one variable. Now, we will look at inequalities in two variables. Inequalities in two variables have many applications. If you ran a business, for example, you would want your revenue to be greater than your costs—so that your business would make a profit. LINEAR INEQUALITYA linear inequality is an inequality that can be written in one of the following forms: \[A x+B y>C \quad A x+B y \geq C \quad A x+B y<C \quad A x+B y \leq C \nonumber\] where \(A\) and \(B\) are not both zero. Do you remember that an inequality with one variable had many solutions? The solution to the inequality \(x>3\) is any number greater than \(3\). We showed this on the number line by shading in the number line to the right of \(3\), and putting an open parenthesis at \(3\). See Figure \(\PageIndex{1}\). Figure \(\PageIndex{1}\)Similarly, inequalities in two variables have many solutions. Any ordered pair \( (x, y)\) that makes the inequality true when we substitute in the values is a solution of the inequality. Solution OF A LINEAR INEQUALITYAn ordered pair \( (x, y)\) is a solution of a linear inequality if the inequality is true when we substitute the values of \(x\) and \(y\). Exercise \(\PageIndex{1}\)Determine whether each ordered pair is a solution to the inequality \(y>x+4\):
Exercise \(\PageIndex{2}\)Determine whether each ordered pair is a solution to the inequality \(y>x−3\):
Exercise \(\PageIndex{3}\)Determine whether each ordered pair is a solution to the inequality \(y<x+1\):
Recognize the Relation Between the Solutions of an Inequality and its GraphNow, we will look at how the solutions of an inequality relate to its graph. Let’s think about the number line in Figure \(\PageIndex{1}\) again. The point \(x=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 Figure \(\PageIndex{2}\). Figure \(\PageIndex{2}\)The solution to \(x>3\) is the shaded part of the number line to the right of \(x=3\). Similarly, the line \(y=x+4\) separates the plane into two regions. On one side of the line are points with \(y<x+4\). On the other side of the line are the points with \(y>x+4\). We call the line \(y=x+4\) a boundary line. BOUNDARY LINEThe line with equation \(Ax+By=C\) is the boundary line that separates the region where \(Ax+By>C\) from the region where \(Ax+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 indicate whether or not it the line is included in the solution. This is summarized in Table \(\PageIndex{1}\). Table \(\PageIndex{1}\)
Now, let’s take a look at what we found in Exercise \(\PageIndex{1}\). We’ll start by graphing the line \(y=x+4\), and then we’ll plot the five points we tested. See Figure \(\PageIndex{3}\). Figure \(\PageIndex{3}\)In Exercise \(\PageIndex{1}\) we found that some of the points were solutions to the inequality \(y>x+4\) and some were not. Which of the points we plotted are solutions to the inequality \(y>x+4\)? The points \((1,6)\) and \((−8,12)\) are solutions to the inequality \(y>x+4\). Notice that they are both on the same side of the boundary line \(y=x+4\). The two points \((0,0)\) and \((−5,−15)\) are on the other side of the boundary line \(y=x+4\), and they are not solutions to the inequality \(y>x+4\). For those two points, \(y<x+4\). What about the point \((2,6)\)? Because \(6=2+4\), the point is a solution to the equation \(y=x+4\). So the point \((2,6)\) is on the boundary line. Let’s take another point on the left side of the boundary line and test whether or not it is a solution to the inequality \(y>x+4\). The point \((0,10)\) clearly looks to be to the left of the boundary line, doesn’t it? Is it a solution to the inequality? \[\begin{array}{l}{y>x+4} \\ {10\stackrel{?}{>}0+4} \\ {10>4} &{\text{So, }(0,10)\text{ is a solution to }y>x+4.}\end{array}\] Any point you choose on the left side of the boundary line is a solution to the inequality \(y>x+4\). All points on the left are solutions. Similarly, all points on the right side of the boundary line, the side with \((0,0)\) and \((−5,−15)\), are not solutions to \(y>x+4\). See Figure \(\PageIndex{4}\). Figure \(\PageIndex{4}\)The graph of the inequality \(y>x+4\) is shown in Figure \(\PageIndex{5}\) below. The line \(y=x+4\) divides the plane into two regions. The shaded side shows the solutions to the inequality \(y>x+4\). The points on the boundary line, those where \(y=x+4\), are not solutions to the inequality \(y>x+4\), so the line itself is not part of the solution. We show that by making the line dashed, not solid. Figure \(\PageIndex{5}\): The graph of the inequality y>x+4.Exercise \(\PageIndex{4}\)The boundary line shown is \(y=2x−1\). Write the inequality shown by the graph. AnswerThe line \(y=2x−1\) is the boundary line. On one side of the line are the points with \(y>2x−1\) and on the other side of the line are the points with \(y<2x−1\). Let’s test the point \((0,0)\) and see which inequality describes its side of the boundary line. At \((0,0)\), which inequality is true: \[\begin{array}{ll}{y>2 x-1} & {\text { or }} & {y<2 x-1 ?} \\ {y>2 x-1} && {y<2 x-1} \\ {0>2 \cdot 0-1} && {0<2 \cdot 0-1} \\ {0>-1 \text { True }} && {0<-1 \text { False }}\end{array}\] Since \(y>2x−1\) is true, the side of the line with \((0,0)\), is the solution. The shaded region shows the solution of the inequality \(y>2x−1\). Since the boundary line is graphed with a solid line, the inequality includes the equal sign. The graph shows the inequality \(y\geq 2x−1\). We could use any point as a test point, provided it is not on the line. Why did we choose \((0,0)\)? Because it’s the easiest to evaluate. You may want to pick a point on the other side of the boundary line and check that \(y<2x−1\). Exercise \(\PageIndex{5}\)Write the inequality shown by the graph with the boundary line \(y=−2x+3\). \(y\geq −2x+3\) Exercise \(\PageIndex{6}\)Write the inequality shown by the graph with the boundary line \(y=\frac{1}{2}x−4\). Answer\(y \leq \frac{1}{2}x - 4\) Exercise \(\PageIndex{7}\)The boundary line shown is \(2x+3y=6\). Write the inequality shown by the graph. AnswerThe line \(2x+3y=6\) is the boundary line. On one side of the line are the points with \(2x+3y>6\) and on the other side of the line are the points with \(2x+3y<6\). Let’s test the point \((0,0)\) and see which inequality describes its side of the boundary line. At \((0,0)\), which inequality is true: \[\begin{array}{rr}{2 x+3 y>6} && {\text { or } \quad 2 x+3 y<6 ?} \\ {2 x+3 y>6} && {2 x+3 y<6} \\ {2(0)+3(0)>6} & & {2(0)+3(0)<6} \\ {0} >6 & {\text { False }} & {0<6}&{ \text { True }}\end{array}\] So the side with \((0,0)\) is the side where \(2x+3y<6\). (You may want to pick a point on the other side of the boundary line and check that \(2x+3y>6\).) Since the boundary line is graphed as a dashed line, the inequality does not include an equal sign. The graph shows the solution to the inequality \(2x+3y<6\). Exercise \(\PageIndex{8}\)Write the inequality shown by the shaded region in the graph with the boundary line \(x−4y=8\). Answer\(x-4 y \leq 8\) Exercise \(\PageIndex{9}\)Write the inequality shown by the shaded region in the graph with the boundary line \(3x−y=6\). Answer\(3 x-y \leq 6\) Graph Linear InequalitiesNow, we’re ready to put all this together to graph linear inequalities. Exercise \(\PageIndex{10}\): How to Graph Linear InequalitiesGraph the linear inequality \(y \geq \frac{3}{4} x-2\). AnswerExercise \(\PageIndex{11}\)Graph the linear inequality \(y \geq \frac{5}{2} x-4\). Exercise \(\PageIndex{12}\)Graph the linear inequality \(y<\frac{2}{3} x-5\). AnswerThe steps we take to graph a linear inequality are summarized here. GRAPH A LINEAR INEQUALITY.
Exercise \(\PageIndex{13}\)Graph the linear inequality \(x−2y<5\). AnswerFirst we graph the boundary line \(x−2y=5\). The inequality is \(<\) so we draw a dashed line. Then we test a point. We’ll use \((0,0)\) again because it is easy to evaluate and it is not on the boundary line. Is \((0,0)\) a solution of \(x−2y<5\)? The point \((0,0)\) is a solution of \(x−2y<5\), so we shade in that side of the boundary line. Exercise \(\PageIndex{14}\)Graph the linear inequality \(2x−3y\leq 6\). AnswerExercise \(\PageIndex{15}\)Graph the linear inequality \(2x−y>3\). AnswerWhat if the boundary line goes through the origin? Then we won’t be able to use \((0,0)\) as a test point. No problem—we’ll just choose some other point that is not on the boundary line. Exercise \(\PageIndex{16}\)Graph the linear inequality \(y\leq −4x\). AnswerFirst we graph the boundary line \(y=−4x\). It is in slope–intercept form, with \(m=−4\) and \(b=0\). The inequality is \(≤\) so we draw a solid line. Now, we need a test point. We can see that the point \((1,0)\) is not on the boundary line. Is \((1,0)\) a solution of \(y≤−4x\)? The point \((1,0)\) is not a solution to \(y≤−4x\), so we shade in the opposite side of the boundary line. See Figure \(\PageIndex{6}\). Figure \(\PageIndex{6}\)Exercise \(\PageIndex{17}\)Graph the linear inequality \(y>−3x\). Exercise \(\PageIndex{18}\)Graph the linear inequality \(y\geq −2x\). AnswerSome linear inequalities have only one variable. They may have an \(x\) but no \(y\), or a \(y\) but no \(x\). In these cases, the boundary line will be either a vertical or a horizontal line. Do you remember? \(\begin{array}{ll}{x=a} & {\text { vertical line }} \\ {y=b} & {\text { horizontal line }}\end{array}\) Exercise \(\PageIndex{19}\)Graph the linear inequality \(y>3\). AnswerFirst we graph the boundary line \(y=3\). It is a horizontal line. The inequality is \(>\) so we draw a dashed line. We test the point \((0,0)\). \[y>3 \\ 0\not>3\] \((0,0)\) is not a solution to \(y>3\). So we shade the side that does not include \((0,0)\). Exercise \(\PageIndex{20}\)Graph the linear inequality \(y<5\). AnswerExercise \(\PageIndex{21}\)Graph the linear inequality \(y \leq-1\). AnswerKey Concepts
Glossaryboundary lineThe line with equation \(A x+B y=C\) that separates the region where \(A x+B y>C\) from the region where \(A x+B y<C\).linear inequalityAn inequality that can be written in one of the following forms:\[A x+B y>C \quad A x+B y \geq C \quad A x+B y<C \quad A x+B y \leq C\] where \(A\) and \(B\) are not both zero.solution of a linear inequalityAn ordered pair \((x,\,y)\) is a solution to a linear inequality the inequality is true when we substitute the values of \(x\) and \(y\). |