Probability BasicsTopic #7 of 33

Probability Fundamentals

Basic probability concepts: sample spaces, events, probability axioms, and complement rule.

Overview

Probability is the mathematical framework for quantifying uncertainty. It forms the foundation for statistical inference.

Basic Terminology

TermDefinition
ExperimentA process with uncertain outcomes
Sample Space (SS)Set of all possible outcomes
EventA subset of the sample space
OutcomeA single result of an experiment

Probability Axioms

For any event AA in sample space SS:

  1. Non-negativity: P(A)0P(A) \geq 0
  2. Normalization: P(S)=1P(S) = 1
  3. Additivity: If AA and BB are mutually exclusive:
P(AB)=P(A)+P(B)P(A \cup B) = P(A) + P(B)

Probability Rules

Classical Probability

When outcomes are equally likely:

P(A)=Number of favorable outcomesTotal number of outcomes=n(A)n(S)P(A) = \frac{\text{Number of favorable outcomes}}{\text{Total number of outcomes}} = \frac{n(A)}{n(S)}

Complement Rule

P(A)=1P(A)P(A') = 1 - P(A)

Where AA' (or Aˉ\bar{A}) is "not A".

Addition Rule

For any events AA and BB:

P(AB)=P(A)+P(B)P(AB)P(A \cup B) = P(A) + P(B) - P(A \cap B)

For mutually exclusive events:

P(AB)=P(A)+P(B)P(A \cup B) = P(A) + P(B)

Multiplication Rule

For independent events:

P(AB)=P(A)×P(B)P(A \cap B) = P(A) \times P(B)

For dependent events:

P(AB)=P(A)×P(BA)P(A \cap B) = P(A) \times P(B|A)

Set Operations in Probability

OperationSymbolMeaning
UnionABA \cup BA or B (or both)
IntersectionABA \cap BA and B
ComplementAA' or Aˉ\bar{A}Not A
DifferenceABA - BA but not B

Types of Events

TypeDefinitionProperty
Mutually ExclusiveCannot occur togetherP(AB)=0P(A \cap B) = 0
IndependentOne doesn't affect otherP(AB)=P(A)P(B)P(A \cap B) = P(A) \cdot P(B)
ExhaustiveCover entire sample spaceP(AB)=1P(A \cup B \cup \ldots) = 1
ComplementaryMutually exclusive + exhaustiveP(A)+P(A)=1P(A) + P(A') = 1

Common Probability Values

EventProbability
Impossible0
Certain1
Fair coin heads0.5
Fair die showing 61/6 ≈ 0.167
At least one head in 2 flips0.75

Examples

Example 1: Basic Probability

Single die roll:

S={1,2,3,4,5,6}S = \{1, 2, 3, 4, 5, 6\} P(even)=P({2,4,6})=36=0.5P(\text{even}) = P(\{2, 4, 6\}) = \frac{3}{6} = 0.5

Example 2: Complement Rule

P(at least one 6 in 3 rolls)=1P(no 6s)P(\text{at least one 6 in 3 rolls}) = 1 - P(\text{no 6s}) =1(56)3=10.579=0.421= 1 - \left(\frac{5}{6}\right)^3 = 1 - 0.579 = 0.421

Example 3: Addition Rule

In a class: 60% study math, 50% study physics, 30% study both.

P(math or physics)=0.60+0.500.30=0.80P(\text{math or physics}) = 0.60 + 0.50 - 0.30 = 0.80

Example 4: Multiplication (Independent)

Two coin flips:

P(both heads)=P(H)×P(H)=0.5×0.5=0.25P(\text{both heads}) = P(H) \times P(H) = 0.5 \times 0.5 = 0.25

Example 5: Cards

P(ace)=452=113P(\text{ace}) = \frac{4}{52} = \frac{1}{13} P(heart)=1352=14P(\text{heart}) = \frac{13}{52} = \frac{1}{4} P(ace and heart)=152P(\text{ace and heart}) = \frac{1}{52} P(ace or heart)=452+1352152=1652=413P(\text{ace or heart}) = \frac{4}{52} + \frac{13}{52} - \frac{1}{52} = \frac{16}{52} = \frac{4}{13}

Probability Distribution Table

For discrete random variable XX:

RequirementDescription
All P(X=x)0P(X = x) \geq 0Probabilities are non-negative
P(X=x)=1\sum P(X = x) = 1Total probability equals 1