Mister Exam

Other calculators


X^3*cos3x

Integral of X^3*cos3x dx

Limits of integration:

from to
v

The graph:

from to

Piecewise:

The solution

You have entered [src]
  1               
  /               
 |                
 |   3            
 |  x *cos(3*x) dx
 |                
/                 
0                 
01x3cos(3x)dx\int\limits_{0}^{1} x^{3} \cos{\left(3 x \right)}\, dx
Integral(x^3*cos(3*x), (x, 0, 1))
Detail solution
  1. Use integration by parts:

    udv=uvvdu\int \operatorname{u} \operatorname{dv} = \operatorname{u}\operatorname{v} - \int \operatorname{v} \operatorname{du}

    Let u(x)=x3u{\left(x \right)} = x^{3} and let dv(x)=cos(3x)\operatorname{dv}{\left(x \right)} = \cos{\left(3 x \right)}.

    Then du(x)=3x2\operatorname{du}{\left(x \right)} = 3 x^{2}.

    To find v(x)v{\left(x \right)}:

    1. Let u=3xu = 3 x.

      Then let du=3dxdu = 3 dx and substitute du3\frac{du}{3}:

      cos(u)3du\int \frac{\cos{\left(u \right)}}{3}\, du

      1. The integral of a constant times a function is the constant times the integral of the function:

        cos(u)du=cos(u)du3\int \cos{\left(u \right)}\, du = \frac{\int \cos{\left(u \right)}\, du}{3}

        1. The integral of cosine is sine:

          cos(u)du=sin(u)\int \cos{\left(u \right)}\, du = \sin{\left(u \right)}

        So, the result is: sin(u)3\frac{\sin{\left(u \right)}}{3}

      Now substitute uu back in:

      sin(3x)3\frac{\sin{\left(3 x \right)}}{3}

    Now evaluate the sub-integral.

  2. Use integration by parts:

    udv=uvvdu\int \operatorname{u} \operatorname{dv} = \operatorname{u}\operatorname{v} - \int \operatorname{v} \operatorname{du}

    Let u(x)=x2u{\left(x \right)} = x^{2} and let dv(x)=sin(3x)\operatorname{dv}{\left(x \right)} = \sin{\left(3 x \right)}.

    Then du(x)=2x\operatorname{du}{\left(x \right)} = 2 x.

    To find v(x)v{\left(x \right)}:

    1. Let u=3xu = 3 x.

      Then let du=3dxdu = 3 dx and substitute du3\frac{du}{3}:

      sin(u)3du\int \frac{\sin{\left(u \right)}}{3}\, du

      1. The integral of a constant times a function is the constant times the integral of the function:

        sin(u)du=sin(u)du3\int \sin{\left(u \right)}\, du = \frac{\int \sin{\left(u \right)}\, du}{3}

        1. The integral of sine is negative cosine:

          sin(u)du=cos(u)\int \sin{\left(u \right)}\, du = - \cos{\left(u \right)}

        So, the result is: cos(u)3- \frac{\cos{\left(u \right)}}{3}

      Now substitute uu back in:

      cos(3x)3- \frac{\cos{\left(3 x \right)}}{3}

    Now evaluate the sub-integral.

  3. Use integration by parts:

    udv=uvvdu\int \operatorname{u} \operatorname{dv} = \operatorname{u}\operatorname{v} - \int \operatorname{v} \operatorname{du}

    Let u(x)=2x3u{\left(x \right)} = - \frac{2 x}{3} and let dv(x)=cos(3x)\operatorname{dv}{\left(x \right)} = \cos{\left(3 x \right)}.

    Then du(x)=23\operatorname{du}{\left(x \right)} = - \frac{2}{3}.

    To find v(x)v{\left(x \right)}:

    1. Let u=3xu = 3 x.

      Then let du=3dxdu = 3 dx and substitute du3\frac{du}{3}:

      cos(u)3du\int \frac{\cos{\left(u \right)}}{3}\, du

      1. The integral of a constant times a function is the constant times the integral of the function:

        cos(u)du=cos(u)du3\int \cos{\left(u \right)}\, du = \frac{\int \cos{\left(u \right)}\, du}{3}

        1. The integral of cosine is sine:

          cos(u)du=sin(u)\int \cos{\left(u \right)}\, du = \sin{\left(u \right)}

        So, the result is: sin(u)3\frac{\sin{\left(u \right)}}{3}

      Now substitute uu back in:

      sin(3x)3\frac{\sin{\left(3 x \right)}}{3}

    Now evaluate the sub-integral.

  4. The integral of a constant times a function is the constant times the integral of the function:

    (2sin(3x)9)dx=2sin(3x)dx9\int \left(- \frac{2 \sin{\left(3 x \right)}}{9}\right)\, dx = - \frac{2 \int \sin{\left(3 x \right)}\, dx}{9}

    1. Let u=3xu = 3 x.

      Then let du=3dxdu = 3 dx and substitute du3\frac{du}{3}:

      sin(u)3du\int \frac{\sin{\left(u \right)}}{3}\, du

      1. The integral of a constant times a function is the constant times the integral of the function:

        sin(u)du=sin(u)du3\int \sin{\left(u \right)}\, du = \frac{\int \sin{\left(u \right)}\, du}{3}

        1. The integral of sine is negative cosine:

          sin(u)du=cos(u)\int \sin{\left(u \right)}\, du = - \cos{\left(u \right)}

        So, the result is: cos(u)3- \frac{\cos{\left(u \right)}}{3}

      Now substitute uu back in:

      cos(3x)3- \frac{\cos{\left(3 x \right)}}{3}

    So, the result is: 2cos(3x)27\frac{2 \cos{\left(3 x \right)}}{27}

  5. Add the constant of integration:

    x3sin(3x)3+x2cos(3x)32xsin(3x)92cos(3x)27+constant\frac{x^{3} \sin{\left(3 x \right)}}{3} + \frac{x^{2} \cos{\left(3 x \right)}}{3} - \frac{2 x \sin{\left(3 x \right)}}{9} - \frac{2 \cos{\left(3 x \right)}}{27}+ \mathrm{constant}


The answer is:

x3sin(3x)3+x2cos(3x)32xsin(3x)92cos(3x)27+constant\frac{x^{3} \sin{\left(3 x \right)}}{3} + \frac{x^{2} \cos{\left(3 x \right)}}{3} - \frac{2 x \sin{\left(3 x \right)}}{9} - \frac{2 \cos{\left(3 x \right)}}{27}+ \mathrm{constant}

The answer (Indefinite) [src]
  /                                                                          
 |                                                   2             3         
 |  3                   2*cos(3*x)   2*x*sin(3*x)   x *cos(3*x)   x *sin(3*x)
 | x *cos(3*x) dx = C - ---------- - ------------ + ----------- + -----------
 |                          27            9              3             3     
/                                                                            
x3cos(3x)dx=C+x3sin(3x)3+x2cos(3x)32xsin(3x)92cos(3x)27\int x^{3} \cos{\left(3 x \right)}\, dx = C + \frac{x^{3} \sin{\left(3 x \right)}}{3} + \frac{x^{2} \cos{\left(3 x \right)}}{3} - \frac{2 x \sin{\left(3 x \right)}}{9} - \frac{2 \cos{\left(3 x \right)}}{27}
The graph
0.001.000.100.200.300.400.500.600.700.800.901-2
The answer [src]
2    sin(3)   7*cos(3)
-- + ------ + --------
27     9         27   
7cos(3)27+sin(3)9+227\frac{7 \cos{\left(3 \right)}}{27} + \frac{\sin{\left(3 \right)}}{9} + \frac{2}{27}
=
=
2    sin(3)   7*cos(3)
-- + ------ + --------
27     9         27   
7cos(3)27+sin(3)9+227\frac{7 \cos{\left(3 \right)}}{27} + \frac{\sin{\left(3 \right)}}{9} + \frac{2}{27}
2/27 + sin(3)/9 + 7*cos(3)/27
Numerical answer [src]
-0.166910646371241
-0.166910646371241
The graph
Integral of X^3*cos3x dx

    Use the examples entering the upper and lower limits of integration.