My maths tutor solved this by using $f(x) = \sqrt{(x^2-2)^2+(x-3)^2}-\sqrt{(x^2-1)^2+(x-0)^2}$ and treating $A(2,3)$ and $B(1,0)$ as fixed points and $P(x^2,x)$ as a moving point and using the difference between the sides PA and PB of the triangle PAB and relating that to the side AB to find the answer.
i.e. $PA-PB \leq AB = \sqrt{(2-1)^2-(3-0)^2} = \sqrt{10}$
What are other methods to solve this and is there a specific way to turn any such equation into the form of 2 squares as demonstrated above or is that just a special instance wherein that is possible.