Step 1: Understanding the Concept
Rearrange \((1+y^2)(1+\log x)dx+x\,dy=0\) so that all \(x\)-terms are with \(dx\) and all \(y\)-terms with \(dy\).
Step 2: Separate
\(\dfrac{dy}{1+y^2}=-\dfrac{1+\log x}{x}dx\).
Step 3: Integrate
\(\tan^{-1}y=-\left(\log x+\dfrac{(\log x)^2}{2}\right)+C\).
So \(\log x+\dfrac12(\log x)^2+\tan^{-1}y=C\).
Step 4: Find C
At \(x=1,y=1\): \(0+0+\dfrac\pi4=C\).
The solution is \(\log x+\dfrac12(\log x)^2+\tan^{-1}y=\dfrac\pi4\), option (B).
Final Answer:
The particular solution is log x + half (log x) squared + arctan y = pi/4.
\[ \boxed{\text{(B) }\mathrm{log}x+\dfrac{1}{2}(\mathrm{log}x)^{2}+\mathrm{tan}^{-1}y=\dfrac{\pi}{4}} \]