< Return to Video

Can you solve the river crossing riddle?

  • 0:07 - 0:10
    As a wildfire rages through
    the grasslands,
  • 0:10 - 0:15
    three lions and three wildebeest
    flee for their lives.
  • 0:15 - 0:16
    To escape the inferno,
  • 0:16 - 0:21
    they must cross over to the left bank
    of a crocodile-infested river.
  • 0:21 - 0:24
    Fortunately, there happens
    to be a raft nearby.
  • 0:24 - 0:27
    It can carry up to two animals at a time,
  • 0:27 - 0:31
    and needs as least one lion
    or wildebeest on board
  • 0:31 - 0:33
    to row it across the river.
  • 0:33 - 0:36
    There's just one problem.
  • 0:36 - 0:40
    If the lions ever outnumber the
    wildebeest on either side of the river,
  • 0:40 - 0:41
    even for a moment,
  • 0:41 - 0:45
    their instincts will kick in,
    and the results won't be pretty.
  • 0:45 - 0:50
    That includes the animals in the boat
    when it's on a given side of the river.
  • 0:50 - 0:54
    What's the fastest way for all six animals
    to get across
  • 0:54 - 0:58
    without the lions stopping for dinner?
  • 0:58 - 1:02
    Pause here if you want
    to figure it out for yourself.
  • 1:02 - 1:03
    Answer in: 3
  • 1:03 - 1:04
    Answer in: 2
  • 1:04 - 1:05
    Answer in: 1
  • 1:05 - 1:07
    If you feel stuck on a problem like this,
  • 1:07 - 1:11
    try listing all the decisions you can make
    at each point,
  • 1:11 - 1:14
    and the consequences each choice
    leads to.
  • 1:14 - 1:18
    For instance, there are five options
    for who goes across first:
  • 1:18 - 1:19
    one wildebeest,
  • 1:19 - 1:20
    one lion,
  • 1:20 - 1:21
    two wildebeest,
  • 1:21 - 1:22
    two lions,
  • 1:22 - 1:24
    or one of each.
  • 1:24 - 1:25
    If one animal goes alone,
  • 1:25 - 1:28
    it'll just have to come straight back.
  • 1:28 - 1:29
    And if two wildebeest cross first,
  • 1:29 - 1:32
    the remaining one will immediately
    get eaten.
  • 1:32 - 1:35
    So those options are all out.
  • 1:35 - 1:37
    Sending two lions,
  • 1:37 - 1:38
    or one of each animal,
  • 1:38 - 1:43
    can actually both lead to solutions
    in the same number of moves.
  • 1:43 - 1:46
    For the sake of time,
    we'll focus on the second one.
  • 1:46 - 1:48
    One of each animal crosses.
  • 1:48 - 1:51
    Now, if the wildebeest stays
    and the lion returns,
  • 1:51 - 1:54
    there will be three lions
    on the right bank.
  • 1:54 - 1:56
    Bad news for the two remaining wildebeest.
  • 1:56 - 1:59
    So we need to have the lion
    stay on the left bank
  • 1:59 - 2:02
    and the wildebeest go back to the right.
  • 2:02 - 2:04
    Now we have the same five options,
  • 2:04 - 2:07
    but with one lion
    already on the left bank.
  • 2:07 - 2:10
    If two wildebeest go,
    the one that stays will get eaten,
  • 2:10 - 2:12
    and if one of each animal goes,
  • 2:12 - 2:15
    the wildebeest on the raft
    will be outnumbered
  • 2:15 - 2:18
    as soon as it reaches the other side.
  • 2:18 - 2:19
    So that's a dead end,
  • 2:19 - 2:21
    which means that at the third crossing,
  • 2:21 - 2:24
    only the two lions can go.
  • 2:24 - 2:25
    One gets dropped off,
  • 2:25 - 2:27
    leaving two lions on the left bank.
  • 2:27 - 2:30
    The third lion takes the raft back to
    the right bank
  • 2:30 - 2:33
    where the wildebeest are waiting.
  • 2:33 - 2:34
    What now?
  • 2:34 - 2:37
    Well, since we've got two lions waiting
    on the left bank,
  • 2:37 - 2:41
    the only option is for two wildebeest
    to cross.
  • 2:41 - 2:45
    Next, there's no sense in two wildebeest
    going back,
  • 2:45 - 2:47
    since that just reverses the last step.
  • 2:47 - 2:49
    And if two lions go back,
  • 2:49 - 2:52
    they'll outnumber the wildebeest
    on the right bank.
  • 2:52 - 2:56
    So one lion and one wildebeest
    take the raft back
  • 2:56 - 2:59
    leaving us with one of each animal
    on the left bank
  • 2:59 - 3:01
    and two of each on the right.
  • 3:01 - 3:05
    Again, there's no point in sending
    the lion-wildebeest pair back,
  • 3:05 - 3:08
    so the next trip should be either
    a pair of lions
  • 3:08 - 3:10
    or a pair of wildebeest.
  • 3:10 - 3:14
    If the lions go, they'd eat the wildebeest
    on the left, so they stay,
  • 3:14 - 3:17
    and the two wildebeest cross instead.
  • 3:17 - 3:21
    Now we're quite close because the
    wildebeest are all where they need to be
  • 3:21 - 3:23
    with safety in numbers.
  • 3:23 - 3:26
    All that's left is for that one lion
    to raft back
  • 3:26 - 3:29
    and bring his fellow lions over
    one by one.
  • 3:29 - 3:32
    That makes eleven trips total,
  • 3:32 - 3:35
    the smallest number needed
    to get everyone across safely.
  • 3:35 - 3:40
    The solution that involves sending both
    lions on the first step works similarly,
  • 3:40 - 3:44
    and also takes eleven crossings.
  • 3:44 - 3:47
    The six animals escape unharmed
    from the fire just in time
  • 3:47 - 3:50
    and begin their new lives
    across the river.
  • 3:50 - 3:53
    Of course, now that the danger's passed,
  • 3:53 - 3:57
    it remains to be seen how long their
    unlikely alliance will last.
Title:
Can you solve the river crossing riddle?
Speaker:
Lisa Winer
Description:

more » « less
Video Language:
English
Team:
closed TED
Project:
TED-Ed
Duration:
04:19

English subtitles

Revisions Compare revisions