Graphing Undefined Slope, Zero Slope and More

Your next lesson will play in 10 seconds
  • 0:00 Slope Basics & Review
  • 1:00 Undefined Slope
  • 2:32 Zero Slope
  • 3:38 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!

Slope Basics & Review

In this lesson, you'll take a look at some oddball slopes. But first, let's review the basics. Slope is the amount of vertical change per unit of horizontal change. In other words, as a line moves one unit to the right, how many units does it go up or down?

You learned in another lesson that if a line goes up from left to right, its slope is positive, and if it goes down from left to right, its slope is negative. You also know how to identify whether the slope is positive or negative when the line is written in y = mx + b form. M represents the slope of the line, so if m is positive, the slope is positive, and the line will be slanting upwards. If m is negative, the slope is negative, and the line will be slanting downwards.

But what if you get one of these?

slope is

In this lesson, you'll learn how to deal with both of those cases. They might look tricky when you first start out, but they're not actually that bad once you get to know them - in fact, they're some of the easiest slopes to handle!

Undefined Slope

First, we'll start with this one.

vertical line

If the line is vertical, it means that the slope is undefined: it has no value that we can express in numbers. That's a pretty crazy concept, so let's take a look at what's going on here. You know that as a line gets steeper and steeper, the slope gets bigger and bigger if it's positive, or smaller and smaller if it's negative. In both cases, the absolute value of the slope increases as it gets steeper.

The bigger a number gets, the steeper the slope is. But the problem with numbers is that they can just keep getting bigger and bigger. There's no such thing as the biggest number. So, no matter how steep the slope is, there will always be a slope that's even steeper. You can just add or subtract 1.

To get a completely vertical slope, you'd have to have a number that was simultaneously the biggest and the smallest number in existence, but that's not possible. Neither of those numbers exist, and they certainly can't be the same number. That's why the slope is undefined. Mathematically, the slope isn't actually a real number; hence we call it undefined.

So if m is undefined, how do we write this line as an equation? If you look more closely at the graph, you'll see that the x-value is exactly the same for the entire line. So to represent this line numerically, we use the equation x = ____. The line here is the line x = -2. The x-value is the same for every value of y: it's always -2.

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 49 college courses that prepare you to earn credit by exam that is accepted by over 2,000 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.

Click "next lesson" whenever you finish a lesson and 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.
The first step is always the hardest! Congrats on finishing your first lesson.
Way to go! If you watch at least 30 minutes of lessons each day you'll master your goals before you know it.
Congratulations on earning a badge for watching 10 videos but you've only scratched the surface. Keep it up!
You've just watched 20 videos and earned a badge for your accomplishment!
You've just earned a badge for watching 50 different lessons. Keep it up, you're making great progress!
You just watched your 100th video lesson. You have earned a badge for this achievement!
Congratulations! You just finished watching your 200th lesson and earned a badge!
Congratulations! You just finished watching your 300th lesson and earned a badge!
You are a superstar! You have earned the prestigious 500 video lessons watched badge.
Incredible. You have just entered the exclusive club and earned the 1000 videos watched badge.
You have earned a badge for watching 20 minutes of lessons.
You have earned a badge for watching 50 minutes of lessons.
You have earned a badge for watching 100 minutes of lessons.
You have earned a badge for watching 250 minutes of lessons.
You have earned a badge for watching 500 minutes of lessons.
You have earned a badge for watching 1000 minutes of lessons.