< Return to Video

Factorial and counting seat arrangements

  • 0:00 - 0:03
    - So, let's say that we have a round table
  • 0:03 - 0:05
    and we have three chairs
    around that round table.
  • 0:05 - 0:07
    This is one chair right over here,
  • 0:07 - 0:08
    this is another chair,
  • 0:08 - 0:11
    and that is another chair.
  • 0:11 - 0:12
    We can number the chairs;
  • 0:12 - 0:13
    that is chair one,
  • 0:13 - 0:14
    that is chair two,
  • 0:14 - 0:16
    and that is chair three.
  • 0:16 - 0:18
    Now let's assume that
    there are three people
  • 0:18 - 0:21
    who want to sit in these three chairs,
  • 0:21 - 0:23
    so there is Person A,
  • 0:23 - 0:24
    there is Person B,
  • 0:24 - 0:26
    and there is Person C.
  • 0:26 - 0:29
    What we want to do is we want to count
  • 0:29 - 0:32
    the number of ways that these three people
  • 0:32 - 0:33
    can sit in these three chairs.
  • 0:33 - 0:35
    What do I mean by that?
  • 0:35 - 0:39
    Well, if A sits in chair
    one, B sits in chair three,
  • 0:39 - 0:43
    and C sits in chair two, that is one
  • 0:43 - 0:45
    scenario right over there.
  • 0:45 - 0:48
    So this is one of the possible scenarios,
  • 0:48 - 0:51
    A in seat one, C in seat
    two, B in seat three.
  • 0:51 - 0:54
    Another scenario could be B in seat one,
  • 0:56 - 1:00
    maybe C still sits in seat
    two, C still sits there,
  • 1:00 - 1:03
    and now A would be in seat three.
  • 1:03 - 1:05
    So this is one scenario and two scenarios.
  • 1:05 - 1:07
    My question to you is how many
  • 1:07 - 1:09
    scenarios are there like this?
  • 1:09 - 1:10
    I encourage you to pause the video
  • 1:10 - 1:13
    and try to think through it.
  • 1:13 - 1:15
    I'm assuming you've had a go at it,
  • 1:15 - 1:16
    now let's work through it together.
  • 1:16 - 1:17
    I want to do it very systematically
  • 1:17 - 1:21
    so that we don't forget
    any of the scenarios.
  • 1:21 - 1:22
    The way I'm going to
    do it is, I'm going to
  • 1:22 - 1:24
    create three blanks that
    represent each of the chairs.
  • 1:24 - 1:26
    So here, it's in a circle,
    but we could just say
  • 1:26 - 1:29
    that blank is chair one,
    that's the blank for chair two,
  • 1:29 - 1:32
    and that is the blank for chair three.
  • 1:32 - 1:34
    I'm going to start with seat
    one, and I'm going to say,
  • 1:34 - 1:36
    "Well, what are the different scenarios?"
  • 1:36 - 1:38
    A could sit there, B could
    sit there, C could sit there.
  • 1:38 - 1:41
    Then for each of those, figure
    out who could sit in seat two
  • 1:41 - 1:42
    and then for each of those,
  • 1:42 - 1:44
    figure out who could sit in seat three.
  • 1:44 - 1:45
    So let's do that.
  • 1:45 - 1:50
    First, what are the scenarios
    of who could sit in seat one?
  • 1:51 - 1:53
    Maybe I'll write it this way,
  • 1:53 - 1:56
    maybe I'll do seat one.
  • 1:56 - 2:01
    So right now, we're only
    going to fill seat one.
  • 2:01 - 2:03
    Well A could sit in seat one,
  • 2:03 - 2:08
    in which case we haven't filled
    seat two or seat three yet.
  • 2:08 - 2:09
    So that's two or three.
  • 2:09 - 2:12
    B could sit in seat one,
    and we haven't figured out
  • 2:12 - 2:16
    who sits in seat two or seat three yet.
  • 2:16 - 2:19
    Then we could have C sitting in seat one,
  • 2:19 - 2:21
    and we still have to figure
    out who's going to sit
  • 2:21 - 2:24
    in seat two and seat three.
  • 2:24 - 2:26
    For each of these, let's figure out who
  • 2:26 - 2:28
    could be sitting in seat two.
  • 2:28 - 2:33
    So, seats one and two.
  • 2:34 - 2:36
    For this one right over here,
  • 2:38 - 2:41
    we have A in seat one for sure.
  • 2:41 - 2:44
    We could either have
    B sitting in seat two,
  • 2:44 - 2:47
    in which case, I'll leave this
    blank although you can use
  • 2:47 - 2:49
    a little bit of deductive
    reasoning to figure out
  • 2:49 - 2:50
    who's going to be sitting in seat three.
  • 2:50 - 2:52
    So I'll leave seat three blank.
  • 2:52 - 2:57
    Or, you could have C sitting in seat two.
  • 2:57 - 3:00
    We still haven't figured out
    who's sitting in seat three,
  • 3:00 - 3:01
    although once again, a little bit
  • 3:01 - 3:03
    of deductive reasoning might tell us.
  • 3:03 - 3:07
    So these are the scenarios
    where A is in seat one.
  • 3:07 - 3:09
    Now what about when B is in seat one?
  • 3:09 - 3:13
    We could put A in seat two, and we still
  • 3:13 - 3:15
    need to figure out who's in seat three.
  • 3:15 - 3:18
    Or, we could put C in seat two,
  • 3:18 - 3:19
    and we still need to figure out
  • 3:19 - 3:22
    who's going to be in seat three.
  • 3:22 - 3:26
    Finally, let's look at C,
    where C is in seat one.
  • 3:26 - 3:31
    You could either put A in seat two or
  • 3:32 - 3:36
    you could put B in seat two.
  • 3:37 - 3:38
    Now let's fill out all three of the seats.
  • 3:38 - 3:43
    So seats one, two,
  • 3:43 - 3:44
    and three.
  • 3:44 - 3:47
    For this scenario right over here,
  • 3:47 - 3:49
    there's only one option that
    you could put in seat three,
  • 3:49 - 3:52
    the only person who hasn't
    sat down yet is person C.
  • 3:52 - 3:55
    So this will be A, B, C.
  • 3:55 - 3:56
    And what would this be?
  • 3:56 - 3:57
    The only person who hasn't sat down
  • 3:57 - 3:59
    in this scenario yet to fill this chair,
  • 3:59 - 4:00
    the only option for this chair,
  • 4:00 - 4:02
    there's only one option here,
  • 4:02 - 4:04
    it's going to be person B.
  • 4:04 - 4:06
    It's A, C, B.
  • 4:06 - 4:09
    This one is going to be B, A, C.
  • 4:09 - 4:11
    C's the only person who could sit there,
  • 4:11 - 4:13
    A is the only person who could sit there.
  • 4:13 - 4:15
    B, C, A.
  • 4:15 - 4:18
    And then here, B is the only person
  • 4:18 - 4:19
    who could sit in seat three.
  • 4:19 - 4:21
    And here A is the only person
  • 4:21 - 4:23
    who could sit in seat three.
  • 4:23 - 4:24
    How many scenarios do we have?
  • 4:24 - 4:28
    We have one, two, three, four,
  • 4:28 - 4:31
    five, and six.
  • 4:31 - 4:32
    And six is our answer.
  • 4:32 - 4:34
    That's the number of
    scenarios that you could have
  • 4:34 - 4:37
    the different people sitting
    in the different chairs.
  • 4:37 - 4:39
    Now, I know what you're thinking,
  • 4:39 - 4:40
    "Okay Sal, this was a
    scenario with three people
  • 4:40 - 4:44
    "and three chairs and I
    might've been able just do this
  • 4:44 - 4:45
    "even if I didn't do it systematically.
  • 4:45 - 4:49
    "But what if I have many many more chairs?
  • 4:49 - 4:51
    "What if I had 60 chairs?"
  • 4:51 - 4:54
    Well, the number of scenarios
    would get fairly large.
  • 4:54 - 4:58
    What if I had five people and five chairs?
  • 4:58 - 5:00
    Even this method right over here
  • 5:00 - 5:02
    would take up a lot of paper space,
  • 5:02 - 5:03
    or a lot of screen space.
  • 5:03 - 5:05
    What do we do in that scenario?
  • 5:06 - 5:07
    And the realization here is just
  • 5:07 - 5:10
    thinking about what happened here.
  • 5:11 - 5:15
    How many people could sit in seat one?
  • 5:16 - 5:17
    If we're going seat by seat,
  • 5:17 - 5:19
    how many possibilities were there
  • 5:19 - 5:20
    to put in seat one?
  • 5:20 - 5:22
    If you're seating in order,
  • 5:22 - 5:26
    if you haven't filled
    any of the seats yet,
  • 5:28 - 5:31
    right at the beginning,
    there's three possible people
  • 5:31 - 5:33
    who could sit in seat one.
  • 5:33 - 5:35
    You see it right over here, one
  • 5:35 - 5:39
    two, three, because there's
    three possible people.
  • 5:40 - 5:43
    For each of those, how many
    people could sit in seat two?
  • 5:43 - 5:45
    For each of them, let's
    say the scenario where A
  • 5:45 - 5:48
    is sitting in seat one,
    there's two possibilities
  • 5:48 - 5:50
    for who could sit in seat two.
  • 5:51 - 5:53
    Let me do this in a different color.
  • 5:53 - 5:55
    So this, right over here.
  • 5:55 - 6:00
    For each of these three,
    there's two possibilities
  • 6:01 - 6:03
    of who could sit in seat two.
  • 6:03 - 6:06
    If A is sitting in seat
    one, you could have
  • 6:06 - 6:07
    either B or C in seat two.
  • 6:07 - 6:09
    If B is sitting in seat one, you have
  • 6:09 - 6:11
    either A or C for seat two.
  • 6:11 - 6:14
    So for each of these three,
    you have two possibilities
  • 6:14 - 6:17
    of who could sit in seat two.
  • 6:19 - 6:21
    So you have six possibilities
    where you're filling in
  • 6:21 - 6:23
    three times two, or you're filling in
  • 6:23 - 6:26
    the scenarios for seats one and two.
  • 6:26 - 6:28
    And then for each of those,
  • 6:28 - 6:33
    how many scenarios are
    who can sit in seat three?
  • 6:34 - 6:38
    For each of those, there was only
  • 6:38 - 6:42
    one possibility for who could sit
  • 6:43 - 6:47
    in seat three.
  • 6:47 - 6:48
    We see it right there, that's because
  • 6:48 - 6:51
    there's only one person left
    who hasn't sat down yet.
  • 6:51 - 6:53
    So how many total possibilities are there?
  • 6:53 - 6:58
    Well, three times two
    times one is equal to six.
  • 6:58 - 7:00
    And so if we were to do that
    same exact thought exercise,
  • 7:00 - 7:03
    with say, five seats, let's
    go through that exercise.
  • 7:03 - 7:05
    It's interesting.
  • 7:05 - 7:10
    So if we have one, two, three, four, five.
  • 7:10 - 7:13
    So this is five seats with
    five people sitting down,
  • 7:13 - 7:14
    and we want to figure out
    how many scenarios are there
  • 7:14 - 7:17
    for all the different people
    and all the different seats.
  • 7:17 - 7:19
    For the first seat, there's five
  • 7:19 - 7:22
    different people who could sit in it.
  • 7:22 - 7:24
    For each of those scenarios,
    there's four people
  • 7:24 - 7:28
    who haven't sat down yet who
    could sit in the second seat.
  • 7:28 - 7:30
    For each of those scenarios,
    there's going to be
  • 7:30 - 7:32
    three people who haven't sat down yet,
  • 7:32 - 7:34
    so those are the people who
    could sit in the third seat
  • 7:34 - 7:36
    if we're filling out
    the seats in this order.
  • 7:36 - 7:38
    For each of all of these scenarios,
  • 7:38 - 7:41
    there's two people left
    who haven't sat down yet,
  • 7:41 - 7:43
    who could sit in the fourth seat.
  • 7:43 - 7:45
    And then for all of these scenarios,
  • 7:45 - 7:47
    there's only one person
    left who hasn't sat down
  • 7:47 - 7:49
    who would have to sit in the fifth seat.
  • 7:49 - 7:51
    If you had this exact
    same thing, but instead of
  • 7:51 - 7:53
    three chairs you had five chairs,
  • 7:53 - 7:54
    the number of scenarios would be
  • 7:54 - 7:58
    five times four times
    three times two times one.
  • 7:58 - 8:01
    Which is what, 20 times six,
  • 8:01 - 8:04
    which is equal to 120 scenarios.
  • 8:04 - 8:08
    And so you see that the
    scenarios grow fairly quickly.
  • 8:08 - 8:10
    And if you're wondering,
    "Hey, this is kind of a neat
  • 8:10 - 8:12
    mathematical thing. Three
    times two times one."
  • 8:12 - 8:15
    Or five times four times
    three times two times one.
  • 8:15 - 8:17
    If you start with a number
    and you multiply that number
  • 8:17 - 8:20
    times number one less than that
  • 8:20 - 8:22
    all the way down to getting to one,
  • 8:22 - 8:26
    that seems like neat kind of
    fun mathematical operation.
  • 8:26 - 8:28
    And lucky for you, or
    maybe unlucky for you,
  • 8:28 - 8:29
    because this might have
    been your chance at fame,
  • 8:29 - 8:32
    this operation has already been defined.
  • 8:32 - 8:36
    It's called the factorial operation.
  • 8:36 - 8:37
    So this thing right over here,
  • 8:37 - 8:41
    this is the same thing as three factorial.
  • 8:41 - 8:43
    You write this little exclamation mark.
  • 8:43 - 8:46
    This right over here,
    this is the same thing
  • 8:46 - 8:47
    as five factorial.
  • 8:47 - 8:51
    In general, if I said six factorial,
  • 8:51 - 8:53
    that would be equal to six times five
  • 8:53 - 8:58
    times four times three
    times two times one.
  • 8:58 - 9:00
    Hopefully you enjoyed that.
Title:
Factorial and counting seat arrangements
Description:

more » « less
Video Language:
English
Team:
Khan Academy
Duration:
09:01

English subtitles

Revisions