information:classification
Origin

The derivative of any constant function is zero. Once one has found one antiderivative F (x) {\displaystyle F(x)} for a function f (x), {\displaystyle f(x),} adding or subtracting any constant C {\displaystyle C} will give us another antiderivative, because d d x (F (x) + C) = d d x F (x) + d d x C = F ′ (x) = f (x). {\textstyle {\frac {d}{dx}}(F(x)+C)={\frac {d}{dx}}F(x)+{\frac {d}{dx}}C=F'(x)=f(x).} The constant is a way of expressing that every function with at least one antiderivative will have an infinite number of them.

Let F: R → R {\displaystyle F:\mathbb {R} \to \mathbb {R} } and G: R → R {\displaystyle G:\mathbb {R} \to \mathbb {R} } be two everywhere differentiable functions. Suppose that F ′ (x) = G ′ (x) {\displaystyle F\,'(x)=G\,'(x)} for every real number x. Then there exists a real number C {\displaystyle C} such that F (x) − G (x) = C {\displaystyle F(x)-G(x)=C} for every real number x.

To prove this, notice that ′ = 0. {\displaystyle '=0.} So F {\displaystyle F} can be replaced by F − G, {\displaystyle F-G,} and G {\displaystyle G} by the constant function 0, {\displaystyle 0,} making the goal to prove that an everywhere differentiable function whose derivative is always zero must be constant:

Choose a real number a, {\displaystyle a,} and let C = F (a). {\displaystyle C=F(a).} For any x, the fundamental theorem of calculus, together with the assumption that the derivative of F {\displaystyle F} vanishes, implying that

thereby showing that F {\displaystyle F} is a constant function.

Two facts are crucial in this proof. First, the real line is connected. If the real line were not connected, one would not always be able to integrate from our fixed a to any given x. For example, if one were to ask for functions defined on the union of intervals and, and if a were 0, then it would not be possible to integrate from 0 to 3, because the function is not defined between 1 and 2. Here, there will be two constants, one for each connected component of the domain. In general, by replacing constants with locally constant functions, one can extend this theorem to disconnected domains. For example, there are two constants of integration for ∫ d x / x {\textstyle \int dx/x}, and infinitely many for ∫ tan x d x {\textstyle \int \tan x\,dx}, so for example, the general form for the integral of 1/ x is:

Second, F {\displaystyle F} and G {\displaystyle G} were assumed to be everywhere differentiable. If F {\displaystyle F} and G {\displaystyle G} are not differentiable at even one point, then the theorem might fail. As an example, let F (x) {\displaystyle F(x)} be the Heaviside step function, which is zero for negative values of x and one for non-negative values of x, and let G (x) = 0. {\displaystyle G(x)=0.} Then the derivative of F {\displaystyle F} is zero where it is defined, and the derivative of G {\displaystyle G} is always zero. Yet it's clear that F {\displaystyle F} and G {\displaystyle G} do not differ by a constant, even if it is assumed that F {\displaystyle F} and G {\displaystyle G} are everywhere continuous and almost everywhere differentiable the theorem still fails. As an example, take F {\displaystyle F} to be the Cantor function and again let G = 0. {\displaystyle G=0.}

It turns out that adding and subtracting constants is the only flexibility available 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), {\displaystyle \cos(x),} one can write:

where C {\displaystyle C} is constant of integration. It is easily determined that all of the following functions are antiderivatives of cos (x) {\displaystyle \cos(x)}: