Recently I was doing a physics problem and I ended up with this quadratic in the middle of the steps:
$$ 0= X \tan \theta - \frac{g}{2} \frac{ X^2 \sec^2 \theta }{ (110)^2 } - 105$$
I want to find $0 < \theta < \frac{\pi}2$ for which I can later take the largest $X$ value that solves this equation, i.e. optimize the implicit curve to maximize $X$.
I tried solving this by implicit differentiation (assuming $X$ can be written as a function of $\theta$) with respect to $\theta$ and then by setting $\frac{dX}{d\theta} = 0$:
\begin{align} 0 &= X \sec^2 \theta + \frac{ d X}{ d \theta} \tan \theta - \frac{g}{2} \frac{ 2 \left( X \sec \theta \right) \left[ \frac{dX}{d \theta} \sec \theta + X \sec \theta \tan \theta \right]}{ (110)^2 } - 105 \\ 0 &= X \sec^2 \theta - \frac{g}{2} \frac{ 2( X \sec \theta) \left[ X \sec \theta \tan \theta\right] }{ (110)^2 } \\ 0 &= 1 - \frac{ Xg \tan \theta}{(110)^2} \\ \frac{ (110)^2}{ g \tan \theta} &= X \end{align}
This is still not an easy equation to solve. However, one of my friends told we could just take the discriminant of the quadratic in terms of $X$, and solve for $\theta$ such that $D=0$.
Taking discriminant and equating to 0, I get
$$ \sin \theta = \frac{ \sqrt{2 \cdot 10 \cdot 105} }{110}$$
and, the angle from it is, 24.45 degrees
I tried the discriminant method, but it gave me a different answer from the implicit differentiation method. I ended up with two solutions with the same maximum value of $X$ but different angles: $\theta =24.45^\text{o}$ and $X=1123.54$ (from discriminant method), and $\theta = 47^\text{o}$ and $X=1123.54$ (from implicit differentiation).
I later realized the original quadratic can only have solutions if $D(\theta) > 0$, where $D$ is the discriminant. Using the discriminant, I can find a lower bound on the angle. Once I have the lower bound, if I can prove that $X$ decreases monotonically as a function of $\theta$, then I can use the lower bound for further calculations of $\theta$.
So then I used the implicit function theorem and got
$$ \frac{dX}{ d \theta} =- \frac{X \sec^2 \theta -\frac{g X^2}{2 (110)^2} 2 \sec \theta ( \sec \theta \tan \theta) } {\tan \theta - \frac{g \sec^2 \theta}{2 (110)^2} 2X }$$
Now the problem here is that I can't prove this function is in monotonic in terms of $\theta$ as the implicit derivative is a function of both $\theta$ and $X$.

I reworded the problem setting $X=y$ and $\theta=x$. Considering $g=9.81$, solving the quadratic equation for $y$ gives the two solutions
$$\displaystyle y =-\frac{ 1100}{981} \cos x \\ \left( \sqrt{10} \sqrt{121000 \tan^2 x - 20601 \sec^2 x} - 1100 \tan x \right)$$
$$\displaystyle y =\frac{ 1100}{981} \cos x \\ \left( \sqrt{10} \sqrt{121000 \tan^2 x - 20601 \sec^2 x} +1100 \tan x \right)$$
The separate plots of the two functions are here and here. The combined plot of the two functions is here. By clarity, I also paste them here:
The maximal value is achieved by the second function. Its derivative is quite complicated, and a closed form for the value of $x$ that maximizes $y$ may probably not exist. However, as already noteď in the OP and in the comments, the numerical solution is given by $x\approx 0.832$ radians (corresponding to about $47.67$ degrees), which leads to a maximum of $y\approx 1123.54$, as confirmed here. By a similar numerical assessment of the first function, it can be confirmed that the symmetrical minimum value of $y\approx -1123.54$ is achieved for $x\approx \pi-0.832\approx 2.309$ radians (corresponding to about $132.33$ degrees), as shown here.
Note that setting the determinant equal to zero, as cited by the OP, only gives the values of $x$ for which the values of the two functions coincide. These values, which have rather tricky closed forms that can be approximated by $x\approx 0.4253$ and $\approx 2.7163$, correspond to the points where the two functions meet, in the leftmost and rightmost portion of the combined plot.