Integral of x^2cosx^3 dx
The solution
Detail solution
-
Use integration by parts:
∫udv=uv−∫vdu
Let u(x)=x2 and let dv(x)=cos3(x).
Then du(x)=2x.
To find v(x):
-
Rewrite the integrand:
cos3(x)=(1−sin2(x))cos(x)
-
There are multiple ways to do this integral.
Method #1
-
Let u=sin(x).
Then let du=cos(x)dx and substitute du:
∫(1−u2)du
-
Integrate term-by-term:
-
The integral of a constant is the constant times the variable of integration:
∫1du=u
-
The integral of a constant times a function is the constant times the integral of the function:
∫(−u2)du=−∫u2du
-
The integral of un is n+1un+1 when n=−1:
∫u2du=3u3
So, the result is: −3u3
The result is: −3u3+u
Now substitute u back in:
−3sin3(x)+sin(x)
Method #2
-
Rewrite the integrand:
(1−sin2(x))cos(x)=−sin2(x)cos(x)+cos(x)
-
Integrate term-by-term:
-
The integral of a constant times a function is the constant times the integral of the function:
∫(−sin2(x)cos(x))dx=−∫sin2(x)cos(x)dx
-
Let u=sin(x).
Then let du=cos(x)dx and substitute du:
∫u2du
-
The integral of un is n+1un+1 when n=−1:
∫u2du=3u3
Now substitute u back in:
3sin3(x)
So, the result is: −3sin3(x)
-
The integral of cosine is sine:
∫cos(x)dx=sin(x)
The result is: −3sin3(x)+sin(x)
Method #3
-
Rewrite the integrand:
(1−sin2(x))cos(x)=−sin2(x)cos(x)+cos(x)
-
Integrate term-by-term:
-
The integral of a constant times a function is the constant times the integral of the function:
∫(−sin2(x)cos(x))dx=−∫sin2(x)cos(x)dx
-
Let u=sin(x).
Then let du=cos(x)dx and substitute du:
∫u2du
-
The integral of un is n+1un+1 when n=−1:
∫u2du=3u3
Now substitute u back in:
3sin3(x)
So, the result is: −3sin3(x)
-
The integral of cosine is sine:
∫cos(x)dx=sin(x)
The result is: −3sin3(x)+sin(x)
Now evaluate the sub-integral.
-
Use integration by parts:
∫udv=uv−∫vdu
Let u(x)=32x and let dv(x)=−sin3(x)+3sin(x).
Then du(x)=32.
To find v(x):
-
Integrate term-by-term:
-
The integral of a constant times a function is the constant times the integral of the function:
∫(−sin3(x))dx=−∫sin3(x)dx
-
Rewrite the integrand:
sin3(x)=(1−cos2(x))sin(x)
-
Let u=cos(x).
Then let du=−sin(x)dx and substitute du:
∫(u2−1)du
-
Integrate term-by-term:
-
The integral of un is n+1un+1 when n=−1:
∫u2du=3u3
-
The integral of a constant is the constant times the variable of integration:
∫(−1)du=−u
The result is: 3u3−u
Now substitute u back in:
3cos3(x)−cos(x)
So, the result is: −3cos3(x)+cos(x)
-
The integral of a constant times a function is the constant times the integral of the function:
∫3sin(x)dx=3∫sin(x)dx
-
The integral of sine is negative cosine:
∫sin(x)dx=−cos(x)
So, the result is: −3cos(x)
The result is: −3cos3(x)−2cos(x)
Now evaluate the sub-integral.
-
Integrate term-by-term:
-
The integral of a constant times a function is the constant times the integral of the function:
∫(−92cos3(x))dx=−92∫cos3(x)dx
-
Rewrite the integrand:
cos3(x)=(1−sin2(x))cos(x)
-
Let u=sin(x).
Then let du=cos(x)dx and substitute du:
∫(1−u2)du
-
Integrate term-by-term:
-
The integral of a constant is the constant times the variable of integration:
∫1du=u
-
The integral of a constant times a function is the constant times the integral of the function:
∫(−u2)du=−∫u2du
-
The integral of un is n+1un+1 when n=−1:
∫u2du=3u3
So, the result is: −3u3
The result is: −3u3+u
Now substitute u back in:
−3sin3(x)+sin(x)
So, the result is: 272sin3(x)−92sin(x)
-
The integral of a constant times a function is the constant times the integral of the function:
∫(−34cos(x))dx=−34∫cos(x)dx
-
The integral of cosine is sine:
∫cos(x)dx=sin(x)
So, the result is: −34sin(x)
The result is: 272sin3(x)−914sin(x)
-
Now simplify:
3x2(cos2(x)+2)sin(x)+92x(cos2(x)+6)cos(x)+272sin3(x)−914sin(x)
-
Add the constant of integration:
3x2(cos2(x)+2)sin(x)+92x(cos2(x)+6)cos(x)+272sin3(x)−914sin(x)+constant
The answer is:
3x2(cos2(x)+2)sin(x)+92x(cos2(x)+6)cos(x)+272sin3(x)−914sin(x)+constant
The answer (Indefinite)
[src]
/ 3 \
/ | cos (x)|
| 3 / 3 \ 2*x*|-2*cos(x) - -------|
| 2 3 14*sin(x) 2*sin (x) 2 | sin (x) | \ 3 /
| x *cos (x) dx = C - --------- + --------- + x *|- ------- + sin(x)| - -------------------------
| 9 27 \ 3 / 3
/
108(9x2−2)sin(3x)+6xcos(3x)+(81x2−162)sinx+162xcosx
The graph
3 3 2 2
22*sin (1) 14*cos (1) 5*cos (1)*sin(1) 4*sin (1)*cos(1)
- ---------- + ---------- - ---------------- + ----------------
27 9 9 3
1087sin3+6cos3−81sin1+162cos1
=
3 3 2 2
22*sin (1) 14*cos (1) 5*cos (1)*sin(1) 4*sin (1)*cos(1)
- ---------- + ---------- - ---------------- + ----------------
27 9 9 3
−2722sin3(1)−95sin(1)cos2(1)+914cos3(1)+34sin2(1)cos(1)
Use the examples entering the upper and lower limits of integration.