Precalculus / Algebra 2

Probability

Basic probability, addition & multiplication rules, conditional probability, counting principles, and binomial probability — with worked examples.

Basic Probability

P(A) = favorable outcomes / total outcomes
  • 0 ≤ P(A) ≤ 1 — probability is always between 0 (impossible) and 1 (certain)
  • P(A) = 0 → event cannot happen
  • P(A) = 1 → event is guaranteed
  • P(A) = 0.5 → equally likely to happen or not happen

Example

A bag has 3 red, 5 blue, and 2 green marbles. P(red) = 3/10 = 0.3

Complement Rule

P(A') = 1 − P(A)

The complement A' ("A prime" or "not A") is everything that is NOT event A. Since all probabilities sum to 1, P(A) + P(A') = 1.

Example

P(rain tomorrow) = 0.35 → P(no rain) = 1 − 0.35 = 0.65

Addition Rules

Mutually Exclusive Events

(Events that cannot happen at the same time)

P(A or B) = P(A) + P(B)

Example: rolling a 2 or a 5 on a die. Can't get both at once. P(2 or 5) = 1/6 + 1/6 = 1/3

Not Mutually Exclusive

(Events that can overlap — subtract the overlap)

P(A or B) = P(A) + P(B) − P(A and B)

Example: drawing a red card or a face card from a deck. Some face cards are red — subtract the overlap to avoid double-counting.

Multiplication Rules

Independent Events

(One event does not affect the other)

P(A and B) = P(A) × P(B)

Example: flipping heads and then rolling a 4. P = 1/2 × 1/6 = 1/12

Dependent Events

(First event changes the probability of the second)

P(A and B) = P(A) × P(B|A)

P(B|A) = "probability of B given A already happened"

Conditional Probability

P(B|A) = P(A and B) / P(A)

Read P(B|A) as "the probability of B given that A has already occurred." You are restricting the sample space to only outcomes where A happened.

Example

In a class: 30% study math (M), 20% study both math and science (M∩S).

P(S|M) = P(M and S) / P(M) = 0.20 / 0.30 ≈ 0.667

Among math students, about 67% also study science.

Counting Principles

Fundamental Counting Principle

m × n (× p × ...)

If event 1 has m outcomes and event 2 has n outcomes, together there are m × n outcomes.

3 shirts × 4 pants = 12 outfits

Permutations (order matters)

P(n,r) = n! / (n−r)!

Arrangements of r items chosen from n. Order is important — ABC ≠ BAC.

P(5,3) = 5!/2! = 60 arrangements

Combinations (order doesn't matter)

C(n,r) = n! / [r!(n−r)!]

Selections of r items from n. Order is irrelevant — ABC = BAC = CAB.

C(5,3) = 5!/(3!·2!) = 10 groups

Binomial Probability

P(X = k) = C(n,k) · p^k · (1−p)^(n−k)

VariableMeaning
nTotal number of trials
kNumber of successes you want
pProbability of success on one trial
1−pProbability of failure on one trial
C(n,k)Number of ways to arrange k successes among n trials

Use binomial probability when: there are exactly two outcomes (success/failure), each trial is independent, and n and p are constant throughout.

Worked Examples

Example 1: Drawing Cards Without Replacement (Dependent)

What is the probability of drawing two aces in a row from a standard 52-card deck?

P(1st ace) = 4/52 = 1/13

P(2nd ace | 1st was ace) = 3/51 = 1/17

P(both aces) = P(A) × P(B|A) = 4/52 × 3/51

= 12/2652 = 1/221 ≈ 0.0045

Without replacement → dependent. After the first ace is drawn, only 3 aces remain in a 51-card deck.

Example 2: Rolling Dice (Independent)

What is the probability of rolling a 6 on the first die and an even number on the second?

P(6 on die 1) = 1/6

P(even on die 2) = 3/6 = 1/2

Die rolls are independent → multiply

P(both) = 1/6 × 1/2 = 1/12 ≈ 0.083

Example 3: Binomial — Exactly 3 Heads in 8 Coin Flips

A fair coin is flipped 8 times. What is P(exactly 3 heads)?

n = 8, k = 3, p = 0.5, (1−p) = 0.5

P(X = 3) = C(8,3) · (0.5)³ · (0.5)⁵

C(8,3) = 8!/(3!·5!) = 56

= 56 · 0.125 · 0.03125

= 56 · 0.00390625

= 0.21875 ≈ 21.9%

Example 4: Combinations — Committee of 4 from 10

How many ways can a committee of 4 be chosen from a group of 10 people?

Order doesn't matter (a committee is a committee) → use combinations

C(10,4) = 10! / [4! · 6!]

= (10 × 9 × 8 × 7) / (4 × 3 × 2 × 1)

= 5040 / 24

= 210 different committees

Quick Reference — Which Rule to Use?

SituationRuleFormula
P(A or B), can't overlapAddition — mutually exclusiveP(A) + P(B)
P(A or B), can overlapAddition — generalP(A) + P(B) − P(A∩B)
P(A and B), independentMultiplication — independentP(A) × P(B)
P(A and B), dependentMultiplication — conditionalP(A) × P(B|A)
P(B given A happened)Conditional probabilityP(A∩B) / P(A)
Arrangements (order matters)Permutationsn!/(n−r)!
Selections (order irrelevant)Combinationsn!/[r!(n−r)!]
Repeated trials, count successesBinomial probabilityC(n,k)·p^k·(1−p)^(n−k)

Frequently Asked Questions

What is probability and how is it calculated?

Probability measures how likely an event is to occur. P(A) = (number of favorable outcomes) / (total number of outcomes). Probability always falls between 0 and 1 — where 0 means impossible and 1 means certain. For example, rolling a 3 on a standard die: P(3) = 1/6 ≈ 0.167.

What is the difference between independent and dependent events?

Independent events: the outcome of one event does not affect the other. P(A and B) = P(A) × P(B). Example: flipping a coin twice — each flip is independent. Dependent events: the outcome of one event affects the probability of the other. P(A and B) = P(A) × P(B|A). Example: drawing two cards without replacement — after removing the first card, the deck changes, so the second draw is dependent on the first.

What is the difference between a permutation and a combination?

Permutations count arrangements where order matters: P(n,r) = n!/(n−r)!. Example: the number of ways to arrange 3 books chosen from 7 is P(7,3) = 7!/4! = 210. Combinations count selections where order does NOT matter: C(n,r) = n!/[r!(n−r)!]. Example: the number of ways to choose a committee of 3 from 7 people is C(7,3) = 35. A quick test: if swapping two items gives a different result, use permutations; if not, use combinations.

Related Topics

Practice Probability Problems

Interactive problems, step-by-step solutions, and private tutoring — free to try.

Start Practicing Free