Mathematics · RRB NTPC UG 2026 (7 May, Shift 1) · Last updated:
View the full solved paper: RRB NTPC UG 2026 (7 May, Shift 1)
The sum of two positive numbers is 27 and their product is 170. The positive difference between them is:
- A. 7 (Correct answer)
- B. 12
- C. 19
- D. 2
Correct Answer
Option A — 7
Detailed Solution & Explanation
Shortcut Trick
- Never solve the quadratic. Use the identity $(a-b)^2 = (a+b)^2 - 4ab$.
- $(a-b)^2 = 27^2 - 4(170) = 729 - 680 = 49$
- $a - b = \sqrt{49} = \textbf{7}$
Alternate Method
- The two numbers are the roots of $x^2 - 27x + 170 = 0$.
- Factorising: $x^2 - 17x - 10x + 170 = (x - 17)(x - 10) = 0$, so the numbers are 17 and 10.
- Their difference is $17 - 10 = \textbf{7}$, and a check confirms $17 + 10 = 27$ and $17 \times 10 = 170$.
Additional Information
- The three identities that answer almost every sum-and-product question:
- $(a+b)^2 = a^2 + 2ab + b^2$
- $(a-b)^2 = a^2 - 2ab + b^2$
- $(a-b)^2 = (a+b)^2 - 4ab$ — the one used here
- $a^2 + b^2 = (a+b)^2 - 2ab = 729 - 340 = 389$, if a question asks for the sum of squares instead.
- Because the question specifies positive numbers and asks for the positive difference, the negative root of $\sqrt{49}$ is discarded.
Topics covered: Algebra