Question:

\[\int \frac{\cos x+x \sin x}{x^2+x \cos x} d x=\] ...........

Show Hint

Try to recognise the integrand as the derivative of the logarithm of x over (x + cos x).
Updated On: Nov 19, 2026
  • \(\mathrm{log}|\frac{x\mathrm{sin}x}{x+\mathrm{cos}x}|+c\)
  • \(\mathrm{log}|\frac{x}{x+\mathrm{cos}x}|+c\)
  • \(\mathrm{log}|\mathrm{cos}x+x\mathrm{sin}x|+c\)
  • \(\mathrm{log}|x^{2}+x\mathrm{cos}x|+c\)
Show Solution
collegedunia
Verified By Collegedunia

The Correct Option is B

Solution and Explanation

Step 1: Understanding the Concept
Write the denominator as \(x(x+\cos x)\). Look at \(\dfrac{d}{dx}\ln\dfrac{x}{x+\cos x}=\dfrac1x-\dfrac{1-\sin x}{x+\cos x}\).

Step 2: Simplify
\(\dfrac{(x+\cos x)-x(1-\sin x)}{x(x+\cos x)}=\dfrac{\cos x+x\sin x}{x^2+x\cos x}\).

Step 3: Conclusion
This is exactly the integrand, so \(\int=\log\left|\dfrac{x}{x+\cos x}\right|+c\).

Final Answer:
The integral equals log of x over (x plus cos x). \[ \boxed{\text{(B) }\log\left|\dfrac{x}{x+\cos x}\right|+c} \]
Was this answer helpful?
0
0