Mister Exam

Other calculators


cos(2x)*cos(7x)

Integral of cos(2x)*cos(7x) dx

Limits of integration:

from to
v

The graph:

from to

Piecewise:

The solution

You have entered [src]
  1                     
  /                     
 |                      
 |  cos(2*x)*cos(7*x) dx
 |                      
/                       
0                       
01cos(2x)cos(7x)dx\int\limits_{0}^{1} \cos{\left(2 x \right)} \cos{\left(7 x \right)}\, dx
Detail solution
  1. Rewrite the integrand:

    cos(2x)cos(7x)=128cos9(x)288cos7(x)+224cos5(x)70cos3(x)+7cos(x)\cos{\left(2 x \right)} \cos{\left(7 x \right)} = 128 \cos^{9}{\left(x \right)} - 288 \cos^{7}{\left(x \right)} + 224 \cos^{5}{\left(x \right)} - 70 \cos^{3}{\left(x \right)} + 7 \cos{\left(x \right)}

  2. Integrate term-by-term:

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

      128cos9(x)dx=128cos9(x)dx\int 128 \cos^{9}{\left(x \right)}\, dx = 128 \int \cos^{9}{\left(x \right)}\, dx

      1. Rewrite the integrand:

        cos9(x)=(1sin2(x))4cos(x)\cos^{9}{\left(x \right)} = \left(1 - \sin^{2}{\left(x \right)}\right)^{4} \cos{\left(x \right)}

      2. There are multiple ways to do this integral.

        Method #1

        1. Rewrite the integrand:

          (1sin2(x))4cos(x)=sin8(x)cos(x)4sin6(x)cos(x)+6sin4(x)cos(x)4sin2(x)cos(x)+cos(x)\left(1 - \sin^{2}{\left(x \right)}\right)^{4} \cos{\left(x \right)} = \sin^{8}{\left(x \right)} \cos{\left(x \right)} - 4 \sin^{6}{\left(x \right)} \cos{\left(x \right)} + 6 \sin^{4}{\left(x \right)} \cos{\left(x \right)} - 4 \sin^{2}{\left(x \right)} \cos{\left(x \right)} + \cos{\left(x \right)}

        2. Integrate term-by-term:

          1. Let u=sin(x)u = \sin{\left(x \right)}.

            Then let du=cos(x)dxdu = \cos{\left(x \right)} dx and substitute dudu:

            u8du\int u^{8}\, du

            1. The integral of unu^{n} is un+1n+1\frac{u^{n + 1}}{n + 1} when n1n \neq -1:

              u8du=u99\int u^{8}\, du = \frac{u^{9}}{9}

            Now substitute uu back in:

            sin9(x)9\frac{\sin^{9}{\left(x \right)}}{9}

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

            (4sin6(x)cos(x))dx=4sin6(x)cos(x)dx\int \left(- 4 \sin^{6}{\left(x \right)} \cos{\left(x \right)}\right)\, dx = - 4 \int \sin^{6}{\left(x \right)} \cos{\left(x \right)}\, dx

            1. Let u=sin(x)u = \sin{\left(x \right)}.

              Then let du=cos(x)dxdu = \cos{\left(x \right)} dx and substitute dudu:

              u6du\int u^{6}\, du

              1. The integral of unu^{n} is un+1n+1\frac{u^{n + 1}}{n + 1} when n1n \neq -1:

                u6du=u77\int u^{6}\, du = \frac{u^{7}}{7}

              Now substitute uu back in:

              sin7(x)7\frac{\sin^{7}{\left(x \right)}}{7}

            So, the result is: 4sin7(x)7- \frac{4 \sin^{7}{\left(x \right)}}{7}

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

            6sin4(x)cos(x)dx=6sin4(x)cos(x)dx\int 6 \sin^{4}{\left(x \right)} \cos{\left(x \right)}\, dx = 6 \int \sin^{4}{\left(x \right)} \cos{\left(x \right)}\, dx

            1. Let u=sin(x)u = \sin{\left(x \right)}.

              Then let du=cos(x)dxdu = \cos{\left(x \right)} dx and substitute dudu:

              u4du\int u^{4}\, du

              1. The integral of unu^{n} is un+1n+1\frac{u^{n + 1}}{n + 1} when n1n \neq -1:

                u4du=u55\int u^{4}\, du = \frac{u^{5}}{5}

              Now substitute uu back in:

              sin5(x)5\frac{\sin^{5}{\left(x \right)}}{5}

            So, the result is: 6sin5(x)5\frac{6 \sin^{5}{\left(x \right)}}{5}

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

            (4sin2(x)cos(x))dx=4sin2(x)cos(x)dx\int \left(- 4 \sin^{2}{\left(x \right)} \cos{\left(x \right)}\right)\, dx = - 4 \int \sin^{2}{\left(x \right)} \cos{\left(x \right)}\, dx

            1. Let u=sin(x)u = \sin{\left(x \right)}.

              Then let du=cos(x)dxdu = \cos{\left(x \right)} dx and substitute dudu:

              u2du\int u^{2}\, du

              1. The integral of unu^{n} is un+1n+1\frac{u^{n + 1}}{n + 1} when n1n \neq -1:

                u2du=u33\int u^{2}\, du = \frac{u^{3}}{3}

              Now substitute uu back in:

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

            So, the result is: 4sin3(x)3- \frac{4 \sin^{3}{\left(x \right)}}{3}

          1. The integral of cosine is sine:

            cos(x)dx=sin(x)\int \cos{\left(x \right)}\, dx = \sin{\left(x \right)}

          The result is: sin9(x)94sin7(x)7+6sin5(x)54sin3(x)3+sin(x)\frac{\sin^{9}{\left(x \right)}}{9} - \frac{4 \sin^{7}{\left(x \right)}}{7} + \frac{6 \sin^{5}{\left(x \right)}}{5} - \frac{4 \sin^{3}{\left(x \right)}}{3} + \sin{\left(x \right)}

        Method #2

        1. Rewrite the integrand:

          (1sin2(x))4cos(x)=sin8(x)cos(x)4sin6(x)cos(x)+6sin4(x)cos(x)4sin2(x)cos(x)+cos(x)\left(1 - \sin^{2}{\left(x \right)}\right)^{4} \cos{\left(x \right)} = \sin^{8}{\left(x \right)} \cos{\left(x \right)} - 4 \sin^{6}{\left(x \right)} \cos{\left(x \right)} + 6 \sin^{4}{\left(x \right)} \cos{\left(x \right)} - 4 \sin^{2}{\left(x \right)} \cos{\left(x \right)} + \cos{\left(x \right)}

        2. Integrate term-by-term:

          1. Let u=sin(x)u = \sin{\left(x \right)}.

            Then let du=cos(x)dxdu = \cos{\left(x \right)} dx and substitute dudu:

            u8du\int u^{8}\, du

            1. The integral of unu^{n} is un+1n+1\frac{u^{n + 1}}{n + 1} when n1n \neq -1:

              u8du=u99\int u^{8}\, du = \frac{u^{9}}{9}

            Now substitute uu back in:

            sin9(x)9\frac{\sin^{9}{\left(x \right)}}{9}

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

            (4sin6(x)cos(x))dx=4sin6(x)cos(x)dx\int \left(- 4 \sin^{6}{\left(x \right)} \cos{\left(x \right)}\right)\, dx = - 4 \int \sin^{6}{\left(x \right)} \cos{\left(x \right)}\, dx

            1. Let u=sin(x)u = \sin{\left(x \right)}.

              Then let du=cos(x)dxdu = \cos{\left(x \right)} dx and substitute dudu:

              u6du\int u^{6}\, du

              1. The integral of unu^{n} is un+1n+1\frac{u^{n + 1}}{n + 1} when n1n \neq -1:

                u6du=u77\int u^{6}\, du = \frac{u^{7}}{7}

              Now substitute uu back in:

              sin7(x)7\frac{\sin^{7}{\left(x \right)}}{7}

            So, the result is: 4sin7(x)7- \frac{4 \sin^{7}{\left(x \right)}}{7}

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

            6sin4(x)cos(x)dx=6sin4(x)cos(x)dx\int 6 \sin^{4}{\left(x \right)} \cos{\left(x \right)}\, dx = 6 \int \sin^{4}{\left(x \right)} \cos{\left(x \right)}\, dx

            1. Let u=sin(x)u = \sin{\left(x \right)}.

              Then let du=cos(x)dxdu = \cos{\left(x \right)} dx and substitute dudu:

              u4du\int u^{4}\, du

              1. The integral of unu^{n} is un+1n+1\frac{u^{n + 1}}{n + 1} when n1n \neq -1:

                u4du=u55\int u^{4}\, du = \frac{u^{5}}{5}

              Now substitute uu back in:

              sin5(x)5\frac{\sin^{5}{\left(x \right)}}{5}

            So, the result is: 6sin5(x)5\frac{6 \sin^{5}{\left(x \right)}}{5}

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

            (4sin2(x)cos(x))dx=4sin2(x)cos(x)dx\int \left(- 4 \sin^{2}{\left(x \right)} \cos{\left(x \right)}\right)\, dx = - 4 \int \sin^{2}{\left(x \right)} \cos{\left(x \right)}\, dx

            1. Let u=sin(x)u = \sin{\left(x \right)}.

              Then let du=cos(x)dxdu = \cos{\left(x \right)} dx and substitute dudu:

              u2du\int u^{2}\, du

              1. The integral of unu^{n} is un+1n+1\frac{u^{n + 1}}{n + 1} when n1n \neq -1:

                u2du=u33\int u^{2}\, du = \frac{u^{3}}{3}

              Now substitute uu back in:

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

            So, the result is: 4sin3(x)3- \frac{4 \sin^{3}{\left(x \right)}}{3}

          1. The integral of cosine is sine:

            cos(x)dx=sin(x)\int \cos{\left(x \right)}\, dx = \sin{\left(x \right)}

          The result is: sin9(x)94sin7(x)7+6sin5(x)54sin3(x)3+sin(x)\frac{\sin^{9}{\left(x \right)}}{9} - \frac{4 \sin^{7}{\left(x \right)}}{7} + \frac{6 \sin^{5}{\left(x \right)}}{5} - \frac{4 \sin^{3}{\left(x \right)}}{3} + \sin{\left(x \right)}

      So, the result is: 128sin9(x)9512sin7(x)7+768sin5(x)5512sin3(x)3+128sin(x)\frac{128 \sin^{9}{\left(x \right)}}{9} - \frac{512 \sin^{7}{\left(x \right)}}{7} + \frac{768 \sin^{5}{\left(x \right)}}{5} - \frac{512 \sin^{3}{\left(x \right)}}{3} + 128 \sin{\left(x \right)}

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

      (288cos7(x))dx=288cos7(x)dx\int \left(- 288 \cos^{7}{\left(x \right)}\right)\, dx = - 288 \int \cos^{7}{\left(x \right)}\, dx

      1. Rewrite the integrand:

        cos7(x)=(1sin2(x))3cos(x)\cos^{7}{\left(x \right)} = \left(1 - \sin^{2}{\left(x \right)}\right)^{3} \cos{\left(x \right)}

      2. Rewrite the integrand:

        (1sin2(x))3cos(x)=sin6(x)cos(x)+3sin4(x)cos(x)3sin2(x)cos(x)+cos(x)\left(1 - \sin^{2}{\left(x \right)}\right)^{3} \cos{\left(x \right)} = - \sin^{6}{\left(x \right)} \cos{\left(x \right)} + 3 \sin^{4}{\left(x \right)} \cos{\left(x \right)} - 3 \sin^{2}{\left(x \right)} \cos{\left(x \right)} + \cos{\left(x \right)}

      3. Integrate term-by-term:

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

          (sin6(x)cos(x))dx=sin6(x)cos(x)dx\int \left(- \sin^{6}{\left(x \right)} \cos{\left(x \right)}\right)\, dx = - \int \sin^{6}{\left(x \right)} \cos{\left(x \right)}\, dx

          1. Let u=sin(x)u = \sin{\left(x \right)}.

            Then let du=cos(x)dxdu = \cos{\left(x \right)} dx and substitute dudu:

            u6du\int u^{6}\, du

            1. The integral of unu^{n} is un+1n+1\frac{u^{n + 1}}{n + 1} when n1n \neq -1:

              u6du=u77\int u^{6}\, du = \frac{u^{7}}{7}

            Now substitute uu back in:

            sin7(x)7\frac{\sin^{7}{\left(x \right)}}{7}

          So, the result is: sin7(x)7- \frac{\sin^{7}{\left(x \right)}}{7}

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

          3sin4(x)cos(x)dx=3sin4(x)cos(x)dx\int 3 \sin^{4}{\left(x \right)} \cos{\left(x \right)}\, dx = 3 \int \sin^{4}{\left(x \right)} \cos{\left(x \right)}\, dx

          1. Let u=sin(x)u = \sin{\left(x \right)}.

            Then let du=cos(x)dxdu = \cos{\left(x \right)} dx and substitute dudu:

            u4du\int u^{4}\, du

            1. The integral of unu^{n} is un+1n+1\frac{u^{n + 1}}{n + 1} when n1n \neq -1:

              u4du=u55\int u^{4}\, du = \frac{u^{5}}{5}

            Now substitute uu back in:

            sin5(x)5\frac{\sin^{5}{\left(x \right)}}{5}

          So, the result is: 3sin5(x)5\frac{3 \sin^{5}{\left(x \right)}}{5}

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

          (3sin2(x)cos(x))dx=3sin2(x)cos(x)dx\int \left(- 3 \sin^{2}{\left(x \right)} \cos{\left(x \right)}\right)\, dx = - 3 \int \sin^{2}{\left(x \right)} \cos{\left(x \right)}\, dx

          1. Let u=sin(x)u = \sin{\left(x \right)}.

            Then let du=cos(x)dxdu = \cos{\left(x \right)} dx and substitute dudu:

            u2du\int u^{2}\, du

            1. The integral of unu^{n} is un+1n+1\frac{u^{n + 1}}{n + 1} when n1n \neq -1:

              u2du=u33\int u^{2}\, du = \frac{u^{3}}{3}

            Now substitute uu back in:

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

          So, the result is: sin3(x)- \sin^{3}{\left(x \right)}

        1. The integral of cosine is sine:

          cos(x)dx=sin(x)\int \cos{\left(x \right)}\, dx = \sin{\left(x \right)}

        The result is: sin7(x)7+3sin5(x)5sin3(x)+sin(x)- \frac{\sin^{7}{\left(x \right)}}{7} + \frac{3 \sin^{5}{\left(x \right)}}{5} - \sin^{3}{\left(x \right)} + \sin{\left(x \right)}

      So, the result is: 288sin7(x)7864sin5(x)5+288sin3(x)288sin(x)\frac{288 \sin^{7}{\left(x \right)}}{7} - \frac{864 \sin^{5}{\left(x \right)}}{5} + 288 \sin^{3}{\left(x \right)} - 288 \sin{\left(x \right)}

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

      224cos5(x)dx=224cos5(x)dx\int 224 \cos^{5}{\left(x \right)}\, dx = 224 \int \cos^{5}{\left(x \right)}\, dx

      1. Rewrite the integrand:

        cos5(x)=(1sin2(x))2cos(x)\cos^{5}{\left(x \right)} = \left(1 - \sin^{2}{\left(x \right)}\right)^{2} \cos{\left(x \right)}

      2. Rewrite the integrand:

        (1sin2(x))2cos(x)=sin4(x)cos(x)2sin2(x)cos(x)+cos(x)\left(1 - \sin^{2}{\left(x \right)}\right)^{2} \cos{\left(x \right)} = \sin^{4}{\left(x \right)} \cos{\left(x \right)} - 2 \sin^{2}{\left(x \right)} \cos{\left(x \right)} + \cos{\left(x \right)}

      3. Integrate term-by-term:

        1. Let u=sin(x)u = \sin{\left(x \right)}.

          Then let du=cos(x)dxdu = \cos{\left(x \right)} dx and substitute dudu:

          u4du\int u^{4}\, du

          1. The integral of unu^{n} is un+1n+1\frac{u^{n + 1}}{n + 1} when n1n \neq -1:

            u4du=u55\int u^{4}\, du = \frac{u^{5}}{5}

          Now substitute uu back in:

          sin5(x)5\frac{\sin^{5}{\left(x \right)}}{5}

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

          (2sin2(x)cos(x))dx=2sin2(x)cos(x)dx\int \left(- 2 \sin^{2}{\left(x \right)} \cos{\left(x \right)}\right)\, dx = - 2 \int \sin^{2}{\left(x \right)} \cos{\left(x \right)}\, dx

          1. Let u=sin(x)u = \sin{\left(x \right)}.

            Then let du=cos(x)dxdu = \cos{\left(x \right)} dx and substitute dudu:

            u2du\int u^{2}\, du

            1. The integral of unu^{n} is un+1n+1\frac{u^{n + 1}}{n + 1} when n1n \neq -1:

              u2du=u33\int u^{2}\, du = \frac{u^{3}}{3}

            Now substitute uu back in:

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

          So, the result is: 2sin3(x)3- \frac{2 \sin^{3}{\left(x \right)}}{3}

        1. The integral of cosine is sine:

          cos(x)dx=sin(x)\int \cos{\left(x \right)}\, dx = \sin{\left(x \right)}

        The result is: sin5(x)52sin3(x)3+sin(x)\frac{\sin^{5}{\left(x \right)}}{5} - \frac{2 \sin^{3}{\left(x \right)}}{3} + \sin{\left(x \right)}

      So, the result is: 224sin5(x)5448sin3(x)3+224sin(x)\frac{224 \sin^{5}{\left(x \right)}}{5} - \frac{448 \sin^{3}{\left(x \right)}}{3} + 224 \sin{\left(x \right)}

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

      (70cos3(x))dx=70cos3(x)dx\int \left(- 70 \cos^{3}{\left(x \right)}\right)\, dx = - 70 \int \cos^{3}{\left(x \right)}\, dx

      1. Rewrite the integrand:

        cos3(x)=(1sin2(x))cos(x)\cos^{3}{\left(x \right)} = \left(1 - \sin^{2}{\left(x \right)}\right) \cos{\left(x \right)}

      2. Let u=sin(x)u = \sin{\left(x \right)}.

        Then let du=cos(x)dxdu = \cos{\left(x \right)} dx and substitute dudu:

        (1u2)du\int \left(1 - u^{2}\right)\, du

        1. Integrate term-by-term:

          1. The integral of a constant is the constant times the variable of integration:

            1du=u\int 1\, du = u

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

            (u2)du=u2du\int \left(- u^{2}\right)\, du = - \int u^{2}\, du

            1. The integral of unu^{n} is un+1n+1\frac{u^{n + 1}}{n + 1} when n1n \neq -1:

              u2du=u33\int u^{2}\, du = \frac{u^{3}}{3}

            So, the result is: u33- \frac{u^{3}}{3}

          The result is: u33+u- \frac{u^{3}}{3} + u

        Now substitute uu back in:

        sin3(x)3+sin(x)- \frac{\sin^{3}{\left(x \right)}}{3} + \sin{\left(x \right)}

      So, the result is: 70sin3(x)370sin(x)\frac{70 \sin^{3}{\left(x \right)}}{3} - 70 \sin{\left(x \right)}

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

      7cos(x)dx=7cos(x)dx\int 7 \cos{\left(x \right)}\, dx = 7 \int \cos{\left(x \right)}\, dx

      1. The integral of cosine is sine:

        cos(x)dx=sin(x)\int \cos{\left(x \right)}\, dx = \sin{\left(x \right)}

      So, the result is: 7sin(x)7 \sin{\left(x \right)}

    The result is: 128sin9(x)932sin7(x)+128sin5(x)526sin3(x)3+sin(x)\frac{128 \sin^{9}{\left(x \right)}}{9} - 32 \sin^{7}{\left(x \right)} + \frac{128 \sin^{5}{\left(x \right)}}{5} - \frac{26 \sin^{3}{\left(x \right)}}{3} + \sin{\left(x \right)}

  3. Now simplify:

    (640sin8(x)1440sin6(x)+1152sin4(x)390sin2(x)+45)sin(x)45\frac{\left(640 \sin^{8}{\left(x \right)} - 1440 \sin^{6}{\left(x \right)} + 1152 \sin^{4}{\left(x \right)} - 390 \sin^{2}{\left(x \right)} + 45\right) \sin{\left(x \right)}}{45}

  4. Add the constant of integration:

    (640sin8(x)1440sin6(x)+1152sin4(x)390sin2(x)+45)sin(x)45+constant\frac{\left(640 \sin^{8}{\left(x \right)} - 1440 \sin^{6}{\left(x \right)} + 1152 \sin^{4}{\left(x \right)} - 390 \sin^{2}{\left(x \right)} + 45\right) \sin{\left(x \right)}}{45}+ \mathrm{constant}


The answer is:

(640sin8(x)1440sin6(x)+1152sin4(x)390sin2(x)+45)sin(x)45+constant\frac{\left(640 \sin^{8}{\left(x \right)} - 1440 \sin^{6}{\left(x \right)} + 1152 \sin^{4}{\left(x \right)} - 390 \sin^{2}{\left(x \right)} + 45\right) \sin{\left(x \right)}}{45}+ \mathrm{constant}

The answer (Indefinite) [src]
  /                                              3             5             9            
 |                                  7      26*sin (x)   128*sin (x)   128*sin (x)         
 | cos(2*x)*cos(7*x) dx = C - 32*sin (x) - ---------- + ----------- + ----------- + sin(x)
 |                                             3             5             9              
/                                                                                         
sin(9x)18+sin(5x)10{{\sin \left(9\,x\right)}\over{18}}+{{\sin \left(5\,x\right)}\over{ 10}}
The graph
0.001.000.100.200.300.400.500.600.700.800.902-2
The answer [src]
  2*cos(7)*sin(2)   7*cos(2)*sin(7)
- --------------- + ---------------
         45                45      
5sin9+9sin590{{5\,\sin 9+9\,\sin 5}\over{90}}
=
=
  2*cos(7)*sin(2)   7*cos(2)*sin(7)
- --------------- + ---------------
         45                45      
7sin(7)cos(2)452sin(2)cos(7)45\frac{7 \sin{\left(7 \right)} \cos{\left(2 \right)}}{45} - \frac{2 \sin{\left(2 \right)} \cos{\left(7 \right)}}{45}
Numerical answer [src]
-0.072996956063994
-0.072996956063994
The graph
Integral of cos(2x)*cos(7x) dx

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