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

Writing linear equations in two variables given a table | Algebra 1 (TX TEKS) | Khan Academy


2m read
·Nov 10, 2024

We're told a city bike rental service charges customers based on how long they rent the bicycle. The table shows the total cost for renting a bicycle as a function of the number of rental hours. So they say complete the equation to model the hourly rental cost.

So what they really want us to do is have an equation of Y being, we could say a function of X, that can describe what is going on here. So pause this video and have a go at it before we do this together.

All right, so let's just look at the data a little bit and think about, okay, is this a linear relationship or is this something else? So when we increase our rental hours by two, it looks like here, or when we go from one to three, we're increasing by two and our cost is increasing by... let's see, to go from 12 to 30, it's increasing by 18.

See, when we go from 3 to 5, once again that's two more hours and it looks like every two hours we do indeed increase our cost by 18. Let me check again: hours increase by two and cost indeed increases by 18.

So if we are increasing by $18 every two hours, that's the same thing as you have a change in Y of $9 every time you have a change in X of one hour. So it's $9 per hour. Now, change in Y over change in X might look familiar to you; that is the slope of a line.

So this is a linear relationship. It's going to have the form Y is equal to mx + b, where this is the slope and this is the Y intercept. We just figured out the slope; it is $9 per hour.

So we could say Y is equal to 9x plus whatever the Y intercept is. The Y intercept would be the minimum that they're going to charge you before they even bill you based on hours.

To figure out that, we just have to substitute one of these points. We can say, okay, when X is 1, Y is 12. So let's just substitute that: Y is 12 when X is 1, so 9 * 1 + b, or 12 is equal to 9 + B. You could do this in your head or you could subtract nine from both sides, and you get three is equal to B.

So our equation this right over here is 3, so we get Y is equal to 9x + 3. One way to interpret this is even if you just rent a bike, before they even charge you the hourly, they're going to charge you $3 just to do that, and then they're going to charge you $9 per hour after that.

You can double check that; you could say, okay, well if I had to rent this bike for three hours, I'm going to pay that $3 and then I'm going to pay an extra $27 for the hourly amount that I'm using it. 27 + 3 is indeed $30. You could try out any of these other ones.

More Articles

View All
Conclusion for a two-sample t test using a P-value | AP Statistics | Khan Academy
A sociologist studying fertility in France and Switzerland wanted to test if there was a difference in the average number of babies women in each country have. The sociologists obtained a random sample of women from each country. Here are the results of t…
What's in Bill Gates' $47 Billion Stock Portfolio?
Bill Gates, the internet sensation. You might know him as the guy that jumped over a chair or the guy that has no idea what the price of groceries are. Or you might know him as the genius co-founder of Microsoft and the world’s seventh richest man, just b…
How To Work On A Long Term Plan (Without Having One)
There are many people who want to work toward a long-term goal, but they just don’t have one. They don’t know what they’ll be doing in the next five or ten years. They don’t know what life has in store for them. Maybe they’ll be in a different town with a…
Writing exponential functions | High School Math | Khan Academy
G is an exponential function with an initial value of -2. So, an initial value of -2 and a common ratio of 17th. Write the formula for G of T. Well, the fact that it’s an exponential function, we know that its formula is going to be of the form G of T is…
Caroline Hu Flexer answers viewer questions about Khan Academy Kids | Homeroom with Sal
Hello! Looks like we are live. Uh, hello everyone! Sal here from Khan Academy. Welcome to the daily homeroom. For those of y’all that this is the first time that you’re joining, this is really a way to connect and, uh, realize that we’re all part of a glo…
Functions continuous at specific x-values | Limits and continuity | AP Calculus AB | Khan Academy
Which of the following functions are continuous at x = 3? Well, as we said in the previous video, in the previous example, in order to be continuous at a point, you at least have to be defined at that point. We saw our definition of continuity: f is cont…