You are viewing the html version of Calculus, by Benjamin Crowell. This version is only designed for casual browsing, and may have some formatting problems. For serious reading, you want the Adobe Acrobat version.

Table of Contents

Contents
Section 5.1 - Newton's method
Section 5.2 - Implicit differentiation
Section 5.3 - Methods of integration

Chapter 5. Techniques

5.1 Newton's method

In the 1958 science fiction novel Have Space Suit --- Will Travel, by Robert Heinlein, Kip is a high school student who wants to be an engineer, and his father is trying to convince him to stretch himself more if he wants to get anything out of his education:

“Why did Van Buren fail of re-election? How do you extract the cube root of eighty-seven?”

Van Buren had been a president; that was all I remembered. But I could answer the other one. “If you want a cube root, you look in a table in the back of the book.”

Dad sighed. “Kip, do you think that table was brought down from on high by an archangel?”

We no longer use tables to compute roots, but how does a pocket calculator do it? A technique called Newton's method allows us to calculate the inverse of any function efficiently, including cases that aren't preprogrammed into a calculator. In the example from the novel, we know how to calculate the function y=x3 fairly accurately and quickly for any given value of x, but we want to turn the equation around and find x when y=87. We start with a rough mental guess: since 43=64 is a little too small, and 53=125 is much too big, we guess x≈ 4.3. Testing our guess, we have 4.33=79.5. We want y to get bigger by 7.5, and we can use calculus to find approximately how much bigger x needs to get in order to accomplish that:

 Delta x = frac{Delta x}{Delta y} Delta y

 approx frac{dx}{dy} Delta y

 = frac{Delta y}{dy/dx}

 = frac{Delta y}{3x^2}

 = frac{Delta y}{3x^2}

 = 0.14

Increasing our value of x to 4.3+0.14=4.44, we find that 4.443=87.5 is a pretty good approximation to 87. If we need higher precision, we can go through the process again with Δ y=-0.5, giving

 Delta x approx frac{Delta y}{3x^2}

 = 0.14

 x = 4.43

 x^3 = 86.9 qquad .

This second iteration gives an excellent approximation.

keplerian

a / Example 63.

Example 1
◊ Figure 63 shows the astronomer Johannes Kepler's analysis of the motion of the planets. The ellipse is the orbit of the planet around the sun. At t=0, the planet is at its closest approach to the sun, A. At some later time, the planet is at point B. The angle x (measured in radians) is defined with reference to the imaginary circle encompassing the orbit. Kepler found the equation
  2pi frac{t}{T} = x-esin x qquad ,
where the period, T, is the time required for the planet to complete a full orbit, and the eccentricity of the ellipse, e, is a number that measures how much it differs from a circle. The relationship is complicated because the planet speeds up as it falls inward toward the sun, and slows down again as it swings back away from it.

The planet Mercury has e=0.206. Find the angle x when Mercury has completed 1/4 of a period.

◊ We have

y = x-(0.206)sin x ,

and we want to find x when y=2π/4=1.57. As a first guess, we try x=π/2 (90 degrees), since the eccentricity of Mercury's orbit is actually much smaller than the example shown in the figure, and therefore the planet's speed doesn't vary all that much as it goes around the sun. For this value of x we have y=1.36, which is too small by 0.21.

  Delta x approx frac{Delta y}{dy/dx}

           = frac{0.21}{1-(0.206)cos x}

           = 0.21

(The derivative dy/dx happens to be 1 at x=π/2.) This gives a new value of x, 1.57+.21=1.78. Testing it, we have y=1.58, which is correct to within rounding errors after only one iteration. (We were only supplied with a value of e accurate to three significant figures, so we can't get a result with precision better than about that level.)

5.2 Implicit differentiation

We can differentiate any function that is written as a formula, and find a result in terms of a formula. However, sometimes the original problem can't be written in any nice way as a formula. For example, suppose we want to find dy/dx in a case where the relationship between x and y is given by the following equation:

y7+y = x7+x2 .

There is no equivalent of the quadratic formula for seventh-order polynomials, so we have no way to solve for one variable in terms of the other in order to differentiate it. However, we can still find dy/dx in terms of x and y. Suppose we let x grow to x+dx. Then for example the x2 term will grow to (x+dx)2=x+2dx+dx2. The squared infinitesimal is negligible, so the increase in x2 was really just 2dx, and we've really just computed the derivative of x2 with respect to x and multiplied it by dx. In symbols,

 der(x^2) = frac{der(x^2)}{dx} cdot dx

 = 2x dx qquad .

That is, the change in x2 is 2x times the change in x. Doing this to both sides of the original equation, we have

 der(y^7+y) = der(x^7+x^2)

 7y^6dy + 1dy = 7x^6dx + 2xdx

 (7y^6+1)dy = (7x^6+2x)dx

 frac{dy}{dx} = frac{7x^6+2x}{7y^6+1} qquad .

This still doesn't give us a formula for the derivative in terms of x alone, but it's not entirely useless. For instance, if we're given a numerical value of x, we can always use Newton's method to find y, and then evaluate the derivative.

5.3 Methods of integration

Change of variable

Sometimes an unfamiliar-looking integral can be made into a familiar one by substituting a new variable for an old one. For example, we know how to integrate 1/x --- the answer is ln x --- but what about

 int frac{dx}{2x+1} qquad ?

Let u=2x+1. Differentiating both sides, we have du=2dx, or dx=du/2, so

 int frac{dx}{2x+1} = int frac{du/2}{u}

 = frac{1}{2}ln u + c

 = frac{1}{2}ln(2x+1) +c qquad .

This technique is known as a change of variable or a substitution. (Because the letter u is often employed, you may also see it called u-substitution.)

In the case of a definite integral, we have to remember to change the limits of integration to reflect the new variable.

Example 2

◊ Evaluate int_3^4 dx/(2x+1).

◊ As before, let u=2x+1.

  int_{x=3}^{x=4} frac{dx}{2x+1}   = int_{u=7}^{u=9} frac{du/2}{u}

       = left.frac{1}{2}ln uright|_{u=7}^{u=9}

 text{Here the notation $left.right|_{u=7} ^{u=9}$ means to evaluate the function at7 and 9, and subtract the former from the latter. The result is}  int_{x=3}^{x=4} frac{dx}{2x+1}  = frac{1}{2}(ln 9-ln 7)

            =frac{1}{2}lnfrac{9}{7} qquad .

Sometimes, as in the next example, a clever substitution is the secret to doing a seemingly impossible integral.

Example 3
◊ Evaluate
  int frac{e^{sqrt x}}{sqrt x} dx qquad .

◊ The only hope for reducing this to a form we can do is to let u=sqrt x. Then dx=d(u2)=2udu, so

  int frac{e^{sqrt x}}{sqrt x} dx =   int frac{e^u}{u} cdot 2udu

             = 2 int e^u du

             = 2e^u

             = 2e^{sqrt{x}} qquad .

Example 65 really isn't so tricky, since there was only one logical choice for the substitution that had any hope of working. The following is a little more dastardly.

Example 4
◊ Evaluate
  int frac{dx}{1+x^2} qquad .

◊ The substitution that works is x=tan u. First let's see what this does to the expression 1+x2. The familiar identity

   sin^2 u + cos^2 u = 1 qquad ,

 text{when divided by $cos^2 u$, gives}    tan^2 u + 1 = sec^2 u qquad ,

so 1+x2 becomes sec^2 u. But differentiating both sides of x=tan u gives

  dx = der left[sin u(cos u)^{-1}right]

         = (dersin u)(cos u)^{-1}

           quad +(sin u)derleft[(cos u)^{-1}right]

         = left(1+tan^2 uright)du

         = sec^2 udu qquad ,

so the integral becomes

  int frac{dx}{1+x^2} = int frac{sec^2 u du}{sec^2 u}

           = u+c

           = tan^{-1} x+c qquad .

What mere mortal would ever have suspected that the substitution x=tan u was the one that was needed in example 66? One possible answer is to give up and do the integral on a computer:

   Integrate(x) 1/(1+x^2)
  ArcTan(x) 

Another possible answer is that you can usually smell the possibility of this type of substitution, involving a trig function, when the thing to be integrated contains something reminiscent of the Pythagorean theorem, as suggested by figure b. The 1+x2 looks like what you'd get if you had a right triangle with legs 1 and x, and were using the Pythagorean theorem to find its hypotenuse.

tan-substitution

b / The substitution x=tan u.

Example 5

◊ Evaluate int dx/sqrt{1-x^2}.

◊ The sqrt{1-x^2} looks like what you'd get if you had a right triangle with hypotenuse 1 and a leg of length x, and were using the Pythagorean theorem to find the other leg, as in figure c. This motivates us to try the substitution x=cos u, which gives dx=-sin udu and sqrt{1-x^2}=sqrt{1-cos^2u}=sin u. The result is

  int frac{dx}{sqrt{1-x^2}} = int frac{-sin udu}{sin u}

                 = -u+c

                 = -cos^{-1}x qquad .

cos-substitution

c / The substitution x=cos u.

Integration by parts

Figure d shows a technique called integration by parts. If the integral int vdu is easier than the integral int udv, then we can calculate the easier one, and then by simple geometry determine the one we wanted. Identifying the large rectangle that surrounds both shaded areas, and the small white rectangle on the lower left, we have

 int udv = (text{area of large rectangle})

 -(text{area of small rectangle})

 int vdu qquad .

by-parts

d / Integration by parts.

In the case of an indefinite integral, we have a similar relationship derived from the product rule:

 der(uv) = u dv + v du

 u dv = der(uv) - v du

Integrating both sides, we have the following relation.

Integration by parts

  int u dv = uv - int v du qquad .

Since a definite integral can always be done by evaluating an indefinite integral at its upper and lower limits, one usually uses this form. Integrals don't usually come prepackaged in a form that makes it obvious that you should use integration by parts. What the equation for integration by parts tells us is that if we can split up the integrand into two factors, one of which (the dv) we know how to integrate, we have the option of changing the integral into a new form in which that factor becomes its integral, and the other factor becomes its derivative. If we choose the right way of splitting up the integrand into parts, the result can be a simplification.

Example 6

◊ Evaluate

  int x cos x dx

◊ There are two obvious possibilities for splitting up the integrand into factors,

  u dv = (x)(cos xdx)

 text{or}   u dv = (cos x)(xdx) qquad .

The first one is the one that lets us make progress. If u=x, then du=dx, and if dv=cos xdx, then integration gives v=sin x.

  int x cos x dx = int u dv

                       = uv - int v du

                       = xsin x-int sin x dx

                       = xsin x+cos x

Of the two possibilities we considered for u and dv, the reason this one helped was that differentiating x gave dx, which was simpler, and integrating cos xdx gave sin x, which was no more complicated than before. The second possibility would have made things worse rather than better, because integrating xdx would have given x2/2, which would have been more complicated rather than less.

Example 7

◊ Evaluate int ln x dx.

◊ This one is a little tricky, because it isn't explicitly written as a product, and yet we can attack it using integration by parts. Let u=ln x and dv=dx.

  int ln x dx = int u dv

                       = uv - int v du

                       = xln x-int x frac{dx}{x}

                       = xln x-x

Example 8
◊ Evaluate int x^2 e^x dx.

◊ Integration by parts lets us split the integrand into two factors, integrate one, differentiate the other, and then do that integral. Integrating or differentiating ex does nothing. Integrating x2 increases the exponent, which makes the problem look harder, whereas differentiating x2 knocks the exponent down a step, which makes it look easier. Let u=x2 and dv=ex dx, so that du=2xdx and v=ex. We then have

  int x^2 e^x dx = x^2 e^x - 2 int x e^xdx qquad .

Although we don't immediately know how to evaluate this new integral, we can subject it to the same type of integration by parts, now with u=x and dv=ex dx. After the second integration by parts, we have:

  int x^2 e^x dx = x^2 e^x - 2 left(x e^x -int e^xdx right)

                        = x^2 e^x - 2 left(x e^x - e^x right)

                        = (x^2-2x+2)e^x

Partial fractions

Given a function like

 frac{-1}{x-1}+frac{1}{x+1} qquad ,

we can rewrite it over a common denominator like this:

 left(frac{-1}{x-1}right)left(frac{x+1}{x+1}right)

 +left(frac{1}{x+1}right)left(frac{x-1}{x-1}right)

 =frac{-x-1+x-1}{(x-1)(x+1)}

 =frac{-2}{x^2-1} qquad .

But note that the original form is easily integrated to give

 int left(frac{-1}{x-1}+frac{1}{x+1}right)dx

 =-ln(x-1)+ln(x+1)+c qquad ,

while faced with the form
[4] -2/(x2-1), we wouldn't have known how to integrate it.

Note that the original function was of the form (-1)/…+(+1)/… It's not a coincidence that the two constants on top, -1 and +1, are opposite in sign but equal in absolute value. To see why, consider the behavior of this function for large values of x. Looking at the form -1/(x-1)+1/(x+1), we might naively guess that for a large value of x such as 1000, it would come out to be somewhere on the order thousandths. But looking at the form -2/(x2-1), we would expect it to be way down in the millionths. This seeming paradox is resolved by noting that for large values of x, the two terms in the form -1/(x-1)+1/(x+1) very nearly cancel. This cancellation could only have happened if the constants on top were opposites like plus and minus one.

The idea of the method of partial fractions is that if we want to do an integral of the form

 int frac{dx}{P(x)} qquad ,

where P(x) is an nth order polynomial, we rewrite 1/P as

 frac{1}{P(x)} = frac{A_1}{x-r_1} + ldots frac{A_n}{x-r_n} qquad ,

where r1 ... rn are the roots of the polynomial, i.e., the solutions of the equation P(r)=0. If the polynomial is second-order, you can find the roots r1 and r2 using the quadratic formula; I'll assume for the time being that they're real. For higher-order polynomials, there is no surefire, easy way of finding the roots by hand, and you'd be smart simply to use computer software to do it. In Yacas, you can find the real roots of a polynomial like this:

   FindRealRoots(x^4-5*x^3
      -25*x^2+65*x+84)
  \{3.,7.,-4.,-1.\} 

(I assume it uses Newton's method to find them.) The constants Ai can then be determined by algebra, or by the following trick.

Numerical method

Suppose we evaluate 1/P(x) for a value of x very close to one of the roots. In the example of the polynomial x4-5x3-25x2+65x+84, let r1 ... r4 be the roots in the order in which they were returned by Yacas. Then A1 can be found by evaluating 1/P(x) at x=3.000001:
   P(x):=x^4-5*x^3-25*x^2
     +65*x+84
   N(1/P(3.000001))
  -8928.5702094768 

We know that for x very close to 3, the expression

 frac{1}{P} = frac{A_1}{x-3}+frac{A_2}{x-7}+frac{A_3}{x+4}+frac{A_4}{x+1}

will be dominated by the A1 term, so

 -8930 approx frac{A_1}{3.000001-3}

 A_1 approx (-8930)(10^{-6}) qquad .

By the same method we can find the other four constants:

   dx:=.000001
   N(1/P(7+dx),30)*dx
  0.2840908276e-2 
   N(1/P(-4+dx),30)*dx
  -0.4329006192e-2 
   N(1/P(-1+dx),30)*dx
  0.1041666664e-1 

(The N( ,30) construct is to tell Yacas to do a numerical calculation rather than an exact symbolic one, and to use 30 digits of precision, in order to avoid problems with rounding errors.) Thus,

 frac{1}{P} = frac{-8.93times10^{-3}}{x-3}

 + frac{2.84times10^{-3}}{x-7}

 - frac{4.33times10^{-3}}{x+4}

 + frac{1.04times10^{-2}}{x+1} qquad .

The desired integral is

 int frac{dx}{P(x)} = -8.93times10^{-3}ln(x-3)

 +2.84times10^{-3}ln(x-7)

 -4.33times10^{-3}ln(x+4)

 + 1.04times10^{-2}ln(x+1)

 +c qquad .

As in the simpler example I started off with, where P was second order and we got A1=-A2, in this n=4 example we expect that A1+A2+A3+A4=0, for otherwise the large-x behavior of the partial-fraction form would be 1/x rather than 1/x4. This is a useful way of checking the result: -8.93+2.84-4.33+10.4=-.02≈0.

Complications

There are two possible complications:

First, the same factor may occur more than once, as in x3-5x2+7x-3=(x-1)(x-1)(x-3). In this example, we have to look for an answer of the form A/(x-1)+B/(x-1)2+C/(x-3), the solution being -.25/(x-1)-.5/(x-1)2+.25/(x-3).

Second, the roots may be complex. This is no show-stopper if you're using computer software that handles complex numbers gracefully. (You can choose a c that makes the result real.) In fact, as discussed in section 8.3, some beautiful things can happen with complex roots. But as an alternative, any polynomial with real coefficients can be factored into linear and quadratic factors with real coefficients. For each quadratic factor Q(x), we then have a partial fraction of the form (A+Bx)/Q(x), where A and B can be determined by algebra. In Yacas, this can be done using the Apart function.

Example 9

◊ Evaluate the integral

  int frac{dx}{(x^4-8x^3+8x^2-8x+7}

using the method of partial fractions.

◊ First we use Yacas to look for real roots of the polynomial:

   FindRealRoots(x^4-8*x^3
     +8*x^2-8*x+7)
  \{1.,7.\} 

Unfortunately this polynomial seems to have only two real roots; the rest are complex. We can divide out the factor (x-1)(x-7), but that still leaves us with a second-order polynomial, which has no real roots. One approach would be to factor the polynomial into the form (x-1)(x-7)(x-p)(x-q), where p and q are complex, as in section 8.3. Instead, let's use Yacas to expand the integrand in terms of partial fractions:

   Apart(1/(x^4-8*x^3
     +8*x^2-8*x+7))
  ((2*x)/25+3/50)/(x^2+1) 
    +1/(300*(x-7)) 
    +(-1)/(12*(x-1)) 

We can now rewrite the integral like this:

   frac{2}{25} int frac{xdx}{x^2+1}

  +frac{3}{50} int frac{dx}{x^2+1}

  +frac{1}{300} int frac{dx}{x-7}

  -frac{1}{12} int frac{dx}{x-1}

 text{which we can evaluate as follows:}    frac{1}{25} ln(x^2+1)

  +frac{3}{50} tan^{-1}x

  +frac{1}{300} ln(x-7)

  -frac{1}{12} ln(x-1)

  +c

In fact, Yacas should be able to do the whole integral for us from scratch, but it's best to understand how these things work under the hood, and to avoid being completely dependent on one particular piece of software. As an illustration of this gem of wisdom, I found that when I tried to make Yacas evaluate the integral in one gulp, it choked because the calculation became too complicated! Because I understood the ideas behind the procedure, I was still able to get a result through a mixture of computer calculations and working it by hand. Someone who didn't have the knowledge of the technique might have tried the integral using the software, seen it fail, and concluded, incorrectly, that the integral was one that simply couldn't be done. A computer is no substitute for understanding.

Residue method

On p. 92 I introduced the trick of carrying out the method of partial fractions by evaluating 1/P(x) numerically at x=ri+ε, near where 1/P blows up. Sometimes we would like to have an exact result rather than a numerical approximation. We can accomplish this by using an infinitesimal number dx rather than a small but finite ε. For simplicity, let's assume that all of the n roots ri are distinct, and that P's highest-order term is xn. We can then write P as the product P(x)=(x-r1)(x-r2)…(x-rn). For products like this, there is a notation Π (capital Greek letter “pi”) that works like Σ does for sums:

 P(x)=prod_{i=1}^n(x-r_i) qquad .

It's not necessary that the roots be real, but for now we assume that they are. We want to find the coefficients Ai such that

 frac{1}{P(x)} = sum frac{A_i}{x-r_i} qquad .

We then have

 frac{1}{P(r_i+dx)}

 = frac{1}{dx prod_{jne i}(r_i-r_j+dx)}

 = frac{1}{dx prod_{jne i}(r_i-r_j)} + ldots

 = frac{A_i}{dx}+ldots ,

where … represents finite terms that are negligible compared to the infinite ones. Multiplying on both sides by dx, we have

 frac{1}{P'(r_i)} + ldots = A_i + ldots ,

where the … now stand for infinitesimals which must in fact cancel out, since both Ai and 1/P' are real numbers.

Example 10

◊ The partial-fraction decomposition of the function

frac{1}{x^4-5x^3-25x^2+65x+84}

was found numerically on p. 92. The coefficient of the 1/(x-3) term was found numerically to be A1≈ -8.930×10-3. Determine it exactly using the residue method.

◊ Differentiation gives P'(x)=4x3-15x2-50x+65. We then have A1=1/P'(3)=-1/112.

Integrals that can't be done

Integral calculus was invented in the age of powdered wigs and harpsichords, so the original emphasis was on expressing integrals in a form that would allow numbers to be plugged in for easy numerical evaluation by scribbling on scraps of parchment with a quill pen. This was an era when you might have to travel to a large city to get access to a table of logarithms.

In this computationally impoverished environment, one always wanted to get answers in what's known as closed form and in terms of elementary functions.

A closed form expression means one written using a finite number of operations, as opposed to something like the geometric series 1+x+x2+x3+…, which goes on forever.

Elementary functions are usually taken to be addition, subtraction, multiplication, division, logs, and exponentials, as well as other functions derivable from these. For example, a cube root is allowed, since sqrt[3]x=e^{(1/3)ln x}, and so are trig functions and their inverses, since, as we will see in chapter 8, they can be expressed in terms of logs and exponentials.

In theory, “closed form” doesn't mean anything unless we state the elementary functions that are allowed. In practice, when people refer to closed form, they usually have in mind the particular set of elementary functions described above.

A traditional freshman calculus course spends such a vast amount of time teaching you how to do integrals in closed form that it may be easy to miss the fact that this is impossible for the vast majority of integrands that you might randomly write down. Here are some examples of impossible integrals:

 int e^{-x^2} dx

 int x^x dx

 int frac{sin x}{x} dx

 int e^x tan x dx

The first of these is a form that is extremely important in statistics (it describes the area under the standard “bell curve”), so you can see that impossible integrals aren't just obscure things that don't pop up in real life.

People who are proficient at doing integrals in closed form generally seem to work by a process of pattern matching. They recognize certain integrals as being of a form that can't be done, so they know not to try.

Example 11

◊ Students! Stand at attention! You will now evaluate int e^{-x^2+7x} dx in closed form.

◊ No sir, I can't do that. By a change of variables of the form u=x+c, where c is a constant, we could clearly put this into the form int e^{-x^2} dx, which we know is impossible.

Sometimes an integral such as int e^{-x^2} dx is important enough that we want to give it a name, tabulate it, and write computer subroutines that can evaluate it numerically. For example, statisticians define the “error function” operatorname{erf}(x)=(2/sqrt{pi}) int e^{-x^2} dx. Sometimes if you're not sure whether an integral can be done in closed form, you can put it into computer software, which will tell you that it reduces to one of these functions. You then know that it can't be done in closed form. For example, if you ask the popular web site integrals.com to do int e^{-x^2+7x} dx, it spits back (1/2)e^{49/4}sqrt{pi}operatorname{erf}(x-7/2). This tells you both that you shouldn't be wasting your time trying to do the integral in closed form and that if you need to evaluate it numerically, you can do that using the erf function.

As shown in the following example, just because an indefinite integral can't be done, that doesn't mean that we can never do a related definite integral.

Example 12

◊ Evaluate int_0^{pi/2} e^{-tan^2 x}(tan^2x+1)dx.

◊ The obvious substitution to try is u=tan x, and this reduces the integrand to e-x2. This proves that the corresponding indefinite integral is impossible to express in closed form. However, the definite integral can be expressed in closed form; it turns out to be sqrt{pi}/2. The trick for proving this is given in example 99 on p. 134.

Sometimes computer software can't say anything about a particular integral at all. That doesn't mean that the integral can't be done. Computers are stupid, and they may try brute-force techniques that fail because the computer runs out of memory or CPU time. For example, the integral int dx/(x^{10000}-1) (problem 15, p. 127) can be done in closed form using the techniques of chapter 8, and it's not too hard for a proficient human to figure out how to attack it, but every computer program I've tried it on has failed silently.

Homework Problems

1. Graph the function y=ex-7x and get an approximate idea of where any of its zeroes are (i.e., for what values of x we have y(x)=0). Use Newton's method to find the zeroes to three significant figures of precision.

2. The relationship between x and y is given by xy = sin y+x2y2.
(a) Use Newton's method to find the nonzero solution for y when x=3. Answer: y=0.2231
(b) Find dy/dx in terms of x and y, and evaluate the derivative at the point on the curve you found in part a. Answer: dy/dx=-0.0379
Based on an example by Craig B. Watkins.

3. Suppose you want to evaluate

  int frac{dx}{1+sin 2x} qquad ,

and you've found

  int frac{dx}{1+sin x} = -tanleft(frac{pi}{4}-frac{x}{2}right)

in a table of integrals. Use a change of variable to find the answer to the original problem.

4. Evaluate

  int frac{sin x dx}{1+cos x} qquad .

5. Evaluate

  int frac{sin x dx}{1+cos^2 x} qquad .

6. Evaluate

  int xsqrt{a-x}dx qquad .

7. Evaluate

  int sqrt{x^4+bx^2} dx qquad ,

where b is a constant.

8. Evaluate

  int x e^{-x^2} dx qquad .

9. Evaluate

  int x e^x dx qquad .

10. Use integration by parts to evaluate the following integrals.

  int sin^{-1} xdx

  int cos^{-1} xdx

  int tan^{-1} xdx

11. Evaluate

  int x^2 sin x dx qquad .

Hint: Use integration by parts more than once.

12. Evaluate

  int frac{dx}{x^2-x-6} qquad .

13. Evaluate

  int frac{dx}{x^3+3x^2-4} qquad .

14. Evaluate

  int frac{dx}{x^3-x^2+4x-4} qquad .

15. Apply integration by parts twice to

  int e^{-x}cos x dx qquad ,

examine what happens, and manipulate the result in order to solve the original integral. (An approach that doesn't rely on tricks is given in example 91 on p. 123.)

16. Plan, but do not actually carry out the steps that would be required in order to generalize the result of example 70 on p. 91 in order to evaluate

  int x^a b^{-x} dx qquad ,

where a and b are constants. Which is easier, the generalization from 2 to a, or the one from e to b? Do we need to introduce any restrictions on a or b? (solution in the pdf version of the book)

17. The integral int e^{-x^2}dx can't be done in closed form. Knowing this, use a change of variable to write down a different integral that also can't be done in closed form.

18. Consider the integral

  int e^{x^p} dx qquad ,

where p is a constant. There is an obvious substitution. If this is to result in an integral that can be evaluated in closed form by a series of integrations by parts, what are the possible values of p? Don't actually complete the integral; just determine what values of p will work. (solution in the pdf version of the book)

19. Evaluate the hundredth derivative of the function
(x2+1)/(x3-x) using paper and pencil. [Vladimir Arnol'd] (solution in the pdf version of the book)

(c) 1998-2013 Benjamin Crowell, licensed under the Creative Commons Attribution-ShareAlike license. Photo credits are given at the end of the Adobe Acrobat version.