Computing integrals (1): Anti-derivative

 So far, our discussion on the Riemann integral has been rather abstract. We know its definition and some of its properties. However, we still don't know how to calculate its value for a specific function. There are various techniques to compute integrals. We start from the most basic method based on the notion of anti-derivatives or primitive functions.



Definition (Anti-derivative, primitive function)

For a function f(x) on an open interval I, a differentiable function F(x) on I is said to be an anti-derivative or primitive function of f(x) (on I) if F(x)=f(x) holds.

Remark.   If F(x) is an anti-derivative of f(x), then for any constant C, F(x)+C is also an anti-derivative of f(x). The following lemma shows these are the only anti-derivatives. □

Lemma

Let f(x) be a function on an open interval I with its anti-derivative F(x). Then any anti-derivative of f(x) is given as F(x)+C where C is a constant.

Proof. Suppose G(x) is also an anti-derivative of f(x). Then

(G(x)F(x))=f(x)f(x)=0

for all xI. Therefore G(x)F(x)=C (constant). ■

Remark. The collection of all anti-derivatives of f(x) is called the indefinite integral of f(x), denoted f(x)dx. The constant term in an anti-derivative is called the constant of integration. We most often omit the constant of integration. □

Theorem

Let f(x) be a continuous function on an open interval I. Then f(x) has an anti-derivative on I. More precisely, with an arbitrary constant aI, F(x)=axf(t)dt is an anti-derivative of f(x).

Proof. Trivial from the theorem that continuous functions are integrable and the fundamental theorem of calculus. ■

Remark. In this theorem, we could choose another constant bI to define another anti-derivative G(x)=bxf(t)dt. In fact,

G(x)=bxf(t)dt=baf(t)dt+axf(t)dt=F(x)+C

where C=baf(t)dt is a constant. □

The following corollary shows that we can compute the integral of a function from its anti-derivative.

Corollary

Let f(x) be a continuous function on an open interval I and F(x) be an anti-derivative of f(x). For any a,bI, we have

abf(x)dx=F(b)F(a).

Proof. Since we can write F(x)=axf(t)dt+C where C is a constant,

F(b)F(a)=(abf(t)dt+C)(aaf(t)dt+C)=abf(t)dt.

Example. Let F(x)=x2 and f(x)=2x Then, F(x) is an anti-derivative of f(x) because F(x)=(x2)=2x=f(x). Thus, for example,

122xdx=2212=3.

Example. Let f(x)=cosx. Then, its anti-derivative is F(x)=sinx. Thus, for example,

0π2cosxdx=sinπ2sin0=1.



Comments

Popular posts from this blog

Birth process

Branching processes: Mean and variance

Informal introduction to formal logic