yego.me
💡 Stop wasting time. Read Youtube instead of watch. Download Chrome Extension

Slope and y intercept from equation


3m read
·Nov 11, 2024

What I'd like to do in this video is a few more examples recognizing the slope and y-intercept given an equation.

So let's start with something that we might already recognize: let's say we have something of the form (y = 5x + 3).

What is the slope and the y-intercept in this example here? Well, we've already talked about that we can have something in slope-intercept form where it has the form (y = mx + b), where (m) is the slope (which people use the letter (m) for the slope) times (x) plus the y-intercept (which people use the letter (b) for).

So if we just look at this, (m) is going to be the coefficient on (x) right over there. So (m = 5); that is the slope, and (b) is just going to be this constant term, (+3). So (b = 3); so this is your y-intercept.

So that's pretty straightforward. But let's see a few slightly more involved examples.

Let's say if we had the form (y = 5 + 3x). What is the slope and the y-intercept in this situation? Well, it might have taken you a second or two to realize how this earlier equation is different than the one I just wrote here.

It's not (5x); it's just (5), and this isn't (3); it's (3x). So if you want to write it in the same form as we have up there, you can just swap the (5) and the (3x). It doesn't matter what or which one comes first; you're just adding the two.

So you could rewrite it as (y = 3x + 5), and then it becomes a little bit clearer that our slope is (3) (the coefficient on the (x) term), and our y-intercept is (5).

Y-intercept: let's do another example.

Let's say that we have the equation (y = 12 - x). Pause this video and see if you can determine the slope and the y-intercept.

All right, so something similar is going on here that we had over here. The standard form slope-intercept form we're used to seeing the (x) term before the constant term, so we might want to do that over here.

So we could rewrite this as (y = -x + 12) (or negative (x + 12)). From this, you might immediately recognize, okay, my constant term when it's in this form—that's my (b); that is my y-intercept. So that's my y-intercept right over there.

But what's my slope? Well, the slope is the coefficient on the (x) term, but all you see is a negative here. What's the coefficient? Well, you could view (-x) as the same thing as (-1x). So your slope here is going to be (-1).

Let's do another example. Let's say that we had the equation (y = 5x). What's the slope and y-intercept there?

At first, you might say, "Hey, this looks nothing like what we have up here." This is only—I only have one term on the right-hand side of the equality sign here; I have two.

But you could just view this as (5x + 0), and then it might jump out at you that our y-intercept is (0), and our slope is the coefficient on the (x) term; it is equal to (5).

Let's do one more example. Let's say we had (y = -7). What's the slope and y-intercept there?

Well, once again, you might say, "Hey, this doesn't look like what we had up here. How do we figure out the slope or the y-intercept?"

Well, we could do a similar idea. We could say, "Hey, this is the same thing as (y = 0 \cdot x - 7)," and so now it looks just like what we have over here.

You might recognize that our y-intercept is (-7) (y-intercept is equal to (-7)), and our slope is the coefficient on the (x) term; it is equal to (0).

And that makes sense: for a given change in (x), you would expect zero change in (y) because (y) is always (-7) in this situation.

More Articles

View All
Atomic Habits: Small Changes, Big Results
11 seconds. It doesn’t seem like a lot of time, does it? In fact, you’ve already been watching this video for about 11 seconds. If you are running and I ask you to run 11 seconds faster per mile, could you do it? Probably, because 11 seconds isn’t that mu…
Donald Trump Accuses President Biden Of Stopping Peace Deal Between Russia And Ukraine
Things P.O. on Ukraine and Iran—the two negotiations you’ll be heading into. Um, on Ukraine, you said just before, it’s a lot more complicated now, much more complicated. Do you believe it is because it would have never started, right? But it has started…
Look Inside Warren Buffett’s Latest Stock Moves!
Well, in the last video, we covered Michael Burry’s 13F filing. Now, next on the list is, of course, you guessed it, Mr. Warren Buffett. Without a doubt, you know Warren Buffett is the super investor that I follow personally the closest. I mean, for me, e…
Harj Taggar - Choosing a Startup to Work At
Hey everyone, I’m Harj. I’m a partner at Y Combinator, and I’m going to answer how do you choose a startup to work at. So the first thing is to be sure you actually want to work at a startup. Working at a startup is not for everyone. It’s a very unique e…
Watch a Masterpiece Emerge from a Solid Block of Stone | Short Film Showcase
I always find that you have to be a bit mad to become a stone carver. I mean, this isn’t the Renaissance anymore. Stone isn’t a primary building material anymore. Why, why would you go into an industry? Why would you go into a profession that is expensive…
The Curious Ecosystems of Antarctica | Continent 7: Antarctica
I kind of joke with folks that January is the longest day of my year. The sunlight down there is incredible because you get to see animals, uh, go about sort of what they do in perpetual sunlight in 24 hours. Generally, if you have nighttime, if we’ve got…