Antiderivative

The slope field of ƒ(x) = (x3/3)-(x2/2)-x+c, showing three of the infinitely many solutions that can be produced by varying the arbitrary constant C.

In calculus, an antiderivative, primitive or indefinite integral[1] 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 called antidifferentiation (or indefinite integration) and its opposite function is called differentiation, which is the process of finding a derivative. Antiderivatives are related to definite integrals through the fundamental theorem of calculus: the definite integral of a function over an interval is equal to the difference between the values of an antiderivative evaluated at the endpoints of the interval.

The discrete equivalent of the notion of antiderivative is antidifference.

Contents

Rules and formula

Antidifferentiation is the process of finding the set of all antiderivatives of a given function. The symbol \textstyle \int denotes the operation of antidifferentiation

\int f(x) \,dx = F(x) + C
where
F'\!(x) =\frac {d}{dx} F(x) = f(x).

The expression F(x) + C is the general antiderivative of ƒ. The constant C is used because the derivative of a constant is always 0. The notation C should be understood to mean a quantity that is constant on every connected interval within the domain separately, but not necessarily constant on the whole domain. For example

 \int \frac{dx}{x^3} = \frac{-1}{2x^2} + \begin{cases} \text{one constant} & \text{for }x > 0, \\  \text{another constant} & \text{for }x < 0.\end{cases}

Because antidifferentiation is the inverse operation of the differentiation, antidifferentiation theorems and rules are obtained from those on differentiation. Thus, the following theorems can be proven from the corresponding differentiation theorems:

\int dx = x +C
\int af(x) \,dx = a \int f(x)\, dx
\int [f(x) + g(x)] \,dx = \int f(x) \,dx + \int g(x)\, dx

\int x^n\, dx = 
\begin{cases} 
  \frac {x^{n+1}}{n+1} + C,  & \text{if }n \ne -1 \\[6pt]
  \ln |x| + C, & \text{if }n = -1
\end{cases}

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, all the antiderivatives 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(x)\,dx = F(b) - F(a).

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(x)\, 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(x)=\begin{cases}-\frac{1}{x}+C_1\quad x<0\\-\frac{1}{x}+C_2\quad x>0\end{cases}

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

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

F(x)=\int_a^x f(t)\,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^{-x^2}\,dx,\qquad \int \frac{\sin(x)}{x}\,dx,\qquad \int\frac{1}{\ln x}\,dx,\qquad \int x^{x}\,dx.

See also differential Galois theory for a more detailed discussion.

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_{x_0}^x \int_{x_0}^{x_1} \dots \int_{x_0}^{x_{n-1}} f(x_n) \,dx_n \dots \, d x_2\, d x_1= \int_{x_0}^x f(t) \frac{(x-t)^{n-1}}{(n-1)!}\,dt .

Antiderivatives of non-continuous functions

Non-continuous functions can have antiderivatives. While there are still open questions in this area, it is known that:

Assuming that the domains of the functions are open intervals:

\sum_{i=1}^n f(x_i^*)(x_i-x_{i-1}) = \sum_{i=1}^n [F(x_i)-F(x_{i-1})] = F(x_n)-F(x_0) = F(b)-F(a)
However if f is unbounded, or if f is bounded but the set of discontinuities of f has positive Lebesgue measure, a different choice of sample points x_i^* may 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(x)=2x\sin\left(\frac{1}{x}\right)-\cos\left(\frac{1}{x}\right)
    with f\left(0\right)=0 is not continuous at x=0 but has the antiderivative
    F\left(x\right)=x^2\sin\left(\frac{1}{x}\right)
    with F\left(0\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(x)=\int_0^x f(t)\,dt.
  2. The function
    f(x)=2x\sin\left(\frac{1}{x^2}\right)-\frac{2}{x}\cos\left(\frac{1}{x^2}\right)
    with f\left(0\right)=0 is not continuous at x=0 but has the antiderivative
    F(x)=x^2\sin\left(\frac{1}{x^2}\right)
    with F\left(0\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 \{x_n\}_{n\ge1} is a dense countable subset of the open interval \left(-1,1\right), then the function
    g(x)=\sum_{n=1}^\infty \frac{f(x-x_n)}{2^n}

    has an antiderivative

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

    The set of discontinuities of g is precisely the set \{x_n\}_{n\ge1}. 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 \{x_n\}_{n\ge1} be a dense countable subset of the open interval \left(-1,1\right). Consider the everywhere continuous strictly increasing function
    F(x)=\sum_{n=1}^\infty\frac{1}{2^n}(x-x_n)^{1/3}.

    It can be shown that

    F'(x)=\sum_{n=1}^\infty\frac{1}{3\cdot2^n}(x-x_n)^{-2/3}
    Figure 1.
    Figure 2.

    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 \{x_n\}_{n\ge1}.

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

    g\left(x\right)=G'\left(x\right)=0

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

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

    since for any partition of \left[F\left(-1\right),F\left(1\right)\right], one can choose sample points for the Riemann sum from the set \{F(x_n)\}_{n\ge1}, 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 \{x_n=\cos(n)\}_{n\ge1} 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(a,b\right). However these examples can be easily modified so as to have sets of discontinuities which are dense on the entire real line (-\infty,\infty). Let
    \lambda(x) = \frac{a+b}{2} + \frac{b-a}{\pi}\tan^{-1}(x).
    Then g\left(\lambda(x)\right)\lambda'(x) has a dense set of discontinuities on (-\infty,\infty) and has antiderivative G\cdot\lambda.
  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[a,b\right] is 0 whenever a and b are both rational, instead of G\left(b\right)-G\left(a\right). Thus the fundamental theorem of calculus will fail spectacularly.

See also

Notes

  1. Antiderivatives are also called general integrals, and sometimes integrals. The latter term is generic, and refers not only to indefinite integrals (antiderivatives), but also to definite integrals. When the word integral is used without additional specification, the reader is supposed to deduce from the context whether it is referred to a definite or indefinite integral. Some authors define the indefinite integral of a function as the set of its infinitely many possible antiderivatives. Others define it as an arbitrarily selected element of that set. Wikipedia adopts the latter approach.

References