Integral of log(x+2) dx
The solution
Detail solution
-
There are multiple ways to do this integral.
Method #1
-
Let u=x+2.
Then let du=dx and substitute du:
∫log(u)du
-
Use integration by parts:
∫udv=uv−∫vdu
Let u(u)=log(u) and let dv(u)=1.
Then du(u)=u1.
To find v(u):
-
The integral of a constant is the constant times the variable of integration:
∫1du=u
Now evaluate the sub-integral.
-
The integral of a constant is the constant times the variable of integration:
∫1du=u
Now substitute u back in:
−x+(x+2)log(x+2)−2
Method #2
-
Use integration by parts:
∫udv=uv−∫vdu
Let u(x)=log(x+2) and let dv(x)=1.
Then du(x)=x+21.
To find v(x):
-
The integral of a constant is the constant times the variable of integration:
∫1dx=x
Now evaluate the sub-integral.
-
Rewrite the integrand:
x+2x=1−x+22
-
Integrate term-by-term:
-
The integral of a constant is the constant times the variable of integration:
∫1dx=x
-
The integral of a constant times a function is the constant times the integral of the function:
∫(−x+22)dx=−2∫x+21dx
-
Let u=x+2.
Then let du=dx and substitute du:
∫u1du
-
The integral of u1 is log(u).
Now substitute u back in:
log(x+2)
So, the result is: −2log(x+2)
The result is: x−2log(x+2)
-
Now simplify:
−x+(x+2)log(x+2)−2
-
Add the constant of integration:
−x+(x+2)log(x+2)−2+constant
The answer is:
−x+(x+2)log(x+2)−2+constant
The answer (Indefinite)
[src]
/
|
| log(x + 2) dx = -2 + C - x + (x + 2)*log(x + 2)
|
/
∫log(x+2)dx=C−x+(x+2)log(x+2)−2
The graph
−2log(2)−1+3log(3)
=
−2log(2)−1+3log(3)
Use the examples entering the upper and lower limits of integration.