Let $x, y \in \mathbb R$ s. t . $x^2+y^2=2x-2y+2$. Find the largest possible value of $x^2+y^2-\sqrt{32}$
I know this is a duplicate of another question, but that question has solutions involving calculus and geometry, while I want a solution relying on algebra and basic inequalities only to solve this problem.
You can rearrange the equation into the form $$(x-1)^2+(y+1)^2=r^2$$ for some constant $r$ which I will let you find for yourself. This is a circle with centre $(1,-1)$ and radius $r$, so obviously its furthest distance from the origin is $r+\sqrt 2$.