Mister Exam

Other calculators

Integral of (x-7)*(-sin(3x)+5cos(3x)) dx

Limits of integration:

from to
v

The graph:

from to

Piecewise:

The solution

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

    Method #1

    1. Rewrite the integrand:

    2. Integrate term-by-term:

      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 sine is negative cosine:

              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 cosine is sine:

              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. 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 sine is negative cosine:

            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. 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. Rewrite the integrand:

    2. Integrate term-by-term:

      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 sine is negative cosine:

              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 cosine is sine:

              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. 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 sine is negative cosine:

            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. 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]
  /                                                                                                
 |                                           106*sin(3*x)   16*cos(3*x)   x*cos(3*x)   5*x*sin(3*x)
 | (x - 7)*(-sin(3*x) + 5*cos(3*x)) dx = C - ------------ - ----------- + ---------- + ------------
 |                                                9              9            3             3      
/                                                                                                  
$$\int \left(x - 7\right) \left(- \sin{\left(3 x \right)} + 5 \cos{\left(3 x \right)}\right)\, dx = C + \frac{5 x \sin{\left(3 x \right)}}{3} + \frac{x \cos{\left(3 x \right)}}{3} - \frac{106 \sin{\left(3 x \right)}}{9} - \frac{16 \cos{\left(3 x \right)}}{9}$$
The graph
The answer [src]
                          ___        ___        ___
53       ___   5*pi   8*\/ 3    pi*\/ 3    pi*\/ 2 
-- - 5*\/ 2  - ---- + ------- - -------- + --------
9              108       9        108         6    
$$- 5 \sqrt{2} - \frac{5 \pi}{108} - \frac{\sqrt{3} \pi}{108} + \frac{\sqrt{2} \pi}{6} + \frac{8 \sqrt{3}}{9} + \frac{53}{9}$$
=
=
                          ___        ___        ___
53       ___   5*pi   8*\/ 3    pi*\/ 3    pi*\/ 2 
-- - 5*\/ 2  - ---- + ------- - -------- + --------
9              108       9        108         6    
$$- 5 \sqrt{2} - \frac{5 \pi}{108} - \frac{\sqrt{3} \pi}{108} + \frac{\sqrt{2} \pi}{6} + \frac{8 \sqrt{3}}{9} + \frac{53}{9}$$
53/9 - 5*sqrt(2) - 5*pi/108 + 8*sqrt(3)/9 - pi*sqrt(3)/108 + pi*sqrt(2)/6
Numerical answer [src]
0.902074864549442
0.902074864549442

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