INTEGRATION TECHNIQUES:

48
INTEGRATION INTEGRATION TECHNIQUES: TECHNIQUES:

description

INTEGRATION TECHNIQUES:. INTEGRATION… WHAT DO WE KNOW SO FAR?. In terms of getting integrals, we know how to do basic anti-differentiation with power functions, trig functions and exponential functions. - PowerPoint PPT Presentation

Transcript of INTEGRATION TECHNIQUES:

Page 1: INTEGRATION TECHNIQUES:

INTEGRATION INTEGRATION TECHNIQUES:TECHNIQUES:INTEGRATION INTEGRATION TECHNIQUES:TECHNIQUES:

Page 2: INTEGRATION TECHNIQUES:

INTEGRATION… WHAT DO WE KNOW SO FAR?

• In terms of getting integrals, we know how to do basic anti-differentiation with power functions, trig functions and exponential functions.

• We started some techniques using “u-substitution” to solve integrals. More or less, “a reverse chain rule.”

• We also did area, volume, and other physical applications using the definite integral.

• This chapter is devoted to the indefinite integral.

Page 3: INTEGRATION TECHNIQUES:

1) U-SUBSTITUTIONREVISITED

• Just to freshen your minds, let’s do a u-substitution problem. There is a little catch to it…

• For this problem, it is preferable to pick u = x+2, since du can never be in the denominator.

• Use algebra to give a name for x+1. Since x=u-2, then x+1 would be u -2+1 or u-1.

• After putting everything in, do the integration.

• Note that in the final answer, the constant 2 does not need to be there, since C is more general.

Cxx

xx

uu

duu

duu

u

dxdu

uux

ux

xu

dxx

x

2ln

2ln2

ln

11

1

1121

2

22

1

Page 4: INTEGRATION TECHNIQUES:

PRODUCT RULE FLASHBACK

• Remember back in Chapter 2, we mentioned the product rule? Looked like the following…

vduudvuvddx

duv

dx

dvu

dx

uvd

)(

)(In regular form….

Or differential form….

Page 5: INTEGRATION TECHNIQUES:

2) INTEGRATION BY PARTS

• If you play around with the differentials, you will get the following.

• If you integrate both sides, you get what is known as the INTEGRATION BY INTEGRATION BY PARTS FORMULAPARTS FORMULA

vduuvudv

vduuvdudv

vduuvdudv

)(

)(

Page 6: INTEGRATION TECHNIQUES:

EXAMPLE#1• Integrate x*exdx.• STEP 1:• Pick your “u” and “dv.” • TRICK: L.I.P.E.T. This determines

what u should be initially. Logarithm, Inverse, Power, Exponential, and Trig functions.

• In this problem, a power function and an exponential function are present. Since power (P) comes before exponential (E), u should equal x.

• From the u, find du. From the dv, find v.

• Therefore u=x, then du=dx! Don’t forget that.

• Simply plug this into the “parts formula.”

dxedv

ev

dxdu

xu

dxxe

x

x

x

Page 7: INTEGRATION TECHNIQUES:

EXAMPLE#1• I = integral to be

solved.• Plug in u, v, du, and

dv.• If the integral on the

right looks easy to compute, then simply integrate it.

• Don’t forget the +C!

CexeI

dxexeI

vduuvudvI

xx

xx

Page 8: INTEGRATION TECHNIQUES:

EXAMPLE#2• Integrate the function…

xdxex sin

Page 9: INTEGRATION TECHNIQUES:

EXAMPLE#2• Step 1: Find the u

and dv:• An exponential and a

trig function is present.

• E (exponential) comes before T (trig).

• Use the exponential function for u. xv

xdxdv

dxedu

eu

xdxe

x

x

x

cos

sin

sin

Page 10: INTEGRATION TECHNIQUES:

EXAMPLE#2• Step#2: Plug u, du, v

and dv into the formula• Simplify…• If the last integral is easy

to compute, compute it.• However, it is not easy.

In fact, we are in more mess than we started in. Looks like we have to use the integration by parts rule again.

xdxexeI

Ixdxe

vduuvudvI

xx

x

coscos

sin

Page 11: INTEGRATION TECHNIQUES:

EXAMPLE#2• Use integration by parts again.

Since there is an exponential function, call that “u.” After finding u, du, v, and dv, plug those values in the “Parts equation” and see what happens…

• We have even more of a mess……but wait! The integral of exsin(x) is supposed to be equal to I (the integral we wanted to solve for in the first place!!).

• So we can replace the integral of exsin(x) with I and add it to both sides.

• You will see that it works out.

• Always add the constant

Cxexe

I

xexeI

IIxexeII

xdxeI

xdxexexeI

xdxdv

xv

dxedu

eu

xdxexeI

xx

xx

xx

x

xxx

x

x

xx

2

sincos

sincos2

sincos

sin

sinsincos

cos

sin

coscos

Page 12: INTEGRATION TECHNIQUES:

RULE OF THUMB WITH INTEGRATION BY PARTS

PROBLEMS• Always pick the right “u.” If the problem is

getting really difficult, maybe you picked the wrong “u.” Just like in u-substitution. You had to pick the right “u” to work with the problem.

• If the integral on the right does not look easy to compute, then do integration by parts for that integral only.

• If you see the resulting integral looks like the integral you are asked to solve for in the first place, then simply combine the two like integrals and use algebra to solve for the integral.

Page 13: INTEGRATION TECHNIQUES:

3) TRIGONOMETRIC INTEGRALS

• You will always get the situation of funny combination of integrals. Trig functions are as such that you can translate from one function to a function with just sines and cosines. For example, you can always write tan, sec, csc, cot in terms of either sine or cosine.

• Remember the following identities from PRE-CALCULUS!!!

Page 14: INTEGRATION TECHNIQUES:

IMPORTANT IDENTITIES

xx

xx

xx

xx

xx

xxxxx

xxx

2cos12

1sin

2cos12

1cos

csc1cot

sec1tan

1sincos

sincossin211cos22cos

cossin22sin

2

2

22

22

22

2222

Page 15: INTEGRATION TECHNIQUES:

PROCEDURE• Well… I’m afraid to say it, but

there is really no procedure or real template in attacking these problems except proper planning.

• This takes a great deal of practice

Page 16: INTEGRATION TECHNIQUES:

EXAMPLE# 1• Given:• Best thing to do is to

break the cosine function down to a 2nd degree multiplied by a 1st degree cosine.

• Since cos2x=1-sin2x, you can replace it.

• Use u-substitution to solve the integral.

Cx

xu

u

duu

xdxdu

xu

xdxx

xdxx

xdx

3

sinsin

3

1

cos

sin

cossin1

coscos

cos

33

2

2

2

3

Page 17: INTEGRATION TECHNIQUES:

EXAMPLE#2• Given• Break the 4th degree

sine to two 2nd degre sines.

• Use the sin2x theorem.

• Expand the binomial squared.

• For the cos22x, use the cos2x theorem.

• Simplify• Don’t forget the +C!

Cxx

x

dxx

x

dxx

x

dxxx

dxxdxx

dxxx

xdx

32

4sin

4

2sin

8

3

2

4cos

2

32cos2

4

1

2

4cos

2

12cos21

4

1

2cos2cos214

1

2cos14

1

2

2cos1

sinsin

sin

2

22

22

4

Page 18: INTEGRATION TECHNIQUES:

EXAMPLE #3• Whenever you see a

tan, sec, csc, or cot, always convert them to sines and cosines. This way, you can cancel or combine whenever necessary.

• In this case, tan2x=sin2x/cos2x. We are also lucky that the cos2x cancels.

• Using the sin2x theorem, we can simply integrate.

Cx

x

xdx

xdx

dxx

xx

xdxx

2

2sin

2cos1

sin

cos

sincos

tancos

2

2

22

22

Page 19: INTEGRATION TECHNIQUES:

NOTE ABOUT TRIGONOMETRIC

INTEGRALS• There is no real rule for such integrals.

But always remember:• 1) If there is a mix of sines and cosines,

break them up until they resemble an easier form

• 2) Use any trig theorem that would be relevant to make a problem simpler.

• 3) Convert everything to sines or cosines.

Page 20: INTEGRATION TECHNIQUES:

4) TRIGONOMETRIC SUBSTITUTION

• Remember when we took derivatives of inverse trigonometric functions, we commonly dealt with sums or differences of squares.

• Similarly, integrating sums of differences of square will lead us to the inverse trig functions.

• However we need a stepping stone to integrate such functions.

Page 21: INTEGRATION TECHNIQUES:

GENERAL PROCEDURE

sec

tan

sin

au

au

au

22

22

22

au

ua

ua

Given that a is a constant, and u is a function, then follow the

Page 22: INTEGRATION TECHNIQUES:

THETA?• Since we are working with a

substitution, theta would be the variable to use subsitution…

• Doesn’t make sense? Let’s do an example problem…

Page 23: INTEGRATION TECHNIQUES:

EXAMPLE #1• Initially a very bad looking

problem…• Focus on the denominator,

inside the radical, you have 9-x2. In effect, that is a2-u2, a being 3 and u being x. If a2-u2 is used, then according to the table in the last slide, we would use u=a sin.

• You already found a name for x. You need to give a name for “dx.” Differentiate x with respect to . Solve for dx.

dx

x

x2

2

9

ddx

x

au

a

xu

cos3

sin3

sin

3

Page 24: INTEGRATION TECHNIQUES:

EXAMPLE #1• Here is the original

problem…• With the

substitutions of x and dx, here is the original problem…

• Simplify a little…• Pull out constants

when needed.

dd

d

d

dxx

x

2

2

2

2

2

2

2

2

2

2

sin1

cossin9cos

sin1

sin9

cos3sin99

sin9

cos3sin39

sin3

9

Page 25: INTEGRATION TECHNIQUES:

EXAMPLE #1• The denominator is

actually cos2x, according to the trig theorem. (Memorize them!)

• Simplify• Integrate

• We have our answer in terms of !!! We need it in terms of x!

2

2sin9

2cos19sin9

cos

cossin9

cos

cossin9

sin1

cossin9

2

2

2

2

2

2

dd

dd

d

Page 26: INTEGRATION TECHNIQUES:

EXAMPLE #1• Don’t forget what

we said earlier. That x=3 sin . We need to know what is in order to find out the solution in terms of x.

9

929

3

1

32

cossin22sin

cos93

1

cos9

9

1cos9

1cossin

3arcsin

sin3

sin3

22

2

22

22

22

xxx

x

xx

xx

xx

xx

x

x

x

Page 27: INTEGRATION TECHNIQUES:

EXAMPLE #1• Simply replace all

the q expressions with x expressions.

• Simplify• Add constant!!

• Sighs!! We’re finished!!!

Cxxx

xxx

2

2

93

arcsin9

9

9

3arcsin9

2

2sin9

Page 28: INTEGRATION TECHNIQUES:

That was a LOT of work!!!

• Here are trig substitution steps…• 1) Find the correct equality statement

using the table.• 2) Make the proper substitutions.

Remember to have a substitute for x as well as dx.

• 3) Integrate in terms of .• 4) Convert all terms to x terms.

Page 29: INTEGRATION TECHNIQUES:

5) RATIONAL FUNCTIONS

• Of course, there will always be functions in the form of a ratio of two functions.

• Two integrate most rational functions, the method of partial fractions come into play.

• <<Break from Calculus… entering Algebra Territory>>

Page 30: INTEGRATION TECHNIQUES:

PARTIAL FRACTIONS• This means you take a fraction

and break it down into a sum of many fractions.

• This way, we can add up the integrals of simpler easier fractions.

Page 31: INTEGRATION TECHNIQUES:

EXAMPLE• Given• The denominator could

be factored to (x+5)(x-2). This way we could have new denominators for the two new fractions.

• Add these new fractions and distribute. Make sure you bring all x terms together, as well as bringing all the constants together.

25

52

25

52

25

52

25

52

2525

9103

92

xx

BABAx

xx

BABxAx

xx

BBxAAx

xx

xBxA

x

B

x

A

xx

x

dxxx

x

Page 32: INTEGRATION TECHNIQUES:

EXAMPLE• The coefficient of x on the

right side is 1. In order to keep the equality true, the coefficient of x on the left side should also equal 1.

• A+B=1• Same thing with the constant.

If the equality holds true, then -2A+5B must equal -9.

• To solve for A and B, you use methods from algebra. <System of linear equations>.

• If you multiply A+B=1 by 2, you will see that B=-1. Therefore A=2.

1

952

1

25

9

25

52

B

BA

BA

xx

x

xx

BABAx

Page 33: INTEGRATION TECHNIQUES:

EXAMPLE• Since A=2 and B=-

1, we can simply plug them in.

• And integrate!!!

• And the final answer!! Cxx

dxx

dxx

dxxx

x

B

x

A

2ln5ln22

1

5

12

2

1

5

225

Page 34: INTEGRATION TECHNIQUES:

ANOTHER EXAMPLE• Given• Note: If the

numerator has a higher degree than the denominator, then do long polynomial division.

• If you actually do the long division, you will get x-1-1/(x+1). This is very easy to integrate.

Cxxx

dxx

xdxx

x

dxx

x

1ln2

1

11

1

1

2

2

2

Page 35: INTEGRATION TECHNIQUES:

POINTERS OF PARTIAL FRACTIONS

• 1) Check if the top degree is bigger than the bottom. If so, perform long division

• 2) If the denominator is factorable, then assume that the denominators of the new fractions will be those factors.

Page 36: INTEGRATION TECHNIQUES:

6) QUADRATIC DENOMINATOR

PROBLEMS• This is really no different than

trigonometric substitution.• Strictly rational functions with a

quadratic denominator that cannot be reduced.

• To make the denominator easier to work with, you must complete the square

Page 37: INTEGRATION TECHNIQUES:

COMPLETING THE SQUARE

• Given problem:• Look at the denominator.

Take the coefficient of x and divide it by 2.

• Take this result and square it.

• 4/2 =22=4• This result would form a

perfect square when added to x2+4x.

• The perfect square would be (x+2)2.

• However, we have a 5. If you add and subtract 4, combining 5 and -4 will yield 1.

• You have a form of u2+a2! Time for trig substitution!

dxx

xdx

xx

x

dxxx

x

dxxx

x

12

23

144

23

4454

2354

23

22

2

2

Page 38: INTEGRATION TECHNIQUES:

EXAMPLE• Since we have

u2+a2, we must use the fact of u=a*tan().

• u=x+2 while a=1• Substitute the

values in appropriate spots.

dx

ddx

x

x

au

a

xu

dxx

x

1tan

22tan3

sec

2tan

tan2

tan

1

2

12

23

2

2

2

Page 39: INTEGRATION TECHNIQUES:

EXAMPLE (work)

82cos4

3

82sin2

3

8sec

tan3

secsec

8tan3

sec1tan

26tan3

sec1tan

22tan3

2

22

22

22

d

d

d

d

d

Cxxx

xx

xx

xx

x

x

2arctan854

1

2

3

82cos4

3

154

122cos

1cos22cos

cos54

1

sec54

sec12

sec1tan

tan2

2

2

2

22

22

22

22

Page 40: INTEGRATION TECHNIQUES:

POINTERS• 1) Make the denominator into one

of the three forms that allows trig substitution by the use of completing the square.

• 2) Follow rules of trig substitution.

Page 41: INTEGRATION TECHNIQUES:

7) IMPROPER INTEGRALS

• This is not an integral evaluating technique.

• An improper integral is basically an integral that has infinity as its limits or has a discontinuity within its limits.

Page 42: INTEGRATION TECHNIQUES:

IMPROPER INTEGRALS

0dxe x

2

3 2

1dx

x

• Examples of improper integrals:

Page 43: INTEGRATION TECHNIQUES:

IMPROPER INTEGRALS• With limits of infinity,

just use a letter to replace the infinity and treat as a limit.

• And integrate as if nothing ever happened

• Don’t forget to use the limit.

• Amazing! As we start from 0 to infinity, we get closer to 1 square unit of area! We say that it converges to 1.

b x

b

x dxedxe00

lim

1101lim

limlim

lim

00

00

b

b

b

b

bx

b

b x

b

x

e

eee

dxedxe

Page 44: INTEGRATION TECHNIQUES:

IMPROPER INTEGRALS• Since we have a discontinuity in

this function at x=-2. To take this into account, we must split the integral into two parts. In addition, we cannot go exactly -2, but we have to get there pretty darn close. Therefore, we must use the one-sided limits from Chapter 1 to represent this. Two integrals: one from -3 to a little before -2, and a little after -2 to 2.

• Other than that, simply integrate

• Notice how we got an answer that don’t exist!! D.N.E (does not exist)! This means that this integral diverges. Also if an integral goes to infinity, it diverges.

...4ln00ln4ln1ln0ln

22ln22lnlim1ln22lnlim

2lnlim2lnlim

2

1lim

2

1lim

2

20

2

30

2

20

2

30

2

20

2

30

end

hh

xx

dxx

dxx

hh

h

h

hh

h

h

hh

h

h

2

20

2

30

2

3 2

1lim

2

1lim

2

1hh

h

hdx

xdx

xdx

x

Page 45: INTEGRATION TECHNIQUES:

POINTERS OF IMPROPER INTEGRALS

• Remember to identify all the points of discontinuity. Remember to use limits before and after the points of discontinuity.

• If you have infinity as your limit, remember to use infinity as your limit.

• Other than that, use ALL of the previous techniques of integration mentioned.

Page 46: INTEGRATION TECHNIQUES:

FUNCTIONS WITHOUT AN ANTIDERIVATIVE

• Besides three more chapters, this is the last of the single variable calculus. That is to say: y=f(x) in 2-dimensional x,y graph.

• Before moving on, I must admit… even though all continuous functions have derivatives, not all continuous functions have simple integrals in terms of elementary functions.

• Elementary functions are adding, subtracting, multiplication, division, power, rooting, exponential, logarithmic, trigonometric, all of their inverses as well as combinations or composition functions. Basically, all the functions you ever used were composed of elementary functions.

• Some functions do not have elementary antiderivatives. For example… the classic (sin x)/x problem.

• No matter what method you tried. Neither by u-substitution, integration by parts, trig substitution, partial fractions, or even guess and check will get you an antiderivative.

• From my experience from differential equations class last year, the integral of sin(x)/x is Si(x) also known as the sine integral!

• YOU DON’T NEED TO KNOW THAT!!!!

Page 47: INTEGRATION TECHNIQUES:

OUTTA THIS WORLD FUNCTIONS!!!!!!!

• You will be dealing with functions like erf(x), Si(x), Ci(x), Shi(x), Chi(x), FresnelS(x), and FresnelC(x). Take their derivatives and you’ll get regular “sane” functions. AAHHH!!! HARI BOL!!!!

Page 48: INTEGRATION TECHNIQUES:

SUMMARY• Actually, for once, looking at the length and material of

this chapter. I am quite amazed to say that I have no words to summarize this chapter. There has been so many methods of integration. Namely u-substitution, integration by parts, how to deal with trig integrals, trig substitution, partial fractions, quadratic denominators, and improper integrals.

• All I can say is that review this material over again!!!• Like I said previously, there is no set way to do these

problems. There are more than one way of doing it.• You have to know what to do when which problem

arrives at you.