GATE 2014 CS (CS1) – Question 5
The roots of $ax^2+bx+c=0$ are real and positive, with real a, b, c. Then $ax^2+b|x|+c=0$ has ______.
Practise this question in The GATE Grind →
Show answer and explanation
Correct answer: (D) 4 real roots
Explanation
Let the two positive roots of ay²+by+c=0 be r₁,r₂. Setting y=|x| yields x=±r₁,±r₂, giving **four roots, D**, under the intended assumption that the positive roots are distinct. If the original has a repeated positive root, there are only two distinct roots; the source does not explicitly exclude that case.