Why this constraint is crucial in a Lagrange multiplier problem?

34 Views Asked by At

Consider we need to find the max. and min. values of this function $ f(x,y)=xy $ subject to the constraint $x^2-y=12$.Why it is necessary to assume that $ y\leq0$?