x - 2 / | | (x + 3)*cos(x) dx | / 0
Integral((x + 3)*cos(x), (x, 0, x/2))
There are multiple ways to do this integral.
Rewrite the integrand:
Integrate term-by-term:
Use integration by parts:
Let and let .
Then .
To find :
The integral of cosine is sine:
Now evaluate the sub-integral.
The integral of sine is negative cosine:
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:
The result is:
Use integration by parts:
Let and let .
Then .
To find :
The integral of cosine is sine:
Now evaluate the sub-integral.
The integral of sine is negative cosine:
Add the constant of integration:
The answer is:
/ | | (x + 3)*cos(x) dx = C + 3*sin(x) + x*sin(x) + cos(x) | /
/x\
x*sin|-|
/x\ \2/ /x\
-1 + 3*sin|-| + -------- + cos|-|
\2/ 2 \2/
=
/x\
x*sin|-|
/x\ \2/ /x\
-1 + 3*sin|-| + -------- + cos|-|
\2/ 2 \2/
-1 + 3*sin(x/2) + x*sin(x/2)/2 + cos(x/2)
Use the examples entering the upper and lower limits of integration.