INTEGRALS
Chapter 7: Integrals
Chapter 7
Integrals
Big idea: integration does two jobs that look different but are the same. It undoes differentiation, and it adds up infinitely many tiny pieces to find a total, such as an area.
7.1 Introduction
A tank is filling with water. A sensor tells you the rate at each moment: after minutes, water flows in at litres per minute. The rate grows, so the tank fills faster and faster. How much water is in the tank after minutes?
In Chapter 6 you went from a quantity to its rate by differentiating. Now you must go backwards: from the rate to the quantity. You need a function whose derivative is . Since , the volume is , and after minutes there are litres.
A function that you differentiate to get is called an antiderivative of . Finding it is called integration.
There is a second way to look at the tank. Draw the rate against time. A small strip of width under the curve has area about (rate) (time), which is the water that flows in during that short moment. Adding all the strips from to gives the total water, which is the area under the curve. The shaded area below is exactly square units, the same .
Graph of the curve y equals 3 t squared for t from 0 to 4, rising from 0 to 48. The region between the curve and the horizontal axis is shaded. Its area is 64.
This is the big discovery of the chapter: area under a curve and undoing a derivative are the same thing. In Sections 7.7 and 7.8 you will see why.
7.2 Integration as an Inverse Process of Differentiation
Differentiation takes a function and gives . Integration goes the other way: given , find a function with . We write
- The sign is the integral sign (a long "S" for "sum"). The function is the integrand. The says the variable is .
- The function is an antiderivative of .
- The number is the constant of integration. We will see in a moment why it must be there.
The derivative of is . But the derivative of is also , and so is the derivative of . A constant disappears when you differentiate. So when you go backwards you cannot know which constant was there, and you write all the possibilities at once:
Geometrically, each value of gives one curve, and the curves are copies of each other shifted up or down. They all have the same slope above any given value of .
Three copies of the parabola y equals x squared plus C, for C equal to minus 2, 0 and 2, shifted vertically. A dashed vertical line at x equals 1 passes through the three curves at the points (1, minus 1), (1, 1) and (1, 3). The curves have the same slope at those points.
A point decides the constant. If the curve must pass through a known point, you can find . Suppose a curve has slope at every point and passes through . Then . Putting in the point: , so , and the curve is .
Every derivative you know gives an integral for free, by reading it backwards. Each row of this table was checked by differentiating the answer.
| Integrand | Antiderivative (add ) |
|---|---|
In the first row, can be any number except (for use the second row). For , take , .
A cyclist starts at position and moves with speed metres per second. Her position has derivative , so . At she is at , so . After seconds she has gone metres.
7.2.1 Some properties of indefinite integral
These rules let you break a hard integral into easy pieces. They come directly from the matching rules for derivatives.
- Differentiating an integral gives back the function: .
- Integrating a derivative gives back the function (plus a constant): .
- Constant multiple: .
- Sum and difference: .
Together, the last two say that integration is linear: . Because all the pieces together give only one unknown constant, you write a single at the end.
Integrate each term with the power rule: raise the power by , divide by the new power.
Find . There is no rule for a bracket divided by . So expand, then divide each term: . Then
Find . Write and expand: . Then
Find . There is no rule for , but . So .
- Find .
- Find .
- Find .
- Find .
Answers
- (split into first).
- (expand first).
EXERCISE 7.1
- Find .
- Find .
- Find .
- Find by expanding the bracket.
- Find . (Divide each term first.)
- Find . (Use .)
- Find .
- Find .
- Find .
- A curve has slope at every point and passes through . Find its equation. Where is it at ?
- A runner's speed is m/s, starting at position . How far has the runner gone after seconds?
Answers
- , so the integral is .
- . At : . So , and at , .
- with , so . Then metres.
7.3 Methods of Integration
The basic table covers only a few functions. Most integrals need a method that turns them into basic ones. This chapter has four main methods. Here is a guide to choosing between them:
| If the integrand looks like ... | Try ... | Section |
|---|---|---|
| a function of an inner function, with the derivative of the inner function nearby, such as | Substitution | 7.3.1 |
| powers or products of sine and cosine, such as or | Trigonometric identities | 7.3.2 |
| or | Standard forms (complete the square) | 7.4 |
| a fraction of two polynomials, such as | Partial fractions | 7.5 |
| a product of two different kinds of function, such as or | Integration by parts | 7.6 |
7.3.1 Integration by substitution
Substitution undoes the chain rule. If an integrand contains an inner function and, nearby, its derivative , give the inner function a new name . This turns a messy integral into a simple one.
The steps:
- Choose (usually the inside of a bracket, a root, a power, or the bottom of a fraction).
- Differentiate: . Solve for what you need, such as .
- Rewrite the whole integral using only and . No may be left.
- Integrate with respect to .
- Put back: replace by .
Find . Let . Then , which is exactly the rest of the integrand. So
Find . Let , so and . Then .
Find . Let , so . Then . Since , the answer is .
This pattern is so common that it is worth remembering:
Find . Let , so . Then . (This equals .)
Find . Let , so . Then .
Find . Split off one sine: . With , .
- : let , so and the integral is .
- for : let , so and the integral is .
All six answers above were checked by differentiating them. For instance, the derivative of is , as it should be.
EXERCISE 7.2
- Find .
- Find .
- Find .
- Find .
- Find .
- Find for .
- Find .
- Find . (Let and write .)
- Find . (Split off one cosine and use .)
- Find .
Answers
7.3.2 Integration using trigonometric identities
Products and powers of sine and cosine have no direct rule. But trigonometric identities turn them into sums of simple sines and cosines, which you can integrate term by term.
The identities you need (all verified numerically):
- and .
- .
- .
- .
Find . With and : . Then
, so .
EXERCISE 7.3
- Find .
- Find .
- Find .
- Find .
- Find . (Show first that it equals .)
- Find .
Answers
- , so the integral is
- , so the integral is
- . So the integral is
- , so the integral is
7.4 Integrals of Some Particular Functions
Six integrals come up so often that they are worth learning as formulas. Each one comes from a derivative you already know. In each row, is a positive constant.
| Integrand | Integral (add ) |
|---|---|
Each formula was checked by differentiating it, using , or in turn. The second row is valid for , and the fourth for or .
Real problems rarely arrive as . They arrive as . The fix is to complete the square, which rewrites a quadratic as , and then use the substitution .
Example 1. Find . Complete the square: . With and :
Example 2. Find . Here . With and (the "minus" formula):
Example 3. Find . Complete the square with a minus sign: . This is with , so the answer is .
Example 4. : since , the answer is .
When the numerator is , write it as (a multiple of the derivative of the denominator) plus a constant. The first part gives a logarithm or a root. The second part is one of the forms above.
Example 5. Find . The derivative of the denominator is , and . So
Adding the two parts, the answer is .
Example 6. Find . The derivative of is , and . The first part gives , the second gives a logarithm:
EXERCISE 7.4
- Find .
- Find .
- Find .
- Find .
- Find .
- Find .
- Find .
- Find .
Answers
7.5 Integration by Partial Fractions
A rational function is a fraction of two polynomials, such as . Integrating a single fraction like this is hard. But you can split it into simpler fractions that are each easy to integrate. This is the reverse of adding fractions with a common denominator. The simpler pieces are called partial fractions.
The method works when the fraction is proper: the top has a smaller degree than the bottom. If it is not proper, divide first (long division) and integrate the polynomial part and the proper fraction separately.
| Factor in the bottom | Matching piece(s) |
|---|---|
| (repeated) | |
| that cannot be factorised |
Write one piece for each factor, put unknown letters on top, multiply both sides by the common denominator, and find the letters. A fast way for a single factor : cover up that factor on the left, then put in what is left. This is the "cover-up" trick.
Find . Write . Cover up and put : . Cover up and put : . So the integral of is
Find . Write , so . Then, integrating each piece,
Find . Cover-up gives , , . So the integral is
Find . Write it as . Cover-up for the repeated factor at gives . Cover-up at gives . Comparing the terms on both sides gives , so . Then
Find . The quadratic cannot be factorised, so write . Multiply out: . Putting gives . Comparing : , so . Comparing constants: , so . The integral is
Find . The top has the bigger degree, so divide first: . So the fraction is , and the integral is
Every splitting above was checked by computer at several values of (both sides equal), and every answer was checked by differentiating it.
EXERCISE 7.5
- Find .
- Find .
- Find . (Write .)
- Find .
- Find .
- Find .
- Find . (Divide first.)
- Find . (Factorise the bottom.)
Answers
7.6 Integration by Parts
Substitution undoes the chain rule. Integration by parts undoes the product rule. The product rule says . Integrating both sides and rearranging gives
This turns an integral you cannot do into a different one that is (hopefully) easier. Use it for products of two different kinds of function, such as or , and for functions like and that you cannot integrate directly.
Choose as the factor that becomes simpler when you differentiate it. A memory aid, in order of priority, is ILATE:
- Inverse trigonometric (, )
- Logarithmic ()
- Algebraic (, )
- Trigonometric (, )
- Exponential ()
The factor that comes first in the list is . The rest, with , is .
Find . Take (algebraic comes before exponential) and , so and . Then
: , , . So .
looks like it has no product. Write it as . Take and , so and . Then .
: first, gives . The remaining integral is Example 1 (times ). So the answer is .
Find . Take , : . Apply parts again to the new integral, with : . Put this back:
So . The trick is that the original integral appears again, and you solve for it like an equation.
: write it as , take , . Then .
: (L before A), , so . Then .
EXERCISE 7.6
- Find .
- Find .
- Find .
- Find .
- Find .
- Find .
- Find . (The integral comes back.)
- Find . (Write it as and use parts twice.)
Answers
7.6.2 Integrals of some more types
Sometimes an integrand has the form : a function plus its own derivative, multiplied by . The product rule shows what to expect: . So
- , because is the derivative of (here ).
- , because is the derivative of (here ).
- (here , ).
Three integrals of square roots are worth knowing. They are found by integration by parts, taking as the product. In each, .
| Integrand | Integral (add ) |
|---|---|
Each formula was checked by differentiating it for a specific value of (that is , , in turn).
Example. Find . Complete the square: . With and , use the second formula:
Geometric meaning. is the area of a half-disc of radius . You will see this in Section 7.8, and the formula above gives , as expected.
EXERCISE 7.7
- Find .
- Find .
- Find .
- Find .
- Find .
- Find .
- Find .
Answers
7.7 Definite Integral
So far, an integral gave a function, with a . A definite integral gives a number. It is written and means the total amount of collected as moves from to . The numbers and are the limits of integration.
When , this total is the area between the graph of , the -axis, and the lines and . How can we calculate such an area when the top edge is curved? We trap it between rectangles.
Let us find the area under from to . Cut into equal strips of width . On each strip draw a rectangle whose height is the value of at the left end (a left sum), or at the right end (a right sum). The picture shows strips with left-end heights.
Graph of the curve y equals x squared from 0 to 2, with eight narrow rectangles under it. The top of each rectangle touches the curve at its left corner, so all eight rectangles lie below the curve and leave small gaps.
With more strips the rectangles fit the curve better. Here are the totals (computed by computer):
| Strips | Left sum | Right sum | Middle sum |
|---|---|---|---|
The left sums rise and the right sums fall, and both squeeze towards the same number, . That number is the exact area. In general, the definite integral is defined as this limit:
The sum sign means "add up", and the integral sign is a stretched "S" for "sum". So .
If is negative, the rectangles have negative height, so that part counts as negative area. The picture shows from to . The hump above the axis has area . The hump below has "area" . They cancel, so .
Graph of the sine wave from 0 to 2 pi. The first hump, above the axis, is shaded teal. The second hump, below the axis, is shaded orange. The two humps are equal in size.
7.8 Fundamental Theorem of Calculus
Adding up thousands of strips is slow. Fortunately two theorems turn the whole job into one subtraction. They are so important that they are called fundamental. The first says that the accumulated area is an antiderivative. The second uses that fact to calculate any definite integral.
7.8.1 Area function
Fix a starting point and let the right-hand end move. The area collected from up to a variable point is a function of . It is called the area function:
(We use the letter inside, so that is free to be the upper limit.) As moves to the right, grows by the strip of area that is added.
Example. Let and . The region under this line from to is a trapezoid, with area . So . The computer confirmed this by integrating numerically:
Graph of the straight line y equals 2 t plus 1 from t equals 0 to 2. The region under the line, from 0 to 2, is shaded. The line starts at height 1 and ends at height 5.
Now look at the derivative of the area function: . That is exactly , the height of the line at . This is not an accident. It is the First Fundamental Theorem.
7.8.2 First fundamental theorem of integral calculus
Theorem. If is continuous on , then the area function is differentiable, and
In words: the rate at which the area grows is the height of the graph. If the graph is high at , the area grows fast there. If the graph is at height zero, the area does not grow.
Why it is true. Move the right end from to . The area added is a thin strip of width and height about , so . Divide by and let : .
Consequence. Every continuous function has an antiderivative, namely its area function. This is the link between the two meanings of "integral".
- . You do not need to integrate first. (If you do: the integral is , whose derivative is .)
- If the upper limit is a function of , use the chain rule: . As a check, , whose derivative is . The computer confirmed .
7.8.3 Second fundamental theorem of integral calculus
Theorem. Let be continuous on , and let be any antiderivative of . Then
This turns the limit of sums into a subtraction. We write the subtraction as , which means "put in , put in , subtract".
Why it is true. The area function is one antiderivative. Any other antiderivative differs from it by a constant: . Then . The constant cancels. That is why you never need in a definite integral.
- Find an antiderivative (any one, take ).
- Calculate .
- Write the answer as a number.
- .
- . This is the area of one hump of the sine wave.
- .
- .
- .
- A half-disc. By the formula from Section 7.6.2, . This is the area of a half-disc of radius .
Each of these six values was also checked by integrating numerically (adding thousands of thin strips), and they agree: , , , , , .
EXERCISE 7.8
- Evaluate .
- Evaluate .
- Evaluate .
- Evaluate .
- Evaluate .
- Evaluate .
- Evaluate . (Use or partial fractions.)
- Evaluate . (A quarter-disc of radius . Use the formula from 7.6.2.)
- Evaluate . (Integrate by parts.)
- Evaluate . (Integrate by parts.)
Answers
7.9 Evaluation of Definite Integrals by Substitution
Substitution works for definite integrals too, with one extra step that saves work: change the limits as you change the variable. Then you never have to go back to .
The steps:
- Choose and find , as before.
- Change the limits: when , . When , .
- Rewrite the integral in terms of , with the new limits.
- Integrate and subtract: .
Find . Let , so . When , . When , . So
Find . Let , so . At , . At , . The integral becomes . (Swapping the limits changes the sign, so the minus sign disappears.)
Find . Let , so . Limits: goes from to . So .
Find . Let , so and . Limits: goes from to . Then .
All four answers were checked numerically, both in the original form and in the new form with the new limits.
EXERCISE 7.9
- Evaluate . ()
- Evaluate . ()
- Evaluate . ()
- Evaluate . ()
- Evaluate . ()
- Evaluate . (; note )
- Evaluate . ()
- Evaluate . (Multiply top and bottom by .)
Answers
7.10 Some Properties of Definite Integrals
These rules make many definite integrals easy, sometimes without finding an antiderivative at all. Each rule was checked on an example by computer.
- The letter does not matter. . The variable inside is a dummy.
- Reversing the limits flips the sign. . Example: , and . Also .
- Splitting. For any , . Example: (split at ). The point may even lie outside . This is how you integrate a function defined in pieces.
- Linearity. .
Rule A. . This reflects the graph left to right across the middle of . The area does not change. Example: on , becomes . Both integrals equal .
Rule B. The special case : .
Find . There is no easy antiderivative. Use Rule B with : replacing by swaps sine and cosine, so . Add the two forms:
So . The computer confirms both and the cosine version give .
Rule C. For : if , and if . Example with : , so . And , so .
Rule D (even and odd). An even function has (its graph is symmetric about the vertical axis). An odd function has . Then
- even: . Example: .
- odd: . The left half cancels the right half. Example: .
EXERCISE 7.10
- Evaluate . (Is it even or odd?)
- Evaluate . (Use Rule B and add.)
- Evaluate . (Even function.)
- Evaluate . (Use Rule B: replace by .)
- Evaluate . (Use Rule A, then add the two forms.)
- Evaluate . (Even function. Or split at .)
- Evaluate . (Compare with .)
- Evaluate . (Odd function.)
Answers
Miscellaneous Examples
Find . Multiply top and bottom by to get . Let , so . The integral becomes .
Find . Let , so . Then .
Find . Split: . So the integral is .
Find . By parts, an antiderivative is . Then .
A tank takes in water at the rate litres per minute for . How much water enters in these minutes? The total is litres.
Find . The term is odd, so it contributes . The term is even, so it gives .
Find . From Example 6 of Section 7.6, an antiderivative is . Then the value is .
Miscellaneous Exercise on Chapter 7
- Find . ()
- Find . (Show that the fraction equals , then use .)
- Find . ()
- Find . ()
- Find . (Use , then parts.)
- Evaluate .
- Evaluate . ()
- Evaluate . (Split at : the graph is a V.)
Answers
Summary
- Antiderivative. is an antiderivative of if . The indefinite integral is . Always check by differentiating.
- Linearity. . The integral of a product is not the product of integrals.
- Substitution. Let , . For a definite integral, change the limits too. A shortcut: .
- Trigonometric identities turn products and squares of sine and cosine into sums.
- Partial fractions split a proper rational function into simple fractions. Divide first if it is not proper.
- By parts: . Choose by ILATE. Also .
- Definite integral. is the limit of Riemann sums. It is a signed area.
- First Fundamental Theorem. If , then .
- Second Fundamental Theorem. for any antiderivative of a continuous .
- Properties. Reverse limits flips the sign. Split at any point. . For even : . For odd : .
Summary: partial fractions
| Fraction | Split into |
|---|---|
Summary: integration by substitution
| If the integrand contains ... | try $u = $ |
|---|---|
| and the derivative of the expression | the expression |
| (answer: ) | |
| or | the root |
Rewrite with only and , integrate, then replace . For definite integrals, change the limits instead.
Summary: integrals of some special functions
| Integrand | Integral (add ) |
|---|---|
For a general quadratic, complete the square first.
Summary: integration by parts
- Choose in the order Inverse trigonometric, Logarithmic, Algebraic, Trigonometric, Exponential.
- For or alone, take .
- If the original integral comes back (as in ), solve for it like an equation.
Summary: some special types of integrals
- .
- .
- .
- .
- For a linear top over a quadratic or a square root of it: write as a multiple of the derivative of the denominator, plus a constant.
Summary: first fundamental theorem of integral calculus
If is continuous and , then . The rate at which the area grows equals the height of the graph. With a function of as the upper limit, use the chain rule: .
Summary: second fundamental theorem of integral calculus
If is continuous on and , then . No is needed. The function must be continuous on the whole interval.