2 / | | 3*x*log(x + 2) dx | / -4
Integral((3*x)*log(x + 2), (x, -4, 2))
Use integration by parts:
Let and let .
Then .
To find :
The integral of a constant times a function is the constant times the integral of the function:
The integral of is when :
So, the result is:
Now evaluate the sub-integral.
The integral of a constant times a function is the constant times the integral of the function:
Rewrite the integrand:
Integrate term-by-term:
The integral of is when :
The integral of a constant is the constant times the variable of integration:
The integral of a constant times a function is the constant times the integral of the function:
Let .
Then let and substitute :
The integral of is .
Now substitute back in:
So, the result is:
The result is:
So, the result is:
Now simplify:
Add the constant of integration:
The answer is:
/ 2 2 | 3*x 3*x *log(x + 2) | 3*x*log(x + 2) dx = C - 6*log(2 + x) + 3*x - ---- + --------------- | 4 2 /
27 - 18*log(2) - 18*pi*I
=
27 - 18*log(2) - 18*pi*I
27 - 18*log(2) - 18*pi*i
(15.6989173401338 - 55.9257731264994j)
(15.6989173401338 - 55.9257731264994j)
Use the examples entering the upper and lower limits of integration.