1 / | | /x\ | 2*x*cos|-| dx | \2/ | / 0
Integral((2*x)*cos(x/2), (x, 0, 1))
Use integration by parts:
Let and let .
Then .
To find :
Let .
Then let and substitute :
The integral of a constant times a function is the constant times the integral of the function:
The integral of cosine is sine:
So, the result is:
Now substitute back in:
Now evaluate the sub-integral.
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 a constant times a function is the constant times the integral of the function:
The integral of sine is negative cosine:
So, the result is:
Now substitute back in:
So, the result is:
Add the constant of integration:
The answer is:
/ | | /x\ /x\ /x\ | 2*x*cos|-| dx = C + 8*cos|-| + 4*x*sin|-| | \2/ \2/ \2/ | /
-8 + 4*sin(1/2) + 8*cos(1/2)
=
-8 + 4*sin(1/2) + 8*cos(1/2)
-8 + 4*sin(1/2) + 8*cos(1/2)
Use the examples entering the upper and lower limits of integration.