Practice free
Unit 4 · Systems of equations

Write a linear inequality from a graph

Grade 9 (Algebra 1) · P. Two-variable linear inequalities · 30 practice questions

How this works

Find the line's equation from the two points, then pick the sign: dashed means strict, above means y is greater.

A graph has a dashed line through the points (0, 2) and (1, 5), and the region above the line is shaded. Which inequality matches the graph?

Point with x = 0 gives b
b = 2
Slope: rise over a run of 1
5 − 2 = 3
The line
y = 3x + 2
Dashed: the line is left out
> or <
Above the line: y is greater
y > 3x + 2

Answer: y > 3x + 2

Watch out: Using ≥ for a dashed line: y ≥ 3x + 2. Dashed means the line itself is left out, so y > 3x + 2.

Try it

1. A graph has a solid line through the points (0, -6) and (1, -3), and the region above the line is shaded. Which inequality matches the graph?

2. A graph has a dashed line through the points (0, -6) and (1, -4), and the region below the line is shaded. Which inequality matches the graph?

3. A graph has a solid line through the points (0, -1) and (1, 1), and the region below the line is shaded. Which inequality matches the graph?

Answers are checked in the free account — with a hint before the answer, and the full solution after a miss.

How to help at home

A solid line keeps the points sitting on it in the answer, and the shading says which side of the line is wanted. Between the two given points x moves one step while the height changes by: -3 - (-6) = 3, so the line itself is y = 3x - 6, and shading above a solid line turns that into y ≥ 3x - 6.

More in P. Two-variable linear inequalities