Integral of 1\2*log(1+x^2) dx
The solution
Detail solution
-
The integral of a constant times a function is the constant times the integral of the function:
∫2log(x2+1)dx=2∫log(x2+1)dx
-
Use integration by parts:
∫udv=uv−∫vdu
Let u(x)=log(x2+1) and let dv(x)=1.
Then du(x)=x2+12x.
To find v(x):
-
The integral of a constant is the constant times the variable of integration:
∫1dx=x
Now evaluate the sub-integral.
-
The integral of a constant times a function is the constant times the integral of the function:
∫x2+12x2dx=2∫x2+1x2dx
-
Rewrite the integrand:
x2+1x2=1−x2+11
-
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:
∫(−x2+11)dx=−∫x2+11dx
PiecewiseRule(subfunctions=[(ArctanRule(a=1, b=1, c=1, context=1/(x**2 + 1), symbol=x), True), (ArccothRule(a=1, b=1, c=1, context=1/(x**2 + 1), symbol=x), False), (ArctanhRule(a=1, b=1, c=1, context=1/(x**2 + 1), symbol=x), False)], context=1/(x**2 + 1), symbol=x)
So, the result is: −atan(x)
The result is: x−atan(x)
So, the result is: 2x−2atan(x)
So, the result is: 2xlog(x2+1)−x+atan(x)
-
Add the constant of integration:
2xlog(x2+1)−x+atan(x)+constant
The answer is:
2xlog(x2+1)−x+atan(x)+constant
The answer (Indefinite)
[src]
/
|
| / 2\ / 2\
| log\1 + x / x*log\1 + x /
| ----------- dx = C - x + ------------- + atan(x)
| 2 2
|
/
∫2log(x2+1)dx=C+2xlog(x2+1)−x+atan(x)
The graph
log(2) pi
-1 + ------ + --
2 4
−1+2log(2)+4π
=
log(2) pi
-1 + ------ + --
2 4
−1+2log(2)+4π
Use the examples entering the upper and lower limits of integration.