Geometry Solver
Home › Functions and graphs

How to graph linear inequalities in two variables

Boundary first, shading second

Replace the inequality sign with an equals sign to find the boundary line. Draw a solid line for or and a dashed line for or . If the inequality is written as , shade above; for , shade below. Equality includes the boundary but does not change which side is shaded. Reverse the inequality sign whenever you multiply or divide both sides by a negative number.

Problem

Graph each inequality on a coordinate plane. State the boundary line, whether it is solid or dashed, and which side to shade.

1. .

2. .

3. .

4. .

5. .

6. .

7. .

8. .

9. .

10. .

Graph of y less than x minus fiveA dashed line through zero minus five and five zero. The region below the line is shaded. The origin is outside the shaded region.xy055(0, -5)(5, 0)y < x - 5
Example 2: the dashed boundary is y = x - 5. Only points below it satisfy the strict inequality; the line itself is excluded.

Answer

1. Solid, above. 2. Dashed, below. 3. Solid, above . 4. Solid, below. 5. Dashed, above. 6. Solid, above. 7. Dashed, above . 8. Dashed, above . 9. Dashed, below . 10. Dashed, above .
Above and below mean vertically above or below the boundary at the same x-coordinate, not left or right of an axis.

Step-by-step solution

1. An inclusive inequality with negative slope

For , the boundary is . Two convenient points are and . Use a solid line and shade above. The origin passes the check .

2. A strict inequality with positive slope

For , draw the boundary through and . Use a dashed line and shade below it. At the origin, is false, so the origin must not be shaded. The diagram shows this case.

3. Divide by a negative coefficient carefully

Start with . Subtract , then divide by and reverse the sign:

The boundary passes through and . Draw it solid and shade above. The origin fails the original check .

4. An inclusive inequality shaded below

For , use the boundary points and . Draw a solid line and shade below. The origin fails .

5. A strict inequality with a steeper negative slope

For , the boundary passes through and . Draw it dashed and shade above. The origin satisfies .

6. A positive fractional slope

For , plot and . The line is solid, and the region above it is shaded. The origin satisfies .

7. Rearrange x minus y

From , subtract and multiply by :

Use a dashed line through and , with shading above. The origin is not a solution.

8. The same slope with a different intercept

Similarly, becomes . Draw a dashed line through and and shade above. Again, the origin is outside the solution region.

9. Choose a visible second point

For , solve for :

Draw a dashed line through and , then shade below. The x-intercept is ; if it is off the grid, the other two points are enough. The origin satisfies .

10. Another negative divisor

For , subtract and divide by :

Draw a dashed line through and and shade above. The origin fails .

Check your graph

Test a point that is not on the boundary in the original inequality. If it satisfies the inequality, shade the half-plane containing that point. If it does not, shade the other half-plane. When the origin lies on the boundary, choose another test point.

Add to Chrome - solve your own

Screenshot any problem on your screen and get the steps. Chrome on a computer; free.