ExamSaathi learning library · School · CBSE Class 11 Mathematics 2026-27; teacher review pending · Mathematics

Permutations and combinations for Class 11: counting principle, n!, nPr and nCr

Count arrangements and selections without listing them: use the fundamental principle of counting, factorial notation, nPr for ordered arrangements, n!/(p! x q! x ...) when some things are alike and nCr for selections, and decide each time whether order matters.

Status: original pilot lesson. Teacher review is pending. It is not a complete course or official exam material.

You will learn to

Before you start

In Class 10 probability you counted outcomes by listing them, for example the 36 outcomes when two dice are thrown. Listing soon breaks down: 10 different books can stand on a shelf in more than 36 lakh orders. This lesson gives three tools that count without listing: the fundamental principle of counting, permutations (arrangements, where order matters) and combinations (selections, where order does not matter). You need only multiplication and division. In plain text, x means multiply and n! is read 'n factorial'. nPr stands for the count of ordered arrangements of r things picked from n different things, and nCr for the count of unordered selections of r things from the same n. Counts in formulas are called n and r.

The fundamental principle of counting

If one task can be done in m ways and, after it, a second task can be done in n ways, then the two tasks together can be done in m x n ways. The rule extends to any number of stages: multiply the number of choices at each stage. Suppose a canteen offers 3 kinds of paratha and 4 drinks; a meal of one paratha and one drink can be chosen in 3 x 4 = 12 ways. A tree diagram shows why: 3 branches, each splitting into 4. Two points matter. First, the count at a stage may depend on earlier choices: a 3-digit lock code with all digits different, using 0 to 9, has 10 x 9 x 8 = 720 possibilities, because a digit once used is not available again. Second, when the choices are alternatives rather than stages, such as going by a bus or by a train, you add instead of multiplying: 3 buses or 2 trains give 3 + 2 = 5 ways to make that one journey.

Factorials and permutations, nPr

The product of the first n natural numbers is n factorial: n! = 1 x 2 x 3 x ... x n, so 4! = 24 and 5! = 120. We also define 0! = 1, which keeps the formulas below working. Since n! = n x (n - 1)!, factorials cancel neatly: 9!/7! = 9 x 8 = 72. A permutation is an arrangement in a definite order. To arrange r of n different things in r places, the first place can be filled in n ways, the second in n - 1 ways, and so on, down to n - r + 1 ways for the r-th place. Multiplying, nPr = n(n - 1)(n - 2)...(n - r + 1) = n!/(n - r)!. For example 7P3 = 7 x 6 x 5 = 210, and arranging all n things gives nPn = n!/0! = n!. If repetition is allowed, every place has n choices, so there are n^r arrangements: a 3-letter tag made from 26 letters with repeats allowed has 26^3 = 17576 possibilities. When some things are alike, arrangements that only swap alike items look the same, so we divide. If n things contain p alike of one kind and q alike of a second kind, and all the rest are different, there are n!/(p! x q!) arrangements; each further group of alike things adds the factorial of its size to the bottom, as in n!/(p! x q! x s!).

Combinations, nCr, and the link with nPr

A combination is a selection in which order does not matter: choosing 3 students for a team gives the same team whichever of them is picked first. Each selection of r things can be arranged in r! orders, so nPr = r! x nCr, which gives nCr = n!/(r! x (n - r)!). For example 9C4 = (9 x 8 x 7 x 6)/(4 x 3 x 2 x 1) = 126, while 9P4 = 3024 = 4! x 126. Two facts save work. Choosing r things to take is the same as choosing n - r things to leave, so nCr = nC(n - r); thus 20C18 = 20C2 = 190. Also nCr + nC(r - 1) = (n + 1)Cr, because a selection of r from n + 1 things either leaves out one particular thing (nCr ways) or includes it (nC(r - 1) ways for the rest). Selections combine with the counting principle: picking 2 from one group and 1 from another gives the first count times the second. For an 'at least one' condition it is often quickest to subtract the selections that break the condition from the total.

Common mistakes

Using nCr when order matters, as when a captain and a vice-captain are chosen, or nPr when it does not, as when a committee is chosen. Adding the counts of stages that happen one after another instead of multiplying them. Forgetting that 0! = 1, or cancelling factorials wrongly: 8!/4! is 8 x 7 x 6 x 5 = 1680, not 2!. Forgetting to divide by the factorial of every group of repeated letters, or dividing when every letter is different. Treating 'digits may repeat' as 'no repetition', or letting a number begin with 0. Counting 'at least one girl' by fixing one girl and choosing the rest freely, which counts some teams more than once. For items that must stay together, forgetting to arrange the items inside the block.

A short routine

1. Ask whether order matters. Arrangements, rankings, codes and posts need permutations; teams, groups and hands of cards need combinations. 2. Ask whether things may repeat. With repetition, multiply the full number of choices at every place. 3. Deal with restrictions first: fill a fixed or special place first, glue items that must stay together into one block and then arrange inside the block, and use the total minus the unwanted cases for 'at least' conditions. 4. Write the count with the counting principle, nPr or nCr, cancel factorials before multiplying, and divide by the factorial of each group of alike items (p!, q! and so on). 5. Check with a small case you can list, such as 3 things taken 2 at a time: 3P2 = 6 orders but 3C2 = 3 selections.

Worked examples

  1. Aarav travels from Jaipur to Delhi by train and then from Delhi to Chandigarh by bus. There are 4 trains on the first leg and 3 buses on the second. (a) In how many ways can he make the onward trip? (b) He returns the same way, Chandigarh to Delhi by bus and Delhi to Jaipur by train, without using any bus or train he used on the way out. In how many ways can he make the round trip?

    1. 1. Onward trip: two stages, 4 choices of train and then 3 choices of bus, so 4 x 3 = 12 ways.
    2. 2. Return by bus: one of the 3 buses has been used, so 2 choices remain. Return by train: 3 of the 4 trains remain.
    3. 3. The round trip has four stages, so the counting principle gives 4 x 3 x 2 x 3 = 72 ways.
    4. 4. Check another way: 12 onward choices, each followed by 2 x 3 = 6 return choices, gives 12 x 6 = 72.

    Answer: (a) 12 ways for the onward trip; (b) 72 ways for the round trip.

  2. In how many ways can the letters of the word KOLKATA be arranged? In how many of these arrangements does the word begin with K?

    1. 1. KOLKATA has 7 letters: K twice, A twice, and O, L and T once each.
    2. 2. If all 7 letters were different there would be 7! = 5040 arrangements. Swapping the two Ks or the two As gives the same word, so divide by 2! for the Ks and by 2! for the As: 5040/(2 x 2) = 1260.
    3. 3. For words beginning with K, fix one K in the first place. The other 6 letters are K, O, L, A, T and A, with A twice, so they can be arranged in 6!/2! = 720/2 = 360 ways.
    4. 4. Check: 2 of the 7 letters are K, so 2/7 of all the arrangements should begin with K, and 1260 x 2/7 = 360.

    Answer: 1260 arrangements in all, of which 360 begin with K.

  3. A quiz team of 4 is to be chosen from 7 boys and 5 girls of a Class 11 section. In how many ways can it be chosen if (a) it must have exactly 2 girls, (b) it must have at least one girl?

    1. 1. Order does not matter in a team, so use combinations.
    2. 2. (a) Choose 2 of the 5 girls in 5C2 = 10 ways and 2 of the 7 boys in 7C2 = 21 ways. Both choices are made, so multiply: 10 x 21 = 210.
    3. 3. (b) All teams of 4 from the 12 students: 12C4 = (12 x 11 x 10 x 9)/(4 x 3 x 2 x 1) = 495. Teams with no girl use boys only: 7C4 = 35.
    4. 4. At least one girl = all teams minus teams with no girl = 495 - 35 = 460.
    5. 5. Check (b) case by case: 1 girl gives 5 x 35 = 175, 2 girls give 210, 3 girls give 10 x 7 = 70 and 4 girls give 5; 175 + 210 + 70 + 5 = 460.

    Answer: (a) 210 ways; (b) 460 ways.

Practice checks

  1. What is the value of 8!/(6! x 2!)?
  2. A debate club has 10 members. In how many ways can a captain and a vice-captain be chosen?
  3. In how many ways can Riya choose 3 books from 9 different books to take on a trip?
  4. How many 4-digit PINs can be made from the digits 0 to 9 if digits may repeat and the PIN may begin with 0?
  5. Six friends sit in a row of six seats for a photo. In how many ways can they sit if Anil and Sunita must sit next to each other?

Sources checked