< Return to Video

Infinite solutions to systems

  • 0:00 - 0:01
  • 0:01 - 0:04
    Arbegla starts to feel
    angry and embarrassed
  • 0:04 - 0:08
    that he was shown up by you and
    the bird in front of the King
  • 0:08 - 0:10
    and so he storms
    out of the room.
  • 0:10 - 0:12
    And then a few seconds
    later he storms back in.
  • 0:12 - 0:14
    He says, my fault.
  • 0:14 - 0:15
    My apologies.
  • 0:15 - 0:18
    I realize now what
    the mistake was.
  • 0:18 - 0:23
    There was a slight, I guess,
    typing error or writing error.
  • 0:23 - 0:26
    In the first week, when
    they went to the market
  • 0:26 - 0:28
    and bought two pounds of apples
    and one pound of bananas,
  • 0:28 - 0:30
    it wasn't a $3 cost.
  • 0:30 - 0:33
    It was a $5 cost.
  • 0:33 - 0:36
  • 0:36 - 0:41
    Now surely considering how smart
    you and this bird seem to be,
  • 0:41 - 0:46
    you surely could figure out what
    is the per pound cost of apples
  • 0:46 - 0:48
    and what is the per
    pound cost of bananas.
  • 0:48 - 0:51
    So you think for a
    little bit, is there now
  • 0:51 - 0:55
    going to be a solution?
  • 0:55 - 0:57
    So let's break it down using
    the exact same variables.
  • 0:57 - 1:01
    You say, well if a is the
    cost of apples per pound
  • 1:01 - 1:06
    and b is the cost of bananas,
    this first constraint tells us
  • 1:06 - 1:09
    that two pounds of apples
    are going to cost 2a,
  • 1:09 - 1:11
    because it's a
    dollars per pound.
  • 1:11 - 1:14
    And one pound of
    bananas is going
  • 1:14 - 1:18
    to cost b dollars because
    it's one pound times
  • 1:18 - 1:21
    b dollars per pound is
    now going to cost $5.
  • 1:21 - 1:24
  • 1:24 - 1:28
    This is the corrected number.
  • 1:28 - 1:30
    And we saw from
    the last scenario,
  • 1:30 - 1:32
    this information hasn't changed.
  • 1:32 - 1:36
    Six pounds of apples is
    going to cost 6a, six
  • 1:36 - 1:38
    pounds times a
    dollars per pound.
  • 1:38 - 1:43
    And three pounds of bananas is
    going to cost 3b, three pounds
  • 1:43 - 1:45
    times b dollars per pound.
  • 1:45 - 1:47
    The total cost of the
    apples and bananas
  • 1:47 - 1:50
    in this trip we
    are given is $15.
  • 1:50 - 1:53
  • 1:53 - 1:54
    So once again, you
    say, well let me
  • 1:54 - 1:58
    try to solve this maybe
    through elimination.
  • 1:58 - 2:00
    And once again, you say well
    let me cancel out the a's.
  • 2:00 - 2:01
    I have 2a here.
  • 2:01 - 2:03
    I have 6a here.
  • 2:03 - 2:05
    If I multiply the 2a
    here by negative 3,
  • 2:05 - 2:07
    then this will
    become a negative 6a.
  • 2:07 - 2:10
    And it might be able to cancel
    out with all of this business.
  • 2:10 - 2:11
    So you do that.
  • 2:11 - 2:12
    You multiply this
    entire equation.
  • 2:12 - 2:14
    You can't just
    multiply one term.
  • 2:14 - 2:17
    You have to multiply the entire
    equation times negative 3
  • 2:17 - 2:19
    if you want the
    equation to still hold.
  • 2:19 - 2:21
    And so we're multiplying
    by negative 3
  • 2:21 - 2:26
    so 2a times negative
    3 is negative 6a.
  • 2:26 - 2:30
    b times negative
    3 is negative 3b.
  • 2:30 - 2:35
    And then 5 times negative
    3 is negative 15.
  • 2:35 - 2:37
    And now something
    fishy starts to look
  • 2:37 - 2:39
    like it's about to happen.
  • 2:39 - 2:40
    Because when you
    add the left hand
  • 2:40 - 2:44
    side of this blue equation
    or this purplish equation
  • 2:44 - 2:47
    to the green one, you get 0.
  • 2:47 - 2:50
    All of these things right
    over here just cancel out.
  • 2:50 - 2:54
    And on the right hand
    side, 15 minus 15,
  • 2:54 - 2:56
    that is also equal to 0.
  • 2:56 - 3:01
    And you get 0 equals 0, which
    seems a little bit better
  • 3:01 - 3:03
    than the last time
    you worked through it.
  • 3:03 - 3:05
    Last time we got 0 equals 6.
  • 3:05 - 3:07
    But 0 equals 0 doesn't really
    tell you anything about
  • 3:07 - 3:08
    the x's and y's.
  • 3:08 - 3:09
    This is true.
  • 3:09 - 3:13
    This is absolutely true that
    0 does definitely equals 0,
  • 3:13 - 3:16
    but it doesn't tell you any
    information about x and y.
  • 3:16 - 3:18
    And so then the bird
    whispers in the King's ear,
  • 3:18 - 3:20
    and then the King
    says, well the bird
  • 3:20 - 3:21
    says you should graph
    it to figure out
  • 3:21 - 3:23
    what's actually going on.
  • 3:23 - 3:26
    And so you've learned
    that listening to the bird
  • 3:26 - 3:29
    actually makes a lot of sense.
  • 3:29 - 3:33
    So you try to graph
    these two constraints.
  • 3:33 - 3:34
    So let's do it the same way.
  • 3:34 - 3:35
    We'll have a b axis.
  • 3:35 - 3:37
  • 3:37 - 3:39
    That's our b axis.
  • 3:39 - 3:43
    And we will have our a axis.
  • 3:43 - 3:46
    Let we mark off some markers
    here-- one, two, three, four,
  • 3:46 - 3:50
    five and one, two,
    three, four, five.
  • 3:50 - 3:52
    So this first equation
    right over here,
  • 3:52 - 3:55
    if we subtract 2a
    from both sides,
  • 3:55 - 3:57
    I'm just going to put it
    into slope intercept form,
  • 3:57 - 4:04
    you get b is equal to
    negative 2a plus 5.
  • 4:04 - 4:06
    All I did is subtract
    2a from both sides.
  • 4:06 - 4:09
    And if we were to graph
    that, our b-intercept when
  • 4:09 - 4:11
    a is equal to 0,
    b is equal to 5.
  • 4:11 - 4:12
    So that's right over here.
  • 4:12 - 4:14
    And our slope is negative 2.
  • 4:14 - 4:18
    Every time you add 1 to a--
    so if a goes from 0 to 1-- b
  • 4:18 - 4:20
    is going to go down by 2.
  • 4:20 - 4:24
    So go down by two, go down by 2.
  • 4:24 - 4:27
    So this first white
    equation looks like this
  • 4:27 - 4:29
    if we graph the solution set.
  • 4:29 - 4:35
    These are all of the prices
    for bananas and apples
  • 4:35 - 4:37
    that meet this constraint.
  • 4:37 - 4:40
    Now let's graph this
    second equation.
  • 4:40 - 4:44
    If we subtract 6a
    from both sides,
  • 4:44 - 4:51
    we get 3b is equal to
    negative 6a plus 15.
  • 4:51 - 4:55
    And now we could divide
    both sides by 3, divide
  • 4:55 - 4:57
    everything by 3.
  • 4:57 - 5:03
    We are left with b is equal
    to negative 2a plus 5.
  • 5:03 - 5:05
    Well this is interesting.
  • 5:05 - 5:08
    This looks very similar, or
    it looks exactly the same.
  • 5:08 - 5:11
    Our b-intercept is 5 and
    our slope is negative 2a.
  • 5:11 - 5:16
    So this is essentially
    the same line.
  • 5:16 - 5:19
    So these are essentially
    the same constraints.
  • 5:19 - 5:21
    And so you start to look at
    it a little bit confused,
  • 5:21 - 5:26
    and you say, OK, I see
    why we got 0 equals 0.
  • 5:26 - 5:28
    There's actually an infinite
    number of solutions.
  • 5:28 - 5:31
    You pick any x and then
    the corresponding y
  • 5:31 - 5:33
    for each of these
    could be a solution
  • 5:33 - 5:35
    for either of these things.
  • 5:35 - 5:37
    So there's an infinite
    number of solutions.
  • 5:37 - 5:39
    But you start to wonder,
    why is this happening?
  • 5:39 - 5:41
    And so the bird whispers
    again into the King's ear
  • 5:41 - 5:43
    and the King says,
    well the bird says
  • 5:43 - 5:46
    this is because in both
    trips to the market
  • 5:46 - 5:49
    the same ratio of apples
    and bananas was bought.
  • 5:49 - 5:53
    In the green trip
    versus the white trip,
  • 5:53 - 5:57
    you bought three times as many
    apples, bought three times
  • 5:57 - 6:00
    as many bananas, and you
    had three times the cost.
  • 6:00 - 6:05
    So in any situation for any
    per pound prices of apples
  • 6:05 - 6:08
    and bananas, if you
    buy exactly three times
  • 6:08 - 6:10
    the number of apples, three
    times the number bananas,
  • 6:10 - 6:13
    and have three
    times the cost, that
  • 6:13 - 6:15
    could be true for any prices.
  • 6:15 - 6:18
    And so this is actually
    it's consistent.
  • 6:18 - 6:23
    We can't say that
    Arbegla is lying to us,
  • 6:23 - 6:25
    but it's not giving
    us enough information.
  • 6:25 - 6:28
    This is what we call, this
    is a consistent system.
  • 6:28 - 6:29
    It's consistent
    information here.
  • 6:29 - 6:31
    So let me write this down.
  • 6:31 - 6:34
    This is consistent.
  • 6:34 - 6:36
    And it is consistent,
    0 equals 0.
  • 6:36 - 6:39
    There's no shadiness
    going on here.
  • 6:39 - 6:41
    But it's not enough information.
  • 6:41 - 6:44
    This system of
    equations is dependent.
  • 6:44 - 6:46
    It is dependent.
  • 6:46 - 6:52
    And you have an infinite
    number of solutions.
  • 6:52 - 6:56
    Any point this line
    represents a solution.
  • 6:56 - 6:58
    So you tell Arbegla,
    well, if you really
  • 6:58 - 7:00
    want us to figure
    this out, you need
  • 7:00 - 7:01
    to give us more information.
  • 7:01 - 7:06
    And preferably buy a different
    ratio of apples to bananas.
  • 7:06 - 7:07
Title:
Infinite solutions to systems
Description:

more » « less
Video Language:
English
Team:
Khan Academy
Duration:
07:08

English subtitles

Revisions Compare revisions