Lemma 12.1. Let f:[a,b]⟶Rf: [a,b] \longrightarrow \mathbb{R} be continuous at p∈(a,b)p \in (a,b). Define functions mm and MM by

m(h)=inf⁡{f(x)∣p≤x≤p+h},M(h)=sup⁡{f(x)∣p≤x≤p+h} for h>0,m(h) = \inf \{ f(x) \mid p \leq x \leq p + h \}, \quad M(h) = \sup \{ f(x) \mid p \leq x \leq p + h \} \text{ for } h > 0,

and similarly for h<0h < 0 with p+h≤x≤pp + h \leq x \leq p. Then lim⁡h→0m(h)=f(p)\lim_{h \to 0} m(h) = f(p) and lim⁡h→0M(h)=f(p)\lim_{h \to 0} M(h) = f(p).

Theorem 12.2 (The First Fundamental Theorem of Calculus). Suppose that ff is integrable on [a,b][a,b]. Define F:[a,b]⟶RF: [a,b] \longrightarrow \mathbb{R} by

F(x)=∫axf.F(x) = \int_a^x f.

If ff is continuous at p∈(a,b)p \in (a,b), then FF is differentiable at pp and

F′(p)=f(p).F'(p) = f(p).

Lemma 12.3. Suppose that f:[a,b]⟶Rf: [a,b] \longrightarrow \mathbb{R} is integrable and that II is a number satisfying

L(f,P)≤I≤U(f,P)for every partition P of [a,b].L(f,P) \leq I \leq U(f,P) \quad \text{for every partition } P \text{ of } [a,b].

Then

∫abf=I.\int_a^b f = I.

Theorem 12.4 (The Second Fundamental Theorem of Calculus). Suppose that ff is integrable on [a,b][a,b] and that f=F′f = F' on (a,b)(a,b) for some function FF. Then:

∫abf=F(b)−F(a).\int_a^b f = F(b) - F(a).

By Corollary 10.36 The Mean Value Theorem,

Corollary 12.5 (Integration by Parts). Let f:[a,b]⟶Rf: [a,b] \longrightarrow \mathbb{R} and g:[a,b]⟶Rg: [a,b] \longrightarrow \mathbb{R} be continuous, and suppose that gg is continuously differentiable on (a,b)(a,b). Suppose there exists F:[a,b]⟶RF: [a,b] \longrightarrow \mathbb{R} such that FF is differentiable on (a,b)(a,b) and that F′=fF' = f on (a,b)(a,b). Then:

∫abf(x)⋅g(x) dx=[F(b)g(b)−F(a)g(a)]−∫abF(x)⋅g′(x) dx.\int_a^b f(x) \cdot g(x) \, dx = \big[ F(b)g(b) - F(a)g(a) \big] - \int_a^b F(x) \cdot g'(x) \, dx.

Theorem 11.26

Theorem 12.6 (Change of Variables). Let g:[a,b]→Rg: [a,b] \to \mathbb{R} be integrable on [a,b][a,b] and differentiable on (a,b)(a,b), and suppose that g′g' is continuous on (a,b)(a,b). Suppose that [c,d][c,d] is a closed interval such that g([a,b])⊂[c,d]g([a,b]) \subset [c,d], and that f:[c,d]→Rf: [c,d] \to \mathbb{R} is a continuous function. Suppose further that there exists a function F:[c,d]→RF: [c,d] \to \mathbb{R} that is differentiable on (c,d)(c,d) and such that F′=fF' = f on (c,d)(c,d). Then:

∫abf(g(x))⋅g′(x) dx=F(g(b))−F(g(a)).\int_a^b f(g(x)) \cdot g'(x) \, dx = F(g(b)) - F(g(a)).

By Theorem 10.30

Now, we prove another very important theorem that tells us about inverse functions and their derivatives. To get there we will need a few lemmas.

Definition 12.7. Let A⊂RA \subset \mathbb{R}, and let f:A→Rf: A \to \mathbb{R} be a function. We say that ff is strictly increasing on AA if, for x,y∈Ax, y \in A, if x<yx < y, then f(x)<f(y)f(x) < f(y). Similarly, we say that ff is strictly decreasing on AA if, for x,y∈Ax, y \in A, if x<yx < y, then f(x)>f(y)f(x) > f(y).

Exercise 12.8. Show that if ff is strictly increasing or strictly decreasing on an interval, then ff is injective.

Lemma 12.9. If f:(a,b)→Rf: (a,b) \to \mathbb{R} is continuous and injective, then ff is either strictly increasing or strictly decreasing on (a,b)(a,b).

Theorem 5.4

Theorem 12.10. If f:(a,b)→Rf: (a,b) \to \mathbb{R} is continuous and injective, then there exists a function g:f(a,b)→(a,b)g: f(a,b) \to (a,b) such that g(f(x))=xg(f(x)) = x for all x∈(a,b)x \in (a,b) and gg is continuous.

We call the function gg from Theorem 12.10 the inverse function of ff and we denote it by f−1f^{-1}.

Lemma 12.11. If f:(a,b)→Rf: (a,b) \to \mathbb{R} is differentiable and f′(x)>0f'(x) > 0 for all x∈(a,b)x \in (a,b), then ff is strictly increasing on (a,b)(a,b). Similarly, if ff is differentiable on (a,b)(a,b) and f′(x)<0f'(x) < 0 for all x∈(a,b)x \in (a,b), then ff is strictly decreasing on (a,b)(a,b).

Lemma 12.12. If f:(a,b)→Rf: (a,b) \to \mathbb{R} is continuous and f(c)>0f(c) > 0 for some c∈(a,b)c \in (a,b), then there exists a region R⊂(a,b)R \subset (a,b) such that c∈Rc \in R and f(x)>0f(x) > 0 for all x∈Rx \in R. The analogous statement is true if f(c)<0f(c) < 0.

Theorem 12.13 (The Inverse Function Theorem). Suppose that f:(a,b)→Rf: (a,b) \to \mathbb{R} is differentiable and that the derivative f′:(a,b)→Rf': (a,b) \to \mathbb{R} is continuous. Also suppose that there is a point p∈(a,b)p \in (a,b) such that f′(p)≠0f'(p) \neq 0. Then there exists a region R⊂(a,b)R \subset (a,b) such that p∈Rp \in R and ff with domain restricted to RR is injective. Furthermore, f−1:f(R)→Rf^{-1}: f(R) \to R is differentiable at the point f(p)f(p) and

(f−1)′(f(p))=1f′(p).(f^{-1})'(f(p)) = \frac{1}{f'(p)}.

Exercise 12.14. Consider the function f(x)=xnf(x) = x^n for a fixed n∈Nn \in \mathbb{N}. If nn is even, then ff is strictly increasing on the set of non-negative real numbers. If nn is odd, then ff is strictly increasing on all of R\mathbb{R}. For a given nn, let AA be the aforementioned set on which ff is strictly increasing. Define the inverse function f−1:f(A)→Af^{-1}: f(A) \to A by f−1(x)=xnf^{-1}(x) = \sqrt[n]{x}, which we sometimes also denote f−1(x)=x1/nf^{-1}(x) = x^{1/n}. Use the Inverse Function Theorem to find the points y∈f(A)y \in f(A) at which f−1f^{-1} is differentiable, and determine (f−1)′(y)(f^{-1})'(y) at these points.