I have the curve equation
$$ Ax^2 + By^2 + Cxy = 1 $$
which represents ellipse with center in (0, 0) and rotated some angle.
How can I find max X and Y values (not semi-axes) on this ellipse? Points are marked on the picture.
There x-es and y-es can not be moved left or right side, so I cannot find dx/dy and dy/dx.

Given $$ Ax^2 + Cxy + By^2 - 1 = 0 $$
solve for $x$ to get $$ x = {{ - Cy \pm \sqrt {C^2 y^2 - 4A\left( {By^2 - 1} \right)} } \over {2A}} $$
That means that fixing $y$ you get two solutions for $x$, until $y$ reaches the top (or lower) extreme where the two solutions are coincident, i.e. $$ \eqalign{ & C^2 y^2 - 4A\left( {By^2 - 1} \right) = 0 \Rightarrow \cr & \Rightarrow \left( {C^2 - 4AB} \right)y^2 = -4A \Rightarrow \cr & \Rightarrow y = \pm \sqrt {{{-4A} \over {C^2 - 4AB}}} \cr} $$
So $$ \left\{ \matrix{ y_{extr} = \pm \sqrt {{{4A} \over {-C^2 + 4AB}}} \hfill \cr x_{extr.y} = - {C \over {2A}}y_{extr} \hfill \cr} \right. $$
Then do the same in solving for $y$