I have been given a function $f(x,y)= x^2 + y^2$ whose maximum and minimum values have been sought (if existent) under the constraint that $3x^2 + 4xy +16y^2=140$.
This looks pretty much to be a problem, wherein the technique of Lagrange Multipliers can be exploited. So, I generate the Lagrangian and set the partial derivatives to 0; which gives the following set of equations:-
(i) $$2(1+3λ)x + 4λy = 0$$ (ii) $$4λx + 2(1+16λ)y = 0$$ (iii) The constraint itself; $$3x^2 + 4xy +16y^2=140$$.
But, solving this system is proving to be quite quite tedious.
Solving (i) and (ii); I retrieve $44λ^2+19λ+1=0$ whose solutions are not much-elegant (I know it's subjective!)
I then proceed to write $x$ in terms of $λ$ and $y$ from (i) and thereafter, substitute a value of $λ$ from above, getting $y$in terms of $x$.
Now, I substitute the above value of $y$ into (iii) which generates an equation in $x$; pending which the value of $x$ can be ascertained. Thereafter; the value of $y$ can be ascertained, too. And, then the substitution of these $x$ and $y$ into the parent equation of $f(x,y)= x^2 + y^2$ to get the desired result.
Now, I have to repeat the above two steps for the other value of $λ$, which just adds to the complexity.
So, my questions are:-
1) Does there exist any more efficient method for solving the system? I need to do this stuff at exam-hall where average time is around 8 mins and i assume that there might be a compulsion to use Lagrange Multipliers.
2) Can this sum be done in a more easy manner than using the concept of Lagrange multipliers; which may be employed in absence of the above compulsion?