< Return to Video

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

  • 0:01 - 0:03
    - [Instructor] We're told
    a city bike rental service
  • 0:03 - 0:07
    charges customers based on how
    long they rent the bicycle.
  • 0:07 - 0:11
    The table shows the total
    cost for renting a bicycle
  • 0:11 - 0:14
    as a function of the
    number of rental hours.
  • 0:14 - 0:15
    So they say,
  • 0:15 - 0:20
    "Complete the equation to
    model the hourly rental cost."
  • 0:20 - 0:21
    So what they really want us to do
  • 0:21 - 0:26
    is have an equation of Y being,
    we could say a function of X
  • 0:28 - 0:31
    that can describe what is going on here.
  • 0:31 - 0:33
    So pause this video and have a go at it
  • 0:33 - 0:35
    before we do this together.
  • 0:37 - 0:39
    Alright, so let's just look
    at the data a little bit
  • 0:39 - 0:42
    and think about, okay, is
    this a linear relationship
  • 0:42 - 0:44
    or is this something else?
  • 0:44 - 0:49
    So when we increase our
    rental hours by two,
  • 0:49 - 0:51
    it looks like here, or when
    we go from one to three,
  • 0:51 - 0:55
    we're increasing by two and
    our cost is increasing by,
  • 0:55 - 0:59
    let's see, to go from 12 to
    30, it's increasing by 18.
  • 0:59 - 1:02
    See, when we go from
    three to five, once again,
  • 1:02 - 1:06
    that's two more hours, and
    it looks like every two hours
  • 1:06 - 1:11
    we do indeed increase our cost
    by 18, let me check again.
  • 1:12 - 1:17
    Hours increase by 2 and
    cost indeed increases by 18.
  • 1:17 - 1:22
    So if we are increasing
    by $18 every 2 hours,
  • 1:22 - 1:27
    that's the same thing as
    you have a change in Y of $9
  • 1:29 - 1:32
    every time you have a
    change in X of one hour.
  • 1:32 - 1:36
    So it's $9 per hour.
  • 1:36 - 1:40
    Now change in Y over change in
    X might look familiar to you.
  • 1:40 - 1:42
    That is the slope of a line.
  • 1:42 - 1:44
    So this is a linear relationship.
  • 1:44 - 1:49
    It's going to have the form Y = MX + B,
  • 1:49 - 1:52
    where this is the slope and
    this is the Y intercept.
  • 1:52 - 1:56
    We just figured out the
    slope, it is $9 per hour.
  • 1:56 - 2:00
    So we could say Y = 9X plus
    whatever the Y intercept is.
  • 2:01 - 2:02
    The Y intercept would be the minimum
  • 2:02 - 2:03
    that they're going to charge you
  • 2:03 - 2:06
    before they even bill you based on hours.
  • 2:06 - 2:07
    And to figure out that,
  • 2:07 - 2:09
    we just have to substitute
    one of these points.
  • 2:09 - 2:12
    We can say, okay, when X is 1, Y is 12.
  • 2:12 - 2:16
    So let's just substitute
    that Y is 12 when X is 1.
  • 2:16 - 2:21
    So 9 x 1 + B or 12 = 9 + B.
  • 2:22 - 2:23
    You could do this in your head
  • 2:23 - 2:25
    or you could subtract
    nine from both sides,
  • 2:25 - 2:28
    and you get 3 = B.
  • 2:28 - 2:31
    So our equation, this
    right over here is three.
  • 2:31 - 2:35
    So we get Y = 9X + 3.
  • 2:35 - 2:38
    One way to interpret this is even if you,
  • 2:38 - 2:41
    just renting a bike before they
    even charge you the hourly,
  • 2:41 - 2:43
    they're gonna charge
    you $3 just to do that,
  • 2:43 - 2:47
    and then they're going to charge
    you $9 per hour after that.
  • 2:47 - 2:48
    And you can double check that.
  • 2:48 - 2:49
    You could say,
  • 2:49 - 2:51
    "Okay, well if I had to rent
    this bike for three hours,
  • 2:51 - 2:55
    I'm gonna pay that $3 and then
    I'm gonna pay an extra $27
  • 2:55 - 2:57
    for the hourly amount that I'm using it."
  • 2:57 - 3:00
    27 + 3 is indeed $30.
  • 3:00 - 3:02
    You could try out any of these other ones.
Title:
Writing linear equations in two variables given a table | Algebra 1 (TX TEKS) | Khan Academy
Description:

more » « less
Video Language:
English
Team:
Khan Academy
Duration:
03:02

English subtitles

Revisions