Step 1: Understanding the Concept
Take \(u=\log x\) and \(dv=(1+x)dx\), so \(v=x+\dfrac{x^2}2\).
Step 2: Calculation
\(\int(1+x)\log x\,dx=\left(x+\dfrac{x^2}2\right)\log x-\int\left(x+\dfrac{x^2}2\right)\dfrac1xdx\)\n\(=\left(x+\dfrac{x^2}2\right)\log x-\int\left(1+\dfrac x2\right)dx\)\n\(=\left(x+\dfrac{x^2}2\right)\log x-\left(x+\dfrac{x^2}4\right)+C\)
Step 3: Compare the options
This matches option (B).
Final Answer:
The integral is (x + x^2/2) log x minus (x + x^2/4) plus C.
\[ \boxed{\text{(B) }\left(x+\dfrac{x^{2}}{2}\right)\log x-\left(x+\dfrac{x^{2}}{4}\right)+C} \]