Introduction
Mixed applications combine counting ideas - permutations, combinations, repetition rules, and conditional reasoning - into multi-step problems such as seating with constraints, forming passwords, or building numbers with digit rules.
This pattern is important because real exam questions rarely match a single formula: you must translate the problem into independent stages, pick the correct rule for each stage, then multiply or add case-results carefully.
Pattern: Mixed Applications (Seating, Digits, Passwords, Multi-stage Problems)
Pattern
Key idea: break the problem into clear stages (choose positions, apply constraints, count internal arrangements), use the appropriate counting rule for each stage (nPr, nCr, n^r), then combine stage-results by multiplication or addition.
Frequently used steps:
- Stage decomposition: Identify independent choices (which seats, which last digit, which block placement).
- Choose rule per stage: Use nPr when order matters, nCr when it doesn't, and nr when repetition is allowed.
- Combine results: Multiply independent stage counts; add mutually exclusive case counts.
- Sanity-check: Result must be ≤ corresponding unconstrained total (e.g., ≤ n! for permutations of n distinct items).
Step-by-Step Example
Question
How many 4-digit numbers can be formed from digits 0-9 if repetition is NOT allowed and the number must be divisible by 5?
Solution
-
Step 1: Translate the divisibility condition into cases.
A 4-digit number is divisible by 5 iff its last digit is 0 or 5. We'll count numbers with last digit 0 and with last digit 5, then add. -
Step 2: Case A - last digit = 0.
First digit (thousands place) cannot be 0 (no leading zero) and cannot repeat digits. Available digits for first place = digits 1-9 → 9 choices. After fixing first and last, middle two places are filled from remaining 8 digits in order → permutations P(8,2) = 8 × 7 = 56.
So count for Case A = 9 × 56 = 504.
-
Step 3: Case B - last digit = 5.
Last digit fixed as 5. First digit cannot be 0 or 5 → choices = digits {1..9} minus 5 → 8 choices. After choosing first and fixing last, remaining digits for middle two positions = 8, so middle positions count = P(8,2) = 8 × 7 = 56.
So count for Case B = 8 × 56 = 448.
-
Step 4: Combine mutually exclusive cases.
Total valid numbers = Case A + Case B = 504 + 448 = 952.
-
Final Answer:
952 four-digit numbers satisfy the conditions.
-
Quick Check:
Unconstrained 4-digit numbers with no repetition = 9 × 9 × 8 × 7 = 4,536 (first digit 1-9, then any remaining). Our result 952 is less than 4,536 - plausible ✅
Quick Variations
1. Password-type: If repetition is allowed, use nr for independent positions (e.g., 104=10,000 for 4-digit with repetition).
2. Seating with blocks: For people who must sit together, treat them as one block then multiply by internal permutations.
3. Mixed digit constraints: If divisibility by 2 (even) + no repetition, split by last-digit parity cases similar to the example.
4. Multi-stage with selection + arrangement: Choose r items (nCr), then arrange them (r!) → equivalent to nPr.
Trick to Always Use
- Step 1: Break the problem into independent stages or mutually exclusive cases (e.g., last digit choices, block vs single).
- Step 2: For each stage, pick the right counting rule: nPr if order matters, nCr if order doesn't, nr if repetition allowed.
- Step 3: Multiply counts from independent stages; add counts across exclusive cases.
- Step 4: Run a quick sanity check: result should be ≤ the most relaxed total (e.g., ≤ n!, ≤ nr, or ≤ 2n depending on context).
Summary
Summary
- Break every mixed problem into clear stages or mutually exclusive cases before counting.
- Select the correct counting rule for each stage: nPr, nCr, or nr depending on order and repetition.
- Multiply counts across independent stages and add results across mutually exclusive cases.
- Always sanity-check the final count against the maximum unconstrained possibilities to ensure plausibility.
Example to remember:
Convert constraints into stages (like last-digit cases), apply rules per stage, then combine - exactly as done to reach 952 in the example.
