Problem 96
Medium Exponential and Logarithmic

Evaluate the integral: I = integral (cos x + 1)/(sin x +

Evaluate the integral: $$ I = \int \frac{\cos x + 1}{\sin x + x} \, dx. $$

Explanation of Method

Although the denominator mixes a trig function with a polynomial term, its derivative $\tfrac{d}{dx}(\sin x+x)=\cos x+1$ matches the numerator exactly. Recognizing this pattern is what makes the integral elementary — despite the mixed function types, this is nothing more than the standard logarithmic substitution.

  1. Substitute $u$ for the denominator.
  2. Recognize that $du$ exactly matches the numerator.
  3. Integrate using the standard logarithmic antiderivative.
  4. Substitute back and add the constant of integration.

Step 1 · Recognize the derivative pattern

We are given the integral:

$$ I = \int \frac{\cos x+1}{\sin x+x}\,dx. $$

Notice that the denominator's derivative is:

$$ \frac{d}{dx}(\sin x+x) = \cos x+1, $$

which matches the numerator exactly. We let:

$$ u = \sin x + x. $$

Then:

$$ du = (\cos x+1)\,dx. $$

Step 2 · Rewrite and integrate

Substituting into the integral:

$$ I = \int \frac{du}{u}. $$

The integral of $\dfrac{1}{u}$ is a standard result:

$$ I = \ln|u| + C. $$

Step 3 · Substitute back

Substituting back $u = \sin x+x$, we obtain:

$$ I = \ln|\sin x+x| + C. $$


Summary Table

Quantity Value
Substitution$u = \sin x + x$
$du$$(\cos x+1)\,dx$ — matches the numerator exactly
Antiderivative$\ln|u|$

Additional Notes

Result

The solution to the integral is:

$$ I = \ln|\sin x+x| + C. $$