If \(y = x + \tan x\), then value of \(\displaystyle\frac{d^2y}{dx^2}\) at \(x=\displaystyle\frac{\pi}{4}\) is:
Answer & explanation
Correct answer: option 3
The correct answer is Option (3) → 4
Differentiating twice, using the chain rule for \(\sec^2 x = (\sec x)^2\):
\( \displaystyle \frac{dy}{dx} = 1 + \sec^2 x \)
\( \displaystyle \frac{d^2y}{dx^2} = 2\sec x \cdot \sec x\tan x = 2\sec^2 x\tan x \)
At \(x = \frac{\pi}{4}\), \(\sec^2 x = 2\) and \(\tan x = 1\):
\( \displaystyle \frac{d^2y}{dx^2} = 2 \times 2 \times 1 = 4 \)