Scribe logoScribeNotes & practice
Sign inStart free
  1. Notes
  2. ›AP Statistics
  3. ›2 Probability, Random Variables and Probability Distributions
  4. ›2.6 Conditional probability

AP Statistics · Unit 2 · Probability, Random Variables and Probability Distributions

2.6 Conditional probability

Calculate conditional probabilities from tables or data, and explain how they differ from unconditional probabilities.

  • 3 min read
  • 5 parts
  • 10 questions
  • Draft
Start a Quick 5 on this topic→Jump to the 10 questions
1/5A condition changes which group you are looking at
  1. 1A condition changes which group you are looking at
  2. 2Conditional probability is a ratio inside the given group
  3. 3A table of counts gives conditional probabilities directly
  4. 4Reversing the condition changes the answer
  5. 5Conditional and unconditional probabilities answer different questions
  6. Check your recall
  7. Practice: 10 questions
1

Part 1 of 5: A condition changes which group you are looking at

Suppose you ask whether a randomly chosen student has a pet. Now suppose you first learn that the student lives in a house. That new information narrows the group, so the chance can change.

A conditional probability is the probability that an event occurs, given that another event has occurred. For events AAA and BBB, it is written P(A∣B)P(A\mid B)P(A∣B) and read “the probability of AAA given BBB.”

The event after the bar is the condition. Only outcomes inside the condition count. Outcomes outside it are ignored.

Key term

conditional probability

The conditional probability P(A∣B)P(A\mid B)P(A∣B) is the probability that event AAA occurs given that event BBB has occurred, where P(B)>0P(B)>0P(B)>0.

Part 1 done

2

Part 2 of 5: Conditional probability is a ratio inside the given group

Now you need a way to calculate it. Shrink the sample space to the outcomes in BBB. Then ask what fraction of those outcomes also belong to AAA.

In symbols, P(A∣B)=P(A∩B)P(B)P(A\mid B)=\frac{P(A\cap B)}{P(B)}P(A∣B)=P(B)P(A∩B)​, where A∩BA\cap BA∩B is the event that both occur. With counts, it becomes count in both A and Bcount in B\frac{\text{count in both }A\text{ and }B}{\text{count in }B}count in Bcount in both A and B​. The condition BBB always supplies the denominator.

The denominator is smaller than the full sample space, because the condition removes outcomes. This is why a conditional probability can differ from an unconditional one.

Exam tip

Find the total for the condition first. That total is the denominator, and the answer must lie between 0 and 1.

Part 2 done

Quick check

One question on the part you just read

Easy

Identify the probability that is conditional.
Show answer and explanation

Answer: C · Worked explanation

A conditional probability restricts attention to a group defined by a given event, here students who live in a house. The other statements use the whole group of students, or ask about a union, so they have no condition. The word “given” is the usual signal of a condition.
3

Part 3 of 5: A table of counts gives conditional probabilities directly

A table that sorts people by two categories makes counts easy to see. Suppose 150 students were asked whether they have a pet and whether they live in a house or an apartment. Each cell counts students in both categories. The totals along the edges count students in one category.

Students by pet ownership and housing

HouseApartmentTotal
Pet542175
No pet363975
Total9060150
Pet
House
54
Apartment
21
Total
75
No pet
House
36
Apartment
39
Total
75
Total
House
90
Apartment
60
Total
150

Each probability is a count divided by a total. The condition tells you which total to use.

Worked example

Find a conditional probability from the table

Find the probability that a randomly selected student has a pet, given that the student lives in a house.
  1. 1
    The condition is living in a house, so use the House total: 90.
  2. 2
    Count the students in that group who have a pet: 54.
  3. 3
    Substitute: P(pet∣house)=5490P(\text{pet}\mid\text{house})=\frac{54}{90}P(pet∣house)=9054​.
  4. 4
    Simplify: 5490=0.60\frac{54}{90}=0.609054​=0.60.

Answer: P(pet∣house)=0.60P(\text{pet}\mid\text{house})=0.60P(pet∣house)=0.60.

Only the 90 house residents matter here. The 60 apartment residents are ignored, even though they appear in the table.

Part 3 done

4

Part 4 of 5: Reversing the condition changes the answer

The two events in a conditional probability are not interchangeable. P(A∣B)P(A\mid B)P(A∣B) divides by the total for BBB, while P(B∣A)P(B\mid A)P(B∣A) divides by the total for AAA. Different totals usually give different answers.

In the table, 54 of the 75 pet owners live in a house, so P(house∣pet)=5475=0.72P(\text{house}\mid\text{pet})=\frac{54}{75}=0.72P(house∣pet)=7554​=0.72. Compare this with P(pet∣house)=0.60P(\text{pet}\mid\text{house})=0.60P(pet∣house)=0.60. The numerator is the same 54, but the group differs.

Watch for phrases that introduce the condition.

  • “given that” or “if”
  • “among” or “of those who”
  • “for students who” or “in the group of”

Common mistake

Do not treat P(A∣B)P(A\mid B)P(A∣B) and P(B∣A)P(B\mid A)P(B∣A) as the same. Check which event names the group you are restricted to.

Part 4 done

Quick check

One question on the part you just read

Easy

A club has 40 members. Of them, 24 are seniors, and 6 of the seniors are officers. Calculate the probability that a randomly selected senior is an officer.
Show answer and explanation

Answer: C · Worked explanation

The condition is being a senior, so the denominator is 24: 624=0.25\frac{6}{24}=0.25246​=0.25. The value 0.15 divides by all 40 members. The value 0.60 is the proportion of members who are seniors. The value 0.75 is the probability that a senior is not an officer.
5

Part 5 of 5: Conditional and unconditional probabilities answer different questions

An unconditional probability uses the whole sample space and ignores other events. In the table, P(pet)=75150=0.50P(\text{pet})=\frac{75}{150}=0.50P(pet)=15075​=0.50.

Compare this with P(pet∣house)=0.60P(\text{pet}\mid\text{house})=0.60P(pet∣house)=0.60. Knowing that a student lives in a house raises the chance of a pet from 0.50 to 0.60. The condition carried information. If the two probabilities were equal, the condition would tell you nothing new.

Interpret a conditional probability by naming the group. Among students who live in a house, 60% have a pet. The complement stays inside the same condition: P(no pet∣house)=1−0.60=0.40P(\text{no pet}\mid\text{house})=1-0.60=0.40P(no pet∣house)=1−0.60=0.40.

Go deeperRearranging the formula

Multiply both sides of the formula by P(B)P(B)P(B) to get P(A∩B)=P(B)⋅P(A∣B)P(A\cap B)=P(B)\cdot P(A\mid B)P(A∩B)=P(B)⋅P(A∣B). This gives the probability that both events occur.

In the table, P(house)=90150=0.60P(\text{house})=\frac{90}{150}=0.60P(house)=15090​=0.60, so P(house∩pet)=0.60×0.60=0.36P(\text{house}\cap\text{pet})=0.60\times0.60=0.36P(house∩pet)=0.60×0.60=0.36. A direct count agrees: 54150=0.36\frac{54}{150}=0.3615054​=0.36.

Key term

unconditional probability

An unconditional probability is the probability of an event found from the entire sample space, with no other event given.

Note read

Check your recall[12 marks]

5 written questions. Answer each one in your head or on paper, then open the mark scheme.

  1. 1.Describe[2 marks]

    Describe in words what P(A∣B)P(A\mid B)P(A∣B) represents.

    Show mark schemeHide mark scheme

    Model answer

    It is the probability that AAA occurs given that BBB has occurred. Only outcomes in BBB are considered.

    • 1 mark for stating that it is the probability that AAA occurs given that BBB has occurred
    • 1 mark for indicating that the calculation is restricted to the outcomes in BBB
  2. 2.Calculate[3 marks]

    In a group of 80 students, 30 play basketball, 20 run track, and 12 do both. Calculate the probability that a randomly selected student who plays basketball also runs track.

    Show mark schemeHide mark scheme

    Model answer

    The condition is playing basketball, so P(track∣basketball)=1230=0.40P(\text{track}\mid\text{basketball})=\frac{12}{30}=0.40P(track∣basketball)=3012​=0.40.

    • 1 mark for using the 30 basketball players as the denominator
    • 1 mark for using the 12 students who do both as the numerator
    • 1 mark for obtaining 0.40
  3. 3.Determine[2 marks]

    In the same group of 80 students, determine the probability that a randomly selected student who runs track also plays basketball.

    Show mark schemeHide mark scheme

    Model answer

    P(basketball∣track)=1220=0.60P(\text{basketball}\mid\text{track})=\frac{12}{20}=0.60P(basketball∣track)=2012​=0.60.

    • 1 mark for using the 20 track runners as the denominator
    • 1 mark for obtaining 0.60
  4. 4.Explain[2 marks]

    Explain why P(A∣B)P(A\mid B)P(A∣B) and P(B∣A)P(B\mid A)P(B∣A) are usually not equal.

    Show mark schemeHide mark scheme

    Model answer

    P(A∣B)P(A\mid B)P(A∣B) divides by the total for BBB, while P(B∣A)P(B\mid A)P(B∣A) divides by the total for AAA. Different groups usually give different values.

    • 1 mark for stating that the denominators are the totals for BBB and for AAA respectively
    • 1 mark for linking the different groups to different values
  5. 5.Justify[3 marks]

    In the same group of 80 students, justify whether knowing that a student runs track changes the probability that the student plays basketball.

    Show mark schemeHide mark scheme

    Model answer

    P(basketball)=3080=0.375P(\text{basketball})=\frac{30}{80}=0.375P(basketball)=8030​=0.375, but P(basketball∣track)=1220=0.60P(\text{basketball}\mid\text{track})=\frac{12}{20}=0.60P(basketball∣track)=2012​=0.60. The values differ, so knowing the condition changes the probability.

    • 1 mark for finding the unconditional probability 3080=0.375\frac{30}{80}=0.3758030​=0.375
    • 1 mark for finding the conditional probability 1220=0.60\frac{12}{20}=0.602012​=0.60
    • 1 mark for concluding that the values differ, so the condition changes the probability

Practice this topic

10 quick-fire multiple-choice questions, easy to hard. Tap an answer to see if you're right and the worked explanation. (The written questions with mark schemes are under “Check your recall” above.)

0 right0 of 10 answered

Includes the 2 quick checks in the note above.

3.

Easy·Identify[1 mark]

Identify the formula for the conditional probability of AAA given BBB, where P(B)>0P(B)>0P(B)>0.
Show answer and explanation

Answer: D · Worked explanation

The condition BBB supplies the denominator, so P(A∣B)=P(A∩B)P(B)P(A\mid B)=\frac{P(A\cap B)}{P(B)}P(A∣B)=P(B)P(A∩B)​. Dividing by P(A)P(A)P(A) instead gives P(B∣A)P(B\mid A)P(B∣A). The product P(A)⋅P(B)P(A)\cdot P(B)P(A)⋅P(B) is not a conditional probability, and a ratio of two separate probabilities has no meaning here. A quick check is that the formula divides by the total for the group that is given.
4.

Medium·Calculate[2 marks]

In a survey of 150 students, 54 live in a house and have a pet, 36 live in a house with no pet, 21 live in an apartment and have a pet, and 39 live in an apartment with no pet. Calculate the probability that a randomly selected student with no pet lives in an apartment.
Show answer and explanation

Answer: C · Worked explanation

There are 36+39=7536+39=7536+39=75 students with no pet, and 39 of them live in an apartment, so 3975=0.52\frac{39}{75}=0.527539​=0.52. The value 0.26 divides by all 150 students. The value 0.65 divides by the 60 apartment residents, which reverses the condition. The value 0.48 is the share living in a house.
5.

Medium·Identify[1 mark]

The probability that a bus is late, given that the day is rainy, is 0.30. Identify the correct interpretation.
Show answer and explanation

Answer: B · Worked explanation

The condition is a rainy day, so the 30% describes buses on rainy days only. Saying that 30% of all days are both rainy and have a late bus describes a joint event across all days. Saying that 30% of late buses ran on rainy days reverses the condition. Saying that a bus is late on 30% of all days ignores the condition. The long-run language belongs to rainy days only.
6.

Medium·Calculate[2 marks]

For two events, P(A)=0.40P(A)=0.40P(A)=0.40, P(B)=0.20P(B)=0.20P(B)=0.20, and P(A∩B)=0.12P(A\cap B)=0.12P(A∩B)=0.12. Calculate P(A∣B)P(A\mid B)P(A∣B).
Show answer and explanation

Answer: D · Worked explanation

Use P(A∣B)=P(A∩B)P(B)=0.120.20=0.60P(A\mid B)=\frac{P(A\cap B)}{P(B)}=\frac{0.12}{0.20}=0.60P(A∣B)=P(B)P(A∩B)​=0.200.12​=0.60. The value 0.30 divides by P(A)P(A)P(A) instead, which gives P(B∣A)P(B\mid A)P(B∣A). The value 0.12 is the probability of both events and has no division by the condition. Without the condition, P(A)=0.40P(A)=0.40P(A)=0.40, so knowing that BBB occurred raises the chance of AAA here.
7.

Medium·Identify[1 mark]

A school finds that 70% of all students pass a test. Among students who attended a review session, 85% passed. Identify the conclusion best supported by these figures.
Show answer and explanation

Answer: A · Worked explanation

The conditional probability 0.85 exceeds the unconditional probability 0.70, so the condition changes the chance of passing. The figures show a difference, not a cause, so the review session need not be the reason. The 85% applies only to students who attended.
8.

Hard·Determine[2 marks]

In a survey of 200 adults, 30 own both a car and a bike, 90 own a car only, 50 own a bike only, and 30 own neither. Determine the probability that a randomly selected bike owner also owns a car.
Show answer and explanation

Answer: A · Worked explanation

There are 30+50=8030+50=8030+50=80 bike owners, and 30 of them own a car, so 3080=0.375\frac{30}{80}=0.3758030​=0.375. The value 0.25 is 30120\frac{30}{120}12030​, the probability that a car owner owns a bike, which reverses the condition. The value 0.15 divides by all 200 adults.
9.

Hard·Identify[2 marks]

Among people with a certain medical condition, 90% test positive. A student concludes that 90% of people who test positive have the condition. Identify the flaw in this conclusion.
Show answer and explanation

Answer: B · Worked explanation

The 90% is a probability of testing positive given the condition. The student needs the probability of the condition given a positive test, which divides by a different group. These two probabilities usually differ, so one cannot stand in for the other.
10.

Hard·Determine[2 marks]

On rainy days, a bus is late with probability 0.30. On days that are not rainy, it is late with probability 0.10. It rains on 20% of days. Determine the probability that the bus is not late, given that the day is rainy.
Show answer and explanation

Answer: D · Worked explanation

The complement stays inside the condition, so P(not late∣rainy)=1−0.30=0.70P(\text{not late}\mid\text{rainy})=1-0.30=0.70P(not late∣rainy)=1−0.30=0.70. The value 0.90 is the probability of not being late on days that are not rainy. The value 0.80 is the probability that a day is not rainy. The value 0.30 is the probability of being late.

Keep going

Next topic2.7 Independent events and unionsPrevious topic2.5 Mutually exclusive events

More in Unit 2 · Probability, Random Variables and Probability Distributions

  1. 2.2Two categorical variables: summary statisticsNotes · 10 questions
  2. 2.3SimulationNotes · 10 questions
  3. 2.4Introduction to probabilityNotes · 10 questions
  4. 2.5Mutually exclusive eventsNotes · 10 questions
  5. 2.6Conditional probabilityNotes · 10 questions
  6. 2.7Independent events and unionsNotes · 10 questions
  7. 2.8Random variables and distributionsNotes · 10 questions
  8. 2.9Parameters of random variablesNotes · 10 questions
  9. 2.10Binomial distributionNotes · 10 questions

All AP Statistics topics →

Draft: written by Scribe and checked automatically, not yet by a subject reviewer.

Practice questions are original, written by Scribe and checked automatically for correctness.

Topic codes follow the official numbering. Not endorsed by College Board or any exam board.

On this page

0/5 read

  1. 1A condition changes which group you are looking at
  2. 2Conditional probability is a ratio inside the given group
  3. 3A table of counts gives conditional probabilities directly
  4. 4Reversing the condition changes the answer
  5. 5Conditional and unconditional probabilities answer different questions
  6. Check your recall
  7. Practice: 10 questions
All coursesScribeHow it worksPricingPrivacyTerms

Notes and questions are written by Scribe in our own words. Topic codes follow the official course numbering so you can find your place. Not produced or endorsed by the IB, College Board, AQA, OCR, Pearson Edexcel or any exam board.

© 2026 Scribe