| • Science | • People | • Locations | • Timeline |
The derivative of any constant function is zero. Once one has found one antiderivative F, adding or subtracting a constant C will give us another antiderivative, because (F + C)' = F' + C' = F' . This means that every function has many different antiderivatives. The constant is a way of expressing this fact.
For example, suppose one wants to find antiderivatives of cos(x). One such antiderivative is sin(x). Another one is sin(x)+1. A third is sin(x)-π. Each of these has derivative cos(x), so they are all antiderivatives of cos(x).
It turns out that adding and subtracting constants is the only flexibility we have in finding different antiderivatives of the same function. That is, all antiderivatives are the same up to a constant. To express this fact for cos(x), we write:
Replacing C by a number will produce an antiderivative. By writing C instead of a number, however, a compact description of all the possible antiderivatives of cos(x) is obtained. C is called the constant of integration. It is easily determined that all of these functions are indeed antiderivatives of cos(x):
At first glance it may seem that the constant is unnecessary, since it can be set to zero. Even better, when evaluating definite integrals using the Fundamental theorem of calculus, the constant will always cancel.
However, trying to set the constant equal to zero doesn't always make sense. For example, 2sin(x)cos(x) can be integrated in two different ways:
So setting C to zero can still leave a constant. This means that, for a given function, there is no "simplest antiderivative".
Another problem with setting C equal to zero is that sometimes one wants to find an antiderivative that has a given value at a given point. For example, to obtain the antiderivative of cos(x) that has the value 100 at x=π, then only one value of C will work (in this case C=100).
This restriction can be rephrased in the language of differential equations. Finding an indefinite integral of a function f(x) is the same as solving the differential equation dy/dx = f(x). Any differential equation will have many solutions, and each constant represents the unique solution of a well-posed initial value problem. Imposing the condition that our antiderivative takes the value 100 at x=π is an initial condition. Each initial condition corresponds to one and only one value of C, so without C it would be impossible to solve the problem.
There is another justification, coming from abstract algebra. The space of all (suitable) real-valued functions on the real numbers is a vector space, and the differential operator
is a linear operator. The operatord/dx maps a function to zero if and only if that function is constant. Consequently, the kernel of d/dx is the space of all constant functions. The process of indefinite integration amounts to finding a preimage of a given function. There is no canonical preimage for a given function, but the set of all such preimages forms a coset. Choosing a constant is the same as choosing an element of the coset. In this context, solving an initial value problem is interpreted as lying in the hyperplaneIn geometry, a hyperplane is a linear, affine, or projective subspace of codimension 1. In particular, in a three-dimensional space, a hyperplane is the usual plane. In a two-dimensional space, a hyperplane is a line. In a one-dimensional space, a hyperpl given by the initial conditions.