Exercise 6 Let
} be an infinite sequence
{A
of sets, indexed by = {1, 2, ...}.
Let B =
Aj and C =
Aj . Are the relations B = C, B C
and B C true?
Exercise 7 Let A = {a, b}. Give explicitly the sets B = 2A and C = 2B .
Exercise 8 (the symmetric difference) Let A and B be two sets.
The
if x A
.
if x
/A
3) neither requirement
Exercise 15 In a survey of 60 people, it was found that 25 read Newsweek
magazine, 26 read Time, and 23 read Fortune. Also, 9 read both Newsweek and
Fortune, 11 read both Newsweek and Time, 8 read both Time and Fortune, and
3 read all the three magazines. Find the number of people who read:
1) Only Newsweek.
2) Only Time.
3) Only Fortune.
4) Newsweek and Time but not Fortune.
5) Only one of the magazines.
6) None of the magazines.
Exercise 16 Suppose repetitions are not allowed.
1) Find the number n of three digit numbers that can be formed from the six
digits: 2,3,5,6,7,9.
2) How many of them are even?
3) How many of them exceed 400?
Exercise 17 A class contains 10 students with 6 men and 4 women. Find the
number of all possible different combinations that deliver:
1) A 4-member committee that can be selected from the students.
2) A 4-member committee that includes 2 men and 2 women.
3) The class can elect a president, a vice-president, a treasurer, and a secretary.
Exercise 18 Find the number of ways in which 9 toys may be divided among 4
childrens if the youngest is to receive 3 toys and each of the others 2 toys.
Exercise 19 A pair of dices is rolled and the two numbers appearing on the top
are recorded. Find the number of elements in each of the following events.
1) A = {two numbers are equal}.
2) B = {sum is more than 10}.
3
n
k
.
k
1) Prove that, for 1 k n, Cn+1
= Cnk1 + Cnk .
P
k k nk
2) Let (a, b) R2 . Show that, n N+ , N
= (a + b)n .
k=1 Cn a b
3) Deduce from the preceding question that Cn0 + Cn1 + ... + Cnn = 2n , and that
Cn0 Cn1 + Cn2 Cn3 ... + (1)n Cnn = 0.
Exercise 21 Compute, for every integer n, the following two expressions: 0 Cn0 +
1
1 Cn1 + ... + n Cnn and 11 Cn0 + 21 Cn1 + ... + n+1
Cnn .
Exercise 22 Let be a set with N elements. Compute N (2 ).
Exercise 23 Let A1 , A2 , and A3 be three finite sets. Show that:
N (A1 A2 A3 ) =
3
X
N (Ai )
i=1
N (Ai Aj ) + N (A1 A2 A3 ).
1i<j3
Exercise 24 A single card is drawn from an ordinary deck of 52 cards. For each
of the following, find the probability that the card is:
1) A king.
2) A face card.
3) A red card.
4) A red face card.
5) A red card or a face card.
Exercise 25 Suppose that in a deck of 52 cards, two are chosen at random. For
each of the following, find the probability that:
1) Both are spades.
2) The two cards have not the same color (spade, heard, club, diamond).
3) The first is a spade and the second a heart.
4) One is a spade and one is a heart.
4
1
.
3
Show that
1
12
P (A B)
3
4
and
1
.
3
Exercise 28 A box has Nr red and Nb black balls. A ball is chosen at random
from the box (so that each ball is equally likely to be chosen), and then a second
ball is drawn at random from the remaining balls in the box. Find the probabilities
for the following events:
1) Both balls are red.
2) The first ball is red and the second ball is black.
Exercise 29 Two players flip a fair coin n times. What is the probability that
they obtain the same number of heads?
Exercise 30 Find the expectation and variance of a Bernoulli random variable.
Exercise 31 We flip a fair coin n times. Find the distribution of the random
variable X that is equal to the number of tails obtained. Find E[X] and Var(X).
Exercise 32 A urn contains N balls (balls have numbers 1, ..., N ). We choose n
balls (with replacement) at random. Let X be the greatest number obtained and
Y the smallest.
1) Find P (X x) for x {1, ..., N } and deduce the distribution of X.
2) Find P (Y x) for x {1, ..., N } and deduce the distribution of Y .
1
1+X
.
1
n
n
nn1 nk+1
...
n n
n
k
1
.
n
Let n , and let p change so that remains constant. Conclude that for a
small p and large n,
P (k successes)
k
e .
k!
Exercise 39 Let X be a random variable distributed following a Poisson distribution with parameter . Prove that
P (|X | )
Exercise 40 Consider a toll gate with M counters. Let N be the number of cars
arriving in an hour. Assume that N is distributed as a Poisson with parameter
. The drivers choose randomly (and independently) a counter. We denote by Xi
the number of cars which passed at counter i. Compute E[Xi ] and Var(Xi ).
Exercise 41 Let X : N.
1) Prove that:
n
X
P (X > k) =
k=0
2) Deduce that
n
X
k=1
k=0
kP (X = k).
k=n+1
k=0
P (X > k) <
if 0 x 2
.
if x
/ [0, 2]
x1 ex
1{x (0, +)},
()
where 1{} is the indicator function, that gives a value of one if the argument
is true, and zero otherwise. Prove that f is a density function. If a random
variable X has the density f we say that X follows a (, ).
5) If X N (0, 1), prove that X 2 12 , 12 .
6) Show that E[X] =
and Var(X) =
.
2
The f (x) function is the pdf of a distribution called the exponential distribution.
1) Check that f (x) is a pdf.
2) Compute E[X] and Var(X).
3) Define m(t) E[etX ], the moment-generating function associated with X.
Compute the moment-generating function for the exponential distribution
for t < , and check that its first and second derivatives evaluated at 0 coincide with the non-central moments of first and second order respectively.
R
(Hint: it can be useful to use the gamma function, (t) 0 xt1 exp(x)dx
for t > 0, and the fact that (t) = (t 1)(t 1) (as proved in Exercise 44).
Exercise 46 (normal mixture) Let X be a random variable defined by the
following cdf:
Fk (x) = (1 )(x) +
x
,
k
where () is the cdf of the N (0, 1), and = (k211) . Show that the distribution of
X is symmetric around the origin, with variance equal to 2, and that the excess
8
0
F (x) = x2
if x < 0
if 0 x 1 .
if x > 1
(X + 1)
.
2
Exercise 50
1) Let Z N (0, 1). Obtain the pdf for the transformation Y = Z 3 .
2) Let X be a random variable with pdf exp(x) for x 0, with > 0.
Obtain pdf, cdf, and expectation of the transformation Y = exp(X).
Exercise 51 Let X be a continuous random variable with pdf:
if 0 < x < 3
mx
fX (x) = 1 2mx if 3 x < 5 .
0
if x
/ (0, 5)
Obtain the value of m, and plot FX (x).
Exercise 52 Let X N (0, 9). Compute P (4 < X < 4):
1) Exactly, using the tables for the normal distribution.
2) Approximately, giving a lower bound by means of the Chebyshev inequality.
9