We have x2 + 4y2 = 4
⇒ x2/4 + y2/1 = 1
Put x = 2cos2θ and y = sinθ
Then f(x, y) = x2 + y2 – xy
= 4cos2θ + sin2θ – sin2θ
= 2(2cos2θ) + 1/2(2sin2θ) – sin2θ
= 2(1 + cos2θ) + 1/2(1 – cos2θ) – sin2θ
= 3/4cos2θ – sin2θ + 5/2
Max value = √(9/4) + 1 + 5/2) = (5 + √13)/2
Min value = – √(9/4) + 1 + 5/2 = (5 – √13)/2