AP-STATS-4.4-4.5

U4.4 Conditional Probability and Independence

Master AP Statistics conditional probability: use P(A|B)=P(A and B)/P(B), test independence, and apply the multiplication rule with clear examples.

What you'll do in this lesson

A voice-first session with the Crimsora tutor on U4.4 Conditional Probability and Independence, then targeted practice and FRQs — with the tutor adapting to where you get stuck.

What this lesson covers

Two events can be tangled together or completely unrelated — and knowing which changes every probability you compute. This lesson gives you the tools to measure how one event's outcome shifts the chances of another. You will learn to calculate conditional probabilities, decide whether two events are independent, and chain probabilities together using the multiplication rule.

These ideas show up constantly on the AP exam, often hidden inside two-way tables, tree diagrams, or word problems. Getting comfortable now sets you up for random variables and the binomial distribution later in the unit, where independence is a required condition.

The Conditional Probability Formula

Conditional probability answers the question, "Given that event BB has happened, what is the probability of event AA?" We write this as P(AB)P(A \mid B), read "the probability of AA given BB." The defining formula isP(AB)=P(A and B)P(B)P(A \mid B) = \frac{P(A \text{ and } B)}{P(B)}The key idea is that conditioning shrinks the sample space. Once you know BB occurred, only outcomes inside BB are still possible, so you restrict attention to that slice of the world. The numerator counts the overlap — outcomes that are in both AA and BB — and the denominator is the new, smaller total.

This matters because P(AB)P(A \mid B) and P(BA)P(B \mid A) are usually not equal. Confusing the two is one of the most common exam errors. For instance, the probability someone owns an umbrella given it is raining differs from the probability it is raining given they own an umbrella.

On two-way tables, conditional probability becomes a row or column calculation. If you condition on a row category, your denominator is that row's total, not the grand total. Always ask yourself: what is the given information, and does it define my denominator? That single habit prevents most mistakes.

Testing for Independence

Two events AA and BB are independent if knowing that one occurred does not change the probability of the other. Formally, AA and BB are independent if and only ifP(AB)=P(A)P(A \mid B) = P(A)Equivalently, they are independent when P(BA)=P(B)P(B \mid A) = P(B), or when P(A and B)=P(A)P(B)P(A \text{ and } B) = P(A) \cdot P(B). All three tests are logically the same; use whichever numbers you are given.

To check independence on the exam, compute both sides and compare. If P(AB)P(A \mid B) equals P(A)P(A), the events are independent; if they differ at all, the events are dependent (associated). There is no "close enough" — the definition is exact for theoretical probabilities.
SituationIndependent?
P(AB)=P(A)P(A\mid B) = P(A)Yes
P(AB)P(A)P(A\mid B) \neq P(A)No
P(A and B)=P(A)P(B)P(A \text{ and } B)=P(A)P(B)Yes
A frequent misconception is confusing independent events with mutually exclusive events. Mutually exclusive means the events cannot both happen, so P(A and B)=0P(A \text{ and } B) = 0. If two events with nonzero probability are mutually exclusive, they are actually dependent — knowing one happened tells you the other did not. These are opposite ideas, not the same.

The Multiplication Rule

Rearranging the conditional formula gives the general multiplication rule for the probability that two events both occur:P(A and B)=P(B)P(AB)P(A \text{ and } B) = P(B) \cdot P(A \mid B)This works for any two events. When the events are independent, P(AB)=P(A)P(A \mid B) = P(A), so the rule simplifies to the special caseP(A and B)=P(A)P(B)P(A \text{ and } B) = P(A) \cdot P(B)The multiplication rule is the engine behind tree diagrams. Each branch shows a conditional probability, and you multiply along a path to find the probability of that sequence of outcomes. To find the probability of an event that can happen several ways, you multiply along each relevant path and then add the paths together — a pattern you will use again in the binomial distribution.

Be careful with the difference between "and" and "or." The multiplication rule handles P(A and B)P(A \text{ and } B); the addition rule P(A or B)=P(A)+P(B)P(A and B)P(A \text{ or } B) = P(A) + P(B) - P(A \text{ and } B) handles unions. Exam problems often combine both. A good strategy: draw a tree or table first, identify whether you need a joint, conditional, or union probability, then pick the matching rule.

Reading Two-Way Tables and Trees

Most AP conditional probability questions arrive as a two-way table of counts or a tree diagram, so fluent reading of these is essential.

With a two-way table, three probability types appear. A joint probability like P(A and B)P(A \text{ and } B) uses a single cell over the grand total. A marginal probability like P(A)P(A) uses a row or column total over the grand total. A conditional probability like P(AB)P(A \mid B) uses a single cell over the row or column total for the given condition.
TypeNumeratorDenominator
Jointone cellgrand total
Marginalrow/col totalgrand total
Conditionalone cellrow/col total of the given
To test independence from a table, compare a conditional probability to its matching marginal. If P(AB)=P(A)P(A \mid B) = P(A) exactly, the variables are independent; any difference signals association.

With tree diagrams, the first set of branches shows marginal probabilities and the second set shows conditionals. Reversing a tree — finding P(firstsecond)P(\text{first} \mid \text{second}) when the tree was built the other way — requires the conditional formula applied to the multiplied path probabilities. This reversal is exactly Bayes-style reasoning, and it is a favorite way for the exam to test deep understanding rather than plug-and-chug.

Key terms

Conditional probability.
The probability of one event given that another has occurred, written P(AB)P(A \mid B) and computed as P(A and B)/P(B)P(A \text{ and } B)/P(B).
Independent events.
Two events where the occurrence of one does not change the probability of the other; P(AB)=P(A)P(A \mid B) = P(A).
Joint probability.
The probability that two events both occur, P(A and B)P(A \text{ and } B); a single cell over the grand total in a two-way table.
Marginal probability.
The overall probability of a single event ignoring the other variable, found from a row or column total over the grand total.
Multiplication rule.
P(A and B)=P(B)P(AB)P(A \text{ and } B) = P(B)\cdot P(A \mid B); simplifies to P(A)P(B)P(A)\cdot P(B) when events are independent.
Mutually exclusive.
Events that cannot occur together, so P(A and B)=0P(A \text{ and } B)=0; distinct from and generally not the same as independence.
Sample space restriction.
The idea that conditioning on BB reduces the possible outcomes to only those inside BB.

Worked example

A survey of 200 students records whether they play a sport and whether they have a part-time job. Of the students, 120 play a sport, and among those 120, 30 have a job. Among the 80 non-athletes, 40 have a job. Find P(jobsport)P(\text{job} \mid \text{sport}), then determine whether having a job and playing a sport are independent.
First organize the counts. Athletes with a job: 30. Non-athletes with a job: 40. Total with a job: 30+40=7030 + 40 = 70 out of 200.

Step 1: Compute the conditional probability. Given the student plays a sport, restrict to the 120 athletes. Of those, 30 have a job, soP(jobsport)=30120=0.25P(\text{job} \mid \text{sport}) = \frac{30}{120} = 0.25Step 2: Compute the marginal probability of having a job. That is 70/200=0.3570/200 = 0.35.

Step 3: Apply the independence test. Compare P(jobsport)=0.25P(\text{job} \mid \text{sport}) = 0.25 with P(job)=0.35P(\text{job}) = 0.35. Since 0.250.350.25 \neq 0.35, the two events are not independent — playing a sport is associated with a lower chance of having a job.

Step 4 (check with the multiplication test): P(sport)P(job)=0.60×0.35=0.21P(\text{sport})\cdot P(\text{job}) = 0.60 \times 0.35 = 0.21, but the actual joint probability is 30/200=0.1530/200 = 0.15. Because 0.150.210.15 \neq 0.21, the events are dependent, confirming our conclusion.

Practice questions

In a deck-style experiment, P(A)=0.4P(A) = 0.4, P(B)=0.5P(B) = 0.5, and P(A and B)=0.2P(A \text{ and } B) = 0.2. Which statement is correct?
  1. A and B are mutually exclusive
  2. A and B are independent
  3. A and B are dependent
  4. P(A | B) = 0.4 and A, B are dependent

Answer: A and B are independent

Check independence with the multiplication test: P(A)P(B)=0.4×0.5=0.2P(A)\cdot P(B) = 0.4 \times 0.5 = 0.2, which equals the given P(A and B)=0.2P(A \text{ and } B) = 0.2. Because the joint probability equals the product of the marginals, the events are independent. They are not mutually exclusive because P(A and B)0P(A \text{ and } B) \neq 0. Also P(AB)=0.2/0.5=0.4=P(A)P(A \mid B) = 0.2/0.5 = 0.4 = P(A), again confirming independence, so the last choice is wrong.
A medical test is positive in 90% of people who have a disease and positive in 20% of people who do not. Suppose 5% of a population has the disease. A randomly chosen person tests positive. Show how to set up P(diseasepositive)P(\text{disease} \mid \text{positive}) and compute it.

Answer: Approximately 0.1910.191, or about 19.1%.

Use the conditional formula P(D+)=P(D and +)/P(+)P(D \mid +) = P(D \text{ and } +)/P(+). The numerator: P(D)P(+D)=0.05×0.90=0.045P(D)\cdot P(+ \mid D) = 0.05 \times 0.90 = 0.045. The denominator is the total probability of a positive test, from both groups: P(+)=0.045+P(no D)P(+no D)=0.045+0.95×0.20=0.045+0.19=0.235P(+) = 0.045 + P(\text{no }D)\cdot P(+\mid \text{no }D) = 0.045 + 0.95\times 0.20 = 0.045 + 0.19 = 0.235. So P(D+)=0.045/0.2350.191P(D \mid +) = 0.045/0.235 \approx 0.191. The surprisingly low value shows how a rare condition keeps the posterior probability modest even after a positive test.
Events A and B satisfy P(A)=0.3P(A) = 0.3 and P(B)=0.6P(B) = 0.6. If A and B are independent, find P(A or B)P(A \text{ or } B).

Answer: 0.720.72

For independent events, P(A and B)=P(A)P(B)=0.3×0.6=0.18P(A \text{ and } B) = P(A)\cdot P(B) = 0.3 \times 0.6 = 0.18. Then apply the addition rule: P(A or B)=P(A)+P(B)P(A and B)=0.3+0.60.18=0.72P(A \text{ or } B) = P(A) + P(B) - P(A \text{ and } B) = 0.3 + 0.6 - 0.18 = 0.72. Note you must subtract the overlap; forgetting it would incorrectly give 0.9.

FAQ

What is the difference between independent and mutually exclusive events?
Independent events do not affect each other's probability: P(AB)=P(A)P(A \mid B) = P(A). Mutually exclusive events cannot happen at the same time: P(A and B)=0P(A \text{ and } B) = 0. If two events with nonzero probability are mutually exclusive, they are actually dependent, because knowing one happened tells you the other definitely did not.
How do I know which value goes in the denominator of a conditional probability?
The denominator is the probability of the given event — the thing after the vertical bar. In P(AB)P(A \mid B), you divide by P(B)P(B). On a two-way table, condition on a row means the row total is your denominator; condition on a column means the column total is your denominator.
Is P(A | B) the same as P(B | A)?
No, and assuming they are equal is a classic mistake. They have different denominators — P(B)P(B) versus P(A)P(A) — so they are usually different numbers. They are only equal when P(A)=P(B)P(A) = P(B).
How can I quickly test for independence on the AP exam?
Pick any one of the equivalent conditions and check it with the given numbers. Either verify P(AB)=P(A)P(A \mid B) = P(A), or verify P(A and B)=P(A)P(B)P(A \text{ and } B) = P(A)\cdot P(B). If the two sides are exactly equal, the events are independent; if not, they are dependent.

Learn this with a teacher, not a page

The Crimsora tutor teaches U4.4 Conditional Probability and Independence live — explaining on a whiteboard, asking you questions, and adapting to where you get stuck.