ALGEBRAArithmeticMathematics Calculator
๐Ÿ”ข

Combinations: Choosing Without Order

C(n,r) counts ways to choose r items from n when order does not matter. Same as binomial coefficient. CR(n,r) allows repetitionโ€”stars and bars gives CR(n,r) = C(n+r-1,r).

Concept Fundamentals
n!/(r!(nโˆ’r)!)
C(n,r)
C(n+rโˆ’1,r)
CR(n,r)
C: no order; P: order matters
Order
Lottery, poker, committees
Use
Calculate CombinationsEnter n and r for C(n,r) or CR(n,r)

Why This Mathematical Concept Matters

Why: Combinations answer: In how many ways can I choose r from n? Order does not matterโ€”{A,B} = {B,A}. Permutations count order; combinations do not.

How: C(n,r) = n!/(r!(n-r)!). For CR: imagine placing r stars in n bins (with dividers)โ€”that is C(n+r-1,r) arrangements.

  • โ—Poker: C(52,5) = 2,598,960 possible hands.
  • โ—C(n,r) = C(n,n-r)โ€”choosing r is same as excluding n-r.
  • โ—Stars and bars: r identical items into n distinct bins = CR(n,r).

๐Ÿ“ Examples โ€” Click to Load

Enter Values

โš ๏ธFor educational and informational purposes only. Verify with a qualified professional.

๐Ÿงฎ Fascinating Math Facts

๐Ÿƒ

C(52,5) = 2,598,960 possible poker hands.

๐Ÿ“

C(n,r) = C(n,nโˆ’r) โ€” symmetry of binomial coefficients.

๐Ÿ“‹ Key Takeaways

  • โ€ข C(n,r) = n! / (r!(n-r)!) โ€” choose r from n, order doesn't matter
  • โ€ข CR(n,r) = C(n+r-1, r) โ€” combinations with replacement (multiset coefficient)
  • โ€ข C(n,0) = C(n,n) = 1; C(n,1) = n
  • โ€ข Symmetry: C(n,r) = C(n, n-r) โ€” use when r > n/2 for efficiency
  • โ€ข Pascal's identity: C(n,k) = C(n-1,k-1) + C(n-1,k)

๐Ÿ’ก Did You Know?

๐ŸƒC(52,5) = 2,598,960 possible poker hands from a standard deck.Source: Poker Combinatorics
๐Ÿ“Pascal's identity: each entry in Pascal's triangle is the sum of the two above.Source: MathWorld
๐Ÿฆ3 scoops from 5 flavors (repetition OK): CR(5,3) = 35 combinations.Source: Stars and Bars
๐Ÿ“ŠSum of row n in Pascal's triangle = 2^n.Source: Binomial Theorem
๐ŸŽฒC(n,r) is used in binomial distribution probability calculations.Source: Probability Theory
๐Ÿ”ขC(n,r) is largest when r โ‰ˆ n/2 (for even n, r = n/2).Source: Combinatorics

๐Ÿ“– How It Works

C(n,r) counts the number of ways to choose r items from n distinct items when order does not matter. The formula n!/(r!(n-r)!) divides the permutations P(n,r) = n!/(n-r)! by r! to remove the ordering of the r chosen items.

CR(n,r) counts multisets of size r from n types โ€” "stars and bars": placing r indistinguishable items into n bins. CR(n,r) = C(n+r-1, r).

๐Ÿ“ Worked Example: C(5,2)

Step 1: C(5,2) = 5! / (2! ร— 3!)

Step 2: 5! = 120, 2! = 2, 3! = 6

Step 3: 120 / (2 ร— 6) = 120 / 12 = 10

Interpretation: 10 ways to choose 2 items from 5 (e.g., {A,B}, {A,C}, โ€ฆ)

๐Ÿš€ Real-World Applications

๐Ÿƒ Poker & Card Games

C(52,5) for 5-card hands; C(13,5) for flushes.

๐ŸŽฐ Lottery & Gambling

C(49,6) for picking 6 numbers from 49.

๐Ÿ‘ฅ Committee Selection

C(10,3) ways to form a 3-person committee from 10.

๐Ÿฆ Ice Cream Combos

CR(5,3) for 3 scoops from 5 flavors (repetition OK).

๐Ÿ”ฌ Experiment Design

Choosing treatment groups in clinical trials.

๐Ÿ“Š Binomial Distribution

C(n,k) p^k (1-p)^(n-k) for k successes in n trials.

โš ๏ธ Common Mistakes to Avoid

  • Confusing C and P: Use C when order doesn't matter; P when order matters. nPr = nCr ร— r!
  • Using C when CR applies: Ice cream scoops (repetition OK) need CR(n,r), not C(n,r).
  • r > n for C(n,r): C(n,r) = 0 when r > n. Check your constraints.
  • Forgetting symmetry: Use C(n,n-r) when r > n/2 to avoid overflow.
  • Probability errors: Uniform random selection probability = 1/C(n,r).

๐ŸŽฏ Expert Tips

๐Ÿ’ก Use C(n,n-r)

When r > n/2, compute C(n,n-r) instead โ€” fewer multiplications, same result.

๐Ÿ’ก Probability = 1/C(n,r)

For uniform random selection of r from n, each combination has probability 1/C(n,r).

๐Ÿ’ก Stars and Bars

CR(n,r) = placing r items in n bins. Visualize r stars and (n-1) bars.

๐Ÿ’ก Verify with Pascal

Check: C(n,0)+C(n,1)+...+C(n,n) = 2^n.

๐Ÿ“Š Reference Table

IdentityFormula
C(n,r)n! / (r!(n-r)!)
CR(n,r)C(n+r-1, r)
SymmetryC(n,r) = C(n, n-r)
PascalC(n,k) = C(n-1,k-1) + C(n-1,k)
Row sumฮฃ C(n,r) = 2^n
Relation to PP(n,r) = C(n,r) ร— r!

๐Ÿ“ Quick Reference

10
C(5,2)
120
C(10,3)
2.6M
C(52,5) poker
35
CR(5,3) ice cream

๐ŸŽ“ Practice Problems

C(7,3) โ†’ Answer: 35
CR(4,2) โ†’ Answer: 10
C(8,0) โ†’ Answer: 1
C(6,4) = C(6,2) โ†’ Answer: 15

โ“ FAQ

C vs CR โ€” when to use which?

C(n,r): no repetition, order doesn't matter (e.g., committee, poker hand). CR(n,r): repetition allowed, order doesn't matter (e.g., ice cream scoops).

When is C(n,r) largest?

When r โ‰ˆ n/2. For even n, C(n,n/2) is the maximum. For odd n, C(n,โŒŠn/2โŒ‹) and C(n,โŒˆn/2โŒ‰) are equal and largest.

How many poker hands?

C(52,5) = 2,598,960 possible 5-card hands from a standard deck.

Why CR(n,r) = C(n+r-1, r)?

Stars and bars: placing r indistinguishable items into n distinct bins. Equivalent to choosing r positions from n+r-1 slots.

Probability of uniform selection?

When choosing r from n without replacement uniformly at random, each combination has probability 1/C(n,r).

Combinations vs permutations?

Combinations: order doesn't matter. Permutations: order matters. P(n,r) = C(n,r) ร— r!.

Can r exceed n for CR?

Yes. CR(n,r) allows r > n. For example, CR(5,10) = C(14,10) = 1001 ways to get 10 scoops from 5 flavors.

๐Ÿ“Œ Summary

C(n,r) counts ways to choose r items from n when order doesn't matter. CR(n,r) counts multisets of size r from n types (repetition allowed). Use C for committees, poker hands, lottery; CR for ice cream scoops, distributing identical items. Pascal's identity and symmetry C(n,r)=C(n,n-r) simplify calculations.

โœ… Verification Tip

Verify: C(n,0)+C(n,1)+...+C(n,n) = 2^n. For CR, check CR(n,1)=n and CR(n,0)=1. Use Pascal's triangle for small n.

๐Ÿ”— Next Steps

Explore the Permutation Calculator for ordered arrangements, the Binomial Coefficient Calculator for Pascal's triangle and expansions, or the Combinations with Replacement Calculator for full C/CR/P/PR comparison.

โš ๏ธ Disclaimer: For very large n+r, overflow may occur. Results for educational use. Verify critical calculations independently.

๐Ÿ‘ˆ START HERE
โฌ…๏ธJump in and explore the concept!
AI