Differential Equations Question 319

Question: The solution of the differential equation $ \frac{dy}{dx}+\frac{1+x^{2}}{x}=0 $ is

Options:

A) $ y=-\frac{1}{2}{{\tan }^{-1}}x+c $

B) $ y+\log x+\frac{x^{2}}{2}+c=0 $

C) $ y=\frac{1}{2}{{\tan }^{-1}}x+c $

D) $ y-\log x-\frac{x^{2}}{2}=c $

Show Answer

Answer:

Correct Answer: B

Solution:

$ \frac{dy}{dx}+\frac{1+x^{2}}{x}=0 $

Therefore $ dy+( \frac{1}{x}+x )dx=0 $

On integrating, we get $ y+\log x+\frac{x^{2}}{2}+c=0 $ .