Key idea: square u. The sum under the roots is constant, so only the product term varies with θ.
- Let P=a2cos2θ+b2sin2θ and Q=a2sin2θ+b2cos2θ. Then P+Q=a2+b2 and u2=a2+b2+2PQ.
- Expand:
PQ=a2b2+(a2−b2)2sin2θcos2θ=a2b2+4(a2−b2)2sin22θ.
- Minimum: sin2θ=0 gives PQ=ab, so umin2=(a+b)2.
- Maximum: sin22θ=1 gives PQ=2a2+b2, so umax2=2(a2+b2).
- Difference: 2(a2+b2)−(a+b)2=(a−b)2.
Answer: (D) (a−b)2