Find the value of x for which f(x)=1+2sinx+2cos2x,0≤x≤π/2. is maximum.
A
x=π/6.
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
B
x=π/2.
No worries! We‘ve got your back. Try BYJU‘S free classes today!
C
x=π/4.
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
x=π/3.
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution
The correct option is Ax=π/6. f(x)=1+2sinx+2cos2x f′(x)=2cosx−4cos.xsinx For maximum or minimum, f′(x)=0 ⇒2cosx−4cos.xsinx=0 cosx=0 or sinx=12 The solution in the interval 0≤x≤π/2 is π2 and π6 respectively. Now f′′(x)=−2sinx−4cos2x ∴f′′(x)>0 at x=π2 and f′′(x)<0 at x=π6 Hence f(x) is minimum at x=π2 and maximum at x=π6