Antiderivative



In calculus, an antiderivative, inverse derivative, primitive function, primitive integral or indefinite integral of a function $f$ is a differentiable function $F$ whose derivative is equal to the original function $f$. This can be stated symbolically as $F' = f$. The process of solving for antiderivatives is called antidifferentiation (or indefinite integration), and its opposite operation is called differentiation, which is the process of finding a derivative. Antiderivatives are often denoted by capital Roman letters such as $c$ and $F$.

Antiderivatives are related to definite integrals through the second fundamental theorem of calculus: the definite integral of a function over a closed interval where the function is Riemann integrable is equal to the difference between the values of an antiderivative evaluated at the endpoints of the interval.

In physics, antiderivatives arise in the context of rectilinear motion (e.g., in explaining the relationship between position, velocity and acceleration). The discrete equivalent of the notion of antiderivative is antidifference.

Examples
The function $$F(x) = \tfrac{x^3}{3}$$ is an antiderivative of $$f(x) = x^2$$, since the derivative of $$\tfrac{x^3}{3}$$ is $$x^2$$. Since the derivative of a constant is zero, $$x^2$$ will have an infinite number of antiderivatives, such as $$\tfrac{x^3}{3}, \tfrac{x^3}{3}+1, \tfrac{x^3}{3}-2$$, etc. Thus, all the antiderivatives of $$x^2$$ can be obtained by changing the value of $c$ in $$F(x) = \tfrac{x^3}{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, with each graph's vertical location depending upon the value $c$.

More generally, the power function $$f(x) = x^n$$ has antiderivative $$F(x) = \tfrac{x^{n+1}}{n+1} + c$$ if $n ≠ &minus;1$, and $$F(x) = \ln |x| + c$$ if $n = &minus;1$.

In physics, the integration of acceleration yields velocity plus a constant. The constant is the initial velocity term that would be lost upon taking the derivative of velocity, because the derivative of a constant term is zero. This same pattern applies to further integrations and derivatives of motion (position, velocity, acceleration, and so on). Thus, integration produces the relations of acceleration, velocity and displacement: $$\begin{align} \int a \, \mathrm{d}t &= v + C \\ \int v \, \mathrm{d}t &= s + C \end{align}$$

Uses and properties
Antiderivatives can be used to compute definite integrals, using the fundamental theorem of calculus: if $F$ is an antiderivative of the continuous function $f$ over the interval $$[a,b]$$, then: $$\int_a^b f(x)\,\mathrm{d}x = F(b) - F(a).$$

Because of this, each of the infinitely many antiderivatives of a given function $f$ may be called the "indefinite integral" of f and written using the integral symbol with no bounds: $$\int f(x)\,\mathrm{d}x.$$

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 constant of integration. If the domain of $F$ is a disjoint union of two or more (open) intervals, then a different constant of integration may be chosen for each of the intervals. For instance $$F(x) = \begin{cases} -\dfrac{1}{x} + c_1 & x<0 \\[1ex] -\dfrac{1}{x} + c_2 & 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)\,\mathrm{d}t ~,$$ for any $a$ in the domain of $f$. 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


 * the error function $$\int e^{-x^2}\,\mathrm{d}x,$$
 * the Fresnel function $$\int \sin x^2\,\mathrm{d}x,$$
 * the sine integral $$\int \frac{\sin x}{x}\,\mathrm{d}x,$$
 * the logarithmic integral function $$\int\frac{1}{\log x}\,\mathrm{d}x,$$ and
 * sophomore's dream $$\int x^{x}\,\mathrm{d}x.$$

For a more detailed discussion, see also Differential Galois theory.

Techniques of integration
Finding antiderivatives of elementary functions is often considerably harder than finding their derivatives (indeed, there is no pre-defined method for computing indefinite integrals). For some elementary functions, it is impossible to find an antiderivative in terms of other elementary functions. To learn more, see elementary functions and nonelementary integral.

There exist many properties and techniques for finding antiderivatives. These include, among others:


 * The linearity of integration (which breaks complicated integrals into simpler ones)
 * Integration by substitution, often combined with trigonometric identities or the natural logarithm
 * The inverse chain rule method (a special case of integration by substitution)
 * Integration by parts (to integrate products of functions)
 * Inverse function integration (a formula that expresses the antiderivative of the inverse $f$ of an invertible and continuous function $G$, in terms of the antiderivative of $f$ and of $f$).
 * The method of partial fractions in integration (which allows us to integrate all rational functions—fractions of two polynomials)
 * The Risch algorithm
 * Additional techniques for multiple integrations (see for instance double integrals, polar coordinates, the Jacobian and the Stokes' theorem)
 * Numerical integration (a technique for approximating a definite integral when no elementary antiderivative exists, as in the case of $exp(−x^{2})$)
 * Algebraic manipulation of integrand (so that other integration techniques, such as integration by substitution, may be used)
 * Cauchy formula for repeated integration (to calculate the $n$-times antiderivative of a function) $$ \int_{x_0}^x \int_{x_0}^{x_1} \cdots \int_{x_0}^{x_{n-1}} f(x_n) \,\mathrm{d}x_n \cdots \, \mathrm{d}x_2\, \mathrm{d}x_1 = \int_{x_0}^x f(t) \frac{(x-t)^{n-1}}{(n-1)!}\,\mathrm{d}t.$$

Computer algebra systems can be used to automate some or all of the work involved in the symbolic techniques above, which is particularly useful when the algebraic manipulations involved are very complex or lengthy. Integrals which have already been derived can be looked up in a table of integrals.

Of non-continuous functions
Non-continuous functions can 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.

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) \end{align}$$ However if $f$ is unbounded, or if $f$ is bounded but the set of discontinuities of $[a, b]$ 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.
 * A necessary, but not sufficient, condition for a function $f$ to have an antiderivative is that $y$ have the intermediate value property. That is, if $f(a)$ is a subinterval of the domain of $f(b)$ and $f(c) = y$ is any real number between $f$ and $f$, then there exists a $f$ between $c$ and $a$ such that $f$. This is a consequence of Darboux's theorem.
 * 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 in the sense of Lebesgue. In fact, using more powerful integrals like the Henstock–Kurzweil integral, every function for which an antiderivative exists is integrable, and its general integral coincides with its antiderivative.
 * If $f$ has an antiderivative $f$ on a closed interval $$[a,b]$$, then for any choice of partition $$a=x_0 <x_1 <x_2 <\dots <x_n=b,$$ if one chooses sample points $$x_i^*\in[x_{i-1},x_i]$$ as specified by the mean value theorem, then the corresponding Riemann sum telescopes to the value $$F(b)-F(a)$$. $$\begin{align}

Basic formulae

 * If $${\mathrm{d} \over \mathrm{d}x} f(x) = g(x)$$, then $$\int g(x) \mathrm{d}x = f(x) + C$$.
 * $$\int 1\ \mathrm{d}x = x + C$$
 * $$\int a\ \mathrm{d}x = ax + C$$
 * $$\int x^n \mathrm{d}x = \frac{x^{n+1}}{n+1} + C;\ n \neq -1$$
 * $$\int \sin{x}\ \mathrm{d}x = -\cos{x} + C$$
 * $$\int \cos{x}\ \mathrm{d}x = \sin{x} + C$$
 * $$\int \sec^2{x}\ \mathrm{d}x = \tan{x} + C$$
 * $$\int \csc^2{x}\ \mathrm{d}x = -\cot{x} + C$$
 * $$\int \sec{x}\tan{x}\ \mathrm{d}x = \sec{x} + C$$
 * $$\int \csc{x}\cot{x}\ \mathrm{d}x = -\csc{x} + C$$
 * $$\int \frac{1}{x}\ \mathrm{d}x = \ln|x| + C$$
 * $$\int \mathrm{e}^{x} \mathrm{d}x = \mathrm{e}^{x} + C$$
 * $$\int a^{x} \mathrm{d}x = \frac{a^{x}}{\ln a} + C;\ a > 0,\ a \neq 1$$
 * $$\int \frac{1}\sqrt{a^2 - x^2}\ \mathrm{d}x = \arcsin\left(\frac{x}{a}\right) + C$$
 * $$\int \frac{1}{a^2 + x^2}\ \mathrm{d}x = \frac{1}{a}\arctan\left(\frac{x}{a}\right) + C$$