$$ \begin{array}{l}\text { Let } P\left(x, x^{2}\right) \text { be a point on the parabola } y=x^{2} \\ \text { If } f(x)=\sqrt{(x-3)^{2}+\left(x^{2}-2\right)^{2}}-\sqrt{x^{2}+\left(x^{2}-1\right)^{2}} \text { then } \\ \text { maximum value of } f(x) \text { is } \end{array} $$
Interpreting from the function given two points $A(3,2)$ and $B(0,1)$ and a parabola $y=x^2$ Let a point $P (x,y)$ on the parabola which full fills the above condition we need to calculate the maximum value AP-BP. Points $P,A,B$ are collinear (not sure) I note down the equation of line $AB$ intersect it to the parabola to find the point $P$. But unfortunately could not get the answer? Somebody help me!!
$$f(x)= \sqrt{\left(x^2-2\right)^2+(x-3)^2}-\sqrt{\left(x^2-1\right)^2+x^2}$$ $$f'(x) = \frac{4 x \left(x^2-2\right)+2 (x-3)}{2 \sqrt{\left(x^2-2\right)^2+(x-3)^2}}-\frac{4 \left(x^2-1\right) x+2 x}{2 \sqrt{x^2+\left(x^2-1\right)^2}}$$ which is zero at $x = \frac{1}{6} (1 - \sqrt{37})$ only. And $f''(x = \frac{1}{6} (1 - \sqrt{37})) = -3.23116 $. Hence its a maxima.
Additional Info, $$f''(x) = -\frac{\left(4 x \left(x^2-2\right)+2 (x-3)\right)^2}{4 \left(\left(x^2-2\right)^2+(x-3)^2\right)^{3/2}}-\frac{\left(4 \left(x^2-1\right) x+2 x\right)^2}{4 \left(x^2+\left(x^2-1\right)^2\right)^{3/2}}+\frac{8 x^2+4 \left(x^2-2\right)+2}{2 \sqrt{\left(x^2-2\right)^2+(x-3)^2}}+\frac{8 x^2+4 \left(x^2-1\right)+2}{2 \sqrt{x^2+\left(x^2-1\right)^2}}$$
But a simple alternative is https://www.desmos.com/calculator