If $n$ is a constant and if there exists a unique value of $m$ for which the quadratic equation $x^2 + mx + (m+n) = 0$ has one real solution, then find $n$.
Let the roots of the quadratic be $r,s.$ Vieta gives $-m=r+s, m+n=rs.$ Thus, $n=rs+r+s \implies n+1=(n+1)(m+1).$ From here, I don't know what to do. I have a feeling that the factoring trick was unnecessary. Any quick (and slick) solutions? Thanks.
There is a single real solution when
$$m^2-4(m+n)=0,$$
$$(m-2)^2-4-4n=0$$
and this equation has a single solution in $m$ iff $n=-1$.