Question:
If $f(x)$ and $g(x)$ are two distinct quadratic polynomials and $|f(x)|≥|g(x)|$ $∀$ $x ∈ R$. Also $f(x)=0$ has real roots. Find the number of distinct roots of equation $$h(x)h''(x)+(h'(x))^2=0$$ where $h(x)=f(x)g(x)$
What I tried:
I attempted to find $h(x)h''(x)+(h'(x))^2=0$ in terms of $f(x)$ and $g(x)$ using $h(x)=f(x)g(x)$, upon which I got the following equation, $$g(x)^2[f(x)f''(x)+(f'(x))^2]+f(x)^2[g(x)g''(x)+g'(x)^2]+4f(x)f'(x)g(x)g'(x)=0$$ I don't know how to proceed, or where to use the fact that $|f(x)|≥|g(x)|$ $∀$ $x ∈ R$ and that $f(x)=0$ has real roots.
I also tried actually using general equations for the quadratic polynomials $f(x)$ and $g(x)$ $$f(x)=a_1x^2+b_1x+c_1$$ $$g(x)=a_2x^2+b_2x+c_2$$
I then tried deducing some information from $|f(x)|≥|g(x)|$, coming to the conclusion that $|a_1|<|a_2|$, and that $$|\frac{b_1^2}{4a_1}-c_1|>|\frac{b_2^2}{4a_2}-c_2|$$
I found the expressions for $f'(x)$,$f''(x)$,$g'(x)$ and $g''(x)$ and plugged them into the equation I had obtained. This lead to a rather complicated degree 6 equation, as one would expect.
I've no idea what to do next. Any help or hints are appreciated...
Thanks in advance!
Regards
Let $f(x) = a(x-p)(x-q)$, where $a \neq 0, p, q \in \mathbb R$. Then $|g(p)|\leqslant |f(p)|=0 \implies g(p)=0$, so $g(x)= b(x-p)(x-q)$ for some real $b\neq 0$. Thus we have $h(x) = c(x-p)^2(x-q)^2$ for some real $c\neq0$.
The condition $hh''+(h')^2=0$ is the same as $\dfrac{d}{dx} hh' = 0$.
However, note $h(x)$ has two double roots, hence shares those roots with $h'(x)$. The third root of the cubic $h'(x)$ must also then be real, between those two roots $p, q$. Thus in all, $hh'$ is a seventh degree polynomial with roots of multiplicity $3$ at $p, q$, and one root at some $r$ between $p, q$.
This implies the derivative of $hh'$ must have all six roots real, two with multiplicity two at $p, q$, and one each between $p, r$ and $r, q$.
Putting it all together, if $p, q$ are distinct, $hh''+(h')^2=0$ has four distinct roots, two of multiplicity two at $p, q$ and two distinct ones between $p$ and $q$. If $p=q$, then $hh''+(h')^2$ has only one root, which however has multiplicity $6$.