ConceptComplete

The Derivative

The derivative measures the instantaneous rate of change of a function. Defined as the limit of difference quotients, it encodes information about tangent lines, velocity, and local behavior. Differentiability is stronger than continuity: every differentiable function is continuous, but not conversely. The derivative is the foundation of calculus and differential equations.


Definition

Definition5.1Derivative

Let f:(a,b)Rf : (a, b) \to \mathbb{R} and c(a,b)c \in (a, b). The derivative of ff at cc is

f(c)=limh0f(c+h)f(c)h,f'(c) = \lim_{h \to 0} \frac{f(c+h) - f(c)}{h},

provided the limit exists. If f(c)f'(c) exists, we say ff is differentiable at cc.

RemarkGeometric interpretation

f(c)f'(c) is the slope of the tangent line to the graph of ff at (c,f(c))(c, f(c)). The equation of the tangent line is y=f(c)+f(c)(xc)y = f(c) + f'(c)(x - c).

ExampleDerivative of x^n

For f(x)=xnf(x) = x^n (where nNn \in \mathbb{N}), we have f(x)=nxn1f'(x) = nx^{n-1}. Proof: using the binomial theorem,

(x+h)nxnh=xn+nxn1h+O(h2)xnh=nxn1+O(h)nxn1.\frac{(x+h)^n - x^n}{h} = \frac{x^n + nx^{n-1}h + O(h^2) - x^n}{h} = nx^{n-1} + O(h) \to nx^{n-1}.

ExampleDerivative of sin(x)

ddxsin(x)=cos(x)\frac{d}{dx} \sin(x) = \cos(x). Proof: using sin(x+h)=sin(x)cos(h)+cos(x)sin(h)\sin(x+h) = \sin(x)\cos(h) + \cos(x)\sin(h) and limh0sin(h)/h=1\lim_{h \to 0} \sin(h)/h = 1, limh0(cos(h)1)/h=0\lim_{h \to 0} (\cos(h) - 1)/h = 0:

sin(x+h)sin(x)h=sin(x)cos(h)1h+cos(x)sin(h)h0+cos(x)=cos(x).\frac{\sin(x+h) - \sin(x)}{h} = \sin(x) \frac{\cos(h) - 1}{h} + \cos(x) \frac{\sin(h)}{h} \to 0 + \cos(x) = \cos(x).


Differentiability implies continuity

Theorem5.1Differentiable implies continuous

If ff is differentiable at cc, then ff is continuous at cc.

Proof

We have

f(c+h)f(c)=f(c+h)f(c)hhf(c)0=0as h0.f(c+h) - f(c) = \frac{f(c+h) - f(c)}{h} \cdot h \to f'(c) \cdot 0 = 0 \quad \text{as } h \to 0.

Thus limh0f(c+h)=f(c)\lim_{h \to 0} f(c+h) = f(c), so ff is continuous at cc.

RemarkConverse is false

Continuity does not imply differentiability. For example, f(x)=xf(x) = |x| is continuous at x=0x = 0 but not differentiable there (the left and right derivatives are 1-1 and +1+1, respectively).


Rules of differentiation

Theorem5.2Algebra of derivatives

If ff and gg are differentiable at cc, then:

  1. (f+g)(c)=f(c)+g(c)(f + g)'(c) = f'(c) + g'(c) (sum rule).
  2. (cf)(c)=cf(c)(cf)'(c) = c f'(c) for any constant cc (scalar multiple rule).
  3. (fg)(c)=f(c)g(c)+f(c)g(c)(fg)'(c) = f'(c)g(c) + f(c)g'(c) (product rule).
  4. If g(c)0g(c) \neq 0, then (f/g)(c)=f(c)g(c)f(c)g(c)g(c)2(f/g)'(c) = \frac{f'(c)g(c) - f(c)g'(c)}{g(c)^2} (quotient rule).
Theorem5.3Chain rule

If gg is differentiable at cc and ff is differentiable at g(c)g(c), then fgf \circ g is differentiable at cc, and

(fg)(c)=f(g(c))g(c).(f \circ g)'(c) = f'(g(c)) \cdot g'(c).

ExampleChain rule application

Let h(x)=sin(x2)h(x) = \sin(x^2). Then h(x)=cos(x2)2x=2xcos(x2)h'(x) = \cos(x^2) \cdot 2x = 2x \cos(x^2) by the chain rule.


One-sided derivatives

Definition5.2One-sided derivatives

The right derivative of ff at cc is

f+(c)=limh0+f(c+h)f(c)h.f'_+(c) = \lim_{h \to 0^+} \frac{f(c+h) - f(c)}{h}.

Similarly, the left derivative is f(c)=limh0f(c+h)f(c)hf'_-(c) = \lim_{h \to 0^-} \frac{f(c+h) - f(c)}{h}.

ff is differentiable at cc if and only if f+(c)=f(c)f'_+(c) = f'_-(c).

Examplef(x) = |x| at x = 0

For f(x)=xf(x) = |x|, we have

f+(0)=limh0+hh=1,f(0)=limh0hh=1.f'_+(0) = \lim_{h \to 0^+} \frac{|h|}{h} = 1, \quad f'_-(0) = \lim_{h \to 0^-} \frac{|h|}{h} = -1.

Since f+(0)f(0)f'_+(0) \neq f'_-(0), ff is not differentiable at 00.


Summary

The derivative is the fundamental notion of calculus:

  • Defined as the limit of difference quotients.
  • Differentiability implies continuity (but not conversely).
  • Rules: sum, product, quotient, chain rule.
  • Applications: tangent lines, rates of change, optimization.

See Mean Value Theorem and Taylor's Theorem for major applications.