Consider the equation , where is a natural number. Then the number of all distinct values of , for which the given equation has integral roots, is equal to
- Option A: 7
- Option B: 8
- Option C: 6
- Option D: 5
Solution
Core idea. Integral roots of a monic integer quadratic need a perfect square under the root.
Concept refresher. Completing the square, becomes
so the roots are . When and are integers, the roots are integers exactly when is a perfect square.
Picture the situation. Each natural number in the range gives one equation, and its two roots sit symmetrically about at a distance equal to a square root. The roots land on integers only when that distance is a whole number, which happens for a handful of values of spread through the range.
Approach. Complete the square, state the perfect-square condition, and count the perfect squares in the range of the shifted quantity.
Step 1: Complete the square
The equation is , so its roots are
They are integers exactly when is a perfect square.
Step 2: Range of the square
Since , the number lies between 24 and 104. The perfect squares in this stretch are 25, 36, 49, 64, 81 and 100.
Step 3: Count
These correspond to , 32, 45, 60, 77 and 96, so there are 6 values of .
Answer. (C) 6
Sanity check. For the equation factorises as , with integral roots. For the roots are , not integers, so the count rightly starts at 21.
Why the other options are wrong
- (A) A count of 7 would need a seventh square in the stretch from 24 to 104; the next ones, 16 and 121, lie outside it.
- (B) A count of 8 would need two more squares; only to fall between 24 and 104.
- (D) A count of 5 counts the squares between 20 and 100 with 100 left out, or counts squares of itself; the condition is on , and 100 is allowed.
Key takeaway
The trap. The square condition applies to the shifted quantity, not to the parameter itself.
How toppers think. They count squares by their roots: from 5 to 10 there are six integers.
Remember. has roots .
More on Nature of Roots
- The smallest positive integral value of a, for which all the roots of x⁴ - ax² + 9 = 0 are real and…
- If the set of all a ∈ R, for which the equation 2x² + (a - 5)x + 15 = 3a has no real root, is the interval…
- If the equation a(b - c)x² + b(c - a)x + c(a - b) = 0 has equal roots, where a + c = 15 and b = 36/5, then…
- All 13 on Nature of Roots ›