Definition

Differentiation is the process of finding the derivative of a given function. Sometimes we need to reverse the process of differentiation: we want to discover an unknown function whose derivative is given.

Concept Notation Meaning
Antiderivative of f F with F'(x)=f(x) A function whose derivative is f
Indefinite integral f ( x ) d x F ( x ) + C , the family of all antiderivatives
Integral sign Indicates the operation of integration
Integrand f ( x ) The function being integrated
Variable of integration x in d x The variable with respect to which we integrate
Constant of integration C Arbitrary constant added to any antiderivative

Antiderivatives

A function F is called an antiderivative (also a primitive function or integral1) of a function f on an interval I if

F'(x) = f(x) \qquad \text{for every } x \text{ in } I.

1We may also say that F is an integral function of f .

For example, because d d x x 3 = 3 x 2 , the function F ( x ) = x 3 is an antiderivative of f ( x ) = 3 x 2 . Because the derivative of a constant is zero, the derivatives of the following functions

x 3 + 1 , x 3 π , x 3 + 5

and in general x 3 + C , are the same.

  • In general, if F ( x ) is an antiderivative of f ( x ) , so that F'(x) = f(x), then F ( x ) + C is also an antiderivative of f ( x ) , where C is an arbitrary number, since (F(x)+C)' = F'(x) + 0 = f(x). This shows that if f has an antiderivative, it has infinitely many antiderivatives.
  • If F ( x ) is a function whose derivative is f ( x ) on an interval, then every function having the same derivative f ( x ) on that interval can be written as F ( x ) + C for some constant C . This means that if we have one antiderivative of f , then we have all antiderivatives of f .

Let F ( x ) and G ( x ) be two functions such that F'(x) = G'(x) on a certain interval. Then there exists a constant C such that F ( x ) = G ( x ) + C for all x in the interval.

Proof

Let h ( x ) = F ( x ) G ( x ) . Then

h'(x) = F'(x) - G'(x) = 0.

This shows that the slope of the tangent line to the graph of h at each point is zero and hence the tangents are always horizontal. This means that the graph of h cannot go up or down. Therefore, h is a constant function h ( x ) = C , or equivalently F ( x ) = G ( x ) + C .

More rigorous proof

Consider two arbitrary numbers x 1 and x 2 in the given interval. From the Mean Value Theorem, we have

h(x_2) - h(x_1) = h'(c)(x_2 - x_1)

for some c between x 1 and x 2 . Because h'(x) = 0 for all values of x ,

h'(c) = 0 \Rightarrow h(x_2) = h(x_1).

Because x 1 and x 2 are arbitrary, the above calculations show that h ( x ) = F ( x ) G ( x ) is a constant function h ( x ) = C . That is, F ( x ) and G ( x ) differ only by a constant:

F ( x ) = G ( x ) + C .
  • The above theorem depends on the domain of definition being an interval. For example, let F(x) = \begin{cases} x^2 & \text{if } -1 < x < 1 \\ x^2 - 4 & \text{if } 2 < x < 3 \end{cases}

    and

    G(x) = \begin{cases} x^2 + 5 & \text{if } -1 < x < 1 \\ x^2 - 3 & \text{if } 2 < x < 3 \end{cases}.

    Then F'(x) = G'(x) = 2x for all x ( 1 , 1 ) ( 2 , 3 ) , but F ( x ) is not of the form G ( x ) + C .

    Two piecewise functions F and G with equal derivatives but differing by different constants on different intervals.
    Two piecewise functions with equal derivatives on a disconnected domain, but not differing by a single constant.

Indefinite Integrals

It follows from the above theorem that if F ( x ) is an antiderivative of f ( x ) in an interval I , the general form of the function which has the derivative f ( x ) or the differential f ( x ) d x in I is F ( x ) + C , where C is an arbitrary constant.2 This expression is called the indefinite integral of f ( x ) .

2Any constant value can be assigned to C . It is therefore called "arbitrary constant."

Let F ( x ) be an antiderivative of f ( x ) in an interval I , so that F'(x) = f(x) for every x in I . The expression F ( x ) + C , where C is an arbitrary constant, is called the indefinite integral of f and is denoted by

f ( x ) d x .

The process of finding F ( x ) + C from f ( x ) is called indefinite integration.

  • The symbol is called the integral sign.
  • f ( x ) is called the integrand or subject of integration.
  • The differential d x indicates that x is the variable of integration.

It follows from the above definition that:

If d F ( x ) d x = f ( x ) , or equivalently d F ( x ) = f ( x ) d x , then

f ( x ) d x = F ( x ) + C ,

where C is an arbitrary constant, called the constant of integration.

\bbox[8px, #E6F0FA, border: 3px solid #0066CC]{\begin{aligned} \int f(x)\,dx &= F(x)+C \quad \Leftrightarrow \\ \frac{d}{dx}F(x) = f(x) \quad &\text{or equivalently} \quad dF(x) = f(x)\,dx. \end{aligned}}

For example, because d d x sin x = cos x or d ( sin x ) = cos x d x , we have

cos x d x = sin x + C .

Also because d ( x 3 ) = 3 x 2 d x , we have

3 x 2 d x = x 3 + C .
  • An indefinite integral is a family of functions y = F ( x ) + C . From a geometric perspective, an indefinite integral is a collection of curves. Each curve is formed by moving one of the curves parallel to itself either upward or downward along the y -axis.
  • In writing f ( x ) d x = F ( x ) + C , it is assumed, although not explicitly stated, that this formula holds true for all values of x within a certain interval I where both f ( x ) and F ( x ) are defined.

The notation f ( x ) d x can be interpreted in two ways:

  1. We can regard d x as a single symbol, which means "integrate with respect to x ." It operates on a function f ( x ) and produces its general antiderivative, or integral F ( x ) + C . In this interpretation the integral sign and the d x go together; indicates the operation of integration and d x specifies that the variable of integration is x . In this interpretation d x is viewed as the inverse of differentiation with respect to x , i.e., d d x .
  2. We may rewrite d d x F ( x ) = f ( x ) using differentials as d F ( x ) = f ( x ) d x , so we can say f ( x ) d x is the differential of F ( x ) . Writing the integral sign in front of each side of this equation, we get d F ( x ) = f ( x ) d x . But f ( x ) d x = F ( x ) + C . Therefore, \int dF(x) = \int F'(x)\,dx = F(x)+C. In this viewpoint, is an operation that acts on the differential of a function and returns the original function (plus a constant). Thus, the symbol for integration (without thinking of the d x as part of the symbol) can be viewed as the inverse of the operation denoted by the symbol d .

Both interpretations are valid, and we will use both of them throughout this text. The second one is particularly useful, not only for evaluating integrals, but also for solving certain differential equations (a differential equation is an equation that contains the derivatives of an unknown function, and we try to discover that unknown function).

  • Notice that \bbox[8px, #E6F0FA, border: 3px solid #0066CC]{\frac{d}{dx}\left[\int f(x)\,dx\right] = f(x),}

    or equivalently d ( f ( x ) d x ) = f ( x ) d x , and

    \bbox[8px, #E6F0FA, border: 3px solid #0066CC]{\begin{aligned} \int dF(x) &= \int\frac{d(F(x))}{dx}\,dx \\ &= \int F'(x)\,dx = F(x)+C. \end{aligned}}

    We observe that the signs d d x and d x , or d and , annul each other in either order. However, when follows d ; that is, when we integrate after differentiating, we must add an arbitrary constant C , since differentiation discards any constant that was present in the original function. When d d x (or d ) follows , no constant arises: differentiating F ( x ) + C returns f ( x ) exactly.

Different Meanings of the Indefinite Integral Across Textbooks

Notice that different books use the notation f ( x ) d x in two distinct ways.

  1. A specific antiderivative. Some books treat f ( x ) d x as some particular function F ( x ) such that F'(x) = f(x). On this reading, 2 x d x = x 2 and 2 x d x = x 2 + 5 and 2 x d x = x 2 + C are all valid. Examples include Lang's A First Course in Calculus, Spivak's Calculus, Simmons's Calculus with Analytic Geometry, and Courant's Differential and Integral Calculus.
  2. The family of all antiderivatives. Other books treat f ( x ) d x as denoting the entire family of antiderivatives, written F ( x ) + C where C is an arbitrary constant. On this reading, 2 x d x = x 2 is incomplete or even incorrect; the proper statement is 2 x d x = x 2 + C . Examples include Stewart's Calculus, Apostol's Calculus, Thomas' Calculus (now continued by other authors), and Anton's Calculus.

Both are logically defensible. The difference is one of convention, not mathematics. We follow the second convention, as it is far more common in calculus textbooks.

Does Every Function Have an Antiderivative?

A natural question arises: do antiderivatives, and thus indefinite integrals, exist for every function f ( x ) ? The answer is no. Nevertheless, it can be shown that every continuous function has an antiderivative (or hence indefinite integral); that is, if f is a continuous function, then there exists a function F such that F'(x) = f(x) and f ( x ) d x = F ( x ) + C . However, this does not mean that we can necessarily find f ( x ) d x or that we can express it in terms of familiar functions, because there are many non-elementary functions whose derivatives are elementary functions. For example, there is no combination of the functions that we have been dealing with so far whose derivative is sin ( x 2 ) , 1 + x 4 , e x / x , or e x 2 . In other words,

1 + x 4 d x , sin ( x 2 ) d x , e x x d x , e x 2 d x

cannot be expressed in terms of familiar functions.