Finding antiderivatives

Key to solving integrals, as we have seen, is to find antiderivatives. Here we discuss some methods of how to find them for the basic functions. In general, however, it is not trivial at all to find for any given function an antiderivative! It helps to think about finding the antiderivative as going up, while finding the derivative as going down :

FFff\begin{array}{lll} F & & F\\ \scriptstyle\prime\big\downarrow & & \big\uparrow\scriptstyle\int\\ f & & f \\ \end{array}

Note the integral sign \int to the right of the arrow. It is often used to indicate the process of finding the antiderivative. The notion of going up for the antiderivative is enhanced by using capital letters for antiderivatives (but this is not a rule).

So how do we find the antiderivative of a specific function ff? The general strategy is to go through every function you know and check if its derivative is the desired function ff:

?f\begin{array}{lll} ? \\ \scriptstyle\prime\big\downarrow \\ f \\ \end{array}

In this way we quickly find the antiderivative of some basic functions:

Theorem 1
Equation 1
exsin(x)cos(x)ln(x) ⁣ ⁣ ⁣ ⁣ ⁣ ⁣ ⁣ ⁣ ⁣ ⁣ ⁣ ⁣ ⁣ ⁣excos(x)sin(x)x1\begin{array}{ccccccc} e^x & \sin(x) & -\cos(x) & \ln(x)\\ {\tiny\prime}\!{\big\downarrow}\!\!{\big\uparrow}\!{\tiny\int} & {\tiny\prime}\!{\big\downarrow}\,{\big\uparrow}\!{\tiny\int} & {\tiny\prime}\!{\big\downarrow}\!\!{\big\uparrow}\!{\tiny\int} & {\tiny\prime}\!{\big\downarrow}\!\!{\big\uparrow}\!{\tiny\int}\\ e^x & \cos(x) & \sin(x) & x^{-1} \\ \end{array}

Antiverivatives of exponential, logarithmic and trigonometric functions.

And we also see that finding the antiderivative of weighted sum is no problem:

Theorem 2

The antiderivative of a weighted sum ag(x)+bh(x)ag(x)+bh(x) is the weighted sum of the antiderivatives:

Equation 2
GHaG+bH ⁣ ⁣ ⁣ ⁣ ⁣ ⁣ ⁣ ⁣ ⁣ ⁣ ⁣ ⁣ghag+bh\begin{array}{cccc} G & H & & a\cdot G+ b\cdot H\\ {\tiny\prime}\!{\big\downarrow}\!\!{\big\uparrow}\!{\tiny\int} & {\tiny\prime}\!{\big\downarrow}\!\!{\big\uparrow}\!{\tiny\int} & \Rightarrow & {\tiny\prime}\!{\big\downarrow}\!\!{\big\uparrow}\!{\tiny\int}\\ g & h & & a\cdot g+ b\cdot h \\ \end{array}

Antiderivative of a weight sum is the sum of the antiderivatives.

Example 1

Find the antiderivative of the function f(x)=3cos(x)5exf(x)=3\cos(x)-5e^x.

Solutionsin(x)ex3sin(x)5ex ⁣ ⁣ ⁣ ⁣ ⁣ ⁣ ⁣ ⁣ ⁣ ⁣ ⁣ ⁣cos(x)ex3cos(x)5ex\begin{array}{cccc} \sin(x) & e^x & & 3\sin(x)-5 e^x\\ {\tiny\prime}\!{\big\downarrow}\!\!{\big\uparrow}\!{\tiny\int} & {\tiny\prime}\!{\big\downarrow}\!\!{\big\uparrow}\!{\tiny\int} & \Rightarrow & {\tiny\prime}\!{\big\downarrow}\!\!{\big\uparrow}\!{\tiny\int}\\ \cos(x) & e^x & & 3\cos(x)-5 e^x\\ \end{array}

Finally, let's discuss the antiderivative of power functions xnx^n. We know that the derivative of a power function is essentially obtained by lowering the power by one, so a candidate for the antiderivative is xn+1x^{n+1}, but have to apply a multiplication factor:

Theorem 3

To find the antiderivative of xnx^n, increase first the exponent by 11, and then divide by the new exponent.

Equation 3
1n+1xn+1ln(x)n1 ⁣ ⁣ ⁣ ⁣n=1 ⁣ ⁣ ⁣ ⁣xnx1\begin{array}{ccccccc} & & \frac{1}{n+1} x^{n+1} & & & & \ln(x) \\[0.3em] n\neq -1 & \Rightarrow & {\tiny\prime}\!{\big\downarrow}\!\!{\big\uparrow}\!{\tiny\int} & & n=-1 & \Rightarrow & {\tiny\prime}\!{\big\downarrow}\!\!{\big\uparrow}\!{\tiny\int}\\ & & x^n & & & & x^{-1} \\ \end{array}

Antiderivative of a power function.

Note that this rule does not for n=1n=-1, as increasing the exponent by 11 results in 00 as the new exponent, and we cannot divide by 00. But we already now from differential calculus, that the derivative of ln(x)\ln(x) is 1x=x1\frac{1}{x}=x^{-1}.

Exercise 1

Determine the antiderivative of the following functions:

  1. f(x)=3f(x)=3 for all xx (constant function)

  2. f(x)=2xf(x)=2x

  3. f(x)=xf(x)=\sqrt{x}

  4. f(x)=1x2f(x)=\frac{1}{x^2}

  5. f(x)=2xf(x)=\frac{2}{x}

  6. f(x)=2x3+4x+1f(x)=2x^3+4x+1

  7. f(x)=(x1)2f(x)=(x-1)^2

  8. f(x)=2x+3exf(x)=\frac{2}{x}+3e^x

Solution
  1. f(x)=3x0f(x)=3x^0 (thus n=0n=0). It follows F(x)=310+1x0+1=3xF(x)=3\cdot \frac{1}{0+1} x^{0+1}=3x
  2. f(x)=2x1f(x)=2 x^1 (thus n=1n=1). It follows F(x)=211+1x1+1=x2F(x)=2\cdot \frac{1}{1+1}x^{1+1}=x^2
  3. f(x)=x0.5f(x)=x^{0.5} (thus n=0.5n=0.5). It follows F(x)=11+0.5x1+0.5=23x3/2F(x)=\frac{1}{1+0.5}x^{1+0.5} = \frac{2}{3}x^{3/2}
  4. f(x)=x2f(x)=x^{-2} (thus n=2n=-2). It follows F(x)=12+1x2+1=x1=1xF(x)=\frac{1}{-2+1}x^{-2+1} =-x^{-1}=-\frac{1}{x}.
  5. f(x)=2x1f(x)=2 x^{-1} (thus n=1n=-1). It follows F(x)=2ln(x)F(x)=2\ln(x)
  6. F(x)=213+1x3+1+411+1x1+1+110+1x0+1=12x4+2x2+xF(x)=2\cdot\frac{1}{3+1}x^{3+1}+4\cdot \frac{1}{1+1} x^{1+1} + 1\cdot\frac{1}{0+1}x^{0+1}=\frac{1}{2}x^4+2x^2+x
  7. f(x)=x22x+1f(x)=x^2-2x+1, thus F(x)=13x3212x2+11x=13x3x2+xF(x)=\frac{1}{3}x^3-2\cdot \frac{1}{2}x^2+\frac{1}{1}x=\frac{1}{3}x^3-x^2+x
  8. f(x)=21x+3exf(x)=2\frac{1}{x}+3e^x, thus F(x)=2ln(x)+3exF(x)=2\ln(x)+3e^x