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
YC Tech Talks: Designing Game Characters with Deep Learning, from Cory Li at Spellbrush (W18)
My name is Corey, uh I’m the CEO at Spell Rush and I’m here to talk to you today about, uh, designing characters with deep learning. So, um, we’re Spell Rush. Uh, we’re a YC company as well. Uh, we’re building deep learning tools for art and artists. Uh,…
It’s Rare to Have Competing, Viable, Scientific Theories
Edition that’s similar to Bayesianism, isn’t it? In both cases, they’re assuming that you can enumerate all the possible theories, but you can’t, because that’s the creativity coming in. It’s very rare in science to have more than one viable theory in phy…
How Investments Scams Work | Trafficked with Mariana van Zeller
[Music] While scamming in Jamaica brings in hundreds of millions of dollars a year, scamming in Israel is reported to bring in billions. I want to know how it works. What’s happening? You can see him. Okay, everyone ready? He’s driving up, guys. So, I ar…
15 Things You Envy In Other People
Nothing says I have no confidence in myself more than envying other people and being obvious about it. They seem to have it all while you’re here, stuck yet again. Well, today we’re talking about 15 things you envy in other people, so you can start doing …
Introduction to Grammar | Grammar | Khan Academy
Hi everyone, my name is David and I’m here to introduce you to grammar on Con Academy. Welcome! I’m so glad you could join me. So let’s start by asking the question: What is grammar? What is this thing? Why is it worthwhile to study it? Why would you wan…
Bobi Wine: The People’s President | Official Trailer | National Geographic Documentary Films
Election [Music] [Applause] [Music] [Applause] This is a message to the government. University, I didn’t know he was a musician. He was different. I didn’t have so many dreams; she impacted my life. She made me realize we had to impact other lives. I’ve …