If ∫1a2sin2x+b2cos2x dx=112tan-1(3tanx)+constant, then the maximum value of asinx+bcosx is: [2024]
(3)
We have, ∫1a2sin2x+b2cos2x dx=112tan-1(3tanx)+c
Let I=∫1a2sin2x+b2cos2x dx=∫sec2xa2tan2x+b2 dx
Let tanx=t⇒sec2x dx=dt
∴ I=∫dt(at)2+b2
=1batan-1(atb)+c=1batan-1(abtanx)+c
⇒ab=12 and ab=3
⇒a2=36 and b2=4
Now, -a2+b2≤asinx+bcosx≤a2+b2
Required maximum value =36+4=40