I need help with the following.
The problem is stated like so: "The value of the constant $a$ is such that the quadratic function $f(x) \equiv x^2 +4x + a +3$ is never negative. Determine the nature of the roots of the equation $af(x) = (x^2+2)(a-1)$. Deduce the value of $a$ for which this equation has equal roots".
First statement implies that $b^2-4ac<0$, i.e. $a>1$
Now this part is strange. This is what you get (I hope) when you rewrite that second function (not sure why they call it $f(x)$ as well) :$f(x) = (a-1)x^2 + (2a-2)$. $b^2-4ac = -4(a-1)(2a-2)$, now since $a>1$ (not sure I can say this, because the functions are different; but since they denote this constant value as $a$ in both of these, I did consider it to be the same), the roots are complex because that result is negative.
It is actually not necessary to rewrite it like so, it is clear that roots are $x^2 = -2$, i.e. they are complex. However the answer is that the roots are real... I don't understand how this is possible.
I found that roots are equal when $a=1$, which is correct, according to the book.
Hint:
It seems to me that your interpretation of the second equation is wrong.
You have:
$$ a f(x)=(x^2+2)(a-1) \iff a(x^2+4x+a+3)=(x^2+2)(a-1) \mbox{ with } a\ge 1 $$ so you have to study the solutions of the equation $$ x^2+4ax+a^2+a+2=0 \mbox{ with } a \ge 1 $$
can you do this?