If you're seeing this message, it means we're having trouble loading external resources on our website.

If you're behind a web filter, please make sure that the domains *.kastatic.org and *.kasandbox.org are unblocked.

# Graphing inequalities (x-y plane) review

We graph inequalities like we graph equations but with an extra step of shading one side of the line. This article goes over examples and gives you a chance to practice.
The graph of a two-variable linear inequality looks like this:
It's a line with one side shaded to indicate which x-y pairs are solutions to the inequality.
In this case, we can see that the origin left parenthesis, 0, comma, 0, right parenthesis is a solution because it is in the shaded part, but the point left parenthesis, 4, comma, 4, right parenthesis is not a solution because it is outside of the shaded part.
Want a video introduction to graphing inequalities? Check out this video.

### Example 1

We want to graph 4, x, plus, 8, y, is less than or equal to, minus, 24.
So, we put it in slope-intercept form:
\begin{aligned}4x+8y&\leq -24\\\\ 8y&\leq -4x-24\\\\ y&\leq-\dfrac{4}{8}x-3\\\\ y&\leq-\dfrac{1}{2}x-3 \end{aligned}
Notice:
• We shade below (not above) because y is less than (or equal to) the other side of the inequality.
• We draw a solid line (not dashed) because we're dealing with an "or equal to" inequality. The solid line indicates that points on the line are solutions to the inequality.
Want to see another example but in video form? Check out this video.

### Example 2

We want to graph minus, 12, x, minus, 4, y, is less than, 5.
So, we put it in slope-intercept form:
\begin{aligned}-12x-4y&< 5\\\\ -4y&< 12x+5\\\\ y&>-3x-\dfrac{5}{4} \end{aligned}
Notice:
• We shade above (not below) because y is greater than the other side of the inequality.
• We draw a dashed line (not solid) because we aren't dealing with an "or equal to" inequality. The dashed line indicates that points on the line are not solutions of the inequality.

### Example 3

We're given a graph and asked to write the inequality.
Looking at the line, we notice:
• y-intercept is start color #7854ab, minus, 2, end color #7854ab
• Slope is start fraction, delta, y, divided by, delta, x, end fraction, equals, start fraction, 4, divided by, 1, end fraction, equals, start color #e07d10, 4, end color #e07d10
The slope-intercept form of the inequality is
y, space, question mark, space, start color #e07d10, 4, end color #e07d10, x, start color #7854ab, minus, 2, end color #7854ab
where the "?" represents the unknown inequality symbol.
Notice:
• The graph is shaded above (not below), so y is greater than the other side of the inequality.
• The graph has a dashed line (not solid), so we aren't dealing with an "or equal to" inequality.
Therefore, we should use the greater than symbol.
y, is greater than, 4, x, minus, 2
Want to see another example but in video form? Check out this video.

## Practice

Problem 1
• Current
Which graph represents 8, x, minus, 5, y, is less than, 3?

## Want to join the conversation?

• Can anybody give me some tips on this subject, it's still kind of confusing. Thanks
• Hi! I know this is late and that you 100% won't see this comment, BUT I like to help and LOVE math. So, here's my tip: when looking to find the graph of an inequality, look at inequality sign first. If it has a line directly below it, it is deemed inclusive, indicating a solid line. If there is no line under the inequality sign, it is deemed non-inclusive, indicating a dashed line. Then, look at the the y term--not y-intercept. Take note of it's value. If it is a negative you are going to want to flip the direction of the sign. For instance, if you have the linear inequality -5y>8x+1, you might initially assume that the solutions to the inequality will be represented by shading the half plane that is above the y-intercept 1, but this is incorrect. In order to isolate the y variable we have to divide it by -5, along with other expression of the inequality (8x+1). Hence, we FLIP the original greater than sign (>) to a less than sign (<), which changes the entire format of the graph (or at least the solutions to the problem).
• Am i the only human here? or is it all just bots?
• There are lots of humans here. We're not bots.
• How do you graph x>= -2 , and why do you graph it vertically? and how do you know which side to shade? thank you, this is so confusing.
• x = -2 is a vertical line. It contains all points on the xy-plane where the value of x is -2.

To graph x ≥ -2, you have to know that ≥ is the greater than or equal to symbol.
The equal part means you'll need to use a solid line on the boundary itself (x = -2).
The greater than part means you'll need to shade the side of the line that has values of x that are more than -2. On an x-axis that is scaled and numbered properly, all the numbers more than -2 are clearly labeled on the right side of the vertical line.

That's how you know which side to shade!
• How does this help us in the real world?
• if you wanna be a financialist
• Can anyone answer this for me:
Choose the graph of inequality x > -2
• to find the graph of an inequality it is just like finding the graph of en equation. So first pretend it is x = -2

Now, the two extra steps are look at if it is just greater than or less than, or if it is also equal to. if it is greater than or less than the line of the graph is dashed. if it is greater than or equal to OR less than or equal to than it is a solid line like in a normal equation.

The second step is then to find where you shade in. With a linear equation it's super easy. If this were y > -2 you would shade above the line, so on the positive side. if it were y < -2 you would shade below the line, so on the negative side. So look at yours, check if you want to shade on the positive side or neagative side of the line, then determine which is which.

Can you handle it from there?
• How do you graph with two inequalities??
• Just plot both lines on the graph and make sure to use the right y-intercept and if it's not an equal to sign make the line dotted
• Why is Khan Academy so hard to learn? I don't feel that it is helping me in any way.