


Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!



MCS 421 Final Exam: 12/15/ 08:00–10:00 AM No aids allowed Each question is worth 25 points Good luck!
1 1
n 0
n 1
n 2
n 3
n 0
n 1
n 2
n 3
and use them to evaluate the sum
1 1
n 0
n 2
n 4
n 6
Solution: Integrate (1 + x)n^ =
k
(n k
xk^ to obtain (^) n+1^1 (1 + x)n+1^ = ∑ k
1 k+
(n k
xk+1^ + C. Substitute x = 0 to find C = (^) n+1^1. Now substitute x = 1 and x = −1 to obtain 1 1
n 0
n 1
n 2
n 3
2 n+1^ − 1 n + 1 1 1
n 0
n 1
n 2
n 3
n + 1
Add the last two identities to find
1 1
n 0
n 2
n 4
n 6
2 n n + 1
∑^ n
i=
(−1)i
n i
m + n − i k − i
m k
Suggestion: Consider m boys and n girls. Let S be the set of all k-person committees, and count in two ways those committees from S that consist entirely of boys. Solution: Following the suggestion, if we want committees consisting entirely of boys, we can ignore the girls and so the number of committees is clearly
(m k
. To count in a second way, we use Inclusion-Exclusion. Let S be as in the suggestion and let Ap be the set of committees from S that contain the p-th girl and possibly others. The number of committees we want is |A 1 ∩ · · · ∩ An|. We have |Ap| =
(n 1
)( (^) m k− 1
for all p, |Ap ∩ Aq | =
(n 2
)( (^) m k− 2
for all p < q, and so on. Therefore |A 1 ∩ · · · ∩ An| = ∑n i=0(−1)
i(n i
)(m+n−i k−i
n ≥ x 1 ≥ x 2 ≥ · · · ≥ xn ≥ 0
have? Suggestion: consider the differences n − x 1 , x 1 − x 2 ,... , xn − 0. What is their sum? Solution: Following the suggestion, let y 1 = n − x 1 , y 2 = x 1 − x 2 ,... , yn = xn− 1 − xn, yn+1 = xn. Then the yi are nonnegative integers and y 1 + · · · + yn+1 = n. Conversely, given such yi we can find xi satisfying the original conditions. Therefore the number of solutions (x 1 , x 2 ,... , xn) equals the number of solutions (y 1 , y 2 ,... , yn+1), which is
((n+1)+n− 1 n
2 n n
× × × × × × × × ×
(1 + 3x + x^2 )(1 + 6x + 6x^2 ) = 1 + 9x + 25x^2 + 24x^3 + 6x^4. Therefore the required number is
5! − 9 · 4! + 25 · 3! − 24 · 2! + 6 · 1! − 0 · 0! = 12.
An = An− 1 + Cn− 1 (1) Bn = Bn− 1 + Cn− 1 (2) Cn = An− 1 + Bn− 1 + Cn− 1. (3)
In particular, Cn = an− 1. By symmetry An = Bn, so we eliminate Bn and are left with the simultaneous recurrences
An = An− 1 + Cn− 1 Cn = 2An− 1 + Cn− 1.
the remaining 4 faces split into 2 2-cycles). Therefore the cycle index is PG(z 1 ,... , z 6 ) = 16 (z^51 + 2z^21 z 3 + 3z 1 z^22 ). The required number is the coefficient of r^2 b^2 w in PG(r + b + w, r^2 + b^2 + w^2 ,.. .), which is equal to 1 6
5 2 , 2 , 1