The max value of psinx+qcosx is [p^2+q^2]^(1/2)
Thus, here the max value is [a^4+b^4]^1/2
Forum Expert
If a^2 > b^2 then maximum value occurs at sinx=0 which is a^2 and minimum value occurs at sinx=1 which is b^2.
Similarly for b^2 > a^2, max. value is b^2 and min. value is a^2
Therefore maximum value = max(a^2,b^2) and minimum value = min(a^2,b^2)