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.

# Intro to graphing two-variable inequalities

Learn how to graph two-variable linear inequalities like y≤4x+3. Created by Sal Khan and CK-12 Foundation.

## Want to join the conversation?

• How to I solve compound inequalities?
• Is there any way to find the shaded side easier.
• Draw a little man ⛷ on each line as if it were the side of a mountain. ⛰
The side that's above ground is the greater than side. `≥ or >`
The side that's below ground is the less than side. `≤ or <`

You can also try ✈️ airplane arms and align your own arms with each line.
The side above your shoulders is the greater than side. `≥ or >`
The side below your shoulders is the less than side. `≤ or <`
• If anyone doesn't understand here's a summary: You'll be given two (or more) equations. It at the beginning starts as just finding the slope for each equation. Once you graph the different slopes/lines, you'll fill in the lines in a specific direction. < to the right and > would be to the left. However, if you were to have an equal to more/less (basically < or > with a line under it), you'd make it just a regular line. However though if its just <> that'd be a dotted line. (also please upvote)
• Your info is a little off... If you have the shading reversed.

If the inequality is y>mx+b, then you shade above the line. If the line is a vertical line, then you shade to the right.

If the inequality is y<mx+b, then you shade below the line. If the line is a vertical line, then you shade to the left.

Hope this helps.
• 5x-y is greater than or equal to 5 and y<5
• Fblpn,
5x-y >= 5 and y=5
If you change the first equation to slope y-intercept form
5x-y >= 5 add y to both sides
5x-y+y >= 5+y The y-y = 0 and disappears
5x >= 5+y And subtract 5 from both sides
5x-5 >= y Now reverse the sides and reverse the sign
y <= 5x-5 So we now the slope is 5 and y-intercept is (0,-5)
So graph that line (solid because it is also = to
and shade everything below the line since it is also <

The y<5 can be rewritten as
y=0x+5 So the slope is 0 (a horizontal line) that crosses the y axis at 5.
So graph that line (dashed line because it is not = to)
and shade below the line since it is <

I hope that helps make it click for you.
• Why do you have to put an equal sign in place of the greater and less than signs? And are you supposed to divide or multiply when you have an equation like this -3x-y <-1 ( there is suppose to be a line underneath the less than sign) ?
• The line underneath the greater than or less than sign means less than or equal to and greater than or equal to. Sal did this to show you what this means.
For your second question, you need to divide so you get an x on one side of the equation. For example, if y = 3, than the equation would be -3x-3<=-1. You would then subtract 3 from both sides of the equation to get -3x<=-4. Then, divide both sides by 3 to isolate the x on one side. Since you are dividing by a negative number, reverse the less than or equal to to a GREATER THAN or equal to sign.
(1 vote)
• How do I write the slope if the line goes straight up (is vertical) and how do I write it's equation if the y-intercept is not given but I have an x-intercept?
• If the line goes straight up, then the line's equation is in the form x = ? because only the y value changes, the x value never changes. The x intercept is all you need to calculate for the equation because that x value is the same x value for every point on the line. So if your x intercept is (5,0) then your line's equation would be x = 5.
Hope this helped :)
Happy holidays!!
• how do I know to shade above or below the line
• If the inequality has a symbol of greater than or equal to or greater than you shade above the line. If the inequality has a less than or equal to or less than symbol you shade below the line.

HOPE THIS HELPS:)
• if I have something like y>-3 and the question says to 'graph the inequality in the coordinate plane'. Then what does the -3 signify/refer to when I put this inequality into slop intercept form to graph it......?
• -3 is the y-intercept. There is no slope (coefficient of x) so you know this is a straight horizontal line at -3. Since y>-3, any value above y=-3 would be a solution to the problem.
• how can i now if the equation is >= or just > i dont see the deference especially when we have the graph and we wont the equation