Calculus/Indefinite integral

From testwiki
Jump to navigation Jump to search

Template:Calculus/Top Nav

Definition

Now recall that F is said to be an antiderivative of f if F(x)=f(x) . However, F is not the only antiderivative. We can add any constant to F without changing the derivative. With this, we define the indefinite integral as follows:

Template:Calculus/Def

The function f(x) , the function being integrated, is known as the integrand. Note that the indefinite integral yields a family of functions.

Example

Since the derivative of x4 is 4x3, the general antiderivative of 4x3 is x4 plus a constant. Thus,

4x3dx=x4+C

Example: Finding antiderivatives

Let's take a look at 6x2 . How would we go about finding the integral of this function? Recall the rule from differentiation that

ddxxn=nxn1

In our circumstance, we have:

ddxx3=3x2

This is a start! We now know that the function we seek will have a power of 3 in it. How would we get the constant of 6? Well,

2ddxx3=2×3x2=6x2

Thus, we say that 2x3 is an antiderivative of 6x2 .

Exercises

Template:Question-answer

Template:Question-answer Template:Noprint

Indefinite integral identities

Basic Properties of Indefinite Integrals

Template:Calculus/Def

Template:Calculus/Def

Indefinite integrals of Polynomials

Say we are given a function of the form, f(x)=xn , and would like to determine the antiderivative of f . Considering that

ddx1n+1xn+1=xn

we have the following rule for indefinite integrals:

Template:Calculus/Def

Integral of the Inverse function

To integrate f(x)=1x , we should first remember

ddxln(x)=1x

Therefore, since 1x is the derivative of ln(x) we can conclude that

Template:Calculus/Def

Note that the polynomial integration rule does not apply when the exponent is 1 . This technique of integration must be used instead. Since the argument of the natural logarithm function must be positive (on the real line), the absolute value signs are added around its argument to ensure that the argument is positive.

Integral of the Exponential function

Since

ddxex=ex

we see that ex is its own antiderivative. This allows us to find the integral of an exponential function: Template:Calculus/Def

Integral of Sine and Cosine

Recall that

ddxsin(x)=cos(x)
ddxcos(x)=sin(x)

So sin(x) is an antiderivative of cos(x) and cos(x) is an antiderivative of sin(x) . Hence we get the following rules for integrating sin(x) and cos(x)

Template:Calculus/Def

We will find how to integrate more complicated trigonometric functions in the chapter on integration techniques.

Example

Suppose we want to integrate the function f(x)=x4+1+2sin(x) . An application of the sum rule from above allows us to use the power rule and our rule for integrating sin(x) as follows,

f(x)dx =(x4+1+2sin(x))dx
=x4dx+1dx+2sin(x)dx
=x55+x2cos(x)+C .

Exercises

Template:Question-answer

Template:Question-answer Template:Noprint

The Substitution Rule

The substitution rule is a valuable asset in the toolbox of any integration greasemonkey. It is essentially the chain rule (a differentiation technique you should be familiar with) in reverse. First, let's take a look at an example:

Preliminary Example

Suppose we want to find xcos(x2)dx . That is, we want to find a function such that its derivative equals xcos(x2) . Stated yet another way, we want to find an antiderivative of f(x)=xcos(x2) . Since sin(x) differentiates to cos(x) , as a first guess we might try the function sin(x2) . But by the Chain Rule,

ddxsin(x2)=cos(x2)ddxx2=cos(x2)2x=2xcos(x2)

Which is almost what we want apart from the fact that there is an extra factor of 2 in front. But this is easily dealt with because we can divide by a constant (in this case 2). So,

ddxsin(x2)2=12ddxsin(x2)=122cos(x2)x=xcos(x2)=f(x)

Thus, we have discovered a function, F(x)=sin(x2)2, whose derivative is xcos(x2) . That is, F is an antiderivative of f(x)=xcos(x2) . This gives us

xcos(x2)dx=sin(x2)2+C

Generalization

In fact, this technique will work for more general integrands. Suppose u is a differentiable function. Then to evaluate u(x)cos(u(x))dx we just have to notice that by the Chain Rule

ddxsin(u(x))=cos(u(x))dudx=u(x)cos(u(x))

As long as u is continuous we have that

cos(u(x))u(x)dx=sin(u(x))+C

Now the right hand side of this equation is just the integral of cos(u) but with respect to u . If we write u instead of u(x) this becomes cos(u(x))u(x)dx=sin(u)+C=cos(u)du

So, for instance, if u(x)=x3 we have worked out that

(cos(x3)3x2)dx=sin(x3)+C

General Substitution Rule

Now there was nothing special about using the cosine function in the discussion above, and it could be replaced by any other function. Doing this gives us the substitution rule for indefinite integrals:

Template:Calculus/Def

Notice that it looks like you can "cancel" in the expression dudxdx to leave just a du . This does not really make any sense because dudx is not a fraction. But it's a good way to remember the substitution rule.

Examples

The following example shows how powerful a technique substitution can be. At first glance the following integral seems intractable, but after a little simplification, it's possible to tackle using substitution.

Example

We will show that

dx(x2+a2)x2+a2=xa2x2+a2+C

First, we re-write the integral:

dx(x2+a2)x2+a2 =(x2+a2)32dx
=(x2(1+a2x2))32dx
=x3(1+a2x2)32dx
=(1+a2x2)32(x3dx)

Now we perform the following substitution:

u=1+a2x2
dudx=2a2x3  x3dx=du2a2

Which yields:

(1+a2x2)32(x3dx)=
=u32(du2a2)
=12a2u32du
=12a2(2u)+C
=1a21+a2x2+C
=(xx)1a21+a2x2+C
=xa2x2+a2+C

Exercises

Template:Question-answer

Template:Question-answer Template:Noprint

Integration by Parts

Integration by parts is another powerful tool for integration. It was mentioned above that one could consider integration by substitution as an application of the chain rule in reverse. In a similar manner, one may consider integration by parts as the product rule in reverse.

Preliminary Example

General Integration by Parts

Template:Calculus/Def

to set the f(x) and g(x) we need to follow the rule called I.L.A.T.E.


ILATE defines the order in which we must set the

f(x)


  • I for inverse trigonometric function
  • L for log functions
  • A for algebraic functions
  • T for trigonometric functions
  • E for exponential function


f(x) and g(x) must be in the order of ILATE or else your final answers will not match with the main key

Examples

Example

Find xcos(x)dx

Here we let:

u=x , so that du=dx ,
dv=cos(x)dx , so that v=sin(x) .

Then:

xcos(x)dx =udv
=uvvdu
=xsin(x)sin(x)dx
=xsin(x)+cos(x)+C

Example

Find x2exdx

In this example we will have to use integration by parts twice.

Here we let

u=x2 , so that du=2xdx ,
dv=exdx , so that v=ex .

Then:

x2exdx =udv
=uvvdu
=x2ex2xexdx
=x2ex2xexdx

Now to calculate the last integral we use integration by parts again. Let

u=x , so that du=dx ,
dv=exdx , so that v=ex

and integrating by parts gives

xexdx=xexexdx=ex(x1)

So, finally we obtain

x2exdx=x2ex2ex(x1)+C=ex(x22x+2)+C

Example

Find ln(x)dx

The trick here is to write this integral as

ln(x)1dx

Now let

u=ln(x) so du=dxx ,
v=x so dv=1dx .

Then using integration by parts,

ln(x)dx =xln(x)xxdx
=xln(x)1dx
=xln(x)x+C
=x(ln(x)1)+C

Example

Find arctan(x)dx

Again the trick here is to write the integrand as arctan(x)=arctan(x)1 . Then let

u=arctan(x) so du=dx1+x2
v=x so dv=1dx

so using integration by parts,

arctan(x)dx =xarctan(x)x1+x2dx
=xarctan(x)12ln(1+x2)+C

Example

Find excos(x)dx

This example uses integration by parts twice. First let,

u=ex so du=exdx
dv=cos(x)dx so v=sin(x)

so

excos(x)dx=exsin(x)exsin(x)dx

Now, to evaluate the remaining integral, we use integration by parts again, with

u=ex so du=exdx
v=cos(x) so dv=sin(x)dx

Then

exsin(x)dx =excos(x)excos(x)dx
=excos(x)+excos(x)dx

Putting these together, we have

excos(x)dx=exsin(x)+excos(x)excos(x)dx

Notice that the same integral shows up on both sides of this equation, but with opposite signs. The integral does not cancel; it doubles when we add the integral to both sides to get

2excos(x)dx=ex(sin(x)+cos(x))
excos(x)dx=ex(sin(x)+cos(x))2

Exercises

Template:Question-answer

Template:Question-answer Template:Noprint

Template:Calculus/Top Nav Template:Calculus/TOC