Calculus/Integration techniques

From testwiki
Jump to navigation Jump to search

Approximation Techniques

Riemann Sum

Right Rectangle

Left Rectangle

Trapezoid

Simpson's Rule

For a given function, f(x), the area below the curve can be approximated using a cubic equation (many books quote quadratic). An even number of strips must be chosen for the formula to work correctly. The formula is:

A=h3[y0+yn+4(y1+y3+...+yn1)+2(y2+y4+...+yn2)] where h is the width of the strip

Other Numerical Approximation Techniques

Because from first principles, f(x)=limh0f(x+h)f(x)h

Rearranging, f(x+h)f(x)+hf(x)

This approximation is more accurate as h approaches 0.

Exact Integrals via Infinite Sums

Recognizing Derivatives and Reversing Derivative Rules

If we recognize a function g(x) as being the derivative of a function f(x), then we can easily express the antiderivative of g(x):

g(x)dx=f(x)+C.

For example, since

ddxsinx=cosx

we can conclude that

cosxdx=sinx+C.

Similarly, since we know ex is its own derivative,

exdx=ex+C.


The power rule for derivatives can be reversed to give us a way to handle integrals of powers of x. Since

ddxxn=nxn1,

we can conclude that

nxn1dx=xn+C,

or, a little more usefully,

xndx=xn+1n+1+C.

Integration by Substitution

For many integrals, a substitution can be used to transform the integrand and make possible the finding of an antiderivative. There are a variety of such substitutions, each depending on the form of the integrand.

Integrating with the derivative present

If a component of the integrand can be viewed as the derivative of another component of the integrand, a substitution can be made to simplify the integrand.

For example, in the integral

3x2(x3+1)5dx

we see that 3x2 is the derivative of x3+1. Letting

u=x3+1

we have

dudx=3x2

or, in order to apply it to the integral,

du=3x2dx.

With this we may write 3x2(x3+1)5dx=u5du=16u6+C=16(x3+1)6+C.

Note that it was not necessary that we had exactly the derivative of u in our integrand. It would have been sufficient to have any constant multiple of the derivative.

For instance, to treat the integral

x4sin(x5)dx

we may let u=x5. Then

du=5x4dx

and so

15du=x4dx

the right-hand side of which is a factor of our integrand. Thus,

x4sin(x5)dx=15sinudu=15cosu+C=15cosx5+C.

In general, the integral of a power of a function times that function's derivative may be integrated in this way. Since d[g(x)]dx=g(x),

we have dx=d[g(x)]g(x).

Therefore, g(x)[g(x)]ndx =g(x)[g(x)]nd[g(x)]g(x)
=[g(x)]nd[g(x)]
=[g(x)]n+1n+1

Integration by Parts

If y = u v where u and v are functions of x,

Then y=(uv)=vu+uv

Rearranging, uv=(uv)vu

Therefore, uvdx=(uv)dxvudx

Therefore, uvdx=uvvudx, or

udv=uvvdu.

This is the integration by parts formula. It is very useful in many integrals involving products of functions, as well as others.

For instance, to treat

xsinxdx

we choose u=x and dv=sinxdx. With these choices, we have du=dx and v=cosx, and we have

xsinxdx=xcosx(cosx)dx=xcosx+cosxdx=xcosx+sinx+C.

Note that the choice of u and dv was critical. Had we chosen the reverse, so that u=sinx and dv=xdx, the result would have been

12x2sinx12x2cosxdx.

The resulting integral is no easier to work with than the original; we might say that this application of integration by parts took us in the wrong direction.

So the choice is important. One general guideline to help us make that choice is, if possible, to choose u to be the factor of the integrand which becomes simpler when we differentiate it. In the last example, we see that sinx does not become simpler when we differentiate it: cosx is no simpler than sinx.

An important feature of the integration by parts method is that we often need to apply it more than once. For instance, to integrate

x2exdx,

we start by choosing u=x2 and dv=ex to get

x2exdx=x2ex2xexdx.

Note that we still have an integral to take care of, and we do this by applying integration by parts again, with u=x and dv=exdx, which gives us

x2exdx=x2ex2xexdx=x2ex2(xexex)+C=x2ex2xexex+C.

So, two applications of integration by parts were necessary, owing to the power of x2 in the integrand.

Note that any power of x does become simpler when we differentiate it, so when we see an integral of the form

xnf(x)dx

one of our first thoughts ought to be to consider using integration by parts with u=xn. Of course, in order for it to work, we need to be able to write down an antiderivative for dv.

Integration by Partial Fractions

It is possible to convert a rational function into a sum of simpler rational expressions.

In all cases, we begin with an integrand which is a rational function in which the degree of the numerator is less than the degree of the denominator. To apply the method to integrands for which the numerator has degree that is not less than the degree of the denominator, one must manipulate the integrand into that form. For instance, to evaluate

x3+x+2x2+3dx

we begin by writing

x3+x+2x2+3=x2xx2+3

and then apply the partial fractions method to the rational function.

We then factor the denominator completely. The fundamental theorem of algebra tells us that we can always factor a polynomial into linear and irreducible quadratic factors. This gives us four cases to consider.

When the denominator factors as a product of distinct linear factors

When the denominator is a product of distinct linear factors, we can write the integrand as a sum of rational functions of the form

Aax+b

with one term for each of the factors of the denominator.

For example, to evaluate the integral

xx2+7x+10dx

we first factor the denominator

x(x2+7x+10)=x(x+2)(x+5).

Then we write

x(x+2)(x+5)=Ax+2+Bx+5

and solve for A and B. This equation can be transformed to

x=A(x+5)+B(x+2).

Letting x=5, we conclude that B=5/3. Letting x=2, we conclude that A=2/3.

Thus,

xx2+7x+10dx=x(x+2)(x+5)dx=(2/3x+2+5/3x+5)dx=23ln|x+2|+53ln|x+5|+C.


When the denominator factors into linear factors, at least one repeated

f(x)(ax+b)n(cx+d)m=A(ax+b)n+B(ax+b)n1+...+Dax+b+E(cx+d)m+F(cx+d)m1+...+Hcx+d

When the denominator's factors include distinct, irreducible quadratic factors

f(x)(ax2+bx+c)(dx+e)=Ax+Bax2+bx+c+Cdx+e

When the denominator's factors include repeated irreducible quadratic factors

Therefore, f(x)(ax2+bx+c)n(dx+e)m =Ax+B(ax2+bx+c)n+Cx+D(ax2+bx+c)n1+...+Gx+Hax2+bx+c
+I(dx+e)m+J(dx+e)m1+...+Ldx+e

Template:Wikipedia Template:Wikipedia Template:Wikipedia Template:Wikipedia

Template:Calculus:TOC