设x=acosθ y=asinθ 1<=a<=√2 0<=θ<2πw=x^2-xy-y^2=a^2cos^2θ-a^2sinθcosθ-a^2sin^2θ=a^2(cos2θ-1/2sin2θ)=√5a^2/2*cos(2θ+φ) (其中tanφ=1/2)最大值=√5a^2/2最小值=-√5a^2/2a的最大值=√2w=x^2-xy-y^2的最大值=√5,最小值=-√5