The number of all the values of $x$ for which the function $f(x)=\sin x+\frac{1-\tan ^2 x}{1+\tan ^2 x}$…

The number of all the values of $x$ for which the function $f(x)=\sin x+\frac{1-\tan ^2 x}{1+\tan ^2 x}$ attains its maximum value on $[0,2 \pi]$ is
  1. 4
  2. 1
  3. 2
  4. infinite

Solution

$\begin{aligned} & \text { } f(x)=\sin x+\frac{1-\tan ^2 x}{1+\tan ^2 x} \Rightarrow f(x)=\sin x+\cos 2 x \\ & f^{\prime}(x)=\cos x-2 \sin 2 x=0 \Rightarrow \cos x=2 \sin 2 x \\ & \Rightarrow 1=2 \sin x \Rightarrow \sin x=\sin \frac{\pi}{6} \Rightarrow x=n \pi+(-1)^n \frac{\pi}{6} \end{aligned}$ $\therefore$ Only two values are possible in $[0,2 \pi]$ which are $\frac{\pi}{6}, \frac{5 \pi}{6}$

Asked in: AP EAMCET 2024 (21 May Shift 1)

Practice more Applications of Derivatives questions on Aicharya