If \(y = (\log x)^2\), \(x \gt 0\), then \(\displaystyle x^2\frac{d^2y}{dx^2} + x\frac{dy}{dx}\) is equal to
Answer & explanation
Correct answer: option 3
The correct answer is Option (3) → 2
By the chain rule:
\( \displaystyle \frac{dy}{dx} = 2\log x \times \frac{1}{x} = \frac{2\log x}{x} \)
It is simpler to multiply by x before differentiating again:
\( \displaystyle x\frac{dy}{dx} = 2\log x \)
Differentiating both sides with respect to x (product rule on the left):
\( \displaystyle x\frac{d^2y}{dx^2} + \frac{dy}{dx} = \frac{2}{x} \)
Multiplying by x:
\( \displaystyle x^2\frac{d^2y}{dx^2} + x\frac{dy}{dx} = 2 \)