Probability Course (2024)

📚 Probability Course (2024).pdf

Brief overview

This document provides a comprehensive introduction to the fundamental principles and applications of probability theory. Understanding these concepts is crucial for analyzing random phenomena and making informed decisions in various fields.

Key points

  • Overview of elementary probability concepts, counting rules, permutations, and combinations.
  • Exploration of sample spaces, events, and the fundamental axioms of probability.
  • Understanding conditional probability, independent events, and their implications.
  • Introduction to random variables, expected values, variances, and key probability distributions.
  • Detailed coverage of Bernoulli, Binomial, and Normal distributions, including approximations.

1. Introduction to elementary probability

1.1 Probability basics

  • Probability: The mathematical tool for dealing with uncertain events. It measures the likelihood of an event occurring.
  • Range of probability: Values span from 0 (impossible event) to 1 (certain event).

This field helps predict the chance of events using mathematical tools. It provides a framework for understanding randomness in various applications. A stylized lightbulb composed of four puzzle pieces, symbolizing ideas and learning.

1.2 Counting principles

  • Fundamental counting rule: If experiment 1 has mm outcomes and experiment 2 has nn outcomes, then together they have m×nm \times n outcomes.
  • Example: Choosing a course (2 options) and a language (3 options) results in 2×3=62 \times 3 = 6 possible choices.

A diagram illustrating the concept of combinatorial analysis with a lightbulb representing an idea and connected nodes representing experiments and outcomes.

  • Generalized basic principle of counting: For rr experiments with n1,n2,…,nrn_1, n_2, \dots, n_r outcomes respectively, the total number of outcomes is n1×n2×⋯×nrn_1 \times n_2 \times \dots \times n_r.
  • Example: A subcommittee of 4, with one person from each of four classes (3 engineers, 4 doctors, 5 teachers, 2 accountants), can be formed in 3×4×5×2=1203 \times 4 \times 5 \times 2 = 120 ways.

📝 Example: License plates with 3 letters and 4 numbers. If repetitions are allowed, there are 263×104=175,760,00026^3 \times 10^4 = 175,760,000 possibilities. If repetitions are prohibited, there are 26×25×24×10×9×8×7=78,624,00026 \times 25 \times 24 \times 10 \times 9 \times 8 \times 7 = 78,624,000 possibilities 7.

1.3 Permutations

  • Permutations: The different ordered arrangements of a set of nn distinct objects. The total number of permutations is n!n! (n factorial).
  • n!=n×(n−1)×⋯×2×1n! = n \times (n-1) \times \dots \times 2 \times 1. By convention, 0!=10! = 1.
  • Example: A baseball team of 9 players has 9!=362,8809! = 362,880 possible batting orders 8.

📝 Example: For 10 students ranked by performance, there are 10!=3,628,80010! = 3,628,800 possible rankings. If 6 men and 4 women are ranked separately, there are 6!×4!=17,2806! \times 4! = 17,280 rankings 9.

1.3.1 Permutations with repetitions

  • Permutations with repetitions: The number of distinct arrangements of objects where some are identical. For rr types of objects with counts n1,n2,…,nrn_1, n_2, \dots, n_r, the total number of permutations is n!n1!n2!…nr!\frac{n!}{n_1! n_2! \dots n_r!}, where n=n1+n2+⋯+nrn = n_1 + n_2 + \dots + n_r. Formula for permutations with repetitions, showing the total number of permutations as n! divided by the product of factorials of the counts of each distinct element.

📝 Example: The word "statistics" has 10 letters with repetitions: S T A I C. The number of unique anagrams is 10!3!3!1!2!1!=50,400\frac{10!}{3!3!1!2!1!} = 50,400.

1.3.2 k-permutations

  • k-permutations: The number of ways to select and arrange kk objects from a set of nn distinct objects. The formula is P(n,k)=n!(n−k)!P(n, k) = \frac{n!}{(n-k)!}.
  • Example: Aligning 4 cards from 9 available cards can be done in 9×8×7×6=3,0249 \times 8 \times 7 \times 6 = 3,024 ways 12.

📝 Example: Awarding Gold, Silver, and Bronze medals to 18 athletes has P(18,3)=18×17×16=4,896P(18, 3) = 18 \times 17 \times 16 = 4,896 possible distributions 13.

1.3.3 k-permutations with repetition

  • k-permutations with repetition: The number of ordered sequences of length kk that can be formed from rr types of objects, where repetitions are allowed. The formula is rkr^k.
  • Example: A 6-digit password using digits 0-9 (10 options) has 106=1,000,00010^6 = 1,000,000 possible combinations 14.

1.4 Combinations

  • k-combinations: The number of ways to select kk objects from a set of nn distinct objects without regard to order. The formula is C(n,k)=n!k!(n−k)!C(n, k) = \frac{n!}{k!(n-k)!}.
  • Example: Forming a team of 2 from 4 people ({K, S, R, J}) results in 6 possible teams ({K,S}, {K,R}, {K,J}, {S,R}, {S,J}, {R,J}).

The formula for k-combinations is presented, showing how to calculate the number of ways to choose k items from a set of n items without regard to the order.

📝 Example: For 12 people, the number of handshakes (choosing 2 people) is C(12,2)=12!2!!=66C(12, 2) = \frac{12!}{2!!} = 66 10.

📝 Example: Choosing 5 ice-cream flavors from 8 available options results in C(8,5)=8!5!!=56C(8, 5) = \frac{8!}{5!!} = 56 ways3.

1.4.1 Comparison of Permutations and Combinations

ConceptOrder Matters?FormulaDescription
k-permutationYesP(n,k)=n!(n−k)!P(n, k) = \frac{n!}{(n-k)!}Ordered arrangements of kk items from nn.
k-combinationNoC(n,k)=n!k!(n−k)!C(n, k) = \frac{n!}{k!(n-k)!}Unordered selections of kk items from nn.

🔑 Important: Permutations count arrangements (order matters), while combinations count selections (order does not matter). Always check if the problem requires order 16.

🔑 Important: The number of combinations is always less than or equal to the number of permutations for the same nn and kk (k≤nk \le n) 15.

2. Sample space, events, and probability axioms

2.1 Sample space and events

The sample space (Ω\Omega) is the set of all possible outcomes of an experiment. Each outcome is a single result.

An event is a collection of these outcomes, meaning it is a subset of the sample space.

For example, if an experiment involves observing the sex of a newborn, the sample space is Ω={g,b}\Omega = \{g, b\}, where 'g' means girl and 'b' means boy. An event could be that the child is a girl, represented as E={g}E = \{g\}.

  • Sample space (Ω\Omega): All possible outcomes.
  • Event (E): A subset of the sample space (E⊆ΩE \subseteq \Omega).

Operations like union (E∪FE \cup F) and intersection (E∩FE \cap F) are used with events. The union E∪FE \cup F means event E OR event F occurs.

The intersection E∩FE \cap F means event E AND event F occur.

Two Venn diagrams illustrating set union and intersection.

  • Mutually exclusive events: If the intersection of two events is empty (E∩F=∅E \cap F = \emptyset), they are mutually exclusive. This means they cannot happen at the same time.

The complement of an event E, denoted EcE^c, is the set of all outcomes in Ω\Omega that are not in E. This represents the event that E does not occur.

2.2 Probability axioms and formulas

Probability measures the likelihood of an event occurring. It is a number between 0 and 1.

ConceptFormulaDescription
Probability of Ω\OmegaP(Ω)=1P(\Omega) = 1The probability of the entire sample space is 1.
Probability of UnionP(A∪B)=P(A)+P(B)−P(A∩B)P(A \cup B) = P(A) + P(B) - P(A \cap B)For any two events A and B.
Disjoint UnionP(A∪B)=P(A)+P(B)P(A \cup B) = P(A) + P(B)If A and B are disjoint (A∩B=∅A \cap B = \emptyset).
Complementary EventP(Ac)=1−P(A)P(A^c) = 1 - P(A) or P(A)=1−P(Ac)P(A) = 1 - P(A^c)The probability of an event not occurring.
Partition PropertyP(A)=P(A∩B)+P(A∩Bc)P(A) = P(A \cap B) + P(A \cap B^c)An event can be broken down into disjoint parts.

Probability is always between 0 and 1, inclusive.

2.2.1 Calculating basic probabilities

The fundamental way to calculate probability, especially in simple cases, is:

  • Basic Probability: Number of favorable outcomesTotal number of outcomes\frac{\text{Number of favorable outcomes}}{\text{Total number of outcomes}}

This applies when all outcomes are equally likely.

Example: Rolling a die, what is the probability of getting a number greater than 4? The sample space is Ω={1,2,3,4,5,6}\Omega = \{1, 2, 3, 4, 5, 6\}.

The outcomes greater than 4 are {5,6}\{5, 6\}. So, P(number>4)=26=13P(\text{number} > 4) = \frac{2}{6} = \frac{1}{3}.

Example: Flipping a coin twice. Sample space Ω={HH,HT,TH,TT}\Omega = \{HH, HT, TH, TT\}.

Total outcomes = 4. Event E: The two coins come up different.

E={HT,TH}E = \{HT, TH\}. Number of outcomes = 2.

P(E)=24=12P(E) = \frac{2}{4} = \frac{1}{2}. Event F: Both flips come up heads.

F={HH}F = \{HH\}. Number of outcomes = 1.

P(F)=14P(F) = \frac{1}{4}.

🔑 Important: For any event A, 0≤P(A)≤10 \le P(A) \le 1. Probabilities cannot be negative or greater than 1.

2.3 Probability exercises and applications

Here we explore how to apply probability concepts to solve various problems.

Exercise 1: Flipping a coin twice.

  • Sample space Ω={HH,HT,TH,TT}\Omega = \{HH, HT, TH, TT\}. ∣Ω∣=4|\Omega| = 4.
  • Event E = {the two coins come up different} = {HT,TH}\{HT, TH\}. ∣E∣=2|E| = 2.
  • Event F = {both flips come up heads} = {HH}\{HH\}. ∣F∣=1|F| = 1.
  • E∪F={HT,TH,HH}E \cup F = \{HT, TH, HH\}.

Exercise 3: Likes books for holiday. Let B1 be liking the first book, B2 liking the second.

P(B1)=0.50P(B1) = 0.50, P(B2)=0.40P(B2) = 0.40, P(B1∩B2)=0.30P(B1 \cap B2) = 0.30. We want the probability of liking neither book.

This is P((B1∪B2)c)P((B1 \cup B2)^c). First, find P(B1∪B2)=P(B1)+P(B2)−P(B1∩B2)=0.50+0.40−0.30=0.60P(B1 \cup B2) = P(B1) + P(B2) - P(B1 \cap B2) = 0.50 + 0.40 - 0.30 = 0.60.

Then, P((B1∪B2)c)=1−P(B1∪B2)=1−0.60=0.40P((B1 \cup B2)^c) = 1 - P(B1 \cup B2) = 1 - 0.60 = 0.40. He likes neither book with probability 0.40.

Exercise 4: Rolling two dice, sum of faces is 7. Sample space size is 6×6=366 \times 6 = 36.

Favorable outcomes: (1,6), (2,5), (3,4), (4,3), (5,2), (6,1). There are 6 outcomes.

P(sum is 7)=636=16P(\text{sum is 7}) = \frac{6}{36} = \frac{1}{6}.

Exercise 5: Committee selection. Select 5 from 6 men and 9 women.

Total people = 15. Total ways to select 5: (155)\binom{15}{5}.

Ways to select 3 men from 6: (63)\binom{6}{3}. Ways to select 2 women from 9: (92)\binom{9}{2}.

Ways to select 3 men AND 2 women: (63)×(92)\binom{6}{3} \times \binom{9}{2}. P(3 men, 2 women)=(63)×(92)(155)P(\text{3 men, 2 women}) = \frac{\binom{6}{3} \times \binom{9}{2}}{\binom{15}{5}}.

(63)=6×5×43×2×1=20\binom{6}{3} = \frac{6 \times 5 \times 4}{3 \times 2 \times 1} = 20. (92)=9×82×1=36\binom{9}{2} = \frac{9 \times 8}{2 \times 1} = 36.

(155)=15×14×13×12×115×4×3×2×1=3003\binom{15}{5} = \frac{15 \times 14 \times 13 \times 12 \times 11}{5 \times 4 \times 3 \times 2 \times 1} = 3003. P(3 men, 2 women)=20×363003=7203003≈0.2397P(\text{3 men, 2 women}) = \frac{20 \times 36}{3003} = \frac{720}{3003} \approx 0.2397.

Exercise 6: Balls from a bowl. Bowl: 6 white (W), 5 black (B).

Draw 3 balls. Total ways to draw 3 balls: (113)\binom{11}{3}.

Ways to draw 1 white and 2 black: (61)×(52)\binom{6}{1} \times \binom{5}{2}. (113)=11×10×93×2×1=11×5×3=165\binom{11}{3} = \frac{11 \times 10 \times 9}{3 \times 2 \times 1} = 11 \times 5 \times 3 = 165.

(61)=6\binom{6}{1} = 6. (52)=5×42×1=10\binom{5}{2} = \frac{5 \times 4}{2 \times 1} = 10.

P(1 white, 2 black)=6×10165=60165=1233=411P(\text{1 white, 2 black}) = \frac{6 \times 10}{165} = \frac{60}{165} = \frac{12}{33} = \frac{4}{11}.

Exercise 7: People in a room. 4 parents, 3 students, 6 teachers.

Total people = 13. Select one person randomly.

Event A: Person is a teacher. P(A)=613P(A) = \frac{6}{13}.

Event B: Person is a student. P(B)=313P(B) = \frac{3}{13}.

We want P(A∪B)P(A \cup B). Since A and B are mutually exclusive (a person cannot be both a teacher and a student), P(A∪B)=P(A)+P(B)=613+313=913P(A \cup B) = P(A) + P(B) = \frac{6}{13} + \frac{3}{13} = \frac{9}{13}.

Exercise 8: Rolling two dice, sum of faces. Total outcomes = 36.

a) Sum equal to 1: Impossible. P(sum=1)=0P(\text{sum}=1) = 0.

b) Sum equal to 4: Outcomes are (1,3), (2,2), (3,1). 3 outcomes.

P(sum=4)=336=112P(\text{sum}=4) = \frac{3}{36} = \frac{1}{12}. c) Sum less than 13: All possible sums are between 2 and 12.

So, any roll results in a sum less than 13. P(sum<13)=1P(\text{sum}<13) = 1.

Exercise 9: Numbers that cannot be a probability. Probabilities must be between 0 and 1 inclusive.

a) -0.00001 (Negative) - Cannot be a probability. b) 0.5 (Valid) c) 1.001 (Greater than 1) - Cannot be a probability.

d) 0 (Valid) e) 1 (Valid) f) 20% = 0.20 (Valid)

The numbers that cannot be a probability are -0.00001 and 1.001.

Exercise 10: Rolling one die. Ω={1,2,3,4,5,6}\Omega = \{1, 2, 3, 4, 5, 6\}.

Event A: Even number = {2,4,6}\{2, 4, 6\}. P(A)=36=12P(A) = \frac{3}{6} = \frac{1}{2}.

Event B: Divisible by three = {3,6}\{3, 6\}. P(B)=26=13P(B) = \frac{2}{6} = \frac{1}{3}.

Event C: Number less than six = {1,2,3,4,5}\{1, 2, 3, 4, 5\}. P(C)=56P(C) = \frac{5}{6}.

A∩BA \cap B: Even number AND divisible by three. This means divisible by 6.

{6}\{6\}. P(A∩B)=16P(A \cap B) = \frac{1}{6}.

Exercise 11: Die roll and coin toss. Die outcomes: {1, 2, 3, 4, 5, 6}.

Coin outcomes: {H, T}. Sample space: {(1,H), (1,T), (2,H), (2,T), ..., (6,T)}.

Total outcomes = 6×2=126 \times 2 = 12. Event: Die shows an odd number AND coin shows a head.

Odd numbers: {1, 3, 5}. Favorable outcomes: {(1,H), (3,H), (5,H)}.

There are 3 outcomes. P(odd die and head)=312=14P(\text{odd die and head}) = \frac{3}{12} = \frac{1}{4}.

🔑 Important: Understanding events as subsets and using axioms allows for systematic calculation of probabilities for complex scenarios.

3. Conditional probability and independent events

3.1 Conditional probability

Conditional probability answers how to update event probabilities with new information. It considers the probability of an event A occurring, given that another event B has already happened.

The formula for conditional probability is: P(A∣B)=P(A∩B)P(B)P(A|B) = \frac{P(A \cap B)}{P(B)} Here, P(A∣B)P(A|B) is the probability of event A given event B. P(A∩B)P(A \cap B) is the probability that both A and B occur.

P(B)P(B) is the probability of event B.

If event B has occurred, the only way for event A to also occur is through the event A∩BA \cap B.

Using conditional probability

Conditional probability helps analyze real-world scenarios. For example, we can examine promotion rates in a police force to check for discrimination.

Consider a police force with 1200 officers, 960 men and 240 women. In two years, 324 officers were promoted.

CategoryMenWomenTotal
Promoted28836324
Not Promoted672204876
Total9602401200

This table shows the breakdown of promotions. The administration argued that fewer women were promoted because fewer women were in the force.

Conditional probability can analyze this claim.

We can calculate the probability of promotion given the officer's gender. For men, P(Promoted∣Man)=288960P(\text{Promoted} | \text{Man}) = \frac{288}{960}.

For women, P(Promoted∣Woman)=36240P(\text{Promoted} | \text{Woman}) = \frac{36}{240}. Comparing these probabilities helps assess potential bias.

3.2 Independent events

Independent events are those not affected by previous events. The occurrence of one event does not change the probability of the other.

The mathematical condition for independence between two events A and B is: P(A∩B)=P(A)×P(B)P(A \cap B) = P(A) \times P(B) This means the probability of both A and B happening is the product of their individual probabilities.

Example of independent events

Consider an urn with 12 balls numbered 1 to 12. Let event A be "drawing an even number." This includes {2, 4, 6, 8, 10, 12}.

Let event B be "drawing a multiple of 3." This includes {3, 6, 9, 12}.

The probability of A is P(A)=612=12P(A) = \frac{6}{12} = \frac{1}{2}. The probability of B is P(B)=412=13P(B) = \frac{4}{12} = \frac{1}{3}.

The intersection A∩BA \cap B is "drawing a number that is both even and a multiple of 3," which are {6, 12}. So, P(A∩B)=212=16P(A \cap B) = \frac{2}{12} = \frac{1}{6}.

Now, we check if P(A∩B)=P(A)×P(B)P(A \cap B) = P(A) \times P(B): 16=12×13\frac{1}{6} = \frac{1}{2} \times \frac{1}{3} 16=16\frac{1}{6} = \frac{1}{6} Since the equation holds true, events A and B are independent.

If we repeat this with an urn containing 13 balls, event A would be drawing an even number {2, 4, 6, 8, 10, 12}, P(A)=613P(A) = \frac{6}{13}. Event B would be drawing a multiple of 3 {3, 6, 9, 12}, P(B)=413P(B) = \frac{4}{13}.

The intersection A∩BA \cap B is {6, 12}, so P(A∩B)=213P(A \cap B) = \frac{2}{13}. Checking for independence: P(A)×P(B)=613×413=24169P(A) \times P(B) = \frac{6}{13} \times \frac{4}{13} = \frac{24}{169}.

Since 213≠24169\frac{2}{13} \neq \frac{24}{169}, events A and B are not independent in this case.

The independence of events depends on the specific sample space and probabilities.

🔑 Important: For independent events, knowing that one event occurred does not change the probability of the other event.

🔑 Important: Conditional probability P(A∣B)P(A|B) is used to update probabilities with new information, while the concept of independent events simplifies calculations when events do not influence each other.

4. Random variables and specific distributions

4.1 Random variables and basic concepts

  • Random variable: A function that assigns a real number to each outcome in a sample space.
  • Discrete random variable: Takes on a countable number of values.
  • Continuous random variable: Can take any value within a given range.

The cumulative distribution function, denoted F(x)F(x), gives the probability that a random variable XX is less than or equal to a specific value xx.

The expected value, E[X]E[X], represents the average value of a random variable over many trials. E[X=∑xipiE[X = \sum x_i p_i The formula for the expected value of a random variable is shown as a sum of probabilities multiplied by their corresponding values.

The variance, V(X)V(X) or σ2\sigma^2, measures the spread of the random variable's values around its expected value.

4.2 Bernoulli distribution

  • The Bernoulli distribution models a single trial with two possible outcomes: success or failure.
  • It has one parameter, pp, the probability of success.
  • The probability of failure is q=1−pq = 1 - p.
OutcomeProbability
Success 1pp
Failure1−p1-p

This diagram illustrates the probability distribution for a Bernoulli trial, specifically a coin toss, showing the outcomes and their associated probabilities.

  • Expected value: E(X)=pE(X) = p.
  • Variance: V(X)=p(1−p)V(X) = p(1-p).

4.3 Binomial distribution

  • The binomial distribution describes the number of successes in a fixed number of independent trials (nn).
  • Each trial must have only two possible outcomes (success or failure).
  • The probability of success (pp) remains constant for each trial.
  • The probability of failure is q=1−pq = 1 - p.

🔑 Important: Binomial experiments require independent trials with constant success probability.

The probability of getting exactly kk successes in nn trials is given by the binomial formula: P(X=k)=(nk)pkqn−kP(X=k) = \binom{n}{k} p^k q^{n-k} The binomial distribution formula is presented, showing the probability of k successes in n trials.

  • Expected value: E(X)=npE(X) = np.
  • Variance: V(X)=np(1−p)V(X) = np(1-p).

4.3.1 Characteristics of binomial experiments

  • Sequence of trials: The experiment consists of identical trials.
  • Two outcomes: Each trial results in either success or failure.
  • Constant probability: The probability of success does not change between trials.
  • Independence: The outcome of one trial does not affect others.

4.4 Normal distribution

The normal distribution is a continuous probability distribution that is symmetric and bell-shaped. It is widely used to model natural phenomena.

  • It is defined by two parameters: the mean (μ\mu) and the standard deviation (σ\sigma).
  • The distribution is a family, with μ\mu and σ\sigma determining its specific shape.

The formula for the normal density function is presented, showing its mathematical representation.

  • Symmetric: The curve is a mirror image around the mean.
  • Bell-shaped: It has a characteristic hump in the center.
  • Parameters: μ\mu (mean) sets the center, σ\sigma (standard deviation) controls the spread.

Two normal distribution curves are shown, one blue and one red, with labels indicating standard deviation.

📝 Example: Heights, weights, and test scores often approximate a normal distribution.

4.4.1 Standardized normal distribution

  • Working with any normal distribution can be complex.
  • The standardized normal distribution simplifies calculations.
  • This distribution has a mean of 0 and a standard deviation of 1, denoted as N(0,1)N(0,1).
  • It is also called the Z-distribution.
  • Values are transformed using Z=X−μσZ = \frac{X - \mu}{\sigma}.

This transformation allows us to use standard Z-tables to find probabilities for any normal distribution.

This diagram illustrates the probability of a standard normal random variable Z being less than or equal to a positive value 'a' or less than or equal to a negative value '-a'.

🔑 Important: To calculate probabilities for a normal variable XX, first convert it to a standard normal variable ZZ.

4.5 Normal approximation to the binomial distribution

  • When nn is large, the binomial distribution can be approximated by a normal distribution.

  • This is described by the DeMoivre–Laplace limit theorem.

  • The approximating normal distribution shares the same mean and variance as the binomial distribution.

  • Mean: μ=np\mu = np.

  • Variance: σ2=np(1−p)\sigma^2 = np(1-p).

🔑 Important: This approximation is useful for calculating binomial probabilities when nn is very large, avoiding tedious calculations.

📝 Example: For a fair coin tossed 100 times, we can approximate the probability of exactly 60 heads using a normal distribution with mean np=100×0.5=50np = 100 \times 0.5 = 50 and variance np(1−p)=100×0.5×0.5=25np(1-p) = 100 \times 0.5 \times 0.5 = 25.

🔑 Important: Use this approximation when np≥5np \ge 5 and n(1−p)≥5n(1-p) \ge 5 for reasonable accuracy.

🔑 Important: The most exam-relevant insight for this topic is the ability to identify and apply the correct distribution (Bernoulli, Binomial, Normal) to a given problem and to use the standardized normal distribution for probability calculations.

© 2026 Maeve. All rights reserved. This content is protected by copyright.

See also