Professional Documents
Culture Documents
Probability Theory: Prof. Raluca VERNIC
Probability Theory: Prof. Raluca VERNIC
1 Introduction
1.1 Short history
Appeared from gambling
De Méré knight’s problems (homework: look for these problems on the net; who solved
them? )
- Random experiment - its results cannot be anticipated with certainty and possesses
the statistical regularity property. All possible results/outcomes of an experiment
are called possible cases and are denoted by :
Examples: rolling a die, = f1; 2; 3; 4; 5; 6g; tossing a coin, = fHeads; T ailsg; tossing
a coin two times, = fHH; HT; T H; T T g; tossing a coin until heads appears, =
fH; T H; T T H; T T T H; :::g; measuring the height of the students.
Each event corresponds to a set of favorable cases, which is a subset of all possible
cases.
Examples: A = f2; 4; 6g ; B = f1; 2; 3; 4g ; C = f3g :
1
Types of random events. The events having only one favorable case are called
elementary, the others are called compounded.
Examples: the above events A; B are compounded, while C is elementary.
Particular events:
- the certain event: it always occurs and corresponds to ;
- the impossible event: it never occurs and corresponds to ; (empty set).
2
1.4 Measurable space of random events
De…nitions:
- -algebra (…eld): Let be any set and F P ( ) : Then F is a -algebra over if:
(1) 2 F;
(2) 8A 2 F )A 2 F;
S
(3) 8 (An )n F ) An 2 F:
n
The elements of F are called events.
Examples of -algebras:
- The trivial -algebra F = f;; g
- The "richest" -algebra: F = P ( )
- The Borel -algebra, BR , is generated by M = f(a; 1) ja 2 R g :
- The Borel -algebra over Rn , BRn , is generated by
M = (a1 ; b1 ) ::: (an ; bn ) ai ; bi 2 R; i = 1; n :
3
Seminar
2 Combinatorics elements
2.1 Addition principle or rule of sum
2.1.1 Disjunction case:
The sum of the sizes of a …nite collection of pairwise disjoint sets is the size of the union of
these sets.
In other words, suppose that we have a number of elements, each element being of a
certain type of r distinct types. Let Ni denote the number of elements of type i; i = 1; r.
Then the total number of elements is N = N1 + ::: + Nr :
Example. A student who has won a math contest can choose his prize as follows: either
a math book from n di¤erent books or a computer book from m di¤erent books. In how
many ways can the student choose the prize? R: n + m.
Example. In a research institute, every researcher knows at least one foreign language.
Thus, 47 researchers know English, 35 German and 20 French; of them, 23 speak English
and German, 20 speak English and French, 11 speak German and French, and 5 people speak
all 3 languages. How many researchers are in the institute?
R: N = 47 + 35 + 20 (23 + 20 + 11) + 5 = 53:
Homework. The total number of employees of the institute, including the auxiliary sta¤, is
100. Find out how many members the auxiliary sta¤ has.
4
to the choice of a single element, while the second refers to the successive choice of several
elements. We formulate the multiplication principle in two ways:
1. In the language of choosing the elements: let n1 be the number of type 1 elements,
n2 the number of type 2 elements,..., nk the number of type k elements. We select k
elements, one of each type. This can be done in n1 ::: nk di¤erent ways.
2. In the language of actions: suppose that an action can be decomposed into k suc-
cessive subactions, such that the subaction 1 can be performed in n1 di¤erent ways,
subaction 2 in n2 di¤erent ways, while subaction k can be performed in nk di¤erent
ways. Then the initial action can be done in n1 ::: nk di¤erent ways.
Examples. a) Playing cards: there are 4 types, each type having 13 values; so in total
there are 4 13 = 52 playing cards.
b) Dice: when rolling a die we have 6 possible cases; when rolling 2 dice we have 6 6 = 36
possible ways; when rolling 3 dice we have 6 6 6 = 63 possible ways; ... when rolling n
dice we have 6n possible cases.
c) Distribution of k distinct balls in n boxes: we decompose this action into k subactions,
one subaction consisting of choosing a box for a ball. Thus, the …rst ball can be placed in
any of the n boxes, hence in n possible ways; similarly, the second ball can also be placed
in n possible ways; ... the kth ball can be placed in n possible ways, so in total we have
n ::: n = nk ways of distributing the k balls into the n boxes.
Problem 1. (the problem of sending letters I ) A secretary has to send 3 di¤erent letters
on 6 di¤erent addresses. In how many ways can she do this if several letters can be sent to
each address?
R: the letters can be associated with the k balls above (k = 3), and the addresses with the
n boxes (n = 6), hence in total there are 63 di¤erent ways.
2.3.2 Permutations:
Def. Each of the ordered sets that can be formed from n distinct elements is called a
permutation. Their number is n!.
Problem 2. a) Homework: Write all the permutations that can be formed with the
elements fa; b; cg :
b) In how many ways 16 di¤erent books can be arranged on a shelf? R: 16!.
5
c) How many distinct numbers can be formed with the digits f0; 1; 2; 3; 4; 5; 6; 7; 8; 9g such
that each number contains all these digits only one time?
R: From the number of all the ordered sets having as elements all the 10 digits we subtract
the ones starting with the digit 0: 10! 9! = 9! 9 = 3265920:
2.3.3 Arrangements:
Def. Consider a set with n elements; all the ordered subsets that can be formed with
k (0 k n) of the n elements are called k arrangements. Their number is
n!
Akn = n (n 1) ::: (n k + 1) = :
(n k)!
Problem 3. a) Homework: Consider the set fa; b; cg : Write all its 2 arrangements, i.e.
k = 2:
b) In how many ways can 4 students be arranged on 25 seats? R: A425 = 303600.
c) (the problem of sending letters II ) A secretary has to send 3 di¤erent letters on 6 di¤erent
addresses. In how many ways can she do this if at most one letter can be sent on each
address? Notice the di¤erence to the problem I. R: A36 = 120
2.3.4 Combinations:
Def. Consider a set with n elements; all the subsets that can be formed with k (0 k n)
of the n elements are called k combinations. Two such subsets di¤er in the nature of at
least one element, the order of the elements being irrelevant. Their number is
n n! Ak
= Cnk = = n:
k k! (n k)! k!
Problem 4. a) Homework: Consider the set fa; b; cg : Write all its 2 combinations, i.e.
k = 2: Notice the di¤erence from the arrangements.
b) We have 9 available people. In how many ways a commission composed of 5 members
can be formed (with them)? R: C95 = 126:
c) n chess players participated in a chess championship, each two players meeting only once.
How many chess games were played during the championship? R: Cn2 = n(n2 1) :
d) How many diagonals a convex polygon with n sides has?
R: The number of diagonals and sides of the polygon is Cn2 : By subtracting the n sides, we
obtain the number of diagonals: Cn2 n = n(n2 3) :
6
S
10 T
10
a) A2 ; b) A1 [ A2 [ A3 ; c) Ak ; d) Ak ; e) A6 A5 ; f) A7 A1 :
k=1 k=1
Hint: draw the target.
Problem 2. A family has 2 children. Write down the set of all the possible cases for the
2 children taking into account the order of their birth.
R: Let B denote the fact that the child is a boy and F the fact that the child is a girl. Then
= fBB; BF; F B; F F g
Homework: How does look like if the family has 4 children? In this case, write the
following events with the help of sets:
A1 =the family has 3 boys and one girl (Homework);
A2 =two of the children are girls. R: since from the statement of A2 it follows that we can
have more than 2 girls (regardless of what the other two children are), we get
Problem 3. One person calls 3 di¤erent phone numbers. Let Ai denote the event “the
person receives answer to call number i”. Write the following events using this notation and
event operations:
a) A =the person receives answer to all 3 calls;
b) B =the person receives at least one answer;
c) C =the person receives no answer;
d) D =the person receives an answer to exactly one call;
e) E =the person receives answer to exactly two calls (Homework);
f) F =the person receives at most one answer.
R: A = A1 \ A2 \ A3 ; B = A1 [ A2 [ A3 ; C = A1 \ A2 \ A3
D = A 1 \ A 2 \ A3 [ A1 \ A2 \ A3 [ A1 \ A2 \ A3 ;
We rewrite F =the person receives an answer to exactly one call OR the person receives no
answer, hence F = C [ D:
Problem 4. At a quality control, n devices are checked. Let Ai denote the event “device
number i has ‡aws”. Write the following events using this notation and event operations:
a) A =no device has ‡aws;
b) B =at least one device has ‡aws;
c) C =exactly one device has ‡aws;
d) D =exactly two devices have ‡aws (Homework);
d) E =at most two devices have ‡aws.
R: A = A1 \ A2 \ ::: \ An ; B = A1 [ A2 [ ::: [ An ;
[
n
C = A1 \ A2 \ ::: \ Ai 1 \ Ai \ Ai+1 \ ::: \ An ;
i=1
E = A [ C [ D: