Course contentsShow
← Mathematics
Lesson 300 of 3,1218. Systems of Linear Equations and InequalitiesFree lesson

Graphing Linear Inequalities in Two Variables

Learn to graph linear inequalities by drawing boundary lines and shading the solution region above or below.

Graphing Linear Inequalities in Two Variables

What you'll learn: You'll discover how to visualize all solutions to a two-variable inequality by drawing a boundary line and shading one side of it.

The Core Idea

A linear inequality in two variables looks like y > 2x + 1 or 3x + 2y ≤ 6. Instead of asking for a single point like an equation does, an inequality asks: which region of the coordinate plane satisfies this condition?

Think of it like fencing off land: the boundary line marks where the inequality turns from true to false, and the shaded region shows all the points (ordered pairs) that make the inequality true.

How to Graph

Step 1: Draw the Boundary Line

First, graph the equation you'd get by replacing the inequality symbol with an equals sign. For y > 2x + 1, graph y = 2x + 1.

  • Use a solid line if the inequality includes "or equal to" (≤ or ≥) — points on the line are solutions.
  • Use a dashed line if it's strict (< or >) — points on the line are not solutions.

Step 2: Choose Which Side to Shade

Pick a test point not on the line (the origin (0, 0) works great unless the line passes through it). Plug it into the original inequality:

  • If the inequality is true, shade the side containing that test point.
  • If false, shade the opposite side.

For y > 2x + 1, test (0, 0): Is 0 > 2(0) + 1? Is 0 > 1? No! So shade the side not containing the origin.

Key Takeaway: Graph a linear inequality by drawing its boundary line (solid for ≤/≥, dashed for </>) and shading the half-plane where the inequality is true.