1. Not finding help here? Sign up for a free 30min tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Derangements math problem

  1. Jul 19, 2011 #1
    1. The problem statement, all variables and given/known data
    Twenty five men and twenty five women attend a dance competition. The com-
    petition rules are: There are n dance events, and each dancer must participate in
    all n events. In each event each man must be partnered with a woman for that
    dance. In each subsequent event, no man may partner with a woman with whom
    he was partnered during an earlier event.
    (b) If n=3, how many different ways are there to form new man-woman pairs for
    the third dance event in such a way that the competition rules are not violated?
    3. The attempt at a solution
    for the first dance their should be 25! ways to arrange the first dance. Then for the second dance we use the derangement formula to subtract away the bad ones, but for the 3rd dance it gets quite tough. I tried doing inclusion exclusion but weird exceptions keep showing up,I tried looking for patterns but nothing seemed to work. I tried doing it for smaller groups of people. Does any one know what its called when we have n=3, would that be the 3rd permutation or is it called something else, If anyone could provide any info or where I should read more about it or what it is called. I would really appreciate it.
     
  2. jcsd
  3. Jul 19, 2011 #2
    Re: Derangements

    Hi cragar,

    I haven't worked the problem out in detail, but here is an approach which I think might work.

    Let's say N is the number of acceptable ways that partners can be assigned for the first two dances. (You seem to know how to compute N.) Given an acceptable arrangement, then, each woman has danced with exactly two men.

    If we ignore the requirement that a woman must not duplicate a previous partner, we can have [tex]N \cdot n![/tex] arrangements in which the first two dances are acceptable but the third dance is possibly unacceptable. Let's say the assignment of partners for the third dance "has property i" if the ith woman duplicates one of her two previous partners. Then maybe you can use PIE to find the number of the [tex]N \cdot n![/tex] arrangements which have none of the n properties.

    [edit]It's not clear to me, from the problem statement, whether you are supposed to count the total number of arrangements for all three dances or just the number of ways to assign partners for the third dance, given that the first two are OK. If the latter, then try applying PIE to the n! ways that partners could potentially be assigned in the third dance-- i.e., subtract the bad arrangements from n! instead of N n!.[/edit]
     
    Last edited: Jul 19, 2011
  4. Jul 20, 2011 #3

    tiny-tim

    User Avatar
    Science Advisor
    Homework Helper

    hi cragar! :smile:

    (this problem looks unusually difficult :redface:

    is it from a book, or have you made it up yourself?)

    have you noticed that you can break down each arrangement of the first two dances into cycles …

    try getting everyone to shake left hands with the person they danced with first, and right hands with the person they danced with second …

    what happens? :wink:
     
  5. Jul 21, 2011 #4
    Re: Derangements

    So i thought about how at dance 3 they would have 2 less choices for their last dance to pick from. And when you try to make them shake hands you get people that have danced with the same person but from different dances.
    Thanks for your help.
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook




Similar Discussions: Derangements math problem
  1. A Math Problem (Replies: 14)

  2. Curvature math problem (Replies: 2)

  3. Financial math problem (Replies: 3)

Loading...