Graphing Undefined Slope, Zero Slope and More

  • 0:05 Zero Slope
  • 3:14 Undefined Slope
  • 5:40 Lesson Summary
Create An Account
To Start This Course Today
Used by over 10 million students worldwide
Create An Account
Try it free for 5 days
Lesson Transcript
Instructor: Elizabeth Foster

Elizabeth has been involved with tutoring since high school and has a B.A. in Classics.

There are two special cases when it comes to slopes on the xy plane: horizontal and vertical lines. Without any more information, these examples can be pretty confusing. But with a little instruction, they end up being some of the easiest lines to graph!

Zero Slope

This lesson is on what the heck zero slope and undefined slope really mean. They're kind of weird terms that get really confusing and easy to mix up. So let's start with what we know.

Lines that go up from left to right have a positive slope.
positive slope

We know that lines that go up from left to right have a positive slope and lines that go down have a negative slope. So if I have a steeper line that's going up more than it's going over, this line maybe has a slope of 2, because it has a rise over a run of 2/1. As it gets a little bit flatter, maybe it's only going up 1 for every 1 it's going over, so now it has a slope of 1/1. Then it gets a little bit flatter, so it goes over 2 and up 1, so it has a slope of 1/2.

As it flattens out, the slope might get down to 0.01. Then it flattens out even more and it's 0.001.Then it gets even flatter and it looks like it's almost perfectly flat, but the slope is still 0.0001. As it gets flatter and flatter and flatter, the number gets smaller and smaller and smaller, until the point where it becomes perfectly flat and my slope hits 0.

A zero slope just means that it's a perfectly flat line. It's horizontal. It doesn't go up or down. It's perfectly flat.

As the slope flattens out, it is equal to 0.0001.
zero slope

This makes sense, right? If it were to go down at all, my slope would become -0.00001. And then if it was a little bit more down, my slope would be -0.01. Then a little more would be -0.1. Then -1, -2, -5 or -10, whatever we want.

So the zero slope is right in between the negative slope lines and the positive slope lines. It's perfectly flat.

Then the question becomes: what's the equation of this line? This is another thing that's really easy to get mixed up. But it turns out that the equation - I should say the equations - of lines that have zero slope are always y equals something .

There are two ways of thinking about this. One way is that it has a zero slope, so you could use the slope-intercept form and say it's y = 0x + b. In this case my y-intercept is 3, so it's 0x + 3. That just means that y = 3, because 0 * x = 0.

But that requires you to know slope-intercept form, and there are a lot of other things going on, and I usually prefer more intuitive ways. The way I think about this is that everywhere on this line, no matter where I pick, y = 3, but x can be anything we want. X could be 4 or -1 or -3 or 10 or -5000. X can be anything that we want, but y always has to be 3. Therefore, my equation is y = 3.

X can be any number, but y must always equal three.
y equals three

Undefined Slope

We can use similar logic to figure out what the slope of a perfectly vertical line is, a line that goes straight up and down. Again, let's start with a line that is kind of normal. It goes over 1 and up 1. It's got a slope of 1/1, which is 1. But then it gets a little bit steeper, so this time it's only going over 1, but it's going up 2; so it's slope is 2/1, or 2. Then maybe it goes over 1 and up 4, so its slope is 4.

Then it gets even steeper and it's got a slope of 10, then maybe 100, maybe 1,000,000. It basically looks like it's going up and down but it's going a tiny bit over. It's just super steep. It's nothing you'd ever want to climb up. But it's not quite vertical.

Then, at the point it hits vertical, it goes from 1,000,000 to 10,000,000 to 99,000,000 to infinity. We hit the point where it doesn't even become a number, but more of just an idea. Because of that, we usually call the slope of vertical lines undefined.

To unlock this lesson you must be a Member.
Create your account

Unlock Your Education

See for yourself why 10 million people use

Become a member and start learning now.
Become a Member

Already a member? Log In

Earning College Credit

Did you know… We have over 100 college courses that prepare you to earn credit by exam that is accepted by over 2,900 colleges and universities. You can test out of the first two years of college and save thousands off your degree. Anyone can earn credit-by-exam regardless of age or education level.

To learn more, visit our Earning Credit Page

Transferring credit to the school of your choice

Not sure what college you want to attend yet? has thousands of articles about every imaginable degree, area of study and career path that can help you find the school that's right for you.

You just finished your first lesson. has thousands of lessons to help you meet your educational goals.
You're making great progress. Keep it up!
Congrats on viewing 10 lessons! You're doing great.
Keep clicking that 'next lesson' button whenever you finish a lesson and its quiz. Got It
You now have full access to our lessons and courses. Watch the lesson now or keep exploring. Got It
You're 25% of the way through this course! Keep going at this rate and you'll be done before you know it.
Two days in a row, nice! Keep your streak going to get the most of your learning and reach your goal faster.