Suppose $r$ and $s$ are the values of $x$ that satisfy the equation $x^2 - 2mx + (m^2+2m+3) = 0$ for some real number $m$. Find the minimum real value of $r^2+s^2$.
My Solution:
Use the quadratic formula:
$ax^2 + bx + c = 0 \implies x = \frac{1}{2}\left(-b \pm \sqrt{b^2 - 4ac}\right)$
($a=1, b=-2m,$ and $c=m^2+2m+3$)
We get $r = m + \sqrt{-(2m + 3)}$ and $s = m - \sqrt{-(2m + 3)}$
Then $r^2 + s^2 = 2\left(m^2 - 2m +3\right)$
This is a concave-up parabola with vertex at $m=1$.
Then $\left(r^2 + s^2\right)\big|_{m = 1} = 2\left(1 - 2 + 3\right) = 4.$
This answer is wrong, but why?
Since $r$ and $s$ are roots of the equation, we have that $(x-r)(x-s)=0$
Then $x^{2} - (r+s)x +rs=0$
Comparing coefficients:
$r+s = 2m$
$rs = m^{2} + 2m + 3$
$\Rightarrow (r+s)^{2} = 4m^{2}$
$\Rightarrow r^{2}+ s^{2} = 4m^{2} - 2rs = 4m^{2} -2m^{2} -4m -6$
$r^{2}+ s^{2} = 2m^{2} -4m -6$
So we now just need to find the minimum value of this function of $m$:
$r^{2}+ s^{2} = 2[(m-1)^{2} -4]$
Which we can clearly see has a minimum of -$8$ at $m=1$
Edit:
But then we also require the initial equation to have real roots
$\Rightarrow 4m^{2} - 4m^{2} -8m - 12 \geq 0$
$\Rightarrow m \leq -\frac{3}{2}$
It is then simple to see by considering the graph of $m$ that $m= -\frac{3}{2}$ would provide the minimum value of $r^{2} + s^{2} = \frac{9}{2}$