Graphing inequalities
To graph an inequality, draw its boundary line as if it were an equation, make it solid or dashed, then shade the side where the inequality is true. A quick test with one point tells you which side that is.
How to graph a linear inequality
To graph y < 2x + 1:
- Draw the boundary. Graph y = 2x + 1, as you would any straight line.
- Choose solid or dashed. With < or >, use a dashed line, since points on the line aren’t included. With ≤ or ≥, use a solid line.
- Test a point. Try (0, 0): is 0 < 2(0) + 1? Yes, 0 < 1.
- Shade. The test was true, so shade the side containing (0, 0). If it had been false, you would shade the other side.
If the line passes through (0, 0), test a different point, like (1, 0).
Above or below?
Once y is alone on the left, there is a shortcut: y > means shade above the line, and y < means shade below.
Be careful when you rearrange. Dividing or multiplying by a negative number flips the inequality sign. For −2y < 4x − 6, dividing by −2 gives y > −2x + 3.
Inequalities on a number line
With only one variable, like x > 3, you can use a number line:
- An open circle means the value isn’t included (< and >).
- A closed circle means it is included (≤ and ≥).
- Shade or draw an arrow in the direction of the values that work.
On a coordinate plane, x > 3 is everything to the right of the vertical line x = 3, and y ≤ −1 is everything on or below the horizontal line y = −1.
Systems of inequalities
Graph each inequality on the same axes. The solution is the region where all the shading overlaps. Every point in it satisfies every inequality.
Systems like this are the basis of linear programming: finding the best value of something within a set of constraints. The optimum is always at a corner of the region.
Curved inequalities
The same steps work for curves. For y ≥ x² − 4, draw the parabola with a solid line, and shade above it, since y is greater. For x² + y² < 9, draw a dashed circle of radius 3, and shade inside. The inequality graphing calculator shades any of these for you.
Common mistakes
- Using a solid line for a strict inequality. < and > need a dashed line.
- Not flipping the sign after dividing or multiplying by a negative.
- Trusting “above” and “below” for a vertical boundary. For x > 3, you shade to the right.
- Testing a point on the line. The boundary itself can’t tell you which side to shade.
Frequently asked questions
When do you use a dashed line?
How do you know which side to shade?
What does y > mean on a graph?
What is the solution to a system of inequalities?
Why does the inequality flip when I divide by a negative?
Keep going
Type any inequality, and see it shaded.
How to draw the boundary line.
The same idea for equations.
Curved boundaries: circles, parabolas and more.
For practising by hand.
Inequalities with a V-shaped boundary.
Every figure on this page opens in ihateDesmos, where you can drag sliders and watch the graph respond.