The algebra of derivatives
Theorem 5.2.1. Let f, g: (a,b) → ℝ, differentiable on (a, b); then f ± g, f ⋅ g, and f/g (g ≠0) are differentiable on (a, b) and the following properties hold:
(f ± g)' = f' ± g'
(f ⋅ g)' = f' ⋅ g + f ⋅ g'
(1/g)' = −g/g2.
(f / g)' = (f' ⋅ g −f ⋅ g')/g2
Proof.
Derivative of a sum. The derivative of the sum/difference of two differentiable functions equals the sum/difference of their derivatives.
An analogous proof can be provided for the derivative of a difference.
Derivative of a product. We analyze the difference quotient
Here we have added and subtracted f(x + h)g(x) in the numerator and then regrouped the terms so as to display the difference quotients for f and g separately. Thus taking the limit limh→0 f(x + h) = f(x), and
(f ⋅ g)'(x) = f(x)g'(x) + g(x)f'(x).
Since g is differentiable at x, it is also continuous at x by Theorem 5.2.1. Since g(x) ≠ 0, we know that the function (1/g)(x) is continuous at x. We have
where we used the fact that
limh⟶0 1/g(x + h) = 1/g(x)
The quotient rule. Verify it by applying the rule for products and the reciprocal rule. □
The derivative of a composite function: The Chain Rule
Proposition 3.2 (Chain Rule) Let D,E ⊆ ℝ and f: D ⟶ ℝ, g: E ⟶ ℝ be functions such that f(D) ⊆ E. Suppose x is an interior point of E. If f is differentiable at x and g is differentible at f(c), then g ∘ f is differentiable at x and
(g ∘ f)'(x) = g'(f(x))f'(x)
Proof. We have
(g ∘ f)(x + h) − (g ∘ f)(x) = g(f(x + h)) − g(f(x))
For the sake of simplifying the notation, let
k = f(x + h) − f(x)
y = f(x)
then f(x + h) = y + k; from the continuity of f we have for h ⟶ 0 that k ⟶ 0. With the new notations
g(f(x + h)) − g(f(x)) = g(y + k) − g(y)
The derivative of g is:
which can be written as well, for k ≠ 0:
Where ε(k) indicates a quntity that goes to zero for k ⟶ 0. By multiplying both sides of the former by k, we obtain
g(y + k) − g(y) = g' (y) ⋅ k + ε(k) ⋅ k
which is perfeclty valid for k = 0 as well. Thus
g(f(x + h)) − g(f(x)) = g' (y) ⋅ k + ε(k) ⋅ k
dividing by h and observing that k/h → f'(x), we have proved the claim. □
The Chain Rule has a particularly simple expression if we use the Leibniz notation for the derivative. Recall f ∘ g is defined as f(g(x)). The quantity f′(g(x)) is the derivative of f with x replaced by g; this can be written df/dg. As usual, g′(x) = dg/dx. Then the Chain Rule becomes
Examples . If w(x) = (sen x)2, we have w '(x) = 2 sen x ⋅ cos x.
If w(x) = e−x2 then w '(x) = e−x2 ⋅ (−2x).
If w(x) = (sen cos x3)−2 then w '(x) = −2(sen cos x3)−3 ⋅ cos cos x3 ⋅ (−sen x3) ⋅ 3x2. ■
Derivative of a periodic function
Let f: I ⟶ ℝ be a differentiable function, with period T, that is f(x + T) = f(x) ∀x ∈ I, then f' is also periodic with period T. We have if f is differentiable at x,
Let f: ℝ → ℝ be periodic with period T.
The range of f is precisely f([0,T]); in particular, if f is continuous, the range of f is bounded.
If f is differentiable, then f′ is periodic with period T.
Example 1. Verify whether f(x) = sin(x2) is a periodic function. Note that f(x) = sin(x2) is differentiable and f′(x)= 2x ⋅ cos(x2) which is unbounded. Therefore, f′ cannot be periodic by the first point, and hence f cannot be periodic by the second point. ■