UNIVERSITY OF MALTA UNIVERSITY OF MALTA

FACULTY OF SCIENCE

Department of Mathematics

B.Sc. Part I

January Session 1996


MA141 Discrete Methods 23 January 1996

0900-1100


Answer THREE questions


1. (a) Let A1,A2,...,An be finite sets, and let ai denote the sum of the cardinalities of the intersections of the sets taken i at a time. Prove that
|A1ÈA2È...ÈAn| = n
å
i = 1 
ai(-1)i+1.


(b) Let S(n,k) denote the number of partitions of an n-set into k parts. Write down, without proof, the number of surjections from an n-set to a k-set in terms of n, k and S(n,k).


(c) Show that

S(n,k) = 1
k!
k
å
i = 0 
(-1)i æ
ç
è
k
i
ö
÷
ø
(k-i)n.
[Hint: Consider all functions from an n-set to a k-set K = {y1,...,yk}, and let Ai be the set of functions which do not have yi in their range. Then count surjections.]


(d) Each of twenty rooms contains five persons. Thirty persons are to be selected from these hundred with the condition that at least one person from each room is to be selected. Show that the number of ways in which this can be done is

14
å
i = 0 
æ
ç
è
100-5i
30
ö
÷
ø
æ
ç
è
20
i
ö
÷
ø
(-1)i.
[Hint: Let the rooms be numbered from 1 to 20 and let Ai be the set containing all the ways in which the selection can be made without choosing anyone from room i.]



2. (a) An experiment consists in tossing a coin until two heads appear (the two heads need not be consecutive). At the second head the experiment stops. Let an, (n ³ 2) be the number of possible experiments that end on the nth toss or sooner.

Find a recurrence relation for an and hence obtain the value of an.


[Hint: Consider separately those experiments that end exactly at the nth toss and those that end earlier.]


(b) Show that the number of partitions of n is equal to the number of partitions of 2n into exactly n parts and it is also equal to the number of partitions of 2n with the largest part equal to n.



3. Solve the recurrence relation

an+2-5an+1+6an = (6n+1)5n        (n ³ 0)
subject to the conditions a0 = a1 = 0.



4. (a) Write down (without proof) the coefficient of xk in the power series expansion of (1-x)n.


(b) Ten letters are to be chosen (order not important) using the letters a,b,c. In how many ways can this be done if:


(c) Let g(x) = år = 0¥ arxr and f(x) = år = 0k xr. Write down the coefficient of xk in the product f(x)g(x) in terms of the coefficients of g(x).


(d) Write down the generating functions for:


File translated from TEX by TTH, version 2.00.
On 23 Dec 1999, 14:24.