Here is a rough sketch. Please check for accuracy and fill in the blanks.
Let's define the Lagrangian as: L(x,y,λ) = f - λ.g = (2xy2-2x) - λ (x2 + 4y2 - 4) and find its critical points by setting partial derivatives to zero:
- ∂L/∂x = 2y2 - 2 + 2λx = 0
- ∂L/∂y = 4xy + 8λy = 0
- ∂L/∂λ = x2 + 4y2 - 4 = 0
By solving the above equations, we obtain the following critical points: (x=0,y=1), (x=0,y=-1), (x=2,y=0), (x=-2,y=0). Now evaluate the objective f(x,y) = 2xy2-2x at these points to find the min as f(2,0)=-4 and max as f(-2,0)=4.