Integral of x(cosx-1/2) dx
The solution
Detail solution
-
Rewrite the integrand:
x(cos(x)−21)=xcos(x)−2x
-
Integrate term-by-term:
-
Use integration by parts:
∫udv=uv−∫vdu
Let u(x)=x and let dv(x)=cos(x).
Then du(x)=1.
To find v(x):
-
The integral of cosine is sine:
∫cos(x)dx=sin(x)
Now evaluate the sub-integral.
-
The integral of sine is negative cosine:
∫sin(x)dx=−cos(x)
-
The integral of a constant times a function is the constant times the integral of the function:
∫(−2x)dx=−2∫xdx
-
The integral of xn is n+1xn+1 when n=−1:
∫xdx=2x2
So, the result is: −4x2
The result is: −4x2+xsin(x)+cos(x)
-
Add the constant of integration:
−4x2+xsin(x)+cos(x)+constant
The answer is:
−4x2+xsin(x)+cos(x)+constant
The answer (Indefinite)
[src]
/ 2
| x
| x*(cos(x) - 1/2) dx = C - -- + x*sin(x) + cos(x)
| 4
/
∫x(cos(x)−21)dx=C−4x2+xsin(x)+cos(x)
The graph
Use the examples entering the upper and lower limits of integration.