Question:medium

If the difference between the roots of \[ x^2+ax+b=0 \] and that of the roots of \[ x^2+bx+a=0 \] is same and \(a\neq b\), then

Show Hint

For quadratic equations, the difference between roots depends on the discriminant: \[ \text{Difference of roots}=\sqrt{D} \] when the coefficient of \(x^2\) is \(1\).
Updated On: Jun 22, 2026
  • \(a-b-4=0\)
  • \(a-b+4=0\)
  • \(a+b+4=0\)
  • \(a+b-4=0\)
Show Solution

The Correct Option is C

Solution and Explanation

Step 1: Recall the spread of roots.
For a monic quadratic $x^2+px+q=0$ the difference of roots has magnitude $\sqrt{p^2-4q}$ (the square root of the discriminant).
Step 2: Difference for the first equation.
For $x^2+ax+b=0$ the difference is $\sqrt{a^2-4b}$.
Step 3: Difference for the second equation.
For $x^2+bx+a=0$ the difference is $\sqrt{b^2-4a}$.
Step 4: Set the differences equal.
Equality gives $a^2-4b=b^2-4a$.
Step 5: Rearrange.
$a^2-b^2=4b-4a$, so $(a-b)(a+b)=-4(a-b)$.
Step 6: Cancel and conclude.
Since $a\neq b$, divide by $(a-b)$ to get $a+b=-4$, i.e. $a+b+4=0$, which is option (3).
\[ \boxed{a+b+4=0} \]
Was this answer helpful?
0