Find the maximum value of $ \sqrt{x^4-3x^2-6x+13} - \sqrt{x^4-x^2+1} $ [duplicate]
since $$\sqrt{(x^2-2)^2+(x-3)^2}-\sqrt{(x^2-1)^2+(x-0)^2}$$
let $$P(x,x^2),A(3,2),B(0,1)$$ so $$|PA|-|PB|\le |AB|=\sqrt{10}$$ if and only is $A,P,B$ on a line.
since $$\sqrt{(x^2-2)^2+(x-3)^2}-\sqrt{(x^2-1)^2+(x-0)^2}$$
let $$P(x,x^2),A(3,2),B(0,1)$$ so $$|PA|-|PB|\le |AB|=\sqrt{10}$$ if and only is $A,P,B$ on a line.