Fundamentholfundamenthol

Combinations

MathsPermutations And CombinationsFor JEE aspirants

A combination is an unordered selection of objects from a set. When we pick objects from a set of distinct objects without caring about the order, the number of possible selections is . Combinations underpin dozens of JEE Mains problems: forming committees, counting handshakes, choosing points to make triangles or diagonals in a polygon, distributing identical objects, and calculating the total number of subsets of a set .

Key Formulas - Quick Reference
  1. Combinations without repetition: , where .
  2. With repetition ( distinct objects, selected, each object may repeat): .
  3. Symmetry:
  4. Pascal's identity:
  5. Ratio identity:
  6. Restricted selection (of from ; particular objects): always included ; never included .
  7. Division into groups. Unequal groups of sizes (with ): . Equal groups: divide further by the factorial of the number of equal-sized groups.
  8. Identical objects distributed among distinct boxes ( identical objects, boxes): (each box may be empty); (each box must have at least one).
  9. Total selections from distinct objects (at least one chosen) .
  10. Number of divisors of is .

1. What Is a Combination?

A combination is a selection of objects where the order does not matter. Choosing is the same as choosing ; both count as one combination.

Contrast with permutation: ABC, ACB, BAC, BCA, CAB, CBA are 6 different permutations but only 1 combination. Formally, every combination of objects can be rearranged in ways to produce permutations, so:

1.1 Selection Without Repetition

The number of ways to select objects from distinct objects, without repetition:

1.2 Selection With Repetition

The number of ways to select objects from distinct objects when each object may be chosen up to times:
Solved Example 1
15 toys are to be distributed among 3 children. Any child may receive any number of toys. Find the number of ways if (i) the toys are distinct, (ii) the toys are identical.
Solution:

(i) Distinct toys. Each of the 15 toys can independently go to any of the 3 children. This is arrangement with repetition: ways.

(ii) Identical toys. The question reduces to selecting a child 15 times from 3 children (with repetition allowed): ways.

2. Restricted Selection and Arrangement

Many problems fix conditions on specific objects: they must be included, or must be excluded. Handle these by splitting the selection.

Selecting objects from distinct objects when particular objects are:
  • Always included: (the are fixed; choose the remaining from the other ).
  • Never included: (exclude the ; choose all from the other ).
For arrangements (order matters), multiply either count by .
Solved Example 2
A delegation of 4 students is to be selected from 12 students. In how many ways can it be done if:
  1. All students are equally willing.
  2. Two particular students must be included.
  3. Two particular students refuse to be together.
  4. Two particular students agree to serve only together (either both in or both out).
  5. Students A and B want to serve together, while students C and D refuse to serve together.
Solution:

(a) .

(b) The 2 particular students are fixed; choose 2 more from the other 10: .

(c) Total minus (both selected) .

(d) Either both in () or both out (). Total .

(e) Split on the status of (must both be in or both be out) and (not both in). The other 8 students are neutral. Six mutually exclusive cases:

  1. in, D out: pick 1 more from 8 .
  2. in, C out: pick 1 more from 8 .
  3. in, both C and D out: pick 2 more from 8 .
  4. out, C in, D out: pick 3 from 8 .
  5. out, D in, C out: pick 3 from 8 .
  6. all out: pick 4 from 8 .

Total .

3. Properties of

  • Symmetry: . Choosing to include is the same as choosing to exclude.
  • Equality condition: If , then either or .
  • Pascal's identity: . This is the building block of Pascal's triangle.
  • Recursion by : .
  • Ratio of successive terms: .
  • Maximum value: is greatest at (if is even) or at and (if is odd).

4. Geometric Applications

Regular hexagon showing diagonals and triangle formation A regular hexagon with six vertices labelled A1 through A6. Solid orange lines mark the six sides. Dashed lines mark the nine diagonals joining non-adjacent vertices. One highlighted triangle is drawn joining three vertices to illustrate that any three chosen vertices form a triangle. A₁ A₂ A₃ A₄ A₅ A₆ Sides (solid) = 6, Diagonals (dashed) = 9, Highlighted triangle = 1 of 20
Figure 1: For a hexagon (): total lines from pairs of vertices ; sides ; diagonals ; triangles .
Solved Example 3
In an -sided polygon ():
  1. How many diagonals are there?
  2. How many triangles can be formed by joining vertices? Of these, how many have (i) exactly one side common with the polygon, (ii) exactly two sides common, (iii) no sides common?
Solution:

(a) Lines joining pairs of vertices . Subtract the sides to get diagonals: .

(b) Triangles from any 3 vertices .

(i) Exactly one side common: Fix a side (there are sides). The third vertex must not be adjacent to either endpoint of that side, so it is chosen from vertices. Total .

(ii) Exactly two sides common: The triangle must use three consecutive vertices . There are such triples.

(iii) No sides common: Subtract (i) and (ii) from total:

5. Division Into Groups

Unequal groups. Number of ways to divide distinct objects into named groups of sizes (with ):
Equal groups. If groups are of the same size and are unnamed (identical), divide further by the factorial of the number of equal-sized groups.
Solved Example 4
In how many ways can 12 distinct books be divided (a) among 3 students so that each gets 4 books, (b) into 3 equal bundles of 4 books each (bundles are unnamed)?
Solution:

(a) Students are distinguishable (named recipients). Number of ways .

(b) The 3 bundles of equal size are indistinguishable, so we divide by : .

6. Distribution of Identical Objects (Stars and Bars)

To distribute identical objects into distinct boxes, we count non-negative (or positive) integer solutions of .

Stars and bars representation of distributing seven identical stars into four bins Seven filled circles (stars) representing identical objects, separated by three vertical bars into four groups. The arrangement of stars and bars shows one specific distribution of the objects into four bins. ● ● ● ● ● ● ● n = 7 stars, r − 1 = 3 bars, giving 120 distinct arrangements
Figure 2: Stars and bars. Arranging identical stars and bars in a row corresponds one-to-one with distributions into boxes.
  • Each box may be empty (non-negative solutions of ): .
  • Each box must contain at least one object (positive solutions): .
Solved Example 5
Find the number of ways to distribute 10 identical chocolates among 4 children so that (a) any child may get zero or more, (b) every child gets at least one.
Solution:

(a) Non-negative solutions of : .

(b) Positive solutions: .

7. Number of Divisors

If is the prime factorisation of , then the total number of positive divisors of is Each divisor selects an exponent for each prime independently, giving the product of choices.
Solved Example 6
Find the number of divisors of .
Solution:

Prime factorisation: . Number of divisors .

8. Total Number of Selections

Selections from distinct objects (taking at least one): This follows from the binomial expansion ; subtract the empty selection.
Solved Example 7
A person has 5 friends. In how many ways can he invite one or more of them to dinner?
Solution:

Each friend is independently either invited or not, giving possibilities. Subtract the one case in which nobody is invited: ways.

8.1 Selection From Mixed (Identical + Distinct) Objects

Total selections (taking at least one) from distinct objects and groups of identical objects (say alike of one kind, alike of another kind, alike of a third kind): For each identical group, choose how many to include (0 to , giving options); for the distinct objects, choose a subset ( ways). Subtract the empty selection.
Solved Example 8
A basket contains 3 identical red balls, 4 identical green balls, and 2 distinct yellow balls. In how many ways can one or more balls be selected?
Solution:

Red: options. Green: options. Yellow (distinct): options. Total including the empty selection: . Subtract the empty case: ways.

Common Mistakes to Avoid

Watch out
  • Confusing selection with arrangement: If order matters, use ; if not, use . "Form a team of 4" is combination; "arrange 4 in a line" is permutation.
  • Missing the extra divide for equal groups: Dividing 12 books into 3 unnamed piles of 4 requires dividing by ; dividing among 3 students does not.
  • Confusing "at least one" with total subsets: Total subsets of an -element set is ; non-empty selections is .
  • Double counting in triangle problems: When counting triangles with restrictions, verify that (no side) + (one side) + (two sides) .
  • Wrong stars-and-bars formula: "At least one" uses ; "may be zero" uses . Mixing these up is a common exam trap.
  • Assuming implies : The other solution is easy to overlook.

Frequently Asked Questions

Q1. What is the difference between permutation and combination?

A permutation is an ordered arrangement (order matters); a combination is an unordered selection (order does not matter). counts ordered arrangements, counts unordered selections, and .

Q2. When is used instead of ?

Use when the question asks to choose, select, or form a group/committee/team, and the order within the selection does not matter. Use when arranging, seating, ranking, or forming numbers or words.

Q3. Why is ?

Every time we choose objects to include, we equivalently choose objects to exclude. The two selections determine each other, so the counts are the same. This symmetry is often used to simplify calculations, e.g., .

Q4. What is Pascal's identity and why does it matter?

Pascal's identity states . Combinatorially, when choosing from objects, either the last object is included () or excluded (). This identity generates Pascal's triangle and appears in binomial theorem proofs.

Q5. How do I count triangles with vertices on a polygon?

Any 3 non-collinear vertices form a triangle, so the total is for an -sided polygon (all vertices are non-collinear on the polygon). Restrictions like "exactly one side common with the polygon" require careful subtraction: fix a side ( ways) and pick a third vertex not adjacent to it ( ways), giving .

Q6. Why do we divide by when splitting 12 books into 3 equal groups?

Because the 3 groups are of the same size and are unlabelled. Simply computing treats the 3 groups as if they were labelled (Group 1, Group 2, Group 3), overcounting by a factor of - the number of ways to permute the labels. Dividing by corrects this.

Q7. How do I find the number of divisors of a number?

Prime-factorise the number as . The number of positive divisors is . Each divisor picks an exponent for each prime independently, from to .

Q8. What does "stars and bars" mean in JEE?

Stars and bars is a visual technique for distributing identical objects into distinct boxes. Represent objects as stars and box-dividers as bars. The number of arrangements of stars and bars is , which equals the number of ways to distribute the objects.

Q9. Is combinations important for JEE Mains?

Yes. Combinations appear in 1-2 direct questions per year in JEE Mains and underpin Probability and Binomial Theorem questions. Common patterns include committee/team selection, geometry (diagonals, triangles), distribution problems, and identities like .

Previous year questions on Combinations

37 questions from past papers, each with a step-by-step solution.

Show all 37 questions

Ready to master Permutations And Combinations?

Take a full mock test, practice concept-by-concept, and get an AI-powered rank prediction — all on Fundamenthol.