S4Success4Sure
Quantitative Aptitude · Topic guide

Combination Problems: Committees, Handshakes and Diagonals

Combinations count selections where order does not matter: picking a committee, choosing questions in an exam or drawing balls from a bag. They feed directly into probability, so IBPS PO, SBI PO and RBI Grade B effectively test them every year, and CAT relies on them heavily. SSC CGL asks occasional direct questions on handshakes and diagonals. A handful of patterns — conditional committees, "at least", geometric counts — cover nearly all questions.

Last updated 26 November 2026 · By the Success4Sure editorial team · Free

The nCr formula

The number of ways to choose r items from n distinct items is nCr = n!/(r!(n − r)!). Useful identities: nC0 = nCn = 1, nC1 = n and nCr = nC(n − r), so 10C8 = 10C2 = 45.

nCr = n! / (r!(n − r)!)

Committees with conditions

Choose each group separately and multiply. A committee of 3 men and 2 women from 6 men and 5 women: 6C3 × 5C2 = 20 × 10 = 200. If a person must be included, remove them and choose the rest; if excluded, remove them from the pool.

"At least" questions

Count the complement: total selections minus those that violate the condition. At least one woman = all committees − all-men committees. This is faster than adding the cases one woman, two women and so on.

Geometry counts

Handshakes among n people = nC2. Lines through n points (no three collinear) = nC2; triangles = nC3. Diagonals of an n-sided polygon = nC2 − n = n(n − 3)/2. If k points are collinear, subtract kC3 from triangles because those points form no triangle.

Diagonals = n(n − 3) / 2

Shortcuts and tricks

  • Compute nCr by cancelling: 9C4 = (9 × 8 × 7 × 6)/(4 × 3 × 2 × 1) = 126.
  • Pick the smaller of r and n − r before calculating.
  • Total subsets of n items = 2ⁿ; non-empty subsets = 2ⁿ − 1.
  • Selection then arrangement: choose with nCr, then multiply by r! if the chosen items are ordered.
  • Pentagon has 5 diagonals, hexagon 9, octagon 20, decagon 35.
  • Decagon diagonals: n(n − 3)/2 = 10 × 7/2 = 35, which is also 10C2 − 10 sides = 45 − 10.

Worked examples

Example 1

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

Solution

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

Example 2

From 5 men and 4 women, a committee of 4 is chosen with at least one woman. How many ways?

Solution

Total committees = 9C4 = 126. All-men committees = 5C4 = 5. Required = 126 − 5 = 121.

Example 3

At a meeting of 12 branch managers, each shakes hands with every other once. How many handshakes take place?

Solution

12C2 = 12 × 11/2 = 66 handshakes.

Example 4

There are 10 points in a plane, of which 4 are collinear and no other three are. How many triangles can be formed?

Solution

All triangles = 10C3 = 120. The 4 collinear points give 4C3 = 4 "triangles" that do not exist. Answer = 116.

Example 5

A cricket team of 11 is to be picked from 15 players. The captain must be included and one injured player must be left out. In how many ways can the team be chosen?

Solution

Remove the captain (already in) and the injured player (out). We now choose 10 more players from the remaining 13: 13C10 = 13C3 = (13 × 12 × 11)/6 = 286 ways.

Example 6

A bag has 4 red and 5 green balls. In how many ways can 3 balls be drawn so that at least 2 are red?

Solution

Exactly 2 red: 4C2 × 5C1 = 6 × 5 = 30. Exactly 3 red: 4C3 = 4. Total = 34. Here the complement (0 or 1 red) has two cases as well, so direct counting is just as quick; choose whichever side has fewer cases.

Practice questions

Question 1

The value of 8C3 is:

  1. 336
  2. 28
  3. 56
  4. 70
Show answer & explanation

Answer: C. 56

8C3 = (8 × 7 × 6)/(3 × 2 × 1) = 336/6 = 56 possible selections.

Question 2

If 15 people shake hands with each other exactly once, the number of handshakes is:

  1. 210
  2. 225
  3. 120
  4. 105
Show answer & explanation

Answer: D. 105

Each handshake is a pair, so the count is 15C2 = 15 × 14/2 = 105.

Question 3

The number of diagonals of a hexagon is:

  1. 9
  2. 6
  3. 12
  4. 15
Show answer & explanation

Answer: A. 9

Diagonals = n(n − 3)/2 = 6 × 3/2 = 9, which is 15 lines minus the 6 sides.

Question 4

A team of 4 is selected from 7 men and 3 women. In how many ways can it include exactly 2 women?

  1. 126
  2. 42
  3. 84
  4. 63
Show answer & explanation

Answer: D. 63

Choose 2 women in 3C2 = 3 ways and 2 men in 7C2 = 21 ways, giving 3 × 21 = 63.

Question 5

A student must answer 5 of 10 questions, and question 1 is compulsory. In how many ways can he choose?

  1. 252
  2. 210
  3. 126
  4. 84
Show answer & explanation

Answer: C. 126

With question 1 fixed, he chooses 4 more from the remaining 9: 9C4 = 126 ways.

FAQs

How do I know whether a question needs combination or permutation?

Ask whether swapping two chosen items gives a different outcome. If choosing Ravi then Meena is the same as Meena then Ravi, it is a combination. If positions, ranks or orders differ, it is a permutation. Some questions need both: select first, then arrange.

Why use the complement for "at least" questions?

Because "at least one" includes many cases, while its opposite, "none", is a single case. Subtracting the single bad case from the total is shorter and less error-prone than adding several good cases separately.

Practise for these exams

More Quantitative Aptitude topics