Integral of $$$e - \ln\left(x + 1\right)$$$

The calculator will find the integral/antiderivative of $$$e - \ln\left(x + 1\right)$$$, with steps shown.

Related calculator: Definite and Improper Integral Calculator

Please write without any differentials such as $$$dx$$$, $$$dy$$$ etc.
Leave empty for autodetection.

If the calculator did not compute something or you have identified an error, or you have a suggestion/feedback, please contact us.

Your Input

Find $$$\int \left(e - \ln\left(x + 1\right)\right)\, dx$$$.

Solution

Integrate term by term:

$${\color{red}{\int{\left(e - \ln{\left(x + 1 \right)}\right)d x}}} = {\color{red}{\left(\int{e d x} - \int{\ln{\left(x + 1 \right)} d x}\right)}}$$

Apply the constant rule $$$\int c\, dx = c x$$$ with $$$c=e$$$:

$$- \int{\ln{\left(x + 1 \right)} d x} + {\color{red}{\int{e d x}}} = - \int{\ln{\left(x + 1 \right)} d x} + {\color{red}{e x}}$$

Let $$$u=x + 1$$$.

Then $$$du=\left(x + 1\right)^{\prime }dx = 1 dx$$$ (steps can be seen »), and we have that $$$dx = du$$$.

Thus,

$$e x - {\color{red}{\int{\ln{\left(x + 1 \right)} d x}}} = e x - {\color{red}{\int{\ln{\left(u \right)} d u}}}$$

For the integral $$$\int{\ln{\left(u \right)} d u}$$$, use integration by parts $$$\int \operatorname{g} \operatorname{dv} = \operatorname{g}\operatorname{v} - \int \operatorname{v} \operatorname{dg}$$$.

Let $$$\operatorname{g}=\ln{\left(u \right)}$$$ and $$$\operatorname{dv}=du$$$.

Then $$$\operatorname{dg}=\left(\ln{\left(u \right)}\right)^{\prime }du=\frac{du}{u}$$$ (steps can be seen ») and $$$\operatorname{v}=\int{1 d u}=u$$$ (steps can be seen »).

So,

$$e x - {\color{red}{\int{\ln{\left(u \right)} d u}}}=e x - {\color{red}{\left(\ln{\left(u \right)} \cdot u-\int{u \cdot \frac{1}{u} d u}\right)}}=e x - {\color{red}{\left(u \ln{\left(u \right)} - \int{1 d u}\right)}}$$

Apply the constant rule $$$\int c\, du = c u$$$ with $$$c=1$$$:

$$- u \ln{\left(u \right)} + e x + {\color{red}{\int{1 d u}}} = - u \ln{\left(u \right)} + e x + {\color{red}{u}}$$

Recall that $$$u=x + 1$$$:

$$e x + {\color{red}{u}} - {\color{red}{u}} \ln{\left({\color{red}{u}} \right)} = e x + {\color{red}{\left(x + 1\right)}} - {\color{red}{\left(x + 1\right)}} \ln{\left({\color{red}{\left(x + 1\right)}} \right)}$$

Therefore,

$$\int{\left(e - \ln{\left(x + 1 \right)}\right)d x} = x + e x - \left(x + 1\right) \ln{\left(x + 1 \right)} + 1$$

Add the constant of integration (and remove the constant from the expression):

$$\int{\left(e - \ln{\left(x + 1 \right)}\right)d x} = x + e x - \left(x + 1\right) \ln{\left(x + 1 \right)}+C$$

Answer

$$$\int \left(e - \ln\left(x + 1\right)\right)\, dx = \left(x + e x - \left(x + 1\right) \ln\left(x + 1\right)\right) + C$$$A


Please try a new game Rotatly