I study maths as a hobby. I am working through a text book and am on the section, points, distances and loci. A question asks:
$A$ is the point $(1,0)$ and $B$ the point $(-1,0)$. Find the set of points $P$ such that $PA + PB = 4$.
If I say let coordinates of $P = (x,y)$ , I can see that
$$PA = \sqrt {(x-1)^2 + y^2},\\ PB=\sqrt{(x+1)^2+y^2},$$
but I cannot put this together to find the locus of $P$. I know from looking at the answer that it is an ellipse but cannot derive it myself.