Not sure which lesson to do first? Find your level and get a plan →

Math · Algebra Fundamentals · Grade 6-8

Graphing Inequalities

Graphing an inequality shows its solution set on the coordinate plane: draw the boundary line, make it solid for ≤/≥ or dashed for </>, then shade the half-plane of points that satisfy it.


Quick Answer

Graphing an inequality shows its solution set on the coordinate plane: draw the boundary line, make it solid for ≤/≥ or dashed for </>, then shade the half-plane of points that satisfy it. Use it to see every pair (x,y) that makes a two-variable inequality true, such as all the combinations of snacks you can afford with $12. A test point that is not on the line, often (0,0), decides which side to shade: if it makes the inequality true, shade its side; if not, shade the other side. Every point in the shaded region is a solution, not only the points on the line.

Why This Matters

Many real limits involve two amounts at once: a budget split between two kinds of tickets, or a weight limit for adults and children in a lift. The graph shows every allowed combination at a glance, so you can see whether a plan fits before working anything out. It is also the first step of linear programming, where several shaded regions overlap. Shading the wrong side shows forbidden combinations as allowed.

Intuitive Explanation

Start with the equation y=x+1. Its graph is a line, and every point on it has y exactly 1 more than x. Now change it to y>x+1. The points that work have y more than 1 above x: for x=2, any y above 3. Do that for every x and you get the whole region above the line. The line splits the plane into two halves, and the inequality picks one of them.

The line itself is the boundary. In y>x+1 the points on the line have y equal to x+1, not greater, so they do not count, and the line is drawn dashed. In y≥x+1 they do count, and the line is drawn solid.

To choose the side, test a point that is not on the line. For 2x+3y≤12, draw the solid line through (6,0) and (0,4), then try (0,0): 2(0)+3(0)=0, and 0≤12 is true, so shade the side containing the origin. If the line passes through (0,0), test a different point, such as (1,0).

Graphing the equation y=x+1 gives only the line, with no shading, because only points exactly on it work. A one-variable inequality like x>2 is usually drawn on a number line as a ray; on a coordinate plane it becomes the region to the right of the vertical line x=2.

Think of it like this. The boundary line is a fence across a field, and the inequality tells you which side of the fence is your yard. A solid fence belongs to the yard (≤ or ≥); a dashed one is just a marker you cannot stand on (< or >). Unlike a real yard, the shaded region keeps going forever in its direction.

Core idea. Graphing an inequality means drawing its boundary line (solid if the endpoint counts, dashed if not) and shading the half-plane where the inequality holds.


When to Use

Use it when an inequality has two variables, such as y<2x+1 or 3x+2y≤18, and you want to see all its solutions, or when a story puts a limit on a combination of two amounts: a budget, a weight limit, a time limit. If there is an equals sign, graph just the line. If there is only one variable, a number line is enough. If there are several inequalities at once, graph each one and find where the shaded regions overlap.

Tip. Ask: Is the solution of a two-variable inequality a shaded region of the plane bounded by a line?

How to Recognize It

Before drawing, count the variables, read the inequality sign, and get y by itself if you can.

  1. Does the inequality have both x and y in it?

    Two variables mean a region on the coordinate plane. With only x, such as x>3, a number line is enough, unless the problem asks for the plane, where x>3 becomes everything to the right of a vertical line.

  2. Is the sign < or >, with no line underneath?

    Then points on the boundary are not solutions, so the line is dashed. With ≤ or ≥ the boundary points count and the line is solid. An equals sign means only the line itself, with no shading.

  3. Did you multiply or divide by a negative number to get y alone?

    Then the sign flips: −2y<6x+4 becomes y>−3x−2. With y alone and the sign right, greater than means shade above the line and less than means shade below.

  4. Are there two or more inequalities that must all be true?

    Then graph each one and keep only the overlap, which makes it a system of inequalities. A point counts only if it lies in every shaded region.

Graphing Inequalities compared with Graphing a line (equation), Number-line inequality, and System of inequalities

Every row draws a solution set on a graph or a number line, so they look like the same task. Ask how many variables there are, whether the sign is an equals sign or an inequality, and how many conditions must hold at once.

Graphing Inequalities

Meaning
Use this when a two-variable inequality's solution is a region of the plane you need to picture.
Key test
Is the solution of a two-variable inequality a shaded region of the plane bounded by a line?
Example
Graph y<2x+1.

Graphing a line (equation)

Meaning
Plots only the points where the equation is exactly true — a 1D line, no shading.
Key test
Use when it's an equation, not an inequality.
Formula
y=2x+1
Example
Draw just the line

Number-line inequality

Meaning
Shows a one-variable inequality as a ray/segment on a number line.
Key test
Use when there's a single variable, not x and y.
Formula
x>3
Example
Open dot at 3, shade right

System of inequalities

Meaning
Overlaps several shaded regions to find their common area.
Key test
Use when two or more inequalities must hold at once.
Example
Feasible region of LP

Formula & Notation

How to read it: Solid boundary for ≤,≥; dashed boundary for <,>.

Worked Examples

Example 1 — Shade a half-plane

Easy

Graph y<2x+1.
Show the steps and the answer
  1. Draw the boundary y=2x+1: it crosses the y-axis at 1 and rises 2 for each 1 to the right, through (0,1) and (1,3).

    Replacing < with = gives the line that separates the two halves.

  2. Make the line dashed.

    The sign is <, so points on the line, where y equals 2x+1, are not solutions.

  3. Test (0,0): is 0<2(0)+1? That is 0<1, which is true.

    The origin is not on the line, so it is a fair test point.

  4. Shade the side containing (0,0), which is below the line.

    Every point on that side gives a true statement, just as the test point did.

Answer: Dashed line y=2x+1 with the region below shaded

Takeaway: Draw the boundary, choose dashed or solid from the sign, then let a test point pick the side to shade.

Example 2 — Just the line

Standard

Graph y=2x+1.
Show the steps and the answer
  1. Notice the equals sign: a point works only if y is exactly 2x+1.

    There is no "greater than" or "less than", so no region of points can qualify.

  2. Plot two points: (0,1) and (2,5).

    Substituting x=0 and x=2 into y=2x+1 gives these points.

  3. Draw a solid line through them and leave the rest unshaded.

    A point off the line, such as (0,0), gives 0=1, which is false.

Answer: The line y=2x+1

Takeaway: An equation's graph is the line alone; shading belongs only to inequalities.

Example 3 — Find the mistake: line type and shading side

Application

Graph x+2y>6. Ellie draws a solid line through (6,0) and (0,3) and shades the side containing (0,0). Find the mistakes and correct them.
Show the steps and the answer
  1. Check the boundary points: 6+2(0)=6 and 0+2(3)=6.

    Both points satisfy x+2y=6, so Ellie's line is in the right place.

  2. Check the line type: the sign is >, so the line must be dashed, not solid.

    On the line x+2y equals 6, which is not greater than 6.

  3. Test (0,0): 0+2(0)=0, and 0>6 is false.

    A false test point means the solutions lie on the other side of the line.

  4. Shade the side away from the origin, above the line, and confirm with (4,4): 4+8=12>6, true.

    A point from the shaded side should make the inequality true.

Answer: A dashed line through (6,0) and (0,3), with the region above it (away from the origin) shaded.

Takeaway: Choose the line type from the sign and the side from a test point; a false test point means shade the other side.

Where You'll See It

  • Buying snacks on a budget

    Chips cost $2 and drinks $3, and you have $12: 2x+3y≤12. Graph the solid line through (6,0) and (0,4) and shade toward the origin. The point (3,2), 3 chips and 2 drinks, costs exactly $12 and is on the line; (4,2) costs $14 and lies outside the region.

  • A lift's weight limit

    A lift carries at most 600 kg. With adults averaging 75 kg and children 40 kg, safe groups satisfy 75a+40c≤600. The shaded region shows every safe group: 6 adults and 3 children (570 kg) fit, but 8 adults and 1 child (640 kg) do not.

  • Balancing study and gaming time

    A student wants study hours y to be more than twice gaming hours x: y>2x. The dashed line y=2x marks weeks with exactly twice as much study, which do not count, and the region above it shows every acceptable week, such as 3 hours of gaming with 8 of study.

Common Mistakes

  1. The slip: Using a solid line for a strict inequality

    Instead: < and > get a dashed boundary; only ≤ and ≥ get a solid one

  2. The slip: Shading the wrong half-plane

    Instead: pick a test point not on the line (often (0,0)); shade its side only if it makes the inequality true

  3. The slip: Forgetting to shade at all

    Instead: the solution is the whole half-plane region, not just the boundary line


Mini Practice

Try these on your own. Tap Reveal when you want to check.

  1. Is the point (1,4) a solution of y>2x+1?

    Hint: Substitute x=1 and y=4.

  2. For y≤−x+3, is the boundary line solid or dashed, and does (0,0) lie in the shaded region?

    Hint: Does ≤ include the line? Then test (0,0).

  3. Describe the graph of y≥2 on the coordinate plane: the boundary line and the side to shade.

    Hint: y=2 is a horizontal line.

  4. For 2x+y<4, find the boundary line's intercepts, say whether it is solid or dashed, and say which side to shade.

    Hint: Set x=0, then y=0, to get the intercepts. Test (0,0).

  5. You want to show all x with x>−1, a single variable. Graph it on a number line or on the coordinate plane?

    Hint: How many variables are in the inequality?

  6. Graphing y>x+2, a student draws a solid line and shades below it. Find both mistakes.

    Hint: Check the line style for >, then test (0,0).

Want the full set?

50 practice questions for this concept — free to try, every one with a complete worked solution showing the why, not just the answer.

Frequently Asked Questions

What if the line goes through (0,0), so I can't use it as a test point?

Pick any other point that is clearly off the line, such as (1,0)(1,0) or (0,1)(0,1). For y>2xy>2x, the line passes through the origin, so test (0,1)(0,1): 1>01>0 is true, so shade the side containing (0,1)(0,1), which is above the line. Any point not on the line works; choosing one with zeros just keeps the arithmetic easy.

Why is y>3 shaded above a horizontal line but x>3 to the right of a vertical one?

On the plane, y>3y>3 says nothing about xx, so xx can be anything while yy must be above 3. All those points form the region above the horizontal line y=3y=3. In x>3x>3 the roles swap: yy can be anything, and the points lie to the right of the vertical line x=3x=3. Students often draw these the wrong way round, so test a point such as (5,0)(5,0) to check.

Do all the points in the shaded region really work, even ones with decimals?

Yes, mathematically. For 2x+3y≤122x+3y\le12, the point (1.5,2.25)(1.5,2.25) is a solution because 3+6.75=9.753+6.75=9.75, which is at most 12. In a story problem, though, some points make no sense: if xx and yy count pens and notebooks, only whole-number points count, and negative amounts are impossible. The real answers are then the grid points inside the region in the first quadrant.

Where are inequality graphs used in real life?

Anywhere two amounts share a limit. A farmer with 100 m of fence for a rectangular pen needs 2L+2W≤1002L+2W\le100, and the shaded region shows every pen size that fits. Factory schedulers and diet planners draw the same kind of picture, and when several limits apply at once, the overlap is the starting point for finding the best choice, a method called linear programming.

Learning Path

Graphing Inequalities

You are here

Next →

Nothing after this yet
You need Inequalities (what < and ≤ mean), the Coordinate Plane (plotting points) and the Number Line (open and filled dots) first. This concept adds the boundary line, solid or dashed, and a shaded half-plane of solutions chosen with a test point. It leads to systems of inequalities, where you look for the region all the shadings share, and to linear programming, which finds the best point in that region.

See Also