Definitions

# Antiderivative

[an-tee-duh-riv-uh-tiv, an-tahy-]

In calculus, an antiderivative, primitive or indefinite integral of a function f is a function F whose derivative is equal to f, i.e., F ′ = f. The process of solving for antiderivatives is antidifferentiation (or indefinite integration). Antiderivatives are related to definite integrals through the fundamental theorem of calculus, and provide a convenient means for calculating the definite integrals of many functions.

## Example

The function F(x) = x3/3 is an antiderivative of f(x) = x2. As the derivative of a constant is zero, x2 will have an infinite number of antiderivatives; such as (x3/3) + 0, (x3 / 3) + 7, (x3 / 3) − 42, etc. Thus, the entire antiderivative family of x2 can be obtained by changing the value of C in F(x) = (x3 / 3) + C; where C is an arbitrary constant known as the constant of integration. Essentially, the graphs of antiderivatives of a given function are vertical translations of each other; each graph's location depending upon the value of C.

## Uses and properties

Antiderivatives are important because they can be used to compute definite integrals, using the fundamental theorem of calculus: if F is an antiderivative of the integrable function f, then:

$int_a^b f\left(x\right),dx = F\left(b\right) - F\left(a\right).$

Because of this, each of the infinitely many antiderivatives of a given function f is sometimes called the "general integral" or "indefinite integral" of f and is written using the integral symbol with no bounds:

$int f\left(x\right), dx.$

If F is an antiderivative of f, and the function f is defined on some interval, then every other antiderivative G of f differs from F by a constant: there exists a number C such that G(x) = F(x) + C for all x. C is called the arbitrary constant of integration. If the domain of F is a disjoint union of two or more intervals, then a different constant of integration may be chosen for each of the intervals. For instance

$F\left(x\right)=begin\left\{cases\right\}-frac\left\{1\right\}\left\{x\right\}+C_1quad x<0-frac\left\{1\right\}\left\{x\right\}+C_2quad x>0end\left\{cases\right\}$

is the most general antiderivative of $f\left(x\right)=1/x^2$ on its natural domain $\left(-infty,0\right)cup\left(0,infty\right).$

Every continuous function f has an antiderivative, and one antiderivative F is given by the definite integral of f with variable upper boundary:

$F\left(x\right)=int_a^x f\left(t\right),dt.$
Varying the lower boundary produces other antiderivatives (but not necessarily all possible antiderivatives). This is another formulation of the fundamental theorem of calculus.

There are many functions whose antiderivatives, even though they exist, cannot be expressed in terms of elementary functions (like polynomials, exponential functions, logarithms, trigonometric functions, inverse trigonometric functions and their combinations). Examples of these are

$int e^\left\{-x^2\right\},dx,qquad int frac\left\{sin\left(x\right)\right\}\left\{x\right\},dx,qquad intfrac\left\{1\right\}\left\{ln x\right\},dx,qquad int x^\left\{x\right\},dx.$

## Techniques of integration

Finding antiderivatives of elementary functions is often considerably harder than finding their derivatives. For some elementary functions, it is impossible to find an antiderivative in terms of other elementary functions. See the article on elementary functions for further information.

We have various methods at our disposal:

$int_\left\{x_0\right\}^x int_\left\{x_0\right\}^\left\{x_1\right\} dots int_\left\{x_0\right\}^\left\{x_\left\{n-1\right\}\right\} f\left(x_n\right) dx_n dots , d x_2 d x_1= int_\left\{x_0\right\}^x f\left(t\right) frac\left\{\left(x-t\right)^\left\{n-1\right\}\right\}\left\{\left(n-1\right)!\right\}dt .$

## Antiderivatives of non-continuous functions

To illustrate some of the subtleties of the fundamental theorem of calculus, it is instructive to consider what kinds of non-continuous functions might have antiderivatives. While there are still open questions in this area, it is known that:

• Some highly pathological functions with large sets of discontinuities may nevertheless have antiderivatives.
• In some cases, the antiderivatives of such pathological functions may be found by Riemann integration, while in other cases these functions are not Riemann integrable.

We first state some general facts and then provide some illustrative examples. Throughout, we assume that the domains of our functions are open intervals.

• A necessary, but not sufficient, condition for a function f to have an antiderivative is that f have the intermediate value property. That is, if [a,b] is a subinterval of the domain of f and d is any real number between f(a) and f(b), then f(c)=d for some c between a and b. To see this, let F be an antiderivative of f and consider the continuous function g(x)=F(x)-dx on the closed interval [a, b]. Then g must have either a maximum or minimum c in the open interval (a,b) and so 0=g′(c)=f(c)-d.
• The set of discontinuities of f must be a meagre set. This set must also be an F-sigma set (since the set of discontinuities of any function must be of this type). Moreover for any meagre F-sigma set, one can construct some function f having an antiderivative, which has the given set as its set of discontinuities.
• If f has an antiderivative, is bounded on closed finite subintervals of the domain and has a set of discontinuities of Lebesgue measure 0, then an antiderivative may be found by integration.
• If f has an antiderivative F on a closed interval [a,b], then for any choice of partition F(b)-F(a).

$sum_\left\{i=1\right\}^n f\left(x_i^*\right)\left(x_i-x_\left\{i-1\right\}\right) = sum_\left\{i=1\right\}^n \left[F\left(x_i\right)-F\left(x_\left\{i-1\right\}\right)\right] = F\left(x_n\right)-F\left(x_0\right) = F\left(b\right)-F\left(a\right)$
However if the set of discontinuities of f has positive Lebesgue measure, a different choice of sample points $x_i^*$ will give a significantly different value for the Riemann sum, no matter how fine the partition. See Example 4 below.

### Some examples

1. The function
$f\left(x\right)=2xsinleft\left(frac\left\{1\right\}\left\{x\right\}right\right)-cosleft\left(frac\left\{1\right\}\left\{x\right\}right\right)$

with $fleft\left(0right\right)=0$ is not continuous at $x=0$ but has the antiderivative

$Fleft\left(xright\right)=x^2sinleft\left(frac\left\{1\right\}\left\{x\right\}right\right)$

`with $Fleft\left(0right\right)=0$. Since f is bounded on closed finite intervals and is only discontinuous at 0, the antiderivative F may be obtained by integration: $F\left(x\right)=int_0^x f\left(t\right),dt$.`
2. The function

$f\left(x\right)=2xsinleft\left(frac\left\{1\right\}\left\{x^2\right\}right\right)-frac\left\{2\right\}\left\{x\right\}cosleft\left(frac\left\{1\right\}\left\{x^2\right\}right\right)$

with $fleft\left(0right\right)=0$ is not continuous at $x=0$ but has the antiderivative

$F\left(x\right)=x^2sinleft\left(frac\left\{1\right\}\left\{x^2\right\}right\right)$

with $Fleft\left(0right\right)=0$. Unlike Example 1, f(x) is unbounded in any interval containing 0, so the Riemann integral is undefined.

3. If f(x) is the function in Example 1 and F is its antiderivative, and $\left\{x_n\right\}_\left\{nge1\right\}$ is a dense countable subset of the open interval $left\left(-1,1right\right)$, then the function

$g\left(x\right)=sum_\left\{n=1\right\}^infty frac\left\{f\left(x-x_n\right)\right\}\left\{2^n\right\}$

has as antiderivative

$G\left(x\right)=sum_\left\{n=1\right\}^infty frac\left\{F\left(x-x_n\right)\right\}\left\{2^n\right\}.$

The set of discontinuities of g is precisely the set $\left\{x_n\right\}_\left\{nge1\right\}$. Since g is bounded on closed finite intervals and the set of discontinuities has measure 0, the antiderivative G may be found by integration.

4. Let $\left\{x_n\right\}_\left\{nge1\right\}$ be a dense countable subset of the open interval $left\left(-1,1right\right)$. Consider the everywhere continuous strictly increasing function

$F\left(x\right)=sum_\left\{n=1\right\}^inftyfrac\left\{1\right\}\left\{2^n\right\}\left(x-x_n\right)^\left\{1/3\right\}.$

It can be shown that

$F\text{'}\left(x\right)=sum_\left\{n=1\right\}^inftyfrac\left\{1\right\}\left\{3cdot2^n\right\}\left(x-x_n\right)^\left\{-2/3\right\}$

for all values x where the series converges, and that the graph of F(x) has vertical tangent lines at all other values of x. In particular the graph has vertical tangent lines at all points in the set $\left\{x_n\right\}_\left\{nge1\right\}$.

Moreover $Fleft\left(xright\right)ge0$ for all x where the derivative is defined. It follows that the inverse function $G=F^\left\{-1\right\}$ is differentiable everywhere and that

$gleft\left(xright\right)=G\text{'}left\left(xright\right)=0$

for all x in the set $\left\{F\left(x_n\right)\right\}_\left\{nge1\right\}$ which is dense in the interval $left\left[Fleft\left(-1right\right),Fleft\left(1right\right)right\right]$. Thus g has an antiderivative G. On the other hand, it can not be true that

$int_\left\{F\left(-1\right)\right\}^\left\{F\left(1\right)\right\}g\left(x\right),dx=GF\left(1\right)-GF\left(-1\right)=2,$

since for any partition of $left\left[Fleft\left(-1right\right),Fleft\left(1right\right)right\right]$, one can choose sample points for the Riemann sum from the set $\left\{F\left(x_n\right)\right\}_\left\{nge1\right\}$, giving a value of 0 for the sum. It follows that g has a set of discontinuities of positive Lebesgue measure. Figure 1 on the right shows an approximation to the graph of g(x) where $\left\{x_n=cos\left(n\right)\right\}_\left\{nge1\right\}$ and the series is truncated to 8 terms. Figure 2 shows the graph of an approximation to the antiderivative G(x), also truncated to 8 terms. On the other hand if the Riemann integral is replaced by the Lebesgue integral, then Fatou's lemma or the dominated convergence theorem shows that g does satisfy the fundamental theorem of calculus in that context.

5. In Examples 3 and 4, the sets of discontinuities of the functions g are dense only in a finite open interval $left\left(a,bright\right)$. However these examples can be easily modified so as to have sets of discontinuities which are dense on the entire real line $\left(-infty,infty\right)$. Let
$lambda\left(x\right) = frac\left\{a+b\right\}\left\{2\right\} + frac\left\{b-a\right\}\left\{pi\right\}tan^\left\{-1\right\}\left(x\right).$
Then $gleft\left(lambda\left(x\right)right\right)lambda\text{'}\left(x\right)$ has a dense set of discontinuities on $\left(-infty,infty\right)$ and has antiderivative $Gcdotlambda.$
6. Using a similar method as in Example 5, one can modify g in Example 4 so as to vanish at all rational numbers. If one uses a naive version of the Riemann integral defined as the limit of left-hand or right-hand Riemann sums over regular partitions, one will obtain that the integral of such a function g over an interval $left\left[a,bright\right]$ is 0 whenever a and b are both rational, instead of $Gleft\left(bright\right)-Gleft\left(aright\right)$. Thus the fundamental theorem of calculus will fail spectacularly.