I have been trying to solve this problem,
For $x, y \in \mathbb{R}$ such that $x^2+y^2=1$, find the minimum and maximum value of $$(3x+2y)^2+(x+2y)^2$$
There are many ways to solve this problem such as
Trigonometry (substitute $x = \sin\theta, y = \cos\theta, \theta\in\left[0, 2\pi\right)$)
Lagrange Multipliers
Solve for $y$ and plug it in to the wanted expression and differentiate it.
If we let the wanted expression equal to some constant $k$, it is an ellipse thus use linear transformation to rotate and find values of $k$ such that the ellipse is circumscribed inside/outside the circle
Using trigonometry, I found out that the answer is min: $9-\sqrt{65}$, max: $9+\sqrt{65}$.
But this problem actually came up in an algebra textbook (no relation to calculus or even pre-calculus), with the topic of Quadratic Equations and Discriminants.
Considering the context of the textbook, I am trying to find a solution using discriminants. My first try was to let the given expression $(3x+2y)^2+(x+2y)^2 = k$ and assume that the min/max will happen when the discriminant is greater than or equal to $0$. (Since the equation must have real roots).
So what I did was expand to get $10x^2+16xy+8y^2=k$, use $x^2+y^2=1$ to simplify into $$2x^2+16xy+8-k=0$$ this equation of $x$ must have real roots so $D/4\geq0$. $$64y^2-2(8-k)\geq0$$
Now I am currently stuck here. Is there a way to get around this? I would really like to find a solution that uses discriminants. Thanks in advance.
Note: I just mentioned the $4$ other ways to solve this problem so that I can emphasize that I would really like to see a solution using discriminants.
Also, any solution without calculus (or with only topics covered until high school - maybe -) are always welcome.