The antiderivative

We turn our attention to the second half of calculus, integral calculus. The integral as a mathemaical operation is, by most ways of looking at it, the inverse of the derivative. We'll begin by introducing the differential, which is just a slight shift in our thinking,

moving from Δx in the difference quotient limit to dx, an infinitessimal change in the coordinate x. Then we'll connect the derivative and the integral using the mean value theorem.


The differential

If we define the differential, dx, as an infinitessimal (vanishingly small) change in the coordinate x, then the derivative

If we define the differential, dx, as an infinitessimal (vanishingly small) change in the coordinate x, then the derivative

can just be viewed as a ratio of differentials in y and x, the slope of a very short (infinitessimally short) line tangent to the function y = f(x) at a point of interest. From this point of view it's easy to rearrange our notation for the derivative of f(x):

to a definition of the differential of x:

Although Gottfried Leibniz, who—independently but at the same time as Isaac Newton—founded calculus, didn't really intend this interpretation of his notation, it is correct and very convenient. It has been said that acceptance of Leibniz's notation on the European continent led to a decades-long leap ahead in calculus over the mathematicians of Newton's home, England, where the notation was not adopted until much later.

In order to get comfortable with the idea of the differential, let's use it in a linear approximation problem. We'll compare it side-by-side to the notation we developed before.

A Problem: Estimate the value of 27.31/3

Solution in both notations↓

... in Δx notation

We recall that the linear approximation of a function f(x) is

linear approx. delta X

Our function is f(x) = x1/3 ; we'll center our approxmation at xo = 27 and evaluate the result at x = 27.3:

linear approx equations 1

for an error of about 0.7% from the calculated value, f(27.3) = 3.011.


... & in differential notation

In differential notation, that becomes:

linear approximation differential

So you see it's just a slight shift of notation to get to the same place. The linear approximation of a function near a point, xo, is just the value of the function at that point plus the differential distance from it. The smaller dx, the smaller dy and the smaller the error in the approximation.

dx and dy are infinitessimally small changes in the coordinates x and y, respectively. The derivative, dy/dx, may be considered to be a ratio of differentials.

The antiderivative or indefinite integral

Now let's let f(x) be the function that is the derivative of F(x):

We define the antiderivative of f(x) to be:

We've introduced the integral symbol here: ∫ . It's origin is Liebniz, who (and we'll learn why later) considered the integral to be a summation of infinitessimals (differentials), and wrote the word "summation" with an f: fummation. Thus the integral symbol looks a bit like an f, or the f-hole in a violin.

violin f-hole photo

f-hole in a violin


Some important antiderivatives

Trigonometric functions

1.     ∫ sin(x) dx

We need a function which, when differentiated, gives sin(x). We know that the derivative of cos(x) is -sin(x), so the function F(x) = -cos(x) fits the bill:

because

There's just one thing . . . G(x) = -cos(x) + 7   works, too, because the derivative of the constant, 7, is zero. In fact, F(x) = -cos(x) + C, where C is an arbitrary constant (just pick one) works just fine. We say that the integral of f(x) = sin(x) is -cos(x) to within an additive constant. It's the same for all indefinite integrals: don't forget to add the constant:

An indefinite integral (antiderivative) can be found to within an additive constant (See "An Important Question" below).

2.     ∫ cos(x) dx

We need a function which, when differentiated, gives cos(x). We know that the derivative of sin(x) is cos(x), so the function F(x) = sin(x) fits the bill:

because


3.     ∫ sec2(x) dx

This integral rounds out our basic trigonometric integrals:

because


The power rule of integration

4.     ∫ xn dx   —   The power rule of integration

Here we just need to work backward from the power rule of differentiation. We need a function that when differentiated gives xn, which has no constant coefficient. The solution is:


because

But of course there's a catch here ... did you spot it? This indefinite integral fails if n = -1, so we don't yet know how to find the antiderivative of   f(x) = x-1. We'll cover that below.


Exponential and logarithmic functions

5.     ∫ x-1 dx

First, this integral is often written as

Now if we recall that the derivative of f(x) = ln(x) is 1/x, we have:

because



6.     ∫ ex dx

Because the derivative of f(x) = ex is ex, we have our easiest integral:


7. Integrals involving inverse trignonometric functions

We developed the derivatives of the inverse trigonometric functions in the implicit derivatives section. That leads to six very important indifinite integrals we will use often later:


An important question: How do we know that the integral of a function is unique (to within a constant)?

Mathematically speaking, it would be a bummer if sin(x) + C wasn't (notwithstanding the C) the only indefinite integral of f(x) = cos(x). Mathematics doesn't deal that well with ambiguity. Uncertainty, yes, that's OK. Ambiguity is not. How do we know that sin(x) + C is the only indefinite integral of f(x) = cos(x)?

The answer lies with the Mean Value Theorem. Here's how it works. Imagine that F(x) and G(x) are both antiderivatives of a function f(x), meaning

Now if this is true, then the difference between derivatives must be zero:

Now we proved earlier, using the Mean Value Theorem , that the value of the derivative of a constant is zero (or if the derivative of a function is zero, then that function is constant) so we have

for some constant c, or

Thus we have proved that if G(x) and F(x) are both antiderivatives of f(x), then they can only differ by at most a constant.

This is a very important result in integral calculus because it proves the uniqueness (to within an additive constant) of an indefinite integral — there is no ambiguity!


Properties of Indefinite Integrals

Two important properties of indefinite integrals (presented without proof, for now) will help us to use the basic integrals developed above to solve more complicated ones. Using these with the substitution technique in the next section will take you a long way toward finding many integrals.

Multiplication by a constant

The antiderivative of a function multiplied by a constant is just the antiderivative of the function multiplied by that constant:

Antiderivative of a sum or difference

The antiderivative of a sum of functions, f(x) and g(x) is just the sum of the individual antiderivatives:

These properties make many antiderivatives much easier to find, so learn to use them.


Integration by substitution — "u-substitution"

Using just the indefinite integrals (antiderivatives) we've got so far, coupled with those two properties, it's possible to find the integrals of a whole class of more complicated functions. For example, this integral:

It's simple to try a substitution here:

Taking the derivative with respect to x of both sides, we get:

Now we substitute into the original integral, u for   x5- 3   and   5x4dx   for   x4dx, making sure to multiply by 1/5 outside of the integral to compensate for the extra factor of 5 we introduced. From there it's an easy matter to solve the integral (using the power rule of integration above) and then resubstitute for u:


Example 1

Find the indefiinite integral (the antiderivative):    


It's not always easy to tell whether substitution (and for what?) is going to work. Sometimes you just have to try something based on your intuition and see if it works. In this case, notice that the degree of the denominator is one greater than that of the numerator, so when we determine du, the degrees of du and the numerator match. It doesn't always work out like it does here, but it's a good thing to try.

We'll try the substitution

Then taking the derivative du/dx gives us

That's everything we need in the numerator of our integrand, except the extra 3, which we'll have to divide away. Then the antiderivative is a simple one:

Re-substituting for u gives us our final result:


Example 2

Find the indefiinite integral (the antiderivative):  


1 + x4 is a good candidate for substitution:

Substitute, rearrange and solve the integral

Now back-substitute for u to get the final answer:

Make sure to differentiate your antiderivatives to see if they're correct. That's the nice thing about most integrals - you can easily check to make sure you've got it right.

One caution, though. Once in a while, when working integrals of trigonometric functions, differentiating the answer can give something that doesn't look too much like the original integrand. Fiddling with trig. identities will resolve it, but sometimes that's tough.


Example 3

Find the indefiinite integral:  


Make the substitution u = 1 + ex, then du = ex dx. Then solve

example 3 equation 2.

The new integral is a simple one that should be familiar:

example 3 equation 3

Re-substitution for u finally gives the result:

Easy peasy, lemon squeezy.



Video examples


1. Three examples of integration by U-substitution

Here are three different examples of integration by U-substitution, spanning simple functions, logs and trigonometric functions. The trickiest things about U-substitution are (1) figuring out what to substitute – that's mostly trial-and-error and developing an intuition, and (2) figuring out how to properly substitute for the part that has "dx" in it.

Minutes of your life: 4:48


Practice problems

Find each of the following indefinite integrals, to within an additive constant, C, either directly from a known derivative, from the integral power rule or by substitution:

You can help


This site is a one-person operation. If you can manage it, I'd appreciate anything you could give to help defray the cost of keeping up the domain name, server, search service and my time.


Creative Commons License   optimized for firefox
xaktly.com by Dr. Jeff Cruzan is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License. © 2012, Jeff Cruzan. All text and images on this website not specifically attributed to another source were created by me and I reserve all rights as to their use. Any opinions expressed on this website are entirely mine, and do not necessarily reflect the views of any of my employers. Please feel free to send any questions or comments to jeff.cruzan@verizon.net.