Altanis

2.3Revision of the Single-Variable Derivative

Updated 22 Jun 2026Chapter (PDF)

[2.3.1]Definition(Univariate Differentiability)#

A function f:RRf: \bR \to \bR is said to be differentiable at x=ax = a if

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

exists.

This is merely a construction, however. In trying to abstract a construction to a more general setting, we seek to determine invariants we seek to keep as we move to more general settings. Let's try to figure out what makes the derivative special.

[2.3.2]Remark(Derivative as Best Linear Approximation)#

Let's try to consider what it means for the graph of a function f:RRf: \bR \to \bR to have a tangent line of slope tt at (a,f(a))(a, f(a)). Let xx be a point close to aa. To measure how much the value of our tangent line deviates from the value of ff at xx, we can define a function

g(x):=f(x)[f(a)+t(xa)],g(x) := f(x) - [f(a) + t(x - a)],

where the term in brackets is the tangent line evaluated at xx. But graphically, this is rather crude: it's a rotated line not necessarily aligned with a nice axis on the coordinate plane. We move away from these “global coordinates” that depend on xx to a coordinate system centered at (a,f(a))(a, f(a)).

Let's define h:=xah := x - a, the horizontal displacement between our chosen point and the point of tangency. We may now write gg in terms of hh as such:

g(h):=f(a+h)[f(a)+th].g(h) := f(a + h) - [f(a) + th].

This captures the exact same deviation of our tangent line from the function.

Why is this perspective useful? Because it normalizes our problem. If our candidate slope tt is indeed the true tangent slope of ff at aa, then near aa, the function ff behaves like a line of slope tt. By subtracting the line f(a)+thf(a) + th to create g(h)g(h), we are subtracting out the entirety of this linear behavior. A curve of slope tt minus a line of slope tt leaves a remainder curve gg with a slope of exactly 00.

Thus, the messy problem of checking if ff has a tangent of slope tt out at x=ax = a is entirely reduced to a much tidier problem: checking if gg is perfectly horizontal at the origin.

To say that gg is horizontal at the origin geometrically means that for any arbitrarily small slope c>0c > 0, the graph of gg will eventually fall entirely within the wedge bounded by the lines y=chy = ch and y=chy = -ch if we zoom in close enough to the origin. Analytically, this means g(h)ch|g(h)| \le c|h| for small enough hh, which is exactly the definition of g(h)g(h) being o(h)o(h).

We can now show that t=f(a)t = f'(a). Note that

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

where the numerator is exactly of the form g(h)g(h), and this limit expression also agrees that g(h)g(h) is o(h)o(h). Thus the derivative f(a)f'(a) is exactly the value of tt for which our tangent line is actually tangent to ff at x=ax = a.

We have to generalize this idea to multiple dimensions. Note we can observe the derivative not just as a constant f(a)f'(a), but the linear map Ta:RRT_a: \bR \to \bR that sends hf(a)hh \mapsto f'(a)h.

[2.3.3]Definition(Multivariate Differentiability)#

Let ARnA \subseteq \bR^n, and let f:ARmf: A \to \bR^m be a mapping. ff is said to be differentiable at some interior point aInt(A)a \in \Int(A) if there exists some Ta:RnRmT_a: \bR^n \to \bR^m satisfying the condition that

f(a+h)f(a)Ta(h)=o(h).f(a + h) - f(a) - T_a(h) = o(h).

Alternatively, ff is differentiable at aa if

f(a+h)=f(a)+Ta(h)+o(h),f(a + h) = f(a) + T_a(h) + o(h),

where o(h)o(h) is some o(h)o(h) mapping.

TaT_a is said to be the total derivative of ff at aa, written DfaDf_a or (Df)a(Df)_a. When ff is differentiable at aa, the matrix [Dfa][Df_a] expressed in the standard basis is said to be the Jacobian of ff at aa.

[2.3.4]Remark(Differentiation at Interior Points)#

Recall that, for a univariate function f:[a,b]Rf: [a, b] \to \bR, ff' is not well defined at a,ba, b. This is because a,bInt([a,b])a, b \notin \Int([a, b]), an idea expressed in our definition of multivariate differentiability.

[2.3.5]Example(Differentiability for Surfaces)#

Let's apply this idea to some f:ARf: A \to \bR, where AR2A \subseteq \bR^2. We say ff is differentiable at some interior point of (x,y)Int(A)(x, y) \in \Int(A) if

f(x+h,y+k)f(x,y)Ta(h,k)=o(h).f(x + h, y + k) - f(x, y) - T_a(h, k) = o(h).

Obviously, since TaT_a is a linear map, we note Ta(h,k)=ah+bkT_a(h, k) = ah + bk for some choice of values a,bRa, b \in \bR. Our statement of differentiability, rearranged, says that

f(x+h,y+k)=f(x,y)+Ta(h,k)+o(h)f(x,y)+Ta(h,k)=f(x,y)+ah+bk.f(x + h, y + k) = f(x, y) + T_a(h, k) + o(h) \approx f(x, y) + T_a(h, k) = f(x, y) + ah + bk.

The right-hand side is the equation of a plane in local coordinates (h,k)(h, k), leading us to believe that ff is differentiable at (x,y)(x, y) if, locally, ff behaves like a plane. This is exactly our intuition of what is a “tangent plane” for a surface that is differentiable at some point.

[2.3.6]Theorem(Uniqueness of Derivative)#

Let f:ARmf: A \to \bR^m, where ARnA \subseteq \bR^n, be differentiable at aAa \in A. Then the derivative of ff at aa is unique.

Proof.

Suppose there exist maps Ta,T~a:RnRmT_a, \tilde{T}_a: \bR^n \to \bR^m such that f(a+h)f(a)Ta(h)f(a + h) - f(a) - T_a(h) and f(a+h)f(a)+T~a(h)f(a + h) - f(a) + \tilde{T}_a(h) are o(h)o(h) mappings. Subtracting the two maps yields (T~aTa)(\tilde{T}_a - T_a), which is also o(h)o(h) by vector space properties of o(h)o(h) mappings. But note that the only linear map that is o(h)o(h) is the zero mapping, implying T~aTa\tilde{T}_a \equiv T_a.

[2.3.7]Theorem(Differentiability Implies Continuity)#

Suppose f:ARmf: A \to \bR^m, where ARmA \subseteq \bR^m, is differentiable at aAa \in A. Then ff is continuous at aa.

Proof.

Note that f(a+h)f(a)=Ta(h)+o(h)=o(1)+o(1)=o(1)f(a + h) - f(a) = T_a(h) + o(h) = o(1) + o(1) = o(1) as h0h \to 0, meaning ff is continuous at aa.