Non-Negative Integer Parameters for Integer Roots

CAT 2025 Slot 1 · Quantitative Ability · Easy · Algebra

The number of non-negative integer values of kk for which the quadratic equation x2−5x+k=0x^2 - 5x + k = 0 has only integer roots, is

Answer

3

Explanation

For x2−5x+k=0x^2 - 5x + k = 0 to have integer roots, the discriminant D=25−4kD = 25 - 4k must be a perfect square. Since kk is a non-negative integer (k≥0k \ge 0):

  • k=0  ⟹  D=25−0=25=52k = 0 \implies D = 25 - 0 = 25 = 5^2 (Square, roots are 0,50, 5)
  • k=4  ⟹  D=25−16=9=32k = 4 \implies D = 25 - 16 = 9 = 3^2 (Square, roots are 1,41, 4)
  • k=6  ⟹  D=25−24=1=12k = 6 \implies D = 25 - 24 = 1 = 1^2 (Square, roots are 2,32, 3) For k>6k > 6, D<0D < 0 or non-square. Thus, there are 3 non-negative integer values of kk (0,4,60, 4, 6).

Related Algebra questions

Practise this under exam conditions

Sign in to solve it with a live timer, the on-screen CAT calculator, and streak and accuracy tracking across every question you attempt.

Solve in the workspace