2021 AMC 10 B Problem 22

AMC 10 Post-Exam Webinar

Plan Your Next Step: AMC 10, AMC 12, or AIME.

Tue. Nov.17

AMC 10 Post-Exam Webinar

Plan Your Next Step: AMC 10, AMC 12, or AIME.

Tue. Nov.17

One Page to Learn. One Point to Earn.

In This Page:

To help you master 2021 AMC 10 B Problem 22, this page includes:

  • The original AMC problem to try, plus the correct answer
  • Clear, step-by-step solutions using different methods
  • Key ideas, useful formulas, and takeaways you can apply to similar problems
  • Related problems from past AMC exams, plus new practice problems that build the same skills

Want more practice? Scroll down to download Think Academy’s AMC 10 practice packs and keep building your AMC 10 B skills.

2021 AMC10 B Problem 22

AMC 10 B · 2021 · Question 22
Hard
ProbabilityGeneral ProbabilityCounting-Based Probability

22.

Ang, Ben, and Jasmin each have blocks, colored red, blue, yellow, white, and green; and there are empty boxes. Each of the people randomly and independently of the other two people places one of their blocks into each box. The probability that at least one box receives blocks all of the same color is , where and are relatively prime positive integers. What is

Choose one answer · Attempt 1 of 3

Small Hint

Let be the event that Ben and Jasmin both match Ang in box . What is the probability of ? What about the intersection ?

Choose one answer · Attempt 2 of 3

Small Hint

Let be the event that Ben and Jasmin both match Ang in box . What is the probability of ? What about the intersection ?

Choose one answer · Attempt 3 of 3

Small Hint

Let be the event that Ben and Jasmin both match Ang in box . What is the probability of ? What about the intersection ?

Solution

Inclusion-Exclusion Principle (PIE) on Probabilities

By fixing Ang’s block placement as the baseline, we can reframe the problem. For any box to get three identical blocks, Ben and Jasmin must independently match Ang’s color in that box. We can apply the Principle of Inclusion-Exclusion (PIE) to the five events representing a match in each box.

Principle of Inclusion-Exclusion:

Step 1: Fix Ang’s placement as a reference

Since Ang, Ben, and Jasmin act independently, the probability of them matching only depends on their relative placements. We can fix Ang’s placement without loss of generality. Assume Ang places color into box for .

Step 2: Define the target events

For box to have 3 blocks of the same color, Ben and Jasmin must both place color into box . Let be the event that both Ben and Jasmin match Ang on box . We want to find the probability of the union of these events: .

Step 3: Calculate intersection probabilities

To apply PIE, we need the probability that both Ben and Jasmin match Ang in a specific set of boxes. The probability that one person matches Ang in specific boxes is the number of ways to arrange the remaining blocks divided by the total permutations. Because Ben and Jasmin act independently, the probability that they BOTH match Ang in those boxes is the square of the individual probability.

Step 4: Apply the Principle of Inclusion-Exclusion

There are ways to choose a subset of boxes. We multiply this by the intersection probability for each from 1 to 5 and alternate the signs.

Step 5: Evaluate the terms

We calculate the term for each : For : For : For : For : For :

Step 6: Sum the terms to find the final probability

Combine the calculated terms with alternating signs. To add them, we find a common denominator of .

Step 7: Simplify the fraction

Divide the numerator and denominator by their greatest common divisor. Both are divisible by .

Correct answer: D.
The probability is 71/400. Since 71 is prime and doesn’t divide 400, and are relatively prime. Thus, . This matches answer choice D. (Notice that evaluating only the first two terms of PIE yields , which is a trap answer A!)

Conditioning on Ben’s Matches Using Derangements

Instead of applying a 2D Inclusion-Exclusion directly, we can look at Ben’s placement first. We group his outcomes by exactly how many boxes he matches with Ang. For each , we then calculate the probability that Jasmin matches Ang in at least one of those specific boxes.

Derangement Numbers: The number of permutations of elements with no fixed points is denoted . For small : . The number of permutations with exactly fixed points is .

Step 1: Determine the distribution of Ben’s matches

Fix Ang’s permutation. Let be the exact number of boxes where Ben matches Ang. The number of such permutations for Ben is . We divide by to find the probability that Ben has exactly matches.

Step 2: Find Jasmin’s probability for each

If Ben matched Ang on a specific set of boxes, we need Jasmin to match Ang on at least one of those boxes. We use 1D Inclusion-Exclusion on Jasmin’s permutations to find this probability, .

Step 3: Apply the Law of Total Probability

Multiply the probability of Ben matching exactly boxes by the probability of Jasmin matching at least one of those boxes, and sum over all .

Step 4: Calculate the final sum

Evaluate the products and add them together.

Correct answer: D.
The total probability is 71/400. Thus , confirming our previous result.

Similar Problems in Real Exams

The following five AMC 10 B problems are closely related to AMC 10 B 2021 Question 22. These real AMC 10 B problems test the same key concept—Probability. Click any problem to learn and practice, then continue to the adapted practice section later in this article for more problems to try.

2025 AMC 10 B Problem 11

2020 AMC 10 B Problem 11

2025 AMC 10 B Problem 14

2025 AMC 10 B Problem 22

2025 AMC 10 B Problem 24

Adapted Problems to Practice

1 / 10

What Formulas Do You Need for This Problem?

  • Principle of Inclusion-Exclusion (PIE):

are events. This is valid for any events, whether they are independent or not. We wanted the probability that AT LEAST ONE box met a condition, which translates mathematically to the union of multiple events.

  • Derangements:

A derangement is a permutation of elements with no fixed points. The number of derangements of items is . The first few are .

is the number of elements being permuted. We used derangements to count exactly how many boxes Ben matched with Ang, effectively partitioning the sample space into distinct cases.

  • Independence of Events:

Valid when events and are independent. Even though permutations have internal dependencies (placing a block in box 1 affects box 2), the actions of different people (Ben and Jasmin) are independent. This allowed us to square the individual probability to find the probability of both people matching Ang.

Key Takeaway: Remember This Strategy for Next Time

When multiple agents independently assign items to identical slots.

Try: Fix one agent's assignment as the 'standard' or 'identity' permutation.

Why: Because the outcome depends only on relative matches between the agents and they act independently, assuming one agent acts in a specific ordered way preserves all the mathematical structure while vastly reducing the size of the sample space you have to think about.

When asking for the probability that 'at least one' item meets a complex matching condition.

Try: Use the Principle of Inclusion-Exclusion (PIE) directly on probabilities.

Why: Intersection events (e.g., matching on exactly boxes 1 and 2) are usually much easier to calculate than union events (matching on box 1 OR box 2). If agents are independent, you can easily square or cube the base intersection probabilities.

When a problem involves permutations matching a specific arrangement.

Try: Remember the derangement numbers (0, 1, 2, 9, 44) to quickly count outcomes with exactly matches.

Why: The number of permutations with exactly fixed points is always . This lets you break down complex permutation problems into straightforward, distinct cases.


Unlock More Targeted AMC 10 Practice Resource

Build Stronger Skills. Practice with Purpose. Prepare with Confidence.

Get a complete set of module-focused AMC 10 practice workbooks designed to help students strengthen core concepts, improve problem-solving strategies, and feel more confident on test day.

With 250+ practice problems organized across six essential AMC 10 modules, students can focus on one skill area at a time and learn from clear, step-by-step solutions.

AMC10 Practice Resource Pack

Download the Free AMC 10 Practice Resource Pack

Inside, You’ll Find:

  • 6 module-focused practice workbooks: Algebra, Geometry, Number Theory, Combinatorics, and Probability & Statistics.
  • 250+ AMC 10-style practice problems covering essential concepts and common competition question types.
  • Complete answer keys and step-by-step solutions to help students understand the reasoning behind each answer.
  • Organized, print-ready materials for independent study, guided practice, or extra preparation at home.

Get Instant Access: Fill out the form below to receive our exclusive resource pack.

*Please enter a valid email address to access the materials and receive future prep updates.

 AMC 10 Practice Resource Pack
Free Download

After submission, the download link is in the confirmation message on this page.


About Think Academy

Think Academy US Online, part of TAL Education Group (NYSE: TAL), provides structured math and ELA programs that help students build strong academic foundations and grow with confidence. With expert teachers, proven methods, and innovative AI tools, we nurture learning ability, curiosity, and healthy study habits that support long-term growth and a lifelong love of learning.

Check our programs:

Want more insights on Math & ELA learning and parenting? Fill out the form on this page and subscribe to our newsletter for weekly tips and the latest resources. Join 100,000+ families in our Parent Community!

Leave a Comment & Share Your Thoughts!

Published On: November 4, 2026
Post Content
Think Academy 2026 AMC 10 Post-Exam Planning Webinar (1)

Get expert PreK–12 insights in your inbox every week

To support your child’s learning, confidence, and growth:
✓ Competition & Test Prep
✓ Printable Worksheets
✓ Webinar Invites

Join 100,000+ subscribers in our parent community.

Share This Story, Choose Your Platform!

Related Posts