8.1. Primitive Functions
It is a common exercise in differential calculus to compute the derivative of a differentiable function. In this chapter we will go for the reverse task, i.e. we will try to decide if a given function is the derivative of another one and will look for methods to find one of those.
As a start we introduce the basic notions.
Definition: Take and let be any function. A differentiable function is called a primitive function of f if
|
[8.1.1] |
f is called
integrable.
i |
primitive-integrable would be more precise as there are further notions of integrability, e.g. Riemann integrability and Lesbesgue integrability to name but a few.
Although these different types of integrability are not equivalent many functions are integrable in several ways and their corresponding integrals (to be introduced in the next chapter) are the same.
|
(on A) if f has a primitive function. The symbol denotes the set of all integrable functions on A.
|
Consider:
In a known context g is often just called a primitive instead of a primitive function of f. Occasionally g is also called an antiderivative of f.
A function f is integrable if and only if it is the derivative of another (differentiable) function. f itself doesn't need to be differentiable.
The equation now has two different interpretations:
f is the derivative of g.
g is a primitive of f
Deriving g is (mostly) a simple test to decide if g is a primitive of f.
If the set A is the domain of a differentiable function. Thus each has to be an
accumulation point
i |
i.e. there is a sequence in A such that . Primarily this insures the uniqueness of the derivative numbers . [7.3.1] and [6.8.2] provide the details.
|
of A. Hence the set is empty if A contains points other than accumulation ones.
Example:
-
X is a primitive function of 1, as .
-
is a primitive function of 2X, as .
-
−cos is a primitive function of , as .
-
is a primitive function of , as .
-
is a primitive function of , as .
|
This sample list could be extended arbitrarily without any effort as long as we take a function that we know as a derivative from our memory. There are many other functions however, take for instance X·sin, that may cause severe problems.
The latter two examples prove that a function may well have more than one primitive. The expression "the primitive function of f" is thus incorrect, it has to be "a primitive function of f".
If A is an interval however the different primitive functions are quite well-assorted. Furthermore we will get a certain uniqueness if we prescribe a single value of g.
Proposition: With an interval I we have for each :
-
If and are two primitives of f there is a such that
.
|
[8.1.2] |
-
If there is a unique primitive g of f for each such that
.
|
[8.1.3] |
Proof:
1. ► The function is differentiable on I with . Due to an implication of the mean value theorem [7.9.7] the difference is thus constant so that there is a such that . But that means .
2. ► As f is integrable there is at least one primitive g of f. But then is a primitive as requested.
Now let h be a further primitive of this kind. According to 1. both of them differ only in an additive constant, say . Evaluating this equality at a yields
so that and thus .
|
This is a quite satisfying answer to the uniqueness problem for primitive functions. The existance problem however, i.e. the question if each function f has primitive, is to deal with yet.
To begin with we show that there are functions with no primitives. So it is not trivial to ask if a function is integrable.
Proposition: The function given by
|
[8.1.4] |
is not integrable.
Proof: Suppose the contrary. Then there is a differentiable function such that
.
In particular g is differentiable on the interval with . Thus g is a constant on that interval (see [7.9.7]), i.e. there is a c such that
.
As g is differentiable it is continuous as well and the missing value can be calculated as follows:
.
Hence for all x which provides the contradiction .
|
Next we ensure the integrability of continuous functions, at least on intervals. Unfortunately however this is not an equivalent description of integrability as there are
examples
i |
as for instance the function g given by
Proof:
|
of integrable functions that are discontinuous.
Theorem: If I is an interval every continuous function on I has a primitive function. In other words:
|
[8.1.5] |
Proof:
|
The way primitives were constructed in the proof of [8.1.5] is hardly transferable to actual examples. Thus we may know of many functions that have a primitive but we have no idea to get one. Looking for constructive methods is certainly rewarding! The so called partial fraction decomposition provides such a method for rational functions.
We now need calculation rules for primitive functions. Once these rules are at our hand we will benefit from them in a similar way as we did from the derivation rules for differentiable functions. Firstly we transfer the sum rule, the difference rule and the factor rule.
Proposition: Let be arbitrary. If are primitive functions of the following holds:
and is a primitive function of .
|
[8.1.6] |
and is a primitive function of .
|
[8.1.7] |
and is a primitive function of .
|
[8.1.8] |
Proof:
1. ► As and are differentiable their sum is differentiable as well due to the sum rule ([7.7.4]) with . This proves to be a primitive function of .
2. and 3. ► are similarly traced back to the appropriate derivation rules.
|
The new calculation rules will come to life of course only if we have primitives of some of the basic functions. Besides sine and cosine from the first examples we will put the power functions onto that list.
Proposition: For each
is a primitive function of .
|
[8.1.9] |
Proof: The function is differentiable with .
|
Consider:
-
Combined with the calculation rules [8.1.9] guarantees the integrability of polynomials and allows integration to be carried out addendwise: If is a polynomial
|
[8.1.10] |
is a primitive function of p.
-
In particular is a primitive of c.
-
The reciprocal function is not in the scope of [8.1.9]!
Example:
-
has as a primitive.
-
has as a primitive.
-
has as a primitive.
-
has as a primitive.
|
Transferring further derivation rules is bit more complex. Whereas the product and chain rule will be dealt with separately the following two special cases of the chain and quotient rule are easily transferred. They are quite effective.
Proposition: For any differentiable we have:
and is a primitive function of .
|
[8.1.11] |
and is a primitive function of .
|
[8.1.12] |
Proof:
1. ► Due to a special case of the chain rule [7.7.12] is differentiable with
.
2. ► We employ the reciprocal rule [7.7.11] to see that differentiable with .
|
Using these rules however requires a certain sense of proportion. For the first rule for instance we need to see that a given function is in fact the product of a function with its own derivative.
Example:
has as a primitive as .
has as a primitive as .
Exercise:
is a primitive of .
is a primitive of .
For an arbitrary differentiable function is a primitive of .
|
Mathematica's Integrator is a very useful online calculator that finds primitives of many common (and not so common) integrable functions with a mouse click! To understand the Integrator's notation however it is essential to have studied the fundamental theorem of calculus [8.2.12] in the next chapter.
Parallel to the
concatenation
i |
For and with for all we set
|
of continuous and differentiable functions we now study the concatenation of integrable functions. As a preparation to that we check the restriction truth of integration first.
Proposition: Let A be a set such that and that each is an accumulation point of A. If is integrable on B with as a primitive of f then
is integrable on A
|
[8.1.13] |
and is a primitive of . The reverse of [1.8.13] does not hold.
Proof: As a primitive of f the function g is differentiable with . According to [7.4.1] is hence differentiable at every with
.
But that proves to be a primitive function of .
The non-integrable function f from example [8.1.4] has an integrable restriction .
|
On intervals concatenation now turns out to correspond surprisingly straightforward with integrability.
Proposition: Let and be two intervals with a non-empty intersection, i.e. . For any two functions and such that we have:
is integrable and are integrable.
|
[8.1.14] |
Proof:
"": If g is a primitive of then is a primitive of due to [8.1.13].
"": We first note that there are only two options for the non-empty intersection :
The intersection is a singleton:
The insection is again an interval
Now let be a primitive of . In both cases we will show that there is a primitive of such that
. [1]
The first case is easily done as [8.1.3] allows us to find a primitive of such that .
For the second case we first take an arbitrary primitive g of . According to [8.1.13] and are two primitives of . Due to [8.1.2] we hence find a number c such that
.
is thus a primitive of satisfying [1].
As and are continuous the identity [1] is extendable to all accumulation points of I that are members of . We thus may assume that I already contains all accumulation points of this kind.
Now we show that is a primitive function of . If the concatenation is differentiable at x according to [7.4.5] with
.
If , say , x is no accumulation point of I due to our preliminary note. Hence there is a relative ε-neighbourhood such that which implies . As differentiability is a local property (see [7.4.2]) we thus know: is differentiable at x with
.
|
As an example we consider the absolute value function which is representable as the concatenation of two continuous functions, namely
and . As their primitives and already coincide on the singleton we get
as a primtive function of .
In a second example we study for any the function
[2]
|
|
and are continuous functions on intervals and are thus integrable. They coincide at their overlap point , so that each has a primitive function.
Interestingly the sequence of functions converges pointwise to the non-integrable function f from [8.1.4], because if , and for each . Example [2] thus proves that pointwise convergence and integrability are incompatible. Uniform convergence however behaves better.
Proposition: Let be a sequence of integrable functions on an interval I, i.e. for all n, and an arbitrary function. Then:
|
[8.1.15] |
Proof: Due to the premise there is a primitive of for each n. is differentiable with . According to [8.1.3] we may assume that for a fixed . The uniform convergence is obviously passed on to every closed subinterval :
Due to [7.12.3] the pointwise limit thus exists and is a primitive of f.
|
Consider:
|
|
|