Problem

Source:

Tags:



Let $x,y$ be real numbers such that $y=|x-1|$. What is the smallest value of $(x-1)^2+(y-2)^2$?