If $x^2+4y^2=4.$ Then find range of $ x^2+y^2-xy$
$\bf{My\; Try::}$ Given $$x^2+4y^2 = 4\Rightarrow \frac{x^2}{4}+\frac{y^2}{1} = 1$$, So parametric Coordinate for Ellipse are
$x = 2\cos \phi$ and $y = \sin \phi$.
Now Let $$f\left(x,y\right) = x^2+y^2-xy = 4-4y^2+y^2-xy = 4-3y^2-xy = 4 - 3\sin^2 \phi - 2\sin \phi \cdot \cos \phi$$
So $$f\left(\phi \right) = 4-\frac{3}{2}\left(1-\cos 2\phi \right) - \sin 2\phi = \frac{5}{2} + \frac{1}{2}\left(3\cos 2 \phi -2 \sin 2\phi \right)$$
Now Range of $$-\sqrt{13}\leq \left(3\cos 2 \phi - 2\sin 2\phi \right)\leq \sqrt{13}$$
So $$\frac{1}{2}\cdot \left(5-\sqrt{13} \right) \leq f\left(\phi \right)\leq \frac{1}{2}\cdot \left(5+\sqrt{13} \right)$$
My question is can we solve it using Inequality or any other method, If yes Then plz explain here
Thanks