• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Login
Forum — Daily Challenge
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Login

If there's 12 students, why do we go from 11 factorial?

Module 3 Day 8 Challenge Part 3
2
2
59
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T
    The Blade Dancer M0★ M1★ M2★ M3★ M4 M5
    last edited by debbie Aug 16, 2020, 2:21 AM Aug 15, 2020, 7:41 PM

    Module 3 Week 2 Day 8 Challenge Part 3

    If there's 12 students, why do we go from 11 factorial?

    The Blade Dancer
    League of Legends, Valorant: Harlem Charades (#NA1)
    Discord: Change nickname if gay#7585

    D 1 Reply Last reply Aug 16, 2020, 2:18 AM Reply Quote 2
    • D
      debbie ADMIN M0★ M1 M5 @The Blade Dancer
      last edited by debbie Aug 16, 2020, 2:24 AM Aug 16, 2020, 2:18 AM

      @The-Blade-Dancer Thank you for asking this question! Prof. Loh uses a multi-step trick here which is very neat! Let's start by reviewing the question:

       We have 12 students We have three grades to distribute: A’s, B’s, and C’s We need to have at least one of each grade. \text{ We have 12 students} \\ \text{ We have three grades to distribute: A's, B's, and C's} \\ \text{ We need to have at least one of each grade.} \\  We have 12 students We have three grades to distribute: A’s, B’s, and C’s We need to have at least one of each grade.

      Instead of imagining choosing grades to give to each student, we are going to do something a bit weird: we are going to choose students to give to each grade! It's a bit unnatural to do it this way, but this makes it easier to establish the condition that we have at least one of each grade.

      Imagine we have three bins: one bin for the A's, one bin for the B's, and one bin for the C's.

      M3W2D8-ch-part-3-why-11-factorial.png

      We are going to put the people into the bins based on a pre-decided score cutoff (the range of scores for an A, the range of scores for a B, the range of scores for a C). This score cutoff is the curve. We want to count the number of different curves, not the number of ways to give grades to each student. Here I've put scores for each person to show that their order in the line, from "highest score" to "lowest score" is fixed.

      Here is an example of one curve:

      M3W2D8-ch-part-3-why-11-factorial-curve1.png

      And here is another example of a different curve:

      M3W2D8-ch-part-3-why-11-factorial-curve2.png

      Notice that the order of the people, arranged by score, is the same regardless of what the curve is. Instead of worrying about the individual grades, we can draw a diagram with just identical people and partitions dividing the different grades of A, B, and C.

      M3W2D8-ch-part-3-why-11-factorial-line-of-people.png

      Any way to arrange 121212 identical people and 222 identical partitions corresponds one-to-one with a way to devise a scoring curve.

      Oops, but there's another condition we need to satisfy: we need one of at least each grade. So the below diagram wouldn't work:

      M3W2D8-ch-part-3-why-11-factorial-line-of-people2.png

      Cleverly, Prof. Loh showed us that we can pre-emptively assign a person to each of the three "bins." The person with the 100%100\%100% score will always be in the AAA bin, and the person with the (sniff, sniff) 57%57\%57% score will always be in the CCC bin. We can treat them as identical people figures for the purposes of this calculation.

      M3W2D8-ch-part-3-why-11-factorial-line-of-people-solution.png

      There are then only 999 people who are free to be moved from bin to bin, and there are also 222 partitions, giving us the 111111 objects that we need to rearrange.

      Arranging the 111111 objects, 999 of which are identical people and 222 of which are identical partitions, has

      11!9! 2=11×102=55 ways  \frac{11!}{9! \text{ } 2} = \frac{11 \times 10}{2} = \boxed{55 \text{ ways } } 9! 211!​=211×10​=55 ways ​

      This approach is affectionately called "stars ⭐ 🌟 and bars 📊 📊," or "sticks 🏒 and stones 🍙," among many other names. It's one of the most often used tricks in combinatorics, and I guarantee that you will see it again! It's great to use, as it simplifies problems which otherwise would require a lot of painstaking and error-prone casework!

      🙂

      1 Reply Last reply Reply Quote 4

      • 1 / 1
      1 / 1
      • First post
        2/2
        Last post
      Daily Challenge | Terms | COPPA