5.5: Antiderivatives (Primitives, Integrals)
( \newcommand{\kernel}{\mathrm{null}\,}\)
Given f:E1→E, we often have to find a function F such that F′=f on I, or at least on I−Q. We also require F to be relatively continuous and finite on I. This process is called antidifferentiation or integration.
We call F:E1→E a primitive, or antiderivative, or an indefinite integral, of f on I iff
(i) F is relatively continuous and finite on I, and
(ii) F is differentiable, with F′=f, on I−Q at least.
We then write
F=∫f, or F(x)=∫f(x)dx, on I.
(The latter is classical notation.)
If such an F exists (which is not always the case), we shall say that ∫f exists on I, or that f has a primitive (or antiderivative) on I, or that f is primitively integrable (briefly integrable) on I.
If F′=f on a set B⊆I, we say that ∫f is exact on B and call F an exact primitive on B. Thus if Q=∅,∫f is exact on all of I.
Note 1. Clearly, if F′=f, then also (F+c)′=f for a finite constant c. Thus the notation F=∫f is rather incomplete; it means that F is one of many primitives. We now show that all of them have the form F+c (or
∫f+c).
If F and G are primitive to f on I, then G−F is constant on I.
- Proof
-
By assumption, F and G are relatively continuous and finite on I; hence so is G−F. Also, F′=f on I−Q and G′=f on I−P.(Q and P are countable, but possibly Q≠P.)
Hence both F′ and G′ equal f on I−S, where S=P∪Q, and S is countable itself by Theorem 2 of Chapter 1, §9.
Thus by Corollary 3 in §4, F′=G′ on I−S implies G−F=c (constant) on each [x,y]⊆I; hence G−F=c (or G=F+c) on I.◻
If F=∫f on I and if a,b∈I (where a≤b or b≤a), we define
∫baf=∫baf(x)dx=F(b)−F(a), also written F(x)|ba.
This expression is called the definite integral of f from a to b.
The definite integral of f from a to b is independent of the particular choice of the primitive F for f, and thus unambiguous, for if G is another primitive, Theorem 1 yields G=F+c, so
G(b)−G(a)=F(b)+c−[F(a)+c]=F(b)−F(a),
and it does not matter whether we take F or G.
Note that ∫baf(x)dx, or ∫baf, is a constant in the range space E (a vector if f is vector valued). The "x" in ∫baf(x)dx is a "dummy variable" only, and it may be replaced by any other letter. Thus
∫baf(x)dx=∫baf(y)dy=F(b)−F(a).
On the other hand, the indefinite integral is a function: F:E1→E.
Note 2. We may, however, vary a or b (or both) in (1). Thus, keeping a fixed and varying b, we can define a function
G(t)=∫taf=F(t)−F(a),t∈I.
Then G′=F′=f on I, and G(a)=F(a)−F(a)=0. Thus if ∫f exists on I,f has a (unique) primitive G on I such that G(a)=0. (It is unique by Theorem 1. Why?)
(a) Let
f(x)=1x and F(x)=ln|x|, with F(0)=f(0)=0.
Then F′=f and F=∫f on (−∞,0) and on (0,+∞) but not on E1, since F is discontinuous at 0, contrary to Definition 1. We compute
∫21f=ln2−ln1=ln2.
(b) On E1, let
f(x)=|x|x and F(x)=|x|, with f(0)=1.
Here F is continuous and F′=f on E1−{0}. Thus F=∫f on E1, exact on E1−{0}. Here I=E1,Q={0}.
We compute
∫2−2f=F(2)−F(−2)=2−2=0
(even though f never vanishes on E1).
Basic properties of integrals follow from those of derivatives. Thus we have the following.
If ∫f and ∫g exist on I, so does ∫(pf+qg) for any scalars p,q (in the scalar field of E). Moreover, for any a,b∈I, we obtain
(i) ∫ba(pf+qg)=p∫baf+q∫bag;
(ii) ∫ba(f±g)=∫baf±∫bag; and
(iii) ∫bapf=p∫baf.
- Proof
-
By assumption, there are F and G such that
F′=f on I−Q and G′=g on I−P.
Thus, setting S=P∪Q and H=pF+qG, we have
H′=pF′+qG′=pf+qg on I−S,
with P,Q, and S countable. Also, H=pF+qG is relatively continuous and finite on I, as are F and G.
Thus by definition, H=∫(pf+qg) exists on I, and by (1),
∫ba(pf+qg)=H(b)−H(a)=pF(b)+qG(b)−pF(a)−qG(a)=p∫baf+q∫bag,
proving (i*).
With p=1 and q=±1, we obtain (ii*).
Taking q=0, we get (iii*). ◻
If both ∫f and ∫|f| exist on I=[a,b], then
|∫baf|≤∫ba|f|.
- Proof
-
As before, let
F′=f and G′=|f| on I−S(S=Q∪P, all countable),
where F and G are relatively continuous and finite on I and G=∫|f| is real. Also, |F′|=|f|=G′ on I−S. Thus by Theorem 1 of §4,
|F(b)−F(a)|≤G(b)−G(a)=∫ba|f|.◻
If ∫f exists on I=[a,b], exact on I−Q, then
|∫baf|≤M(b−a)
for some real
M≤supt∈I−Q|f(t)|.
This is simply Corollary 1 of §4, when applied to a primitive, F=∫f
If F=∫f on I and f=g on I−Q, then F is also a primitive of g, and
∫baf=∫bag for a,b∈I.
(Thus we may arbitrarily redefine f on a countable Q.)
- Proof
-
Let F′=f on I−P. Then F′=g on I−(P∪Q). The rest is clear. ◻
Let f and g be real or complex (or let f be scalar valued and g vector valued), both relatively continuous on I and differentiable on I−Q. Then if ∫f′g exists on I, so does ∫fg′, and we have
∫bafg′=f(b)g(b)−f(a)g(a)−∫baf′g for any a,b∈I.
- Proof
-
By assumption, fg is relatively continuous and finite on I, and
(fg)′=fg′+f′g on I−Q.
Thus, setting H=fg, we have H=∫(fg′+f′g) on I. Hence by Corollary 1 if ∫f′g exists on I, so does ∫((fg′+f′g)−f′g)=∫fg′, and
∫bafg′+∫baf′g=∫ba(fg′+f′g)=H(b)−H(a)=f(b)g(b)−f(a)g(a).
Thus (2) follows. ◻
The proof of the next three corollaries is left to the reader.
If ∫f exists on I then, for a,b,c∈I, we have
(i) ∫baf=∫caf+∫bcf;
(ii) ∫aaf=0; and
(iii) ∫abf=−∫baf.
A function f:E1→En(∗Cn) is integrable on I iff all its components (f1,f2,…,fn) are, and then by Theorem 5 in §1)
∫baf=(∫baf1,…,∫bafn)=n∑k=1→ek∫bafk for any a,b∈I.
Hence if f is complex,
∫baf=∫bafre+i⋅∫bafim
(see Chapter 4, §3, Note 5).
(c) Define f:E1→E3 by
f(x)=(a⋅cosx,a⋅sinx,2cx),a,c∈E1.
Verify that
∫π0f(x)dx=(a⋅sinx,−a⋅cosx,cx2)|π0=(0,2a,cπ2)=2a→j+cπ2→k.
(d) ∫π0eixdx=∫π0(cosx+i⋅sinx)dx=(sinx−i⋅cosx)|π0=2i.
If f=0 on I−Q, then ∫f exists on I, and
|∫baf|=∫ba|f|=0 for a,b∈I.
Suppose g:E1→E1 (real) is differentiable on I, while f:E1→E has a primitive on g[I], exact on g[I−Q].
Then
∫f(g(x))g′(x)dx(i.e.,∫(f∘g)g′)
exists on I, and for any a,b∈I, we have
∫baf(g(x))g′(x)dx=∫qpf(y)dy, where p=g(a) and q=g(b).
Thus, using classical notation, we may substitute y=g(x), provided that we
also substitute dy=g′(x)dx and change the bounds of integrals (3). Here we treat the expressions dy and g′(x)dx purely formally, without assigning them any separate meaning outside the context of the integrals.
- Proof
-
Let F=∫f on g[I], and F′=f on g[I−Q]. Then the composite function H=F∘g is relatively continuous and finite on I. (Why?) By Theorem 3 of §1,
H′(x)=F′(g(x))g′(x) for x∈I−Q;
i.e.,
H′=(F′∘g)g′ on I−Q.
Thus H=∫(f∘g)g′ exists on I, and
∫ba(f∘g)g′=H(b)−H(a)=F(g(b))−F(g(a))=F(q)−F(p)=∫qpf.◻
Note 3. The theorem does not require that g be one to one on I, but if it is, then one can drop the assumption that ∫f is exact on g[I−Q]. (See Problem 4.)
(e) Find ∫π/20sin2x⋅cosxdx.
Here f(y)=y2,y=g(x)=sinx,dy=cosxdx,F(y)=y3/3,a=0, b=π/2,p=sin0=0, and q=sin(π/2)=1, so (3) yields
∫π/20sin2x⋅cosxdx=∫10y2dy=y33|10=13−0=13.
For real functions, we obtain some inferences dealing with inequalities.
If f,g:E1→E1 are integrable on I=[a,b], then we have the following:
(i) f≥0 on I−Q implies ∫baf≥0.
(i') f≤0 on I−Q implies ∫baf≤0.
(ii) f≥g on I−Q implies
∫baf≥∫bag (dominance law).
(iii) If f≥0 on I−Q and a≤c≤d≤b, then
∫baf≥∫dcf (monotonicity law).
(iv) If ∫baf=0, and f≥0 on I−Q, then f=0 on some I−P,P countable.
- Proof
-
By Corollary 4, we may redefine f on Q so that our assumptions in (i)-(iv) hold on all of I. Thus we write "I" for "I−Q."
By assumption, F=∫f and G=∫g exist on I. Here F and G are relatively continuous and finite on I=[a,b], with F′=f and I−P, for another countable set P (this P cannot be omitted). Now consider the cases (i)-(iv). (P is fixed henceforth.)
(i) Let f≥0 on I; i.e., F′=f≥0 on I−P. Then by Theorem 2 in §4, F↑ on I=[a,b]. Hence F(a)≤F(b), and so
∫baf=F(b)−F(a)≥0.
One proves (i') similarly.
(ii) If f−g≥0, then by (i),
∫ba(f−g)=∫baf−∫bag≥0,
so ∫baf≥∫bag, as claimed.
(iii) Let f≥0 on I and a≤c≤d≤b. Then by (i),
∫caf≥0 and ∫bdf≥0.
Thus by Corollary 6,
∫baf=∫caf+∫dcf+∫bdf≥∫dcf,
as asserted.
(iv) Seeking a contradiction, suppose ∫baf=0,f≥0 on I, yet f(p)>0 for some p∈I−P (P as above), so F′(p)=f(p)>0.
Now if a≤p<b, Lemma 1 of §2 yields F(c)>F(p) for some c∈(p,b]. Then by (iii),
∫baf≥∫cpf=F(c)−F(p)>0,
contrary to ∫baf=0; similarly in case a<p≤b.◻
Note 4. Hence
∫ba|f|=0 implies f=0 on [a,b]−P
(P countable), even for vector-valued functions (for |f| is always real, and so Theorem 3 applies).
However, ∫baf=0 does not suffice, even for real functions (unless f is signconstant). For example,
∫2π0sinxdx=0, yet sinx≢
See also Example (b).
If f is real and \int f exists on [a, b], exact on (a, b), then
\int_{a}^{b} f=f(q)(b-a) \text { for some } q \in(a, b).
- Proof
-
Apply Corollary 3 in §2 to the function F=\int f. \quad \square
Caution: Corollary 9 may fail if \int f is inexact at some p \in(a, b). (Exactness on [a, b]-Q does not suffice, as it does not in Corollary 3 of §2, used here.) Thus in Example (b) above, \int_{-2}^{2} f=0. Yet for no q is f(q)(2+2)=0, since f(q)=\pm 1. The reason is that \int f is inexact just at 0, an interior point of [-2,2].