ALGEBRAArithmeticMathematics Calculator
P

Permutation: Arrangements Where Order Matters

P(n,r) = n!/(n-r)! โ€” ways to arrange r items from n distinct items. Order matters: ABC โ‰  ACB. With repetition: n^r. Circular: (r-1)!.

Concept Fundamentals
n!/(n-r)!
P(n,r)
Matters
Order
n^r
Repetition
(r-1)!
Circular

Did our AI summary help? Let us know.

P(n,r) = n!/(n-r)!. P(5,3)=5ร—4ร—3=60. With repetition: 3 digits from 0-9 = 10ยณ=1000. Circular: 5 people around table = (5-1)!=24.

Key quantities
n!/(n-r)!
P(n,r)
Key relation
Matters
Order
Key relation
n^r
Repetition
Key relation
(r-1)!
Circular
Key relation

Ready to run the numbers?

Why: Permutations count arrangements: passwords, race rankings, seating. Order matters. P(5,3)=60 ways to arrange 3 from 5. Combinations ignore order.

How: P(n,r)=nร—(n-1)ร—...ร—(n-r+1)=n!/(n-r)!. r โ‰ค n. With repetition: n^r (each slot independent). Circular: fix one, arrange rest (r-1)!.

P(n,r) = n!/(n-r)!. P(5,3)=5ร—4ร—3=60.With repetition: 3 digits from 0-9 = 10ยณ=1000.

Run the calculator when you are ready.

Calculate PermutationsEnter n and r

Enter Values

permutation.sh
CALCULATED
$ nPr --n=5 --r=2
P(n,r)
20
With Repetition (n^r)
25
Circular ((r-1)!)
1
Formula
P(5,2)
Permutation Calculator
P(5,2) = 20
With repetition: 25 | Circular: 1
numbervibe.com
Share:

Comparison

Distribution

๐Ÿ“ Step-by-Step Breakdown

INPUTS
n (total items)
5
r (select & arrange)
2
METHOD
Formula
P(n,r) = n!/(n-r)!
RESULT
P(n,r)
20
Expanded
5 ร— 4 ร— ... ร— 4 = 5 ร— 4

For educational and informational purposes only. Verify with a qualified professional.

๐Ÿงฎ Fascinating Math Facts

P

P(n,r) = n!/(n-r)!

โ€” Arrangements

โ†”

Order matters: ABC โ‰  ACB

โ€” Permutation vs combination

๐Ÿ“‹ Key Takeaways

  • โ€ข P(n,r) = n!/(n-r)! โ€” arrangements of r items from n, order matters
  • โ€ข With repetition: n^r โ€” each position can be any of n items
  • โ€ข Circular: (r-1)! distinct arrangements around a circle (rotation = same)
  • โ€ข nP0 = 1, nPn = n!, nP1 = n
  • โ€ข Relation: P(n,r) = C(n,r) ร— r! โ€” permutations = combinations ร— ways to order

๐Ÿ’ก Did You Know?

๐Ÿ”ข5P2 = 20: 20 ways to arrange 2 items from 5 (e.g., race positions).Source: Combinatorics
๐Ÿ“10P4 = 10ร—9ร—8ร—7 = 5,040 โ€” 4-digit PINs without repetition.Source: Security
๐Ÿ”„Circular: (n-1)! because rotating the circle gives same arrangement.Source: MathWorld
๐Ÿ“ŠnPr = nCr ร— r! โ€” permutations = combinations ร— ways to order.Source: Relation
๐Ÿ“26P3 = 15,600: 3-letter codes from alphabet, no repetition.Source: Codes
๐ŸŽฏn^r with repetition: 10^4 = 10,000 possible 4-digit PINs.Source: PIN Codes

๐Ÿ“– How It Works

P(n,r) counts ordered selections: first choice n options, second (n-1), third (n-2), โ€ฆ, r-th (n-r+1). Product = n ร— (n-1) ร— โ€ฆ ร— (n-r+1) = n!/(n-r)!.

With repetition, each of r positions has n independent choices, so n^r. For circular permutations, fix one item and arrange the rest: (r-1)!.

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

Step 1: P(5,2) = 5! / (5-2)! = 5! / 3!

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

Step 3: 120 / 6 = 20

Interpretation: 20 ordered pairs from 5: (1,2), (2,1), (1,3), (3,1), โ€ฆ

๐Ÿš€ Real-World Applications

๐Ÿ Race Rankings

P(n,r) for top r finishers from n runners.

๐Ÿ” PINs & Passwords

10^4 = 10,000 4-digit PINs (with repetition).

๐Ÿ“ License Plates

P(26,3) ร— P(10,3) for letter-digit combos.

๐ŸŽญ Seating Arrangements

n! ways to seat n people in a row.

๐Ÿ”ฌ Experiment Order

Order of treatments in clinical trials.

๐Ÿ“Š Rankings & Lists

Top-k rankings from n candidates.

โš ๏ธ Common Mistakes to Avoid

  • Confusing P and C: Use P when order matters (ABC โ‰  BAC); C when order doesn't matter.
  • Using P when n^r applies: PINs allow repetition โ€” use n^r, not P(n,r).
  • Circular vs linear: Circular divides by n: (n-1)! vs n! for linear.
  • r > n: P(n,r) = 0 when r > n. Check constraints.
  • Identical items: Use n!/(n1!ร—n2!ร—โ€ฆ) when some items repeat.

๐ŸŽฏ Expert Tips

๐Ÿ’ก Falling Factorial

nPr = nร—(n-1)ร—โ€ฆร—(n-r+1). More efficient than n!/(n-r)! for large n.

๐Ÿ’ก Order Matters

ABC vs BAC โ€” different permutations. Use P when sequence matters.

๐Ÿ’ก Circular Divide by n

n! linear arrangements; n rotations each โ†’ (n-1)! distinct circular.

๐Ÿ’ก Identical Items

n!/(n1!ร—n2!ร—โ€ฆ) when n1 of type 1, n2 of type 2, etc.

๐Ÿ“Š Reference Table

TypeFormula
P(n,r)n! / (n-r)!
With repetitionn^r
Circular(r-1)!
nP01
nPnn!
P = C ร— r!P(n,r) = C(n,r) ร— r!

๐Ÿ“ Quick Reference

20
P(5,2)
720
P(10,3)
5,040
7! = P(7,7)
10,000
10^4 PINs

๐ŸŽ“ Practice Problems

P(6,3) โ†’ Answer: 120
10^3 (3-digit PIN) โ†’ Answer: 1,000
P(4,0) โ†’ Answer: 1
Circular 5 people โ†’ (5-1)! = 24

โ“ FAQ

What is P(n,r)?

Number of ways to select and arrange r items from n distinct items. Order matters โ€” ABC and BAC are different.

Permutation vs combination?

Permutation: order matters. Combination: order doesn't. P(n,r) = C(n,r) ร— r!.

When is repetition allowed?

Use n^r when each position can be any of n items (e.g., PINs, passwords).

What are circular permutations?

(r-1)! โ€” arrangements around a circle where rotation gives the same arrangement.

Why nP0 = 1?

One way to select and arrange zero items: do nothing (empty arrangement).

How many 4-digit PINs?

10^4 = 10,000 if digits can repeat. P(10,4) = 5,040 if no repetition.

When to use (n-1)!?

For circular arrangements of n distinct items โ€” fix one, arrange the rest.

๐Ÿ“Œ Summary

P(n,r) = n!/(n-r)! counts ordered arrangements of r items from n. Use n^r when repetition is allowed. Circular permutations use (r-1)!. Order matters for permutations; use combinations when it doesn't.

โœ… Verification Tip

Verify: P(n,r) = C(n,r) ร— r!. Check nP0 = 1, nP1 = n, nPn = n!. For circular, (n-1)! ร— n = n!.

๐Ÿ”— Next Steps

Explore the Combination Calculator for unordered selections, the Factorial Calculator for n!, or the Binomial Coefficient Calculator for Pascal's triangle.

โš ๏ธ Disclaimer: For n > 170, factorial overflow may occur. Use smaller values for exact results.

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

Related Calculators