Algebra
Textbooks
Boundless Algebra
Introduction to Equations, Inequalities, and Graphing
Graphing and Equations of Two Variables
Algebra Textbooks Boundless Algebra Introduction to Equations, Inequalities, and Graphing Graphing and Equations of Two Variables
Algebra Textbooks Boundless Algebra Introduction to Equations, Inequalities, and Graphing
Algebra Textbooks Boundless Algebra
Algebra Textbooks
Algebra
Concept Version 5
Created by Boundless

Graphing Inequalities

The solutions to inequalities can be graphed by drawing a boundary line to divide the coordinate plane in two and shading in one of those parts.

Learning Objective

  • Graph an inequality by shading in the correct section of the plane


Key Points

    • All solutions to a given inequality are located in one half-plane and can be graphed.
    • To graph an inequality, first treat it as a linear equation and graph the corresponding line. Then, shade the correct half-plane to represent all the possible solutions to the inequality.
    • If an inequality uses a $\leq$ or $\geq$ symbol, the boundary line should be drawn solid, meaning that solutions include points on the line itself.
    • If an inequality uses a $<$ or $>$ symbol, the boundary line should be drawn dotted, meaning that solutions do not include any points on the line.

Terms

  • boundary line

    The straight line in the graph of an inequality that defines the half-plane containing the solutions to the inequality.

  • half-plane

    One of the two parts of the coordinate plane created when a line is drawn.


Full Text

In our study of linear equations in two variables, we observed that all the solutions to an equation—and only those solutions— were located on the graph of that equation. We now wish to determine the location of the solutions to linear inequalities in two variables.

Linear inequalities in two variables have one of the following forms: 

  • $ac + by < c$
  • $ac + by \leq c$
  • $ac + by > c$
  • $ac + by \geq c$

Recall that for a linear equation in two variables, ordered pairs that produce true statements when substituted into the equation are called "solutions" to that equation.

We can make a similar statement regarding inequalities in two variables. We say that an inequality in two variables has a solution when a pair of values has been found such that substituting these values into the inequality results in a true statement.

As with equations, solutions to linear inequalities have particular locations in the coordinate plane. For a linear equality in two variables, all solutions are located in one entire half-plane. A straight line drawn through the plane divides the plane into two half-planes, as shown in the diagram below. The straight line shown is called a boundary line.

Half-planes

The boundary line shown above divides the coordinate plane into two half-planes.

For example, consider the following inequality:

 $2x + 3y \leq 6 $

The graph below demonstrates all solutions to this inequality, which fall on the boundary line and in the shaded half-plane.

Graph of $2x + 3y \leq 6$

All points lying on the boundary line and in the shaded half-plane are solutions to this inequality.

Now consider the following inequality:

$y > 2$

The graph below shows the solutions to this inequality: the shaded area above the boundary line. Note that because the inequality uses the $>$ symbol, rather than the $\geq$ symbol, the inequality is strict: points on the boundary line are not solutions, so the line is drawn dotted.

Graph of $y > 2$

All points in the shaded half-plane above the line are solutions to this inequality.

The method of graphing linear inequalities in two variables is as follows.

First, consider the inequality as an equation (i.e., replace the inequality sign with an equals sign) and graph that equation. This is called the boundary line. Note:

  • If the inequality is $\leq$ or $\geq$, draw the boundary line solid. This means that points on the line are solutions and are part of the graph.
  • If the inequality is $<$ or $>$, draw the boundary line dotted. This means that points on the line are not solutions and are not part of the graph.

Determine which half-plane to shade by choosing a test point.

  • If, when substituted, the test point yields a true statement, shade the half-plane containing it.
  • If, when substituted, the test point yields a false statement, shade the half-plane on the opposite side of the boundary line.

Example 1

Graph the following inequality:

$3x - 2y \geq -4$

First, we need to graph the boundary line. To do so, consider the inequality as an equation:

$3x−2y=−4$

Recall that, in order to graph an equation, we can substitute a value for one variable and solve for the other. The resulting ordered pair will be one solution to the equation. So, let's substitute $x = 0 $ to find one solution: 

$\begin{aligned} 3(0) - 2y &= -4 \\ - 2y &= -4 \\ \dfrac{-2y}{-2} &= \dfrac{-4}{-2} \\ y &= 2 \end{aligned}$

Now let's substitute $y=0$ to find another solution: 

$\begin{aligned} 3x - 2(0) &= - 4 \\ 3x &= -4 \\ \dfrac{3x}{3} &= \dfrac{-4}{3} \\ x &= - \dfrac{4}{3} \end{aligned}$

Now we can graph the two known solutions, $(0, 2)$ and $(-\frac{4}{3}, 0)$. The inequality is $\geq$, so we know we need to draw the line solid. This gives the boundary line below:

Graph of boundary line for $3x - 2y \geq -4$

Graph of the boundary line, drawn using two ordered-pair solutions.

Next, choose a test point to figure out which half-plane we need to shade in. The easiest test point is $(0, 0)$. Let's substitute $(0, 0)$ into the original inequality:

$\begin{aligned} 3(0) - 2(0) &\geq -4 \\ 0 &\geq -4 \end{aligned}$

This a true statement, so shade in the half-plane containing $(0, 0). $

Graph of $3x - 2y \geq -4$

Graph showing all possible solutions of the given inequality. The solutions lie in the shaded region, including the boundary line.

[ edit ]
Edit this content
Prev Concept
Graphs of Equations as Graphs of Solutions
Introduction to Systems of Equations
Next Concept
Subjects
  • Accounting
  • Algebra
  • Art History
  • Biology
  • Business
  • Calculus
  • Chemistry
  • Communications
  • Economics
  • Finance
  • Management
  • Marketing
  • Microbiology
  • Physics
  • Physiology
  • Political Science
  • Psychology
  • Sociology
  • Statistics
  • U.S. History
  • World History
  • Writing

Except where noted, content and user contributions on this site are licensed under CC BY-SA 4.0 with attribution required.