Mister Exam

Other calculators


(x^2+5x+6)*cos(2x)

Integral of (x^2+5x+6)*cos(2x) dx

Limits of integration:

from to
v

The graph:

from to

Piecewise:

The solution

You have entered [src]
  0                           
  /                           
 |                            
 |  / 2          \            
 |  \x  + 5*x + 6/*cos(2*x) dx
 |                            
/                             
-2                            
$$\int\limits_{-2}^{0} \left(x^{2} + 5 x + 6\right) \cos{\left(2 x \right)}\, dx$$
Integral((x^2 + 5*x + 6)*cos(2*x), (x, -2, 0))
Detail solution
  1. There are multiple ways to do this integral.

    Method #1

    1. Rewrite the integrand:

    2. Integrate term-by-term:

      1. Use integration by parts:

        Let and let .

        Then .

        To find :

        1. Let .

          Then let and substitute :

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

            1. The integral of cosine is sine:

            So, the result is:

          Now substitute back in:

        Now evaluate the sub-integral.

      2. Use integration by parts:

        Let and let .

        Then .

        To find :

        1. There are multiple ways to do this integral.

          Method #1

          1. Let .

            Then let and substitute :

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

              1. The integral of sine is negative cosine:

              So, the result is:

            Now substitute back in:

          Method #2

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

            1. Let .

              Then let and substitute :

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

                1. The integral of is when :

                So, the result is:

              Now substitute back in:

            So, the result is:

        Now evaluate the sub-integral.

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

        1. Let .

          Then let and substitute :

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

            1. The integral of cosine is sine:

            So, the result is:

          Now substitute back in:

        So, the result is:

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

        1. Use integration by parts:

          Let and let .

          Then .

          To find :

          1. Let .

            Then let and substitute :

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

              1. The integral of cosine is sine:

              So, the result is:

            Now substitute back in:

          Now evaluate the sub-integral.

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

          1. Let .

            Then let and substitute :

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

              1. The integral of sine is negative cosine:

              So, the result is:

            Now substitute back in:

          So, the result is:

        So, the result is:

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

        1. Let .

          Then let and substitute :

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

            1. The integral of cosine is sine:

            So, the result is:

          Now substitute back in:

        So, the result is:

      The result is:

    Method #2

    1. Use integration by parts:

      Let and let .

      Then .

      To find :

      1. Let .

        Then let and substitute :

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

          1. The integral of cosine is sine:

          So, the result is:

        Now substitute back in:

      Now evaluate the sub-integral.

    2. Use integration by parts:

      Let and let .

      Then .

      To find :

      1. Let .

        Then let and substitute :

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

          1. The integral of sine is negative cosine:

          So, the result is:

        Now substitute back in:

      Now evaluate the sub-integral.

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

      1. Let .

        Then let and substitute :

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

          1. The integral of cosine is sine:

          So, the result is:

        Now substitute back in:

      So, the result is:

    Method #3

    1. Rewrite the integrand:

    2. Integrate term-by-term:

      1. Use integration by parts:

        Let and let .

        Then .

        To find :

        1. Let .

          Then let and substitute :

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

            1. The integral of cosine is sine:

            So, the result is:

          Now substitute back in:

        Now evaluate the sub-integral.

      2. Use integration by parts:

        Let and let .

        Then .

        To find :

        1. Let .

          Then let and substitute :

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

            1. The integral of sine is negative cosine:

            So, the result is:

          Now substitute back in:

        Now evaluate the sub-integral.

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

        1. Let .

          Then let and substitute :

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

            1. The integral of cosine is sine:

            So, the result is:

          Now substitute back in:

        So, the result is:

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

        1. Use integration by parts:

          Let and let .

          Then .

          To find :

          1. Let .

            Then let and substitute :

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

              1. The integral of cosine is sine:

              So, the result is:

            Now substitute back in:

          Now evaluate the sub-integral.

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

          1. Let .

            Then let and substitute :

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

              1. The integral of sine is negative cosine:

              So, the result is:

            Now substitute back in:

          So, the result is:

        So, the result is:

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

        1. Let .

          Then let and substitute :

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

            1. The integral of cosine is sine:

            So, the result is:

          Now substitute back in:

        So, the result is:

      The result is:

  2. Add the constant of integration:


The answer is:

The answer (Indefinite) [src]
  /                                                                                                   
 |                                                                           2                        
 | / 2          \                   5*cos(2*x)   11*sin(2*x)   x*cos(2*x)   x *sin(2*x)   5*x*sin(2*x)
 | \x  + 5*x + 6/*cos(2*x) dx = C + ---------- + ----------- + ---------- + ----------- + ------------
 |                                      4             4            2             2             2      
/                                                                                                     
$${{{{\left(4\,x^2-2\right)\,\sin \left(2\,x\right)+4\,x\,\cos \left( 2\,x\right)}\over{4}}+{{5\,\left(2\,x\,\sin \left(2\,x\right)+\cos \left(2\,x\right)\right)}\over{2}}+6\,\sin \left(2\,x\right)}\over{2 }}$$
The graph
The answer [src]
5   cos(4)   sin(4)
- - ------ - ------
4     4        4   
$${{5}\over{4}}-{{\sin 4+\cos 4}\over{4}}$$
=
=
5   cos(4)   sin(4)
- - ------ - ------
4     4        4   
$$- \frac{\cos{\left(4 \right)}}{4} - \frac{\sin{\left(4 \right)}}{4} + \frac{5}{4}$$
Numerical answer [src]
1.60261152904289
1.60261152904289
The graph
Integral of (x^2+5x+6)*cos(2x) dx

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