If \(y=\left\{\log\left(x+\sqrt{x^2+1}\right)\right\}^2\) then \((1+x^2)\displaystyle\frac{d^2y}{dx^2}+x\frac{dy}{dx}=\)
Answer & explanation
Correct answer: option 4
The correct answer is Option (4) → 2
First, the derivative of the inner logarithm, by the chain rule:
\( \displaystyle \frac{d}{dx}\log\left(x+\sqrt{x^2+1}\right)=\frac{1}{x+\sqrt{x^2+1}}\left(1+\frac{x}{\sqrt{x^2+1}}\right) \)
\( \displaystyle =\frac{1}{x+\sqrt{x^2+1}}\cdot\frac{\sqrt{x^2+1}+x}{\sqrt{x^2+1}}=\frac{1}{\sqrt{x^2+1}} \)
So
\( \displaystyle \frac{dy}{dx}=\frac{2\log\left(x+\sqrt{x^2+1}\right)}{\sqrt{x^2+1}} \)
\( \displaystyle \sqrt{1+x^2}\,\frac{dy}{dx}=2\log\left(x+\sqrt{x^2+1}\right) \)
Differentiating again (product rule on the left):
\( \displaystyle \sqrt{1+x^2}\,\frac{d^2y}{dx^2}+\frac{x}{\sqrt{1+x^2}}\,\frac{dy}{dx}=\frac{2}{\sqrt{1+x^2}} \)
Multiplying by \(\sqrt{1+x^2}\):
\( \displaystyle (1+x^2)\frac{d^2y}{dx^2}+x\frac{dy}{dx}=2 \)