Salta al contenuto
Note per Studenti Derivatives - Definition and Differentiation Rules Report

Derivatives - Definition and Differentiation Rules

In questa pagina 12

Prerequisites: limits of functions, little-o notation, continuity.

The derivative measures how fast a function changes at a point.

Definition

Definition (derivative). Let f:(a,b)→Rf: (a, b) \to \mathbb{R} and x0∈ ]a,b[x_0 \in \,]a, b[ (an interior point).

  1. The difference quotient of ff at x0x_0 is ΔfΔx=f(x)−f(x0)x−x0,x≠x0\frac{\Delta f}{\Delta x} = \frac{f(x) - f(x_0)}{x - x_0}, \qquad x \ne x_0
  2. If the limit f′(x0)=lim⁡x→x0f(x)−f(x0)x−x0f'(x_0) = \lim_{x \to x_0} \frac{f(x) - f(x_0)}{x - x_0} exists and is finite, ff is said to be differentiable at x0x_0 and f′(x0)f'(x_0) is the derivative of ff at x0x_0.

With the substitution h=x−x0h = x - x_0 this becomes f′(x0)=lim⁡h→0f(x0+h)−f(x0)hf'(x_0) = \lim_{h \to 0} \frac{f(x_0 + h) - f(x_0)}{h}

Example. f(x)=x2f(x) = x^2 at x0=3x_0 = 3: (3+h)2−9h=6h+h2h=6+h→6\frac{(3 + h)^2 - 9}{h} = \frac{6h + h^2}{h} = 6 + h \to 6, so f′(3)=6f'(3) = 6. With h=0.1h = 0.1 the quotient is 6.16.1, with h=0.01h = 0.01 it is 6.016.01.

Other notations: f˙(x0)\dot f(x_0), dfdx(x0)\frac{df}{dx}(x_0), Df(x0)Df(x_0).

Physical meaning. If s(t)s(t) is the position of a point on a line, s(t)−s(t0)t−t0\frac{s(t) - s(t_0)}{t - t_0} is the average velocity and its limit s˙(t0)\dot s(t_0) is the instantaneous velocity.

Geometric meaning. If ff is differentiable at x0x_0, the tangent line to the graph at P0=(x0,f(x0))P_0 = (x_0, f(x_0)) is y=f(x0)+f′(x0)(x−x0)y = f(x_0) + f'(x_0)(x - x_0) so f′(x0)f'(x_0) is its slope. Indeed the secant through P0P_0 and Ph=(x0+h,f(x0+h))P_h = (x_0 + h, f(x_0 + h)) is y=f(x0)+f(x0+h)−f(x0)h(x−x0)y = f(x_0) + \frac{f(x_0 + h) - f(x_0)}{h}(x - x_0), and as h→0h \to 0 its slope tends to f′(x0)f'(x_0). Example: x2x^2 at 33: y=9+6(x−3)=6x−9y = 9 + 6(x - 3) = 6x - 9.

Characterisation of differentiability

Theorem. ff is differentiable at x0x_0 if and only if there is a number f′(x0)f'(x_0) such that, as h→0h \to 0, f(x0+h)=f(x0)+f′(x0) h+o(h)f(x_0 + h) = f(x_0) + f'(x_0)\,h + o(h)

Proof. ff is differentiable at x0x_0 iff lim⁡x→x0f(x)−f(x0)x−x0=f′(x0)  ⟺  lim⁡x→x0f(x)−f(x0)−f′(x0)(x−x0)x−x0=0,\lim_{x \to x_0} \frac{f(x) - f(x_0)}{x - x_0} = f'(x_0) \iff \lim_{x \to x_0} \frac{f(x) - f(x_0) - f'(x_0)(x - x_0)}{x - x_0} = 0, and by the definition of little-o the last condition says f(x)−f(x0)−f′(x0)(x−x0)=o(x−x0)f(x) - f(x_0) - f'(x_0)(x - x_0) = o(x - x_0). ■\blacksquare

So near x0x_0 a differentiable function is approximated by its tangent line, with an error that is o(x−x0)o(x - x_0). For instance Dsin⁡x=cos⁡xD\sin x = \cos x gives the tangent y=xy = x at 00, and sin⁡x=x+o(x)\sin x = x + o(x) is the standard limit sin⁡xx→1\frac{\sin x}{x} \to 1: the standard limits are in fact derivatives.

Differentiable implies continuous

Theorem. If ff is differentiable at x0x_0, then ff is continuous at x0x_0.

Proof. From f(x)=f(x0)+f′(x0)(x−x0)+o(x−x0)f(x) = f(x_0) + f'(x_0)(x - x_0) + o(x - x_0), letting x→x0x \to x_0 both f′(x0)(x−x0)f'(x_0)(x - x_0) and o(x−x0)o(x - x_0) tend to 00, so f(x)→f(x0)f(x) \to f(x_0). ■\blacksquare

The converse is false: ∣x∣|x| is continuous at 00 but not differentiable.

One-sided derivatives and non-differentiability points

Definition. f′(x0−)=lim⁡h→0−f(x0+h)−f(x0)hf'(x_0^-) = \lim_{h \to 0^-} \frac{f(x_0 + h) - f(x_0)}{h} (left derivative), f′(x0+)=lim⁡h→0+f(x0+h)−f(x0)hf'(x_0^+) = \lim_{h \to 0^+} \frac{f(x_0 + h) - f(x_0)}{h} (right derivative).

f differentiable at x0  ⟺  f′(x0−)=f′(x0+)∈R.f \text{ differentiable at } x_0 \iff f'(x_0^-) = f'(x_0^+) \in \mathbb{R}.

Example: ∣x∣|x| at 00. f′(0+)=lim⁡x→0+xx=1f'(0^+) = \lim_{x \to 0^+} \frac{x}{x} = 1 and f′(0−)=lim⁡x→0−−xx=−1f'(0^-) = \lim_{x \to 0^-} \frac{-x}{x} = -1. Since 1≠−11 \ne -1, ∣x∣|x| is not differentiable at 00.

Example: a jump. f(x)=x+1f(x) = x + 1 for x≥0x \ge 0, f(x)=x−1f(x) = x - 1 for x<0x < 0. It is not continuous at 00, so it cannot be differentiable: f′(0+)=1f'(0^+) = 1 but f′(0−)=lim⁡x→0−x−2x=+∞f'(0^-) = \lim_{x \to 0^-} \frac{x - 2}{x} = +\infty. Note that f′(x)=1f'(x) = 1 on both sides, so lim⁡x→0−f′(x)=1≠f′(0−)\lim_{x \to 0^-} f'(x) = 1 \ne f'(0^-): in general the one-sided derivative is not the limit of the derivative (see the theorem on the limit of the derivative in L'Hopital's Rule and the Limit of the DerivativeFor a 0/0 form or a quotient whose denominator tends to infinity, if the limit of f'/g' exists then the limit of f/g exists and is the same; it holds for one-sided limits and limits at infinity, while if f'/g' has no limit nothing can be concluded. It is also used to study differentiability at a point (theorem on the limit of the derivative) and to define the classes C^0 and C^1.L'Hopital's Rule and the Limit of the Derivative →).

Definition (non-differentiability points). Let ff be continuous but not differentiable at x0x_0. Then x0x_0 is

  1. a corner if f′(x0±)f'(x_0^\pm) exist, are finite and differ;
  2. an inflection point with vertical tangent if f′(x0−)=f′(x0+)=+∞f'(x_0^-) = f'(x_0^+) = +\infty or =−∞= -\infty;
  3. a cusp if f′(x0−)=−∞f'(x_0^-) = -\infty and f′(x0+)=+∞f'(x_0^+) = +\infty, or vice versa.

Examples at 00: ∣x∣|x| is a corner, x3\sqrt[3]{x} an inflection with vertical tangent, ∣x∣\sqrt{|x|} a cusp. Useful: if ff is odd, f′f' is even; if ff is even, f′f' is odd; so it suffices to compute f′(0+)f'(0^+).

Derivatives of the elementary functions

  • D(c)=0D(c) = 0: the quotient is c−ch=0\frac{c - c}{h} = 0 for every h≠0h \ne 0.
  • D(x)=1D(x) = 1: (x+h)−xh=1\frac{(x + h) - x}{h} = 1.
  • D(sin⁡x)=cos⁡xD(\sin x) = \cos x, D(cos⁡x)=−sin⁡xD(\cos x) = -\sin x on R\mathbb{R}. For the sine, sin⁡(x+h)−sin⁡x=2sin⁡h2cos⁡(x+h2)\sin(x + h) - \sin x = 2\sin\frac h2\cos\left(x + \frac h2\right), so sin⁡(x+h)−sin⁡xh=sin⁡h2h2⋅cos⁡(x+h2)→1⋅cos⁡x.\frac{\sin(x + h) - \sin x}{h} = \frac{\sin\frac h2}{\frac h2}\cdot\cos\left(x + \frac h2\right) \to 1 \cdot \cos x.
  • D(ax)=axlog⁡aD(a^x) = a^x\log a, D(ex)=exD(e^x) = e^x (a>0a > 0, a≠1a \ne 1): ax+h−axh=axah−1h→axlog⁡a\frac{a^{x + h} - a^x}{h} = a^x\frac{a^h - 1}{h} \to a^x\log a by the standard limit. For a=ea = e, exe^x equals its own derivative.
  • D(log⁡ax)=1xlog⁡aeD(\log_a x) = \frac1x\log_a e, D(log⁡x)=1xD(\log x) = \frac1x for x>0x > 0: log⁡a(1+h/x)h=log⁡a(1+h/x)h/x⋅1x→log⁡ae⋅1x\frac{\log_a(1 + h/x)}{h} = \frac{\log_a(1 + h/x)}{h/x}\cdot\frac1x \to \log_a e\cdot\frac1x.

Algebra of derivatives

Theorem. Let f,gf, g be differentiable at x0x_0. Then:

  1. Linearity: D(cf±g)(x0)=cf′(x0)±g′(x0)D(cf \pm g)(x_0) = c f'(x_0) \pm g'(x_0);
  2. Product (Leibniz): D(fg)(x0)=f′(x0)g(x0)+f(x0)g′(x0)D(fg)(x_0) = f'(x_0)g(x_0) + f(x_0)g'(x_0);
  3. Reciprocal and quotient, if g(x0)≠0g(x_0) \ne 0: D(1g)=−g′g2,D(fg)=f′g−fg′g2.D\left(\frac1g\right) = -\frac{g'}{g^2}, \qquad D\left(\frac fg\right) = \frac{f'g - fg'}{g^2}.

Proof of the product rule. Add and subtract f(x0)g(x0+h)f(x_0)g(x_0 + h) in the numerator: f(x0+h)g(x0+h)−f(x0)g(x0)h=f(x0+h)−f(x0)h g(x0+h)+f(x0) g(x0+h)−g(x0)h.\frac{f(x_0 + h)g(x_0 + h) - f(x_0)g(x_0)}{h} = \frac{f(x_0 + h) - f(x_0)}{h}\,g(x_0 + h) + f(x_0)\,\frac{g(x_0 + h) - g(x_0)}{h}. As h→0h \to 0 the quotients tend to f′(x0)f'(x_0) and g′(x0)g'(x_0), and g(x0+h)→g(x0)g(x_0 + h) \to g(x_0) because gg, being differentiable, is continuous. ■\blacksquare

Examples. D(x2sin⁡x)=2xsin⁡x+x2cos⁡xD(x^2\sin x) = 2x\sin x + x^2\cos x; D(xx2+1)=(x2+1)−2x2(x2+1)2=1−x2(x2+1)2D\left(\frac{x}{x^2 + 1}\right) = \frac{(x^2 + 1) - 2x^2}{(x^2 + 1)^2} = \frac{1 - x^2}{(x^2 + 1)^2}.

Tangent. D(tan⁡x)=cos⁡2x+sin⁡2xcos⁡2x=1cos⁡2x=1+tan⁡2xD(\tan x) = \frac{\cos^2 x + \sin^2 x}{\cos^2 x} = \frac{1}{\cos^2 x} = 1 + \tan^2 x for x≠π2+kπx \ne \frac\pi2 + k\pi.

Chain rule

Theorem. If gg is differentiable at x0x_0 and ff is differentiable at g(x0)g(x_0), then f∘gf \circ g is differentiable at x0x_0 and (f∘g)′(x0)=f′(g(x0))⋅g′(x0).(f \circ g)'(x_0) = f'(g(x_0))\cdot g'(x_0).

One differentiates from the outside inwards, multiplying by the derivative of what is inside. Example: D(sin⁡(x2))=2xcos⁡(x2)D\left(\sin(x^2)\right) = 2x\cos(x^2).

Three layers. f(x)=e3tan⁡(e−x+cos⁡2x)f(x) = e^{3\tan(e^{-x} + \cos 2x)}: f′(x)=e3tan⁡(e−x+cos⁡2x)⋅3cos⁡2(e−x+cos⁡2x)⋅(−e−x−2sin⁡2x).f'(x) = e^{3\tan(e^{-x} + \cos 2x)}\cdot\frac{3}{\cos^2(e^{-x} + \cos 2x)}\cdot\left(-e^{-x} - 2\sin 2x\right).

Proof. Near y0=g(x0)y_0 = g(x_0), f(y)=f(y0)+f′(y0)(y−y0)+(y−y0) o(1)f(y) = f(y_0) + f'(y_0)(y - y_0) + (y - y_0)\,o(1) with o(1)→0o(1) \to 0. Since gg is continuous, y=g(x0+h)→y0y = g(x_0 + h) \to y_0, and substituting and dividing by hh: f(g(x0+h))−f(g(x0))h=f′(g(x0))g(x0+h)−g(x0)h+g(x0+h)−g(x0)h o(1)→f′(g(x0))g′(x0)+g′(x0)⋅0. ■\frac{f(g(x_0 + h)) - f(g(x_0))}{h} = f'(g(x_0))\frac{g(x_0 + h) - g(x_0)}{h} + \frac{g(x_0 + h) - g(x_0)}{h}\,o(1) \to f'(g(x_0))g'(x_0) + g'(x_0)\cdot 0. \ \blacksquare

More derivatives

  • Hyperbolic: Dsinh⁡x=cosh⁡xD\sinh x = \cosh x, Dcosh⁡x=sinh⁡xD\cosh x = \sinh x, Dtanh⁡x=1cosh⁡2xD\tanh x = \frac{1}{\cosh^2 x}.
  • Logarithm of the absolute value: Dlog⁡∣x∣=1xD\log|x| = \frac1x for x≠0x \ne 0, hence Dlog⁡∣f∣=f′fD\log|f| = \frac{f'}{f} where f≠0f \ne 0.
  • Variable base and exponent. If f>0f > 0, write fg=eglog⁡ff^g = e^{g\log f}: D(fg)=fg[g′log⁡f+gf′f].D\left(f^g\right) = f^g\left[g'\log f + g\frac{f'}{f}\right]. For example D(xx)=xx(log⁡x+1)D(x^x) = x^x(\log x + 1) for x>0x > 0, and D(xα)=αxα−1D(x^\alpha) = \alpha x^{\alpha - 1} for x>0x > 0, any α∈R\alpha \in \mathbb{R}.

Derivative of the inverse function

Theorem. Let ff be continuous and invertible on an interval, differentiable at x0x_0 with f′(x0)≠0f'(x_0) \ne 0. Then f−1f^{-1} is differentiable at y0=f(x0)y_0 = f(x_0) and (f−1)′(y0)=1f′(x0).(f^{-1})'(y_0) = \frac{1}{f'(x_0)}.

Example. f(x)=x3f(x) = x^3, f−1(y)=y3f^{-1}(y) = \sqrt[3]{y}: at y0=8y_0 = 8 (x0=2x_0 = 2), (f−1)′(8)=112(f^{-1})'(8) = \frac{1}{12}.

Proof. A continuous invertible function on an interval is strictly monotone and its inverse is continuous, so x=f−1(y)→x0x = f^{-1}(y) \to x_0 as y→y0y \to y_0 (with x≠x0x \ne x_0 since f−1f^{-1} is injective). Changing variable, lim⁡y→y0f−1(y)−f−1(y0)y−y0=lim⁡x→x0x−x0f(x)−f(x0)=1f′(x0). ■\lim_{y \to y_0}\frac{f^{-1}(y) - f^{-1}(y_0)}{y - y_0} = \lim_{x \to x_0}\frac{x - x_0}{f(x) - f(x_0)} = \frac{1}{f'(x_0)}. \ \blacksquare

If f′(x0)=0f'(x_0) = 0, f−1f^{-1} is never differentiable at y0y_0: x3x^3 has f′(0)=0f'(0) = 0 and y3\sqrt[3]{y} has a vertical tangent at 00.

Inverse trigonometric and hyperbolic functions. D(arcsin⁡x)=11−x2,D(arccos⁡x)=−11−x2 (∣x∣<1),D(arctan⁡x)=11+x2D(\arcsin x) = \frac{1}{\sqrt{1 - x^2}},\quad D(\arccos x) = -\frac{1}{\sqrt{1 - x^2}}\ (|x| < 1),\quad D(\arctan x) = \frac{1}{1 + x^2} D(arsinh x)=1x2+1,D(arcosh x)=1x2−1 (x>1),D(artanh x)=11−x2 (∣x∣<1)D(\mathrm{arsinh}\,x) = \frac{1}{\sqrt{x^2 + 1}},\quad D(\mathrm{arcosh}\,x) = \frac{1}{\sqrt{x^2 - 1}}\ (x > 1),\quad D(\mathrm{artanh}\,x) = \frac{1}{1 - x^2}\ (|x| < 1)

Proof for arcsin. With y=arcsin⁡xy = \arcsin x, D(arcsin⁡x)=1cos⁡yD(\arcsin x) = \frac{1}{\cos y}. From cos⁡2y+sin⁡2y=1\cos^2 y + \sin^2 y = 1 and cos⁡y>0\cos y > 0 for y∈ ]−π2,π2[y \in\,]-\frac\pi2, \frac\pi2[, cos⁡y=1−x2\cos y = \sqrt{1 - x^2}. At x=±1x = \pm1 the arcsine has a vertical tangent. The arctangent is analogous with Dtan⁡y=1+tan⁡2yD\tan y = 1 + \tan^2 y; for arcosh use cosh⁡2y−sinh⁡2y=1\cosh^2 y - \sinh^2 y = 1 and sinh⁡y>0\sinh y > 0 for y>0y > 0.

Summary table

f(x)f(x) f′(x)f'(x) where
xαx^\alpha αxα−1\alpha x^{\alpha - 1} x>0x > 0
exe^x exe^x R\mathbb{R}
axa^x axlog⁡aa^x\log a R\mathbb{R}
log⁡x\log x 1x\frac1x x>0x > 0
log⁡∣x∣\log\lvert x\rvert 1x\frac1x x≠0x \ne 0
sin⁡x\sin x cos⁡x\cos x R\mathbb{R}
cos⁡x\cos x −sin⁡x-\sin x R\mathbb{R}
tan⁡x\tan x 1cos⁡2x\frac{1}{\cos^2 x} x≠π2+kπx \ne \frac\pi2 + k\pi
sinh⁡x\sinh x cosh⁡x\cosh x R\mathbb{R}
cosh⁡x\cosh x sinh⁡x\sinh x R\mathbb{R}
tanh⁡x\tanh x 1cosh⁡2x\frac{1}{\cosh^2 x} R\mathbb{R}
arcsin⁡x\arcsin x 11−x2\frac{1}{\sqrt{1 - x^2}} −1<x<1-1 < x < 1
arccos⁡x\arccos x −11−x2-\frac{1}{\sqrt{1 - x^2}} −1<x<1-1 < x < 1
arctan⁡x\arctan x 11+x2\frac{1}{1 + x^2} R\mathbb{R}

Higher-order derivatives and the classes CnC^n

If ff is differentiable, f′f' is a function and may be differentiated again.

Example. f(x)=e3x+cos⁡2xf(x) = e^{3x} + \cos 2x: f′(x)=3e3x−2sin⁡2xf'(x) = 3e^{3x} - 2\sin 2x, f′′(x)=9e3x−4cos⁡2xf''(x) = 9e^{3x} - 4\cos 2x, f′′′(x)=27e3x+8sin⁡2xf'''(x) = 27e^{3x} + 8\sin 2x.

Definition. If ff is differentiable n−1n - 1 times in a neighbourhood of x0x_0 and f(n−1)f^{(n-1)} is differentiable at x0x_0, the nn-th derivative is f(n)(x0)=lim⁡x→x0f(n−1)(x)−f(n−1)(x0)x−x0.f^{(n)}(x_0) = \lim_{x \to x_0}\frac{f^{(n-1)}(x) - f^{(n-1)}(x_0)}{x - x_0}.

Notations: f′′f'', f(2)f^{(2)}, dnfdxn\frac{d^nf}{dx^n}, DnfD^nf; by convention f(0)=ff^{(0)} = f. A neighbourhood is needed because the difference quotient of f(n−1)f^{(n-1)} uses its values near x0x_0.

Existence and continuity. If f(n)(x0)f^{(n)}(x_0) exists, then f,f′,…,f(n−1)f, f', \dots, f^{(n-1)} are continuous at x0x_0 (each is differentiable there or in a neighbourhood). Nothing can be said about the continuity of f(n)f^{(n)} itself. This is used in the proof of Taylor's formula with Peano remainder.

Definition (class CnC^n). For an interval II, Cn(I)={f:I→R:f is n times differentiable on I and f(n) is continuous}.C^n(I) = \{f: I \to \mathbb{R} : f \text{ is } n \text{ times differentiable on } I \text{ and } f^{(n)} \text{ is continuous}\}.

C0C^0 are the continuous functions; C∞(I)C^\infty(I) is the intersection of all Cn(I)C^n(I) (polynomials, exe^x, sin⁡x\sin x, cos⁡x\cos x on R\mathbb{R}; log⁡x\log x on ]0,+∞[]0, +\infty[). The inclusions are strict: Cn(I)⊊Cn−1(I)⊊⋯⊊C1(I)⊊C0(I).C^n(I) \subsetneq C^{n-1}(I) \subsetneq \dots \subsetneq C^1(I) \subsetneq C^0(I). Example: x∣x∣x|x| has derivative 2∣x∣2|x|, continuous but not differentiable at 00, so it is in C1(R)C^1(\mathbb{R}) but not in C2(R)C^2(\mathbb{R}). Likewise ∣x∣3|x|^3 has f′=3x∣x∣f' = 3x|x|, f′′=6∣x∣f'' = 6|x|, so it is in C2C^2 but not C3C^3.

Common mistakes

  • Thinking continuous implies differentiable (∣x∣|x| is the counterexample).
  • Computing f′(x0±)f'(x_0^\pm) as lim⁡f′(x)\lim f'(x) without checking continuity at x0x_0.
  • Differentiating a product as f′g′f'g': it is f′g+fg′f'g + fg'.
  • Forgetting the inner derivative: Dsin⁡2x=2cos⁡2xD\sin 2x = 2\cos 2x.
  • Differentiating xxx^x as a power or as an exponential: use exlog⁡xe^{x\log x}, giving xx(log⁡x+1)x^x(\log x + 1).
  • Reversing the quotient numerator: it is f′g−fg′f'g - fg'.
  • Computing f′′(x0)f''(x_0) by differentiating the number f′(x0)f'(x_0): first find the function f′(x)f'(x), then differentiate it.

Versione ripasso

Definition. f′(x0)=lim⁡h→0f(x0+h)−f(x0)hf'(x_0) = \lim_{h \to 0}\frac{f(x_0 + h) - f(x_0)}{h}, finite. Tangent: y=f(x0)+f′(x0)(x−x0)y = f(x_0) + f'(x_0)(x - x_0). Example: x2x^2 at 33 gives 6+h→66 + h \to 6.

Characterisation. Differentiable at x0  ⟺  f(x0+h)=f(x0)+f′(x0)h+o(h)x_0 \iff f(x_0 + h) = f(x_0) + f'(x_0)h + o(h). Hence differentiable ⇒\Rightarrow continuous; the converse fails (∣x∣|x|).

One-sided derivatives. Differentiable   ⟺  f′(x0−)=f′(x0+)∈R\iff f'(x_0^-) = f'(x_0^+) \in \mathbb{R}. Types (with ff continuous): corner (finite, different), vertical-tangent inflection (±∞\pm\infty both sides, same sign: x3\sqrt[3]{x}), cusp (opposite infinities: ∣x∣\sqrt{|x|}). In general f′(x0±)≠lim⁡f′(x)f'(x_0^\pm) \ne \lim f'(x) without continuity.

Rules.

  • D(cf±g)=cf′±g′D(cf \pm g) = cf' \pm g'; D(fg)=f′g+fg′D(fg) = f'g + fg'; D(fg)=f′g−fg′g2D\left(\frac fg\right) = \frac{f'g - fg'}{g^2}.
  • Chain: (f∘g)′=f′(g)⋅g′(f \circ g)' = f'(g)\cdot g', from the outside inwards.
  • D(fg)=fg[g′log⁡f+gf′f]D(f^g) = f^g\left[g'\log f + g\frac{f'}{f}\right]; D(xx)=xx(log⁡x+1)D(x^x) = x^x(\log x + 1); Dlog⁡∣f∣=f′fD\log|f| = \frac{f'}{f}.
  • Inverse: (f−1)′(y0)=1f′(x0)(f^{-1})'(y_0) = \frac{1}{f'(x_0)} if f′(x0)≠0f'(x_0) \ne 0 (needs continuity of f−1f^{-1}).

Table. (xα)′=αxα−1(x^\alpha)' = \alpha x^{\alpha - 1}, (ex)′=ex(e^x)' = e^x, (ax)′=axlog⁡a(a^x)' = a^x\log a, (log⁡x)′=1x(\log x)' = \frac1x, sin⁡′=cos⁡\sin' = \cos, cos⁡′=−sin⁡\cos' = -\sin, tan⁡′=1cos⁡2\tan' = \frac{1}{\cos^2}, sinh⁡′=cosh⁡\sinh' = \cosh, cosh⁡′=sinh⁡\cosh' = \sinh, arcsin⁡′=11−x2\arcsin' = \frac{1}{\sqrt{1 - x^2}}, arccos⁡′=−11−x2\arccos' = -\frac{1}{\sqrt{1 - x^2}}, arctan⁡′=11+x2\arctan' = \frac{1}{1 + x^2}, arsinh′=1x2+1\mathrm{arsinh}' = \frac{1}{\sqrt{x^2 + 1}}, arcosh′=1x2−1\mathrm{arcosh}' = \frac{1}{\sqrt{x^2 - 1}}.

Higher derivatives. f(n)=(f(n−1))′f^{(n)} = (f^{(n-1)})', needs f(n−1)f^{(n-1)} on a neighbourhood. If f(n)(x0)f^{(n)}(x_0) exists, f,…,f(n−1)f, \dots, f^{(n-1)} are continuous at x0x_0. Cn(I)C^n(I): nn times differentiable with f(n)f^{(n)} continuous; Cn⊊Cn−1C^n \subsetneq C^{n-1} (e.g. x∣x∣∈C1∖C2x|x| \in C^1 \setminus C^2).

Typical mistakes. D(fg)≠f′g′D(fg) \ne f'g'; missing inner derivative; swapped quotient numerator; differentiating f′(x0)f'(x_0) as a number.

Teoria collegata