I encountered this question on a test:
For which values of $x$ does this apply $\sqrt{x^2 + 2x + 1} = x + 1$
Since the function $f(x) = x^2 + 2x +1$ never goes below $0$, I picked the answer "for all real numbers", this however was incorrect. The correct answer was $x \ge -1$ and I don't understand why.
I realize that $x^2 + 2x +1 = (x+1)^2$, but this shouldn't matter, should it?
You have$$\sqrt{x^2+2x+1}=\sqrt{(x+1)^2}=|x+1|.$$And$$|x+1|=x+1\iff x+1\geqslant0\iff x\geqslant-1.$$