Graphing Inequalities: Definition, Method and Examples

MathPublished

Graphing Inequalities on the Coordinate Plane

To graph linear inequalities in two variables, first graph the boundary line on the coordinate plane. Use a solid line if the inequality includes equality and a dashed line if it does not. Finally, test a coordinate point to identify and shade the correct half-plane representing all valid solutions.

What does an inequality region show?

An inequality region displays every possible solution to an inequality visually. While linear inequalities in one variable can be shown on a number line, inequalities in two variables require a two-dimensional graph.


Because an inequality represents a range of values, the solution is not just a single line or point. Instead, the boundary line divides the coordinate space into two halves. The shaded area, known as a half-plane, represents all coordinate pairs (x,y)(x, y) that make the inequality true.

A coordinate plane showing a solid boundary line for an inequality, with the region below it shaded to represent a solution half-plane.

Graph the boundary line

The first step in graphing any inequality is drawing its boundary line. This line marks the exact edge of the solution region.


To find the boundary line, temporarily replace the inequality symbol with an equals sign. The process is then identical to graphing linear equations. You can plot the line by finding the xx- and yy-intercepts, or by using the slope and yy-intercept from the equation.


For example, to graph y>−2x+4y > -2x + 4, start by plotting the boundary equation y=−2x+4y = -2x + 4.

Choose solid or dashed

Before drawing the boundary line, you must determine whether the boundary values are included in the solution. The inequality symbol dictates the line type.


Use a dashed boundary line for strict inequalities (<< or >>). A dashed line indicates that points exactly on the line are not solutions.


Use a solid boundary line for inclusive inequalities (≤\leq or ≥\geq). A solid line shows that points on the boundary are included in the solution set.


Strict inequalities use a dashed boundary line. Inclusive inequalities use a solid boundary line.

Two coordinate planes shown side by side. The left plane features a dashed boundary line representing a strict inequality. The right plane features a solid boundary line representing an inclusive inequality.

Test a point

Once the boundary line is graphed, you must decide which side contains the solutions. Testing a single coordinate point reveals the correct side.


Choose any point on the coordinate plane that does not lie exactly on the boundary line. The origin, (0,0)(0, 0), is usually the easiest point to test. Substitute the xx and yy values of the test point into the original inequality.


If the resulting statement is true, the side containing the test point is the solution region. If the statement is false, the opposite side is the solution region.

A coordinate plane showing a dashed boundary line and a distinct point plotted at the origin, labeled as Test point zero zero.

Shade the correct half-plane

After evaluating the test point, shade the entire region that represents the true statement.


If the test point makes the inequality true, shade the half-plane that includes that point. If the test point results in a false statement, shade the half-plane on the other side of the boundary line. The shaded area confirms that every coordinate pair within it satisfies the inequality.

A coordinate plane showing a dashed boundary line with the region containing the origin shaded to indicate the valid solution half-plane.

Graph compound regions

When working with systems of equations or inequalities, you must graph multiple inequalities on the same coordinate plane.


To graph a compound inequality region, graph each boundary line and shade its valid half-plane individually. The final solution is the shared overlapping region where all shaded areas intersect. Any coordinate point chosen from this shared region will satisfy every inequality in the system.

A coordinate plane showing a solid boundary line and a dashed boundary line. The overlapping shaded area is labeled as the shared solution region.

Worked examples

Here are step-by-step examples of how to graph linear inequalities and regions.


Example 1: Graphing an inequality with a dashed boundary


Question: Graph the inequality y>−3x+2y > -3x + 2.


Method:

  1. Identify the boundary line equation by replacing the inequality with an equals sign: y=−3x+2y = -3x + 2.
  2. Determine the line type. The >> symbol means the boundary is not included, so use a dashed line.
  3. Plot the boundary line. The yy-intercept is 22 and the slope is −3-3.
  4. Test a point not on the line, such as (0,0)(0, 0). Substitute x=0x = 0 and y=0y = 0 into the inequality: 0>−3(0)+20 > -3(0) + 2, which simplifies to 0>20 > 2.
  5. Because 0>20 > 2 is false, shade the half-plane that does not contain (0,0)(0, 0).

Answer: The solution is the shaded region above and to the right of the dashed boundary line y=−3x+2y = -3x + 2.


Check: Pick a point in the shaded region, such as (2,0)(2, 0), and test it: 0>−3(2)+2  ⟹  0>−40 > -3(2) + 2 \implies 0 > -4, which is a true statement.


Example 2: Graphing an inequality from standard form


Question: Graph the region that satisfies 3x−4y≤123x - 4y \leq 12.


Method:

  1. Find the boundary line equation: 3x−4y=123x - 4y = 12.
  2. Determine the line type. The ≤\leq symbol means equality is included, so use a solid line.
  3. Find the intercepts to plot the line. When x=0x = 0, −4y=12-4y = 12, making y=−3y = -3. When y=0y = 0, 3x=123x = 12, making x=4x = 4.
  4. Test the origin (0,0)(0, 0). Substitute into the inequality: 3(0)−4(0)≤123(0) - 4(0) \leq 12, which simplifies to 0≤120 \leq 12.
  5. Because 0≤120 \leq 12 is true, shade the half-plane containing (0,0)(0, 0).

Answer: The solution is the shaded region above and to the left of the solid boundary line 3x−4y=123x - 4y = 12.


Check: Pick a point clearly inside the shaded region, such as (−2,2)(-2, 2), and test it: 3(−2)−4(2)≤12  ⟹  −6−8≤12  ⟹  −14≤123(-2) - 4(2) \leq 12 \implies -6 - 8 \leq 12 \implies -14 \leq 12, which is true.


Example 3: Identifying a shared solution region


Question: Graph the solution region for the system of inequalities x>−2x > -2 and y≤3y \leq 3.


Method:

  1. Graph the first boundary line x=−2x = -2. The >> symbol requires a vertical dashed line.
  2. Shade the region for x>−2x > -2, which is everything to the right of the line.
  3. Graph the second boundary line y=3y = 3. The ≤\leq symbol requires a horizontal solid line.
  4. Shade the region for y≤3y \leq 3, which is everything below the line.
  5. Identify where the two shaded regions overlap.

Answer: The solution is the compound region extending indefinitely to the right of the dashed line x=−2x = -2 and below the solid line y=3y = 3.


Check: Pick a point in the overlap, such as (0,0)(0, 0), and test it: 0>−20 > -2 is true, and 0≤30 \leq 3 is true. Both hold, confirming the region is correct.

Common mistakes

Using the wrong boundary line type

It is a common error to draw a solid line when the inequality requires a dashed line. Always check the symbol before graphing: strict inequalities (<< and >>) must have dashed boundaries.


Guessing the shaded region

Assuming that a >> symbol always means shading "above" the line can cause errors, especially when working with standard form equations like −2y>4x+6-2y > 4x + 6. Always test a specific point, which is a key part of solving inequalities, to determine the correct shading mathematically.


Including points on a dashed boundary

When identifying specific coordinates that satisfy an inequality, remember that values exactly on a dashed line are not solutions. Only points strictly within the shaded half-plane are valid.

Frequently asked questions

What does the shaded region of an inequality represent?

The shaded region, or half-plane, represents every coordinate pair that makes the linear inequality true.


Why is the origin (0,0)(0, 0) used as a test point?

The origin is the simplest point to substitute into an inequality because multiplying by zero eliminates the variable terms, making the arithmetic fast and reducing the chance of calculation errors.


Can I test a point that is on the boundary line?

No, a test point must be strictly inside one of the half-planes. If the boundary line passes through the origin, you must choose a different coordinate point, such as (1,0)(1, 0) or (0,1)(0, 1), to determine the correct shading.

Practice questions

Question

A coordinate plane showing a horizontal solid boundary line at y equals 2 with the region above it shaded.

Identify the inequality shown in the graph.

  • y≥2y \geq 2

  • y≤2y \leq 2

  • x≥2x \geq 2

  • y>2y > 2

Answer:

y≥2y \geq 2

Question

Which of the following inequalities requires a dashed boundary line?

  • 3x+y<103x + y < 10

  • x−2y≥5x - 2y \geq 5

  • y≤4x−1y \leq 4x - 1

  • y=−2x+7y = -2x + 7

Answer:

3x+y<103x + y < 10

Question

A student uses the origin (0,0)(0, 0) as a test point for the inequality 4x−3y>124x - 3y > 12. Which statement correctly describes the next step?

  • Substitute the origin to get 0>120 > 12, which is false, so shade the side that does not contain the origin.

  • Substitute the origin to get 0>120 > 12, which is false, so shade the side that contains the origin.

  • Substitute the origin to get 0>120 > 12, which is true, so shade the side that contains the origin.

  • Substitute the origin to get 0>120 > 12, which is true, so shade the side that does not contain the origin.

Answer:

Substitute the origin to get 0>120 > 12, which is false, so shade the side that does not contain the origin.

Question

A coordinate plane showing a vertical dashed line and a solid line with a negative slope. The shaded shared solution region is below the solid line and to the left of the dashed line.

Identify the correct system of inequalities for the given graph.

  • x<1x < 1 and y≤−xy \leq -x

  • x>1x > 1 and y≤−xy \leq -x

  • x<1x < 1 and y≥−xy \geq -x

  • x≤1x \leq 1 and y<−xy < -x

Answer:

x<1x < 1 and y≤−xy \leq -x

Question

Which coordinate point is a solution to the system of inequalities y>x+2y > x + 2 and y≤5y \leq 5?

  • (1,4)(1, 4)

  • (0,2)(0, 2)

  • (4,6)(4, 6)

  • (3,3)(3, 3)

Answer:

(1,4)(1, 4)