Question

In: Advanced Math

Ten students shall be sorted into the four houses (namely Gryffindor, Slytherin, Ravenclaw, and Hufflepuff) in...

Ten students shall be sorted into the four houses (namely Gryffindor, Slytherin, Ravenclaw, and Hufflepuff) in Hogwarts. If at least one student shall go to each house, how many ways can the students be sorted?

Solutions

Expert Solution

For the sake of simplicity , let us denote Gryffindor by G, Slytherin by S, Ravenclaw by R and Hufflepuff by H.

Let the 10 students be denoted by a1 , a2 , ....a10.

Suppose we have a sorting of the 10 students into the four houses such that at least one student has been assigned to each house. Each student can be assigned to a unique house. However, one or more students can be assigned to the same house. Thus, we have a function f : {a1,a2,...a10} {G,S,R,H} defined by f(ai) = The house to which ai is assigned to in the sorting for each i in {1,2,...10},

such that every element in the codomain (every house) has at least one student(preimage) assigned to it. In other words, a sorting of the 10 students into the four houses such that at least one student has been assigned to each house corresponds to unique onto function f : {a1,...a10} {G,S,R,H} such that f(ai) = The house to which ai has been assigned to  in the sorting for all i in {1,2,...10}.

Conversely, given an onto function f : {a1,....a10} {G,S,R,H} , we get a unique sorting of the 10 students into the 4 houses such that at least one student has been assigned to each house ( assign student ai to house f(ai) for all i in {1,2,...10} ).

Thus, the set of all such sortings of the 10 students into the four houses such that each house contains at least one student is in bijective correspondence with the set of all onto functions from {a1,....a10} onto {G,S,R,H}.

Hence, the required number of ways of sorting the 10 students is equal to the number of onto functions from the set of the 10 students onto the set of the 4 houses.

The solution calculates this using the Principle of Inclusion and Exclusion.


Related Solutions

On a block of ten houses, k are not insured. A tornado randomly damages three houses...
On a block of ten houses, k are not insured. A tornado randomly damages three houses on the block. The probability that none of the damaged houses are insured is 1/120. Calculate the probability that at most one of the damaged houses is insured.
Sample grade point averages for ten male students and ten female students are listed. Find the...
Sample grade point averages for ten male students and ten female students are listed. Find the coefficient of variation for each of the two data sets. Then compare the results. Males 2.6 3.8 3.9 3.8 2.7 2.6 3.4 3.5 3.8 1.8 Females 2.7 3.9 2.2 3.8 3.5 4.1 2.1 3.8 3.9 2.5 The coefficient of variation for males is nothing​%. ​(Round to one decimal place as​ needed.)
Sample grade point averages for ten male students and ten female students are listed. Find the...
Sample grade point averages for ten male students and ten female students are listed. Find the coefficient of variation for each of the two data sets. Then compare the results Males 2.5 3.8 3.6 3.9 2.6 2.6 3.6 3.2 3.9 1.8 Females 2.8 3.5 2.1 3.7 3.5 4.1 2.1 3.9 3.9 2.3 The coefficient of variation for males is ​__%. The Coefficient of variation for females Is __ %
A dorm at a college houses 1900 students. One​ day, 20 of the students become ill...
A dorm at a college houses 1900 students. One​ day, 20 of the students become ill with the ​flu, which spreads quickly. Assume that the total number of students who have been infected after t days is given by: N(t)=1900/1+25e-0.65t ​a) After how many days is the flu spreading the​ fastest? ​b) Approximately how many students per day are catching the flu on the day found in part​ (a)? ​c) How many students have been infected on the day found...
A Lecturer wishes to create a program that lists his students sorted by the number of...
A Lecturer wishes to create a program that lists his students sorted by the number of theory assignment marks they have completed. The listing should be greatest number of assignment first, sub-sorted by name in lexicographical order (A to Z). A class Student stores the name and marks of assignment completed for a student.                                                    [5 marks] Note: Assume the variable name of collection is list.       i.         Provide a definition of Student with an equals() method. The comparison is based...
An economy produces and consumes four goods namely milo, rice, bread and sobolo. The prices and...
An economy produces and consumes four goods namely milo, rice, bread and sobolo. The prices and quantities of these goods over a three-year period are shown in the table below. Table I: Prices and quantities of milo, rice, bread and sobolo goods over a 3-year period Year 2017 2018 2019 Goods Price Quantity Price Quantity Price Quantity Milo GHC8.00 24 GHC9.50 24 GHC10.50 35 Rice GHC32.00 16 GHC34.00 16 GHC35.00 22 Bread GHC2.00 30 GHC3.00 30 GHC3.00 35 Sobolo GHC1.50...
QUESTION: 80% of the Quant 2600 students pass the class. Assume that ten students are registered...
QUESTION: 80% of the Quant 2600 students pass the class. Assume that ten students are registered for the course. a. What probability distribution works best for this problem? Binomial, Poisson, Hypergeometric, or Normal b. What is the expected number of students that will pass the course? (2 decimal places) c. What is the standard deviation of students that will pass the course? (2 decimal places) d. What is the probability that exactly 8 will pass the course? (4 decimal places)...
QUESTION: 80% of the Quant 2600 students pass the class. Assume that ten students are registered...
QUESTION: 80% of the Quant 2600 students pass the class. Assume that ten students are registered for the course. a. What probability distribution works best for this problem? Binomial, Poisson, Hypergeometric, or Normal b. What is the expected number of students that will pass the course? (2 decimal places) c. What is the standard deviation of students that will pass the course? (2 decimal places) d. What is the probability that exactly 8 will pass the course? (4 decimal places)...
College students were randomly sorted into one of two groups. Members of each group performed a...
College students were randomly sorted into one of two groups. Members of each group performed a series of mental tasks while music was playing in the background. One group listened to pop music and the other to country music. It is hypothesized that music will effect the number of tasks completed. What can be concluded with an α of 0.10? The results are below: pop country 1 = 39.31 1 = 5.43 n1 = 10 2 = 44.15 2 =...
Sixty students were given a history exam. Their scores are shown below, sorted from smallest to...
Sixty students were given a history exam. Their scores are shown below, sorted from smallest to largest. 21 31 34 34 35 36 37 38 39 40 41 41 41 44 45 45 53 65 72 72 72 72 73 75 75 75 76 76 76 76 76 77 77 78 78 79 79 80 80 80 81 81 82 82 82 83 83 83 83 83 83 83 84 85 86 86 88 88 93 94 1) Compute the...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT