Defence PYQWritten Exam 2023MathematicsQuadratic Equations

NDA · Question 15

For how many integral values of k does the equation x² - 4x + k = 0, where k is an integer, have real roots and both of them lie in the interval (0, 5)?

  1. 3

  2. 4

  3. 5

  4. 6

Show answer & explanationShow explanation

Answer: (A) 3

Explanation

Let f(x) = x² - 4x + k. The roots are x = 2 ± √(4 - k), and the vertex lies at x = 2 ∈ (0, 5). For real roots, the discriminant must satisfy D = 16 - 4k ≥ 0 ⇒ k ≤ 4. For both roots to lie in (0, 5), we need f(0) > 0 and f(5) > 0: f(0) = k > 0 and f(5) = 25 - 20 + k = 5 + k > 0 ⇒ k > -5. Combining these conditions gives 0 < k ≤ 4. Since k is an integer, k ∈ {1, 2, 3, 4}, giving 4 integral values (note: if k = 4, both equal real roots are 2 ∈ (0, 5); if strictly distinct roots were required, k ∈ {1, 2, 3} gives 3 values). Hence, for real roots, there are 4 integral values (option (b)).