UPSC CSAT 2026 Q29: Max and Min of (x × y) + z — Solved

Three variables x, y and z take values 2, 3, 4 or 5 such that their values are always distinct. If M and N denote the largest possible value and the smallest possible value, respectively, for the expression {(x × y) + z}, then M − N is

  1. 11
  2. 12
  3. 13
  4. 14

Answer: (c) 13

Solution

  1. Read the conditions. x, y and z each take one of the values 2, 3, 4, 5. The three values must be different from each other, so only three of the four numbers are used each time, and one is left out.

  2. Note what drives the value. The expression is (x × y) + z. The product x × y grows much faster than the single added term z. So the choice of the two numbers that get multiplied matters most.

  3. Find the largest value, M. Put the two largest numbers into the product: x × y = 5 × 4 = 20. The largest number left is 3, so z = 3. This gives 20 + 3 = 23.

  4. Check the other ways to arrange the three largest numbers, 5, 4 and 3. - 5 × 4 + 3 = 20 + 3 = 23 - 5 × 3 + 4 = 15 + 4 = 19 - 4 × 3 + 5 = 12 + 5 = 17 Using 2 in place of 3 only lowers the value: 5 × 4 + 2 = 22. So M = 23.

  5. Find the smallest value, N. Put the two smallest numbers into the product: x × y = 2 × 3 = 6. The smallest number left is 4, so z = 4. This gives 6 + 4 = 10.

  6. Check the other ways to arrange the three smallest numbers, 2, 3 and 4. - 2 × 3 + 4 = 6 + 4 = 10 - 2 × 4 + 3 = 8 + 3 = 11 - 3 × 4 + 2 = 12 + 2 = 14 Using 5 in place of 4 only raises the value: 2 × 3 + 5 = 11. So N = 10.

  7. Subtract. M − N = 23 − 10 = 13.

Answer: 13

Option-wise explanation

  • a: incorrect — To get 11 you would need, for example, M = 22 and N = 11. That comes from making two slips: using 5 × 4 + 2 for the maximum and 2 × 3 + 5 (or 2 × 4 + 3) for the minimum. The real extremes are 23 and 10.
  • b: incorrect — This is the one-slip trap. If you take the correct M = 23 but pick N = 11 (2 × 4 + 3 or 2 × 3 + 5), or take the correct N = 10 but pick M = 22 (5 × 4 + 2), you get 12. The fix: z must be the next-best number left over (3 for the maximum, 4 for the minimum), not the extreme number that was dropped.
  • c: correct — M = 5 × 4 + 3 = 23 and N = 2 × 3 + 4 = 10, so M − N = 13.
  • d: incorrect — With M = 23 this needs N = 9, and no set of distinct values from 2, 3, 4, 5 gives 9. The smallest product of two distinct values is 6 and the smallest number left is 4, so the minimum is 10.

How to eliminate

Do not list all 24 orderings. Use one rule: the two largest numbers go into the product for the maximum, and the two smallest go into the product for the minimum. Then z takes the best number left. Maximum: 5 × 4 + 3 = 23. Minimum: 2 × 3 + 4 = 10. Difference: 13. If you want to be sure, check the one neighbour that matters at each end: 5 × 4 + 2 = 22 is smaller than 23, and 2 × 3 + 5 = 11 is larger than 10. Watch the 12 trap: it comes from getting z wrong at one end. About 30–45 seconds. Attempt this one first; it is a sure mark.

Know more

Extremes of a product-plus-sum with distinct values

Take three distinct positive values a < b < c from a set. Compare the three ways to split them as (product) + (single term):

Arrangement Value
b × c + a largest
a × c + b middle
a × b + c smallest

Why: (a × c + b) − (a × b + c) = (a − 1)(c − b). This is zero or positive whenever a ≥ 1. The same check shows b × c + a beats a × c + b. So, for positive values of at least 1, the product decides the order.

Method

  1. Maximum: multiply the two largest numbers, then add the largest number left.
  2. Minimum: multiply the two smallest numbers, then add the smallest number left.
  3. Check the one neighbouring arrangement at each end.

Caution: the rule can fail if 0, 1, negatives or fractions are allowed. With a = 1 the arrangements can tie. With negatives, a product of two negatives can become large. In those cases, test the cases directly.

Worked variant. Values 2, 4, 6, 9, distinct. Maximum = 9 × 6 + 4 = 58 (check 9 × 6 + 2 = 56). Minimum = 2 × 4 + 6 = 14 (check 2 × 6 + 4 = 16, and 2 × 4 + 9 = 17). Difference = 58 − 14 = 44.