Antidifferentiation

Recall that an antiderivative of a function f is just some function F whose derivative equals f. As a consequence of the fundamental theorem of calculus, we will be deeply invested in learning how to find such antiderivatives, and a good spot to start is by looking back at what we know from differential calculus, and seeing which rules or techniques are easy to “undo”.

Differential calculus is built by learning the derivatives of a small number of specific functions (powers, exponentials, logs, and trigonometric), and then learning ways to differentiate combinations of these (sums, differences, constant multiples, products, quotients, and compositions).

Elementary Antiderivatives

One means of getting our hands on some antidifferentiation tehcinques is simply to “read differentiation rule in reverse”! For a first example; since we know the derivative of x2 is 2x, this immediately implies that an antiderivative of 2x is x2 (recall of course that there are others, the indefinite integral of 2x is x2+C). Dividing both functions involved here by two, its natural to suggest that this implies that an antiderivative of x is 12x2: and indeed, this can be directly checked by differentiation: (12x2)=xxdx=12x2+C

We can carry out this reasoning in greater generality: since the derivative of xn is nxn1, we see that an antiderivative of xn1 is 1nxn, which is more commonly written as below, all the indices up by one:

xndx=1n+1xn+1+C

This formula makes sense all values of n except n=1, where the right hand side suggests we should do the unthinkable, and divide by zero! We should take this as a sign that we probably need to treat this case, of x1=1/x separately, and step back to think about it from first principles. An antiderivative of 1/x is just some function F where F(x)=1/x - and we know from differential calculus that the natural log (of the absolute value of x) satisfies this exactly! Thus,

1xdx=ln|x|+C

Moving on, we may use similar reasoning to uncover the antiderivatives of familiar exponential and trigonometric functions. First off, since ex is its own derivative, it is also its own antiderivative: exdx=ex+C

And since the differentiation rule for a general exponential with base a leads to multiplication by a’s natural log, (ax)=axln(a), the antidifferentation rule for ax involves division by ln(a): axdx=1lnaax+C

Finally, since the derivative of sin is cosine, we have cosxdx=sinx+C and (cosx)=sin implies, as one can easily check, that sinxdx=cosx+C

All other trigonometric integration formulas are direct consequences of these, so there’s no need to memorize them now: we will be able to derive them all from basic principles in short order! So this is in some sense the end of our list of elementary antiderivatives; the basic building blocks from which all others will be built.

Antiderivatives of Sums and Constant Multiples

In differential calculus, there is a very simple rule for how to differentiate a constant multiple of a function: if f(x) is an arbitrary function and c is any real number, then (kf(x))=kf(x) That is, we can ‘pull the constant out’ of the derivative, and work only on differentiating f, throwing k back in at the end. (This is easy to justify to yourself if you write down the limit definition of the derivative: you can literally pull the k right out of the numerator of the limit!)

This suggests an analogous rule for antidifferentation: if f is any function and k is a constant, then kF is an antiderivative of kf, whenever F is an antiderivative of f. This rule is particularly easy to remember when written as an equality of indefinite integrals: kfdx=kfdx

Similarly, there is a very nice rule for differentiating sums of functions: you can just differentiate each term of the sum separately! In symbols, (f+g)=f+g This also comes with a twin antidifferentiation rule: (f+g)dx=fdx+gdx

The other two famous rules for differentation are the chain rule and product/quotient rule, for differenting compositions and products of functions. These too have antidifferentiation analogs (called u-substitution and integration by parts), but their application is more involved so each will be treated with its own lesson in due time.

Examples:

Putting all these basic rules together makes it possible already to anti differentiate some complicated looking expressions! Here’s a couple examples to try:

f(x)=xπ+πx

f(x)=2x33x2cos(x)6

f(x)=ln(x4)