If ax^2 + bx + c has two real roots m and n such that m > 0 and n< 0 and |m| > |n| . Then how many real roots does ax^2 + b|x| + c have ?
To solve this question, I just took an example of x^2 -x - 42=0 with 2 roots 7 and -6.
Now for x>0 the equation remains the same as x^2 - x - 42 but with only one root 7 because x should be greater than 0.
For x<0, the example equation becomes x^2 + x -42 with root -7 (as x <0).
So I think the answer should be 2 real roots m and -m . But the answer is m and n.
Can someone please point out my mistake ?
The original equation is $ax^2+ bx+c=0$ with roots $m,n$, where $m>0$ and $n<0$ and $|m| > |n|$
The equation $ax^2+b|x| + c=0$ is equivalent to the two equations:
$$ax^2+ bx+c=0 , \, x \ge0\space\space\dots(1)\\ ax^2 -bx +c=0, \, x<0\space\space\dots(2)$$
The roots of $(1)$ are $m$ and $n$, as it is given in the question. But since the domain is restricted to positive real, $n$ is not a root of $(1)$ as $n <0$. So the only root is $m$.
The roots of $(2)$ are $-m$ and $-n$ as it is the equation formed after transformation $X \to-x$. But since the domain is restricted to negative reals, $-n$ cannot be a root as $-n > 0$. So the only root is $-m$.
So your answer that $m$ and $-m$ are the roots of the given equation is correct.