Question

The roots of ax2+bx+c=0ax^2 + bx + c = 0 are real and positive. aa, bb and cc are real. Then ax2+b∣x∣+c=0ax^2 + b|x| + c = 0 has

Choose one option
Official answer and solution
Official answer
D
From
Official GATE 2014 answer key

Solution

Relate the roots of ax2+b∣x∣+c=0ax^2 + b|x| + c = 0 to the roots of ax2+bx+c=0ax^2 + bx + c = 0 using the properties of absolute value.

We are given that the quadratic equation ax2+bx+c=0ax^2 + bx + c = 0 has real and positive roots. Let these distinct roots be r1r_1 and r2r_2, where r1>0r_1 > 0 and r2>0r_2 > 0.

Now consider the equation:

ax2+b∣x∣+c=0ax^2 + b|x| + c = 0

Since x2=∣x∣2x^2 = |x|^2 for all real xx, this equation can be rewritten as:

a(∣x∣)2+b∣x∣+c=0a(|x|)^2 + b|x| + c = 0

This is a quadratic equation in ∣x∣|x|. Therefore, the values of ∣x∣|x| must be the roots of the original quadratic equation:

∣x∣=r1or∣x∣=r2|x| = r_1 \quad \text{or} \quad |x| = r_2

Since both r1r_1 and r2r_2 are strictly positive real numbers:

  • ∣x∣=r1|x| = r_1 yields two distinct real solutions: x=r1x = r_1 and x=−r1x = -r_1.
  • ∣x∣=r2|x| = r_2 yields two distinct real solutions: x=r2x = r_2 and x=−r2x = -r_2.

Since r1≠r2r_1 \neq r_2, all four values {r1,−r1,r2,−r2}\{r_1, -r_1, r_2, -r_2\} are distinct real numbers. Hence, the equation has 4 real roots.

Final answer

D

Common trap

Assuming ∣x∣|x| can only yield positive values of xx, forgetting that xx itself can be negative.

The answer is the one in the official GATE answer key. The solution is this site's own explanation.

Source

Paper
GATE 2014 Computer Science and Information Technology (CS) Session 1
Question
5 of 65, printed as GA Q.5
Section
General Aptitude

Report an error in this question

GATE questions are the work of the organising institutes. This site is independent and is not affiliated with them.