Permutation and Combination Formulas:
From: | To: |
Permutations and combinations are fundamental concepts in combinatorics that deal with counting arrangements of items. Permutations (P) consider order important, while combinations (C) do not.
The calculator uses these formulas:
Where:
Explanation: Permutations count ordered arrangements, while combinations count unordered groups.
Permutations: Use when order matters (e.g., race rankings, password combinations).
Combinations: Use when order doesn't matter (e.g., committee selections, lottery numbers).
Tips: Enter total items (n) and selected items (r). Ensure n ≥ r. Select calculation type (permutation or combination).
Q1: What's the difference between P and C?
A: Permutations consider order important (AB ≠ BA), combinations don't (AB = BA).
Q2: What if n = r?
A: For permutations, P(n,n) = n!. For combinations, C(n,n) = 1.
Q3: What are some real-world applications?
A: Permutations for password strength, combinations for probability calculations.
Q4: What's the maximum n value?
A: The calculator handles up to n=170 (limited by PHP's float precision).
Q5: What about repetition?
A: This calculator assumes no repetition. Different formulas apply when items can repeat.