I need to find the maxima of the given function: $$f(x)=\sqrt{x^4-3x^2-6x+13}-\sqrt{x^4-x^2+1}$$ I have tried to consider both the functions separately and then find their separate maxima, but it didn't work.
I tried to rationalise them into a polynomial fraction, namely: $$f(x)=\frac{-2x^2-6x+12}{\sqrt{x^4-3x^2-6x+13}+\sqrt{x^4-x^2+1}}$$ and use AM-GM method (inequality) for the denominator, but couldn't find a valid solution.
Is there any other way to approach the problem that I am missing?
You want to take the derivative of the function and set the derivative to $0$, i.e. you have to solve the equation:
$$f’(x)=0 \tag{1}$$
So, let first find the first derivate of your function $f$:
$$f’(x)=\frac{4x^3-6x-6}{2 \sqrt{x^4-3x^2-6x+13}} -\frac{4x^3-2x} {2\sqrt{x^4-x^2+1}}$$
To solve the equation (1) you need to get rid of the denominators and you’re left with:
$$\sqrt{(x^4-x^2+1)(4x^3-6x-6)^2}-\sqrt{(x^4-3x^2-6x+13)(4x^3-2x)^2}=0$$
Solving that equation will be the hard part.