UPSC CSAT 2024 Q80: Letter-Number Code with Equations — Solved

In some code, letters P, Q, R, S, T represent numbers 4, 5, 10, 12, 15. It is not known which letter represents which number. If Q − S = 2S and T = R + S + 3, then what is the value of P + R − T?

  1. 1
  2. 2
  3. 3
  4. Cannot be determined due to insufficient data

Answer: (b) 2

Solution

  1. Write down what is given. The five letters P, Q, R, S, T take the five numbers 4, 5, 10, 12, 15. Each number is used exactly once. Two conditions: Q − S = 2S, and T = R + S + 3.
  2. Simplify the first condition. Q − S = 2S gives Q = 3S. So Q must be exactly three times S.
  3. Find every pair in the set where one number is three times another. Check each number as S: - S = 4 gives Q = 12. 12 is in the set, so this pair works. - S = 5 gives Q = 15. 15 is in the set, so this pair works. - S = 10 gives Q = 30. Not in the set. - S = 12 gives Q = 36. Not in the set. - S = 15 gives Q = 45. Not in the set. This leaves two cases: (S, Q) = (4, 12) or (5, 15).

  4. Case 1: S = 4, Q = 12. The numbers left for P, R, T are 5, 10, 15. The second condition becomes T = R + 4 + 3 = R + 7. - R = 5 gives T = 12. But 12 is already Q. Rejected. - R = 10 gives T = 17. Not in the set. Rejected. - R = 15 gives T = 22. Not in the set. Rejected. Case 1 is impossible.

  5. Case 2: S = 5, Q = 15. The numbers left for P, R, T are 4, 10, 12. The second condition becomes T = R + 5 + 3 = R + 8. - R = 4 gives T = 12. 12 is free. This works. - R = 10 gives T = 18. Not in the set. Rejected. - R = 12 gives T = 20. Not in the set. Rejected. So R = 4 and T = 12. The only number left is 10, so P = 10.

  6. The full assignment is unique: P = 10, Q = 15, R = 4, S = 5, T = 12. Check: Q − S = 15 − 5 = 10, and 2S = 2 × 5 = 10. True. R + S + 3 = 4 + 5 + 3 = 12 = T. True.

  7. Calculate: P + R − T = 10 + 4 − 12 = 2.

Answer: 2

Option-wise explanation

  • a: incorrect — P + R − T = 1 would need values such as P = 10, R = 4, T = 13. 13 is not in the set. Only one assignment satisfies both conditions, and it gives 10 + 4 − 12 = 2.
  • b: correct — Q = 3S allows only (S, Q) = (4, 12) or (5, 15). The first case fails T = R + S + 3. The second gives R = 4, T = 12, P = 10. So P + R − T = 10 + 4 − 12 = 2.
  • c: incorrect — This value comes from an arithmetic slip, not from any valid assignment. For example, P + R − T = 3 would need T = 11 with P = 10 and R = 4, and 11 is not in the set.
  • d: incorrect — This is the trap of counting equations against unknowns: five letters and only two equations look underdetermined. But the letters must take the five fixed numbers, each used once. That restriction leaves exactly one assignment, so the value can be found.

How to eliminate

  1. Turn Q − S = 2S into Q = 3S at once. In the set {4, 5, 10, 12, 15}, the only 'one is triple the other' pairs are 4→12 and 5→15. Say these aloud and move on.
  2. Shortcut: substitute T = R + S + 3 into the expression. P + R − T = P + R − (R + S + 3) = P − S − 3. R cancels, so you only need P and S.
  3. Test S = 4 (Q = 12): T = R + 7 with R, T from {5, 10, 15}. No two of these differ by 7. Dead.
  4. Test S = 5 (Q = 15): T = R + 8 with R, T from {4, 10, 12}. 12 − 4 = 8, so R = 4, T = 12 and P = 10. Then P − S − 3 = 10 − 5 − 3 = 2.
  5. Do not pick 'cannot be determined' just because there are more letters than equations. In assignment questions the fixed number set supplies the missing constraints. Choose that option only after a real check shows two valid assignments that give different values.

Time: about 45–60 seconds once you spot the Q = 3S pairs. This is a quick, sure question. Attempt it in your first pass.

Know more

Letter–number assignment with equations

When letters take values from a fixed set, each number used once, the set is itself a constraint. Few equations can still fix every value. Method:

  1. Rewrite each condition in its simplest form (Q − S = 2S becomes Q = 3S).
  2. Use the tightest condition first. Multiplicative conditions (×2, ×3, ratios) match far fewer pairs than additive ones.
  3. Branch on the few surviving cases. Test the next condition only on the numbers still free.
  4. Simplify the target expression algebraically. Letters often cancel, which cuts the work.
  5. Pick 'cannot be determined' only if two valid assignments give different values of the target.
Condition type How much it narrows
X = k × Y Very strong: few pairs fit
X = Y + Z + c Medium: test the free numbers
X > Y Weak: use it last

Worked variant. A, B, C, D represent 2, 3, 7, 9. A = 3B and D = C + B + 2. Find A − D + C.

  • Triple pairs: only 3→9 (2→6 is not in the set). So B = 3, A = 9.
  • 2 and 7 are left: D = C + 5, so C = 2, D = 7.
  • A − D + C = 9 − 7 + 2 = 4.