Given expression is 4+21sin22x−2cos4x
=4+2(1−cos2x)cos2x−2cos4x
Creating perfect squares, we get
=−4(cos2x−41)2−1617
Since, 0≤cos2x≤1
⇒ −41≤cos2x−41≤43
⇒ 0≤(cos2x−41)2≤169
⇒ −1617≤(cos2x−41)2−1617≤169−1617
⇒ 417≥−4(cos2x−41)2−1617≥2
⇒ M=417 and m=2
⇒ M−m=417−2=49