Docsity

Indefinite and Definite Integrals: A Comprehensive Guide with Examples and Exercises, Exams of Calculus

Toggle sidebar
bg1
October 23, 2019 MAT186 – Week 7 Justin Ko
1 Indefinite Integrals
Definition 1. The antiderivative of f(x) on [a, b] is a function F(x) such that F0(x) = f(x) for all
x∈[a, b]. The antiderivative is not unique since for any antiderivative F(x) of f(x), we also have
F(x) + Cis also an antiderivative for all integration constants C∈R. We will use the notation
Zf(x)dx =F(x) + C
called the indefinite integral of fto denote the family of all antiderivatives of f.
1.1 Table of Integrals (omitting the integration constant)
Elementary Functions
Zxadx =1
a+ 1 ·xa+1, a 6=−1 (1)
Z1
xdx = ln |x|(2)
Exponential and Logarithms
Zexdx =ex(3)
Zln(x)dx =xln(x)−x(4)
Zaxdx =ax
ln(a)(5)
Zloga(x)dx =xln(x)−x
ln(a)(6)
Trigonometric Functions
Zsin(x)dx =−cos(x) (7)
Zcos(x)dx = sin(x) (8)
Ztan(x)dx =−ln |cos(x)|(9)
Zcot(x)dx = ln |sin(x)|(10)
Zsec(x)dx = ln |tan(x) + sec(x)|(11)
Zcsc(x)dx =−ln |cot(x) + csc(x)|(12)
Rational Functions
Z1
1 + x2dx = tan−1(x) (13)
Z1
√1−x2dx = sin−1(x) (14)
Z1
x√x2−1dx = sec−1(|x|) (15)
Hyperbolic Functions
Zsinh(x)dx = cosh(x) (16)
Zcosh(x)dx = sinh(x) (17)
Ztanh(x)dx = ln |cosh(x)|(18)
1.2 Basic Property
For constants a, b ∈Rand integrable functions fand g, we have
Linearity: Z(af(x) + bg(x)) dx =aZf(x)dx +bZg(x)dx.
We will introduce more basic properties in the coming weeks.
Page 1of 9
pf3
pf4
pf5
pf8
pf9

Partial preview of the text

Download Indefinite and Definite Integrals: A Comprehensive Guide with Examples and Exercises and more Exams Calculus in PDF only on Docsity!

1 Indefinite Integrals

Definition 1. The antiderivative of f (x) on [a, b] is a function F (x) such that F ′(x) = f (x) for all x ∈ [a, b]. The antiderivative is not unique since for any antiderivative F (x) of f (x), we also have F (x) + C is also an antiderivative for all integration constants C ∈ R. We will use the notation ∫ f (x) dx = F (x) + C

called the indefinite integral of f to denote the family of all antiderivatives of f.

1.1 Table of Integrals (omitting the integration constant)

Elementary Functions ∫ xa^ dx =

a + 1 ·^ x

a+1, a 6 = − 1 (1)

∫ 1 x dx = ln |x| (2)

Exponential and Logarithms ∫ ex^ dx = ex^ (3) ∫ ln(x) dx = x ln(x) − x (4) ∫ ax^ dx = a

x ln(a)

loga(x) dx = x^ ln(x)^ −^ x ln(a)

Trigonometric Functions ∫ sin(x) dx = − cos(x) (7) ∫ cos(x) dx = sin(x) (8) ∫ tan(x) dx = − ln | cos(x)| (9)

cot(x) dx = ln | sin(x)| (10)

sec(x) dx = ln | tan(x) + sec(x)| (11)

csc(x) dx = − ln | cot(x) + csc(x)| (12)

Rational Functions ∫ 1 1 + x^2 dx = tan−^1 (x) (13) ∫ √^1 1 − x^2

dx = sin−^1 (x) (14) ∫ 1 x

x^2 − 1

dx = sec−^1 (|x|) (15)

Hyperbolic Functions ∫ sinh(x) dx = cosh(x) (16) ∫ cosh(x) dx = sinh(x) (17) ∫ tanh(x) dx = ln | cosh(x)| (18)

1.2 Basic Property

For constants a, b ∈ R and integrable functions f and g, we have

Linearity: (^) ∫

(af (x) + bg(x)) dx = a

f (x) dx + b

g(x) dx.

We will introduce more basic properties in the coming weeks.

1.3 Example Problems

1.3.1 Finding Indefinite Integrals

Problem 1. (?) Find the indefinite integral ∫ e−^7 x^ dx.

Solution 1. It is easy to check that − 17 · e−^7 x^ is an antiderivative of e−^7 x. Therefore, ∫ e−^7 x^ dx = −

7 ·^ e

− 7 x (^) + C.

Problem 2. (??) Find the indefinite integral ∫ x^3 + 8 x dx.

Solution 2. Using the linearity property, we have ∫ x^3 + 8 x dx =

x^2 dx + 8

x dx =^1 3 x^3 + 8 ln |x| + C.

1.3.2 Checking Antiderivatives

Strategy: To check if a function F (x) is an antiderivative of f , it suffices to just differentiate F and check if F ′(x) = f (x).

Problem 1. (??) Check that both − sin−^1 (x) and cos−^1 (x) are antiderivatives of

− 1 √ 1 − x^2

on (− 1 , 1).

Show that cos−^1 (x) + sin−^1 (x) = π 2

Solution 1. From the table of derivatives, we have

d dx (− sin−^1 (x)) = √−^1 1 − x^2

and d dx cos−^1 (x) = √−^1 1 − x^2

so both − sin−^1 (x) and cos−^1 (x) are antiderivatives of √ 1 −−^1 x 2 on its domain. We know that all an- tiderivatives on an interval differ by an integration constant, that is cos−^1 (x) = − sin−^1 (x) + C for x ∈ (− 1 , 1). To find this integration constant, we can evaluate our functions at 0,

cos−^1 (0) = π 2 and − sin−^1 (0) = 0 =⇒ cos−^1 (0) = − sin−^1 (0) + C =⇒ C = π 2

Since the difference of any two antiderivatives is a constant, we conclude that the two antiderivatives must differ by π 2 for all x in the domain,

cos−^1 (x) = − sin−^1 (x) + π 2 =⇒ cos−^1 (x) + sin−^1 (x) = π 2

Proof. We start by proving the first part of the fundamental theorem of calculus.

Proof of Part 1: Let A(x) be the area function of f from a to x

A(x) =

∫ (^) x

a

f (t) dt.

We can compute the derivative using the limit definition. Let x ∈ (a, b), we have

A′(x) = lim h→ 0 A(x + h) − A(x) h = lim h→ 0

∫ (^) x+h a f^ (t)^ dt^ −^

∫ (^) x a f^ (t)^ dt h = lim h→ 0

∫ (^) x+h x f^ (t)^ dt h

Let m(h) = mint∈[x−|h|,x+|h|] f (t) and M (h) = maxt∈[x−|h|,x+|h|] f (t) be the corresponding maximum and minimum of f (t) on the interval [x − |h|, x + |h|]. These quantities exist by the Extreme Value Theorem because f is continuous and the interval is closed. We can now apply the squeeze theorem to compute our limit,

m(h) ≤ f (t) ≤ M (h) ⇒

∫ (^) x+h x m(h)^ dt h

∫ (^) x+h x f^ (t)^ dt h

∫ (^) x+h x M^ (h)^ dt h also holds for h < 0

m(h)(x + h − x) h

∫ (^) x+h x f^ (t)^ dt h

M (h)(x + h − x) h

⇒ m(h) ≤

∫ (^) x+h x f^ (t)^ dt h ≤ M (h).

Notice that by continuity, we have limh→ 0 m(h) = f (x) and limh→ 0 M (h) = f (x) so

A′(x) = d dx

∫ (^) x

a

f (t) dt = lim h→ 0

∫ (^) x+h x f^ (t)^ dt h = f (x).

Remark: We have shown that A(x) is differentiable for all x ∈ (a, b) and therefore continuous on (a, b). It is also possible to show that A(x) is continuous at the endpoints.

Proof of Part 2: From the Part 1, we know that A(x) is an antiderivative of f (x) on [a, b]. If F (x) is another antiderivative of f , then we know that A(x) = F (x) + C for some integration constant C and all x ∈ [a, b]. To find the integration constant, we evaluate our function at x = a and conclude

A(a) = F (a) + C =⇒ 0 = F (a) + C =⇒ C = −F (a).

Therefore, (^) ∫ b a

f (t) dt = A(b) = F (b) + C = F (b) − F (a).

2.2 Example Problems

2.2.1 Properties of Definite Integrals

Problem 1. (?) If

1 f^ (x)^ dx^ = 4,^

1 f^ (x)^ dx^ = 3, and^

5 f^ (x)^ dx^ = 7, find^

2 f^ (x)^ dx.

Solution 1. Using the fact that ∫ (^6)

1

f (x) dx =

1

f (x) dx +

2

f (x) dx +

5

f (x) dx,

we have (^) ∫ (^5)

2

f (x) dx =

1

f (x) dx −

1

f (x) dx −

5

f (x) dx = 4 − 3 − 7 = − 6.

Problem 2. (??) The cumulative density function of the exponential random variable is a function defined on [0, ∞) given by

Fλ(x) = λ

∫ (^) x

0

e−λt^ dt,

where λ > 0 is a fixed constant. Express the definite integral

5 e −λt (^) dt in terms of Fλ(x).

Solution 2. We start by splitting the region of integration ∫ (^9)

5

e−λt^ dt =

5

e−λt^ dt +

0

e−λt^ dt = −

0

e−λt^ dt +

0

e−λt^ dt.

We now multiply and divide by λ to conclude ∫ (^9)

5

e−λt^ dt =^1 λ

λ

0

e−λt^ dt − λ

0

e−λt^ dt

=^1

λ · (Fλ(9) − Fλ(5)).

2.2.2 Application of the Fundamental Theorem of Calculus Part 1

Problem 1. (?) Let g(x) =

∫ (^) x − 5 e −t^2 dt. Find g′(x).

Solution 1. By the fundamental theorem of calculus, we have

g′(x) = e−x 2 .

Problem 2. (??) Let g(x) =

∫ (^) ln(x) 0 e −t (^) dt. Find g′(x).

Solution 2. Let h(x) =

∫ (^) x 0 e

−t (^) dt. Notice that g(x) = h(ln(x)). Therefore, by the fundamental

theorem of calculus and the chain rule, we have

g′(x) = h′(ln(x)) · d dx ln(x) = e−^ ln(x)^ ·

x = eln(x − (^1) ) ·

x

x^2

We used the fact that h′(x) = (^) dxd

∫ (^) x 0 e −t (^) dt = e−x (^) by the fundamental theorem of calculus.

Remark: If we used the second part of the fundamental theorem of calculus, then

g(x) =

∫ (^) ln(x)

0

e−t^ dt = −e−t

t=ln(x) t= = −e−^ ln(x)^ + 1 = eln(x − (^1) )

  • 1 = −

x

Differentiating this, we see

g′(x) = d dx

x

x^2

Problem 3. (??) Let g(x) =

∫ (^4) x −x^2 sin

(^2) (t) dt. Find g′(x).

Solution 3. We start by splitting the region of integration

g(x) =

∫ (^4) x

−x^2

sin^2 (t) dt =

−x^2

sin(t) dt +

∫ (^4) x

0

sin^2 (t) dt = −

∫ (^) −x^2

0

sin^2 (t) dt +

∫ (^4) x

0

sin^2 (t) dt.

By the fundamental theorem of calculus and the chain rule, we have

g′(x) = − d dx

∫ (^) −x 2

0

sin^2 (t) dt + d dx

∫ (^4) x

0

sin^2 (t) dt linearity

= − sin^2 (−x^2 ) · d dx (−x^2 ) + sin^2 (4x) · d dx 4 x fundamental theorem & chain rule = 2x sin^2 (−x^2 ) + 4 sin^2 (4x).

The reasoning for the chain rule is the same as the previous problem.

3 Differential Equations

3.1 Separable Differential Equations

Suppose that we want to find the antiderivative of some special implicit functions. In particular, suppose that we want to find a function y such that it satisfies the differential equation

dy dx = f (x)g(y)

for some functions f (x) and g(y). We can find the solution by separating variables and integrating both sides,

dy dx = f (x)g(y) =⇒ dy g(y) = f (x)dx =⇒

g(y) dy =

f (x) dx =⇒ G(y) = F (x) + C

where G(y) is the antiderivative of (^) g(^1 y) and F (x) is the antiderivative of f (x). This procedure gives an implicit formula formula for a function y that satisfies the differential equation. If we are given an initial condition, then we can solve for the integration constant C.

3.2 Example Problems

Problem 1. (?) Suppose the velocity of a particle is given by

v(t) = sin(t) − cos(t)

find the position function s(t) of the particle given that s(0) = 0.

Solution 1. The rate of change of position is velocity, so we have the differential equation

ds dt = sin(t) − cos(t).

Separating variables and integrating, we have

ds dt = sin(t) − cos(t) ⇒

ds =

sin(t) − cos(t) dt ⇒ s = − cos(t) − sin(t) + C.

To solve for the integrating constant, since s(0) = 0, we have

0 = s(0) = − cos(0) − sin(0) + C = −1 + C ⇒ C = 1.

Therefore, the position is given by

s(t) = − cos(t) − sin(t) + 1.

Problem 2. (?) The rate of growth of a population P is modeled by

dP dt = kP

where k 6 = 0. Suppose that the initial population P (0) = P 0 for some constant P 0 > 0. Find the population function P (t). How long will it take for the population to double?

Solution 2. Separating variables and integrating, we have

dP dt = kP ⇒

dP P

kdt ⇒ ln |P | = kt + C

Since P (t) must be positive in a reasonable model, |P | = P , so we can exponentiate both sides to conclude P = ekt+C^ = eC^ ekt.

To solve for the integrating constants C, since P (0) = P 0 , we have

P 0 = P (0) = eC^ ek·^0 = eC^ ⇒ ln P 0 = C.

Therefore, the population is given by

P (t) = eln^ P^0 ekt^ = P 0 ekt.

To find the time for the population to double, we want to find the t such that P (t) = 2P 0. That is,

2 P 0 = P 0 ekt^ ⇒ ekt^ = 2 ⇒ kt = ln(2) ⇒ t = ln(2) k

In particular, if k < 0 (we have a decreasing population) then we have our population will never double.

Problem 3. (??) Suppose the acceleration of a particle is given by

a(t) = t + 1

find the position function s(t) of the particle given that s(0) = 0 and s(1) = 2.

Solution 3. The rate of change of velocity is acceleration, so we have the differential equation

dv dt = t + 1.

Separating variables and integrating, we have

dv dt =^ t^ + 1^ ⇒

dv =

t + 1 dt ⇒ v = t^2 2 +^ t^ +^ C.

The rate of change of position is velocity, so using the fact above, we have the differential equation

ds dt = t

2 2

  • t + C.

Separating variables and integrating, we have

ds dt = t

2 2

  • t + C ⇒

ds =

t^2 2

  • t + C dt ⇒ s = t

3 6

  • t

2 2

  • Ct + D.

To solve for the integrating constants C and D, since s(0) = 0, we have

0 = s(0) = D ⇒ D = 0.

And since s(1) = 2, we have

2 = s(1) =

+ C ⇒ C = 2 −

Therefore, the position is given by

s(t) = t^3 6

t^2 2

4 t 3