Docsity

Probability Introduction - Essay - Mathematics, Essays (high school) of Mathematics

Toggle sidebar
bg1
Notes for Chapter 1 of DeGroot and Schervish1
The world is full of random events that we seek to understand.
Ex. `Will it snow tomorrow?'
`What are our chances of winning the lottery?'
‘What is the time between emission of alpha particles by a radioactive source?’
The outcome of these questions cannot be exactly predicted in advance. But the
occurrence of these phenomena is not completely haphazard. The outcome is uncertain,
but there is a regular pattern to the outcome of these random phenomena.
Ex. If I flip a fair coin, I do not know in advance whether the result will be a head or tail,
but I can say in the long run approximately half the time the result will be heads.
Probability theory is a mathematical representation of random phenomena. A probability
is a numerical measurement of uncertainty.
Applications:
• Quantum mechanics
• Genetics
• Finance
• Computer science (analyze the performance of computer algorithms that employ
randomization)
• Actuarial science (computing insurance risks and premiums)
• Provides the foundation for the study of statistics.
The theory of probability is often attributed to the French mathematicians Pascal and
Fermat (~1650). Began by trying to understand games of chance. Gambling was popular.
As the games became more complicated and the stakes increased, there was a need for
mathematical methods for computing chance.
1 These notes adapted from Martin Lindquist’s notes for STAT W4105 (Probability).
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18

Partial preview of the text

Download Probability Introduction - Essay - Mathematics and more Essays (high school) Mathematics in PDF only on Docsity!

Notes for Chapter 1 of DeGroot and Schervish

1

The world is full of random events that we seek to understand.

Ex. `Will it snow tomorrow?'

`What are our chances of winning the lottery?'

‘What is the time between emission of alpha particles by a radioactive source?’

The outcome of these questions cannot be exactly predicted in advance. But the

occurrence of these phenomena is not completely haphazard. The outcome is uncertain,

but there is a regular pattern to the outcome of these random phenomena.

Ex. If I flip a fair coin, I do not know in advance whether the result will be a head or tail,

but I can say in the long run approximately half the time the result will be heads.

Probability theory is a mathematical representation of random phenomena. A probability

is a numerical measurement of uncertainty.

Applications:

  • Quantum mechanics
  • Genetics
  • Finance
  • Computer science ( analyze the performance of computer algorithms that employ

randomization)

  • Actuarial science ( computing insurance risks and premiums)
  • Provides the foundation for the study of statistics.

The theory of probability is often attributed to the French mathematicians Pascal and

Fermat (~1650). Began by trying to understand games of chance. Gambling was popular.

As the games became more complicated and the stakes increased, there was a need for

mathematical methods for computing chance.

1

These notes adapted from Martin Lindquist’s notes for STAT W4105 (Probability).

Through history there have been a variety of different definitions of probability.

Classical Definition:

Suppose a game has n equally likely outcomes of which m outcomes ( m < n ) correspond to

winning. Then the probability of winning is m/n.

Ex. A box contains 4 blue balls and 6 red balls. If I randomly pick a ball from the box,

what is the probability it is blue?

n =10, m =4, P(blue ball) = 4/10 = 2/5.

The classical definition requires a game to be broken down into equally likely outcomes.

Ideal situation with very limited scope.

Relative Frequency Definition:

Repeat a game a large number of times under the same conditions. The probability of

winning is approximately equal to the number of wins in the repeated trials.

Ex. Flip a coin 100,000 times. We get approximately 50,000 heads. P(Heads) = ½.

Frequency approach is consistent with the classical approach.

Subjective probability is a degree of belief in a proposition.

Axiomatic Approach:

Kolmogorov developed the first rigorous approach to probability (~1930). He built up

probability theory from a few fundamental axioms.

The book and this course will use these axioms to build up the theory of probability.

Modern research in probability is closely related to measure theory. This course avoids

most of these issues and stresses intuition.

Set Theory

Given any two events (or sets) A and B, we have the following elementary set operations:

Union: The union of A and B, written A∪B, is the set of elements that belong to either A

or B or both:

A∪B = {x:| x∈A or x∈B}

If A and B are events in an experiment with sample space S , then the union of A and B is

the event that occurs if and only if A occurs or B occurs.

Venn diagram – The sample space is all the outcomes in a large rectangle. The events are

represented as consisting of all the outcomes in given circles within the rectangle.

Intersection: The intersection of A and B, written A∩B or AB, is the set of elements that

belong to both A and B:

AB = {x:| x∈A and x∈B}

If A and B are events in an experiment with sample space S , then the intersection of A and

B is the event that occurs if and only if A occurs and B occurs

Complementation: The complement of A, written A

C

, is the set of all elements that are

not in A:

A

C

= {x:| x∉A }

If A is an event in an experiment with sample space S , then the complement of A is the

event that occurs if and only if A does not occur.

Ex. Select a card at random from a standard deck of cards, and note its suit: clubs (C),

diamonds (D), hearts (H) or spades (Sp).

The sample space is S={C,D,H,Sp}.

Some possible events are A={C,D}, B={D,H,Sp} and C={H}.

A∪B ={C,D,H,Sp} = S

AB ={D}

A

C

={H,Sp}

AC = ∅ (null event – event consisting of no outcomes)

If AB =∅ then A and B are said to be mutually exclusive.

For any two events A and B, if all of the outcomes in A are also in B, then we say that A

is contained in B. This is written A⊂B.

Ex. Roll a fair die.

S = {1,2,3,4,5,6}

Let E={1,3,5} and F={1}, then F⊂E.

Note that if A⊂B then the occurrence of A implies the occurrence of B.

Also if A⊂B and B⊂A then A=B.

The operations of forming unions, intersections and complements of events follow certain

basic laws.

Basic laws

Commutative Laws: E∪F= F∪E

EF=FE

Associative Laws: (E∪F) ∪G = E∪(F∪G)

(EF)G=E(FG)

Distributive Laws: (E∪F) G = EG∪FG

(EF) ∪G=(E∪G)(F∪G)

DeMorgan’s Laws (A∪B)

C

=A

C

B

C

(*)

(AB)

C

=A

C

∪B

C

Axioms of Probability

Consider an experiment whose sample space is S. For each event E of the sample space S

we assume that a number P(E) is defined and satisfies the following three axioms.

Axiom 1: 0 <= P(E) <= 1

Axiom 2: P(S) =

Axiom 3: For any sequence of mutually exclusive events E1, E2, …… ,

1 1

i i

i i

P E P E

!!

= =

U (

We refer to P(E) as the probability of the event E.

Ex.

For any finite sequence of mutually exclusive events E1, E2, ….. En,

1 1

n n

i i

i^ i

P E P E

=^ =

U '

Proposition 1: P(E

C

) = 1-P(E)

Proof:

E and E

C

are mutually exclusive and S=E∪E

C

.

By Axiom 2: P(S) = 1

By Axiom 3: P(S) = P(E∪E

C

) = P(E) + P(E

C

)

Hence, P(E

C

) = 1 - P(E)

Ex. Let E=S. Then E

C

=∅.

P(∅) = 1- P(S) = 1-1 = 0

Ex. Roll a fair dice 3 times. What is the probability of at least one six, if we know that the

probability of getting 0 sixes is 0.579?

P(at least one six) = 1- P(0 sixes) 1- 0.579 = 0.

Proposition 2: If E⊂F, then P(E) <= P(F).

Proof:

Since E⊂F, F= E∪E

C

F.

E and E

C

F are mutually exclusive, Axiom 3 gives P(F) = P(E) + P(E

C

F).

But P(E

C

F)>=0 by Axiom 1.

Hence, P(F) >= P(E)

Proposition 3: P(E∪F) = P(E) + P(F) – P(EF)

Proof:

E∪F = E∪E

C

F

E and E

C

F are mutually exclusive.

P(E∪F) = P(E∪E

C

F) = P(E) + P(E

C

F)

⇒ P(E

C

F) = P(E∪F) – P(E)

F = EF∪E

C

F

EF and E

C

F are mutually exclusive.

P(F) = P(EF∪E

C

F) = P(EF) + P(E

C

F)

⇒ P(E

C

F) = P(F) – P(EF)

Together,

P(F) – P(EF) = P(E∪F) – P(E)

Combinatorial Analysis

Many problems in probability theory can be solved by simply, counting the number of

different ways an event can occur. The mathematical theory of counting is formally

known as combinatorial analysis

The Sum Rule: If a first task can be done in m ways and a second task in n ways, and if

these tasks cannot be done at the same time, then there are m + n ways to do either task

Ex. A library has 10 textbooks dealing with statistics and 15 textbooks dealing with

biology. How many textbooks can a student choose from if he is interested in learning

about either statistics or biology?

Ex. At a cafe one can choose between three different snacks: ice cream, cake or pie.

Additionally there are two different beverages: coffee or tea. How many possible

combinations are there if we are allowed to choose one snack and one beverage?

Tree diagram: IC, IT; CakeC, CakeT; PC,PT

6 different possible combinations.

Basic principle of counting: If two successive choices are to be made with m choices

in the first stage and n choices in the second stage, then the total number of

successive choices is nm.*

(This is sometimes referred to as the product rule.)

Proof:

We can write the two choices as (i,j), if the first choice is i and the second j.

i=1,……m and j=1,…….n

Enumerate all the possible choices:

(1,1), (1,2), …… (1,n)

(2,1), (2,2), …… (2,n)

(m,1), (m,2), …… (m,n)

The set of possible choices consists of m rows, each row consisting of n elements.

Hence m*n total choices.

The generalized basic principle of counting: If r successive choices are to be made with

exactly nj choices at each stage, then the total number of successive choices is

n1n2…..*nr

Ex. A license plate consists of 3 letters followed by 2 numbers. How many possible

license plates are there?

What if repetitions of letters and numbers are not allowed?

Note: n(n-1)….(n-r+1) = n!/(n-r)!

Ex. How many ways can we choose a President, Vice-President and Secretary from a

group consisting of five people if A will only serve if he is President?

A serves 143=

OR

A doesn’t serve 432=

Total = 12+24 = 36

Finally, what is the number of permutations of a set of n objects when certain objects are

indistinguishable from one another?

Ex. How many permutations of the letters in the set {M,O,M} can we make?

There are 3! different ways to arrange a three letter word, when all the letters are

different. But in this case the two M’s are indistinguishable from one another.

Order the objects as if they were distinguishable.

Rewrite as (M1,O,M2)

3! different ways to arrange these three letters.

M1OM2, M1M2O, OM1M2, OM2M1, M2OM1, M2M1O

But M1OM2 is the same as M2OM1 when the subscripts are removed.

We need to compensate for this. How many ways can we arrange the 2 M’s in the two

slots. (2!)

Divide out the arrangements that look identical.

3!/2!=3 distinct arrangements.

In general there are n!/n1!-------nr! different permutations of n objects, of which n1 are

alike, n2 are alike, etc…..

Ex. How many different letter arrangements can be made from the letters MISSISSIPPI?

1 M, 4 I’s, 4 S’s, 2 P’s

Ex. (Q.20 p.17) A person has 8 friends, of whom 5 will be invited to a party.

(a) How many choices are there if 2 of the friends are feuding and will not attend

together?

(b) How many choices if 2 of the friends will only attend together?

(a) One of the feuding friends attends and the other does not. (2 1)(6 4)

or

Neither of the feuding friends attend. (6 5)

Total = 2*15+6 = 36

(b) The two friends attend together. (6 3) = 20

or

The two friends do not attend. (6 5) = 6

Total = 20+6 = 26

Ex. A committee of 6 people is to be chosen from a group consisting of 7 men and 8

women. If the committee must consist of at least 3 women and at least 2 men, how many

different committees are possible?

3 women/ 3 men: (8 3)*(7 3)

or

4 women/ 2 men: (8 4)*(7 2)

Total = (8 3)(7 3) + (8 4)(7 2) = 3430.

The symbol (n r) is sometimes called a binomial coefficient.

The binomial theorem

If x and y are variables and n is a positive integer, then

(x+y)^n = sum_{k=0}^{n} (n k) x^k y^(n-k)

Ex. (x+y)^2 = (2 0) x^0y^2 + (2 1) x^1y^1 + (2 2) x^2y^0 = y^2 + 2xy + x^

Ex. Prove that sum_{k=0}^{n} (n k) = 2^n.

Set x=1 and y=1. By binomial theorem (1+1)^n = sum_{k=0}^{n} (n k) 1^k 1^(n-k)

2^n = sum_{k=0}^{n} (n k)

Multinomial Coefficients

Ex. How many ways are there of assigning 10 police officers to 3 different tasks, if 5

must be on patrol, 2 in the office and 3 on reserve?

In general there will n!/(n1!n2!…nr!) ways to divide up n objects into r different

categories so that there will be n 1

objects in category 1, n 2

in category 2, and so on,

where (n1+…nr=n).

Notation: If n1+n2+…+nr=n, we define (n n1,n2,….nr) = n!/(n1!….nr!)

The symbol (n n1,n2,…nr) is sometimes called a multinomial coefficient.

The multinomial theorem

(x1+x2+……+xr)^n = sum_{(n1,…….,nr): n1+….+nr=n} (n n1,n2,….nr) x1^n1 x2^n

… xr^nr

That is, the sum is over all nonnegative integer-valued vectors (n1, …….,nr) such that

n1+….+nr=n.

P(two aces) = (4 2)/(52 2) = 1/

(b) Total number of ways to choose two cards - (52 2)

Total number of ways to choose two spades - (13 2)

P(two spades) = (13 2)/(52 2) = 1/

Ex. Poker hands. Choose a five-card poker hand from a standard deck of 52 playing

cards.

What is the probability of four aces?

There are (52 5) = 2,598,960 possible hands.

Having specified that four cards are aces, there are 48 different ways of specifying the

fifth card.

P(four aces) = 48/2,598,960.

What is the probability of a full house (one 3 of a kind + one pair)?

There are 13 ways to pick ways to choose the denomination of the three of a kind.

There are (4 3) different ways to choose three cards of that denomination.

There are 12 ways to pick ways to choose the denomination of the pair.

There are (4 2) different ways to choose two cards of that denomination.

P(full house) = 13(4 3)12*(4 2)/(52 5) = 3,744/2,598,

Suppose you flip a coin and bet that it will come up tails. Since you are equally likely to

get heads or tails, the probability of tails is 50%. This means that if you try this bet often,

you should win about half the time.

What if somebody offered to bet that at least two people in your math class had the same

birthday? Would you take the bet?

Ex. The Birthday Problem.

What is the probability that at least two people in this class share the same birthday?

Assumptions:

  • 365 days in a year. (No leap year).
  • Each day of the year has an equal chance of being somebodies birthday

(Birthdays are evenly distributed over the year).

E = no two people share a birthday.

E

C

= at least two people share a birthday.

Use Proposition 1 from last time:

P(at least two people share birthday) = 1 - P(no two people share birthday).

What is the probability that no two people will share a birthday?

The first person can have any birthday. The second person's birthday has to be different.

There are 364 different days to choose from, so the chance that two people have different

birthdays is 364/365. That leaves 363 birthdays out of 365 open for the third person.

To find the probability that both the second person and the third person will have

different birthdays, we have to multiply:

If we want to know the probability that four people will all have different birthdays, we

multiply again:

We can keep on going the same way as long as we want.

A formula for the probability that n people have different birthdays is

((365-1)/365) * ((365-2)/365) * ((365-3)/365) *... * ((365-n+1)/365) = 365! / ((365-n)!

  • 365^n).

P(two people share birthday) = 1 - P(no two people share birthday) = 1-365! / ((365-n)! *

365^n).