TECHNOLOGIESTieInn Technologies

Permutations and combinations

Permutations and combinations basics

8 min read · 8 practice questions · free

Useful for:IT testsBanksSSC / Railways

What it is

Counting questions ask "in how many ways…". The first decision is always the same: does order matter?

  • Combination (selection): order doesn't matter. Picking 3 people for a team: {A, B, C} is the same team as {C, A, B}.
  • Permutation (arrangement): order matters. Arranging 3 people in a row: ABC and CBA are different.

How to solve it

Factorial: n! = n × (n − 1) × … × 1. So 5! = 120 and 0! = 1.

  • Arrange all n different things: n!
  • Arrange r of n: ⁿPᵣ = n!/(n − r)!
  • Choose r of n: ⁿCᵣ = n!/(r! × (n − r)!)
  • Words with repeated letters: n! ÷ (p! × q! × …), where p, q, … are how often each letter repeats. BANANA: 6!/(3! × 2!) = 60.
  • Do this AND that: multiply. Do this OR that: add.

Tips and shortcuts

  • ⁿCᵣ = ⁿCₙ₋ᵣ. 10C8 = 10C2 = 45, which is much faster.
  • Small values to know: ⁿC₁ = n, ⁿC₂ = n(n − 1)/2, 5! = 120, 6! = 720, 7! = 5,040.
  • Committees: "3 men and 2 women" means choose the men AND choose the women, so multiply mC3 × wC2.
  • "At least one" is often easiest as total − none.

Solved examples

Example 1 (easy): choosing

In how many ways can 2 captains be chosen from 8 players?

8C2 = 8 × 7/2 = 28.

Example 2 (medium): repeated letters

Arrangements of the letters of LETTER?

6 letters: E twice, T twice. 6!/(2! × 2!) = 720/4 = 180.

Example 3 (hard): a committee

A committee of 2 men and 3 women is chosen from 5 men and 6 women. How many ways?

5C2 × 6C3 = 10 × 20 = 200.

Example 4 (hard): at least one

From 4 men and 3 women, choose 3 people with at least one woman.

Total 7C3 = 35. No women: 4C3 = 4. At least one woman = 35 − 4 = 31.

Example 5 (medium): arranging some, not all

In how many ways can a president and a secretary be chosen from 9 members?

The two posts are different, so order matters: ⁹P₂ = 9 × 8 = 72. If it were just "choose 2 people", it would be 9C2 = 36.

Try it

Pick an answer and press Check. Generated questions get new numbers every time you ask.

  1. Question 1easy

    In how many ways can 4 players for a relay be chosen from 7? (Order does not matter.)

  2. Question 2easy

    In how many ways can 3 players for a relay be chosen from 7? (Order does not matter.)

  3. Question 3easy

    In how many ways can 2 students for a quiz team be chosen from 11? (Order does not matter.)

  4. Question 4medium

    How many different arrangements can be made with all the letters of the word BALLOON?

  5. Question 5medium

    How many different arrangements can be made with all the letters of the word PEPPER?

  6. Question 6medium

    How many different arrangements can be made with all the letters of the word SUCCESS?

  7. Question 7hard

    A committee of 2 men and 3 women is to be formed from 5 men and 5 women. In how many ways can this be done?

  8. Question 8hard

    A committee of 2 men and 1 women is to be formed from 5 men and 5 women. In how many ways can this be done?

Ready for a timed set?

Fresh questions on just this problem type, with a score and every explanation at the end. Free.

Test me on this →