Processing math: 100%

Integrals Involving sin x , cos x and Exponential Functions

Tutorial to find integrals involving the product of   sin x   or   cos x   with exponential functions. Exercises with answers are at the bottom of the page.
All the integrals included in the examples belo are evaluated using Integration by Parts given by:
Integration by Parts Rule
The integration by parts helps in evaluating integral of product of functions of the form U dV/dx .

Examples

In what follows, C is the constant of integration.

Example 1

Evaluate the integral sin(x)exdx Solution to Example 1:
Let u=sin(x) and dvdx=ex which gives u=cos(x) and v=exdx=ex.
Use the integration by parts Integration by Parts Rule as follows
integral of sin(x) e^x by parts
We apply the integration by parts to the term cos(x)exdx in the expression above, hence
integral of sin(x) e^x by parts a second time
Simplify the above and rewrite as

Simplify Integral Step 1
Note that the term on the right is the integral we are trying to evaluate, hence the above may be written as follows
Simplify Integral Step 2
Hence the integral is given by
Simplify Integral Step 3


Example 2

Evaluate the integral

cos(2x)exdx Solution to Example 2:
Substitution: Let u=cos(2x) and dvdx=ex which gives u=2sin(2x) and v=exdx=ex :
Apply the integration by parts: Integration by Parts Rule
cos(2x)exdx=cos(2x)ex2sin(2x)exdx
= cos(2x)ex+2sin(2x)exdx
Apply integration by parts to the term on the right
= cos(2x)ex+2(sin(2x)ex2cos(2x)exdx)
= cos(2x)ex+2sin(2x)ex4cos(2x)exdx
Note that the term on the right is related to the integral we are trying to evaluate, we can write that
5cos(2x)exdx=cos(2x)ex+2sin(2x)ex
The given integral is evaluated as cos(2x)exdx=15ex(cos(2x)+2sin(2x))+C


Example 3

Evaluate the integral sin(3x+2)e3xdx Solution to Example 3:
Substitution: Let u=sin(3x+2) and dvdx=e3x which gives u=3cos(3x+2) and v=e3xdx=13e3x.
Apply the integration by parts
sin(3x+2)e3xdx=sin(3x+2)13e3xcos(3x+2)13e3xdx
Apply the integration by parts one more time to the term cos(3x+2)e3xdx
sin(3x+2)e3xdx=13sin(3x+2)e3x(cos(3x+2)13e3x+sin(3x+2)e3xdx)
Note that the term on the right is the integral to be evaluated, hence the above may be written as
2sin(3x+2)e3xdx=13sin(3x+2)e3x=13sin(3x+2)e3x(cos(3x+2)13e3x
Divide all terms by 2 and simplify sin(3x+2)e3xdx=16e3x(sin(3x+2)cos(3x+2))+C


Example 4

Evaluate the integral cos(4x)e2x+5dx
Solution to Example 4:
Substitution: Let u=cos(4x) and dvdx=e2x+5 and apply the integration by parts twice
cos(4x)e2x+5dx=cos(4x)12e2x+5+2sin(4x)e2x+5dx
= cos(4x)12e2x+5+2{sin(4x)12e2x+52cos(4x)e2x+5dx}
The term on the right is the integral to be evaluated, hence cos(4x)e2x+5dx=110e2x+5(cos(4x)+2sin(4x))+C


Exercises

Evaluate the following integrals.
1. cos(x)exdx
2. sin(2x)e3xdx
3. cos(3x+5)e5xdx
4. sin(4x+3)e2x+1dx


Answers to Above Exercises

1. 12ex(cos(x)+sin(x))+C
2. 113e3x(3sin(2x)2cos(2x))+C
3. 134e5x(5cos(3x+5)3sin(3x+5))+C
4. 110e2x+1(2cos(4x+3)sin(4x+3))+C


More References and links