Skip to main contentSkip to solution

∫sin⁡x−xcos⁡xx(x+sin⁡x)dx=\int \frac{\sin x - x\cos x}{x(x + \sin x)}dx = (where C is an arbitrary constant)

Solution

✅ Correct Option: 3

∫sin⁡x−xcos⁡xx(x+sin⁡x) dx\int \dfrac{\sin x - x\cos x}{x(x + \sin x)}\,dx

Our integrand has a product x(x+sin⁡x)x(x + \sin x) in the denominator. Let's try splitting it into two simpler fractions:

1x−1+cos⁡xx+sin⁡x\dfrac{1}{x} - \dfrac{1 + \cos x}{x + \sin x}


Taking the common denominator x(x+sin⁡x)x(x + \sin x):

1x−1+cos⁡xx+sin⁡x\dfrac{1}{x} - \dfrac{1 + \cos x}{x + \sin x}

=(x+sin⁡x)−x(1+cos⁡x)x(x+sin⁡x)= \dfrac{(x + \sin x) - x(1 + \cos x)}{x(x + \sin x)}

=x+sin⁡x−x−xcos⁡xx(x+sin⁡x)= \dfrac{x + \sin x - x - x\cos x}{x(x + \sin x)}

=sin⁡x−xcos⁡xx(x+sin⁡x)= \dfrac{\sin x - x\cos x}{x(x + \sin x)}

This matches our integrand, so:

∫sin⁡x−xcos⁡xx(x+sin⁡x) dx=∫1x dx−∫1+cos⁡xx+sin⁡x dx\int \dfrac{\sin x - x\cos x}{x(x + \sin x)}\,dx = \int \dfrac{1}{x}\,dx - \int \dfrac{1 + \cos x}{x + \sin x}\,dx


First term:

∫1x dx=ln⁡∣x∣\int \dfrac{1}{x}\,dx = \ln|x|

Second term — notice that ddx(x+sin⁡x)=1+cos⁡x\dfrac{d}{dx}(x + \sin x) = 1 + \cos x, so this is of the form ∫f′(x)f(x) dx=ln⁡∣f(x)∣\int \dfrac{f'(x)}{f(x)}\,dx = \ln|f(x)|:

∫1+cos⁡xx+sin⁡x dx=ln⁡∣x+sin⁡x∣\int \dfrac{1 + \cos x}{x + \sin x}\,dx = \ln|x + \sin x|


Combining:

=ln⁡∣x∣−ln⁡∣x+sin⁡x∣+C= \ln|x| - \ln|x + \sin x| + C

Using ln⁡a−ln⁡b=ln⁡(ab)\ln a - \ln b = \ln\left(\dfrac{a}{b}\right):

=ln⁡∣xx+sin⁡x∣+C= \ln\left|\dfrac{x}{x + \sin x}\right| + C

Keyboard Shortcuts

  • Left arrow: Previous question
  • Right arrow: Next question
  • S key: Jump to solution
  • Q key: Jump to question