QlarIITy

MathematicsJEE Main 2023 · 11 AprilSingle correct

The number of triplets (x,y,z)(x, y, z) where x,y,zx, y, z are distinct non negative integers satisfying x+y+z=15x + y + z = 15, is

  1. Option A: 80
  2. Option B: 136
  3. Option C: 114
  4. Option D: 92
Try it before you look.The full solution is on this page, below the options, the moment you check. No sign-in needed.

Solution

Core idea. Solutions with distinct values are found by removing those with two equal.

Concept refresher. The number of solutions of x1+x2+…+xk=nx_1 + x_2 + \ldots + x_k = n in non-negative integers is

N=n+k−1Ck−1N = {}^{n+k-1}C_{k-1}

A variable that must be at least mm is replaced by mm plus a new non-negative variable.

Picture the situation. A triplet is ordered, so the solutions are counted as ordered triples of non-negative integers. Counting all of them is standard. Those with two equal values are easy to list, because an equal pair leaves a single free choice. The one triple with all three equal belongs to each of the three kinds of equal pair.

Approach. Count all solutions, count those with at least two equal values, and subtract.

  1. Step 1: All solutions

    Three non-negative integers adding to 15 can be chosen, as ordered triples, in 17C2=136{}^{17}C_2 = 136 ways.

  2. Step 2: Two equal

    If x=yx = y then 2x+z=152x + z = 15, which has the 8 solutions x=0,1,…,7x = 0, 1, \ldots, 7. The same holds for y=zy = z and for x=zx = z, giving 24. The triple (5,5,5)(5, 5, 5) is counted three times, so the triples with at least two equal number 24−2=2224 - 2 = 22.

  3. Step 3: Subtract

    Removing these leaves 136−22=114136 - 22 = 114 triples with three different values.

Answer. (C) 114

Sanity check. The 114 ordered triples come from 1146=19\dfrac{114}{6} = 19 sets of three different numbers adding to 15, a whole number as it must be.

Why the other options are wrong

  • (A) The value 80 is 34 short of 136−22136 - 22.
  • (B) The value 136 counts all the solutions, including those with equal values.
  • (D) The value 92 removes 44, twice the 22 solutions with equal values.

Key takeaway

The trap. The triple with all three equal is counted once for each pair.

How toppers think. They check that the result is a multiple of six, since each set gives six orders.

Remember. N=n+k−1Ck−1N = {}^{n+k-1}C_{k-1}

More on Distribution Problems