Differentiability in Real Analysis
Differentiability in Rn→Rm
1. General Definition
Let A⊆Rn and let
The domain A is commonly assumed to be open. This assumption is convenient because every point p∈A is then an interior point. Consequently, points x can approach p from any direction while remaining in the domain.
The function f is differentiable at p if there exists a linear transformation
such that
The transformation Df(p) is called the derivative of f at p. Some texts use Jf(p) instead, especially when emphasizing its matrix representation.
A function is differentiable at p when a linear transformation provides a first-order approximation whose error becomes negligible compared with the distance from x to p.
2. Dimensions and Algebraic Meaning
The differentiability expression is dimensionally consistent.
Domain and codomain vectors
x,p∈Rn, so x−p∈Rn.
f(x),f(p)∈Rm.
Therefore, f(x)−f(p)∈Rm.
Vectors in Rn and Rm are conventionally viewed as column vectors:
x−p is an n×1 vector.
f(x)−f(p) is an m×1 vector.
Matrix representation of the derivative
Every linear transformation from Rn to Rm has an associated m×n matrix. Thus, Df(p) can be interpreted in two equivalent ways:
As a linear transformation acting on x−p: $$ Df(p)(x-p). $$
As an m×n matrix multiplied by an n×1 vector: $$ Df(p)(x-p). $$
The matrix-vector product produces an m×1 vector in Rm, so it can be subtracted from f(x)−f(p).
Norms
The numerator is the norm of a vector in Rm:
The denominator is the norm of a vector in Rn:
Thus, the quotient compares:
the size of the approximation error in the codomain, and
the distance from x to p in the domain.
Usually, Euclidean norms are used, although differentiability in finite-dimensional spaces does not depend on the particular choice of norm.
3. Interpreting the Limit
As x→p, the denominator satisfies
This occurs regardless of the function f. For the differentiability limit to equal zero, the numerator must also approach zero:
However, simply having the numerator approach zero is not enough. The numerator must approach zero faster than the denominator in the precise sense that
The expression is expected to have the indeterminate form 0/0. That form alone does not establish differentiability:
If the quotient approaches 1, the error is comparable to the distance and differentiability fails.
If the quotient approaches 0, the error is negligible relative to the distance and differentiability holds.
The limit therefore measures how effectively the linear transformation captures the behavior of f near p.
4. First-Order Approximation
For a fixed point p, define
This is the first-order approximation to f centered at p.
It is sometimes called the linear approximation, although technically Lp is generally affine, not linear. The reason is that it includes the constant term f(p).
Why the approximation matches at p
When x=p,
Since p−p=0 and every linear transformation maps 0 to 0,
Thus, the first-order approximation always agrees exactly with f at the point p.
Behavior near p
When x is close to p, the vector x−p is close to the origin in Rn. Linear transformations are continuous, so
is close to the origin in Rm. Therefore, Lp(x) is close to f(p).
The essential question is whether this approximation follows the actual behavior of f sufficiently well near p. Differentiability means that it does so with an error that is small compared with ∥x−p∥.
5. The Remainder or Error Term
The difference between the actual function and its first-order approximation is called the remainder:
Using the definition of Lp, this becomes
The differentiability condition can therefore be written as
The remainder satisfies two important properties:
It is exactly zero at p:
Rp(p)=0.Near p, it becomes negligible compared with ∥x−p∥.
In informal language, the remainder is of smaller order than the displacement from p. The quotient formulation gives the precise meaning of this statement.
Differentiability means that the function can be written as its first-order approximation plus an error that vanishes faster than the distance to the base point.
6. Connection with Single-Variable Calculus
Consider the special case
Here, both the domain and codomain are one-dimensional. The vector norms become absolute values, and a linear transformation from R to R is simply multiplication by a scalar.
Let the scalar associated with the derivative be m. The general definition becomes
Because the numerator and denominator are scalar quantities, this can be rewritten as
Rearranging the numerator gives
The expression
is the familiar difference quotient. The limit says that its difference from m approaches zero. Therefore,
This is precisely the usual derivative:
Thus, the general derivative Df(p) reduces to the scalar derivative f′(p) when both spaces are R.
7. Tangent-Line Interpretation
In the one-variable case, the first-order approximation becomes
This is the equation of the tangent line to the graph of f at the point (p,f(p)).
The point (p,f(p)) lies on the line.
The slope of the line is f′(p).
The line approximates the graph near x=p.
At x=p,
so the line and the graph meet at the base point. Differentiability further requires that the line remain an increasingly good approximation as x moves close to p.
A function with a corner generally cannot be well approximated by a single tangent line. On either side of the corner, the function may have different slopes, so no one linear transformation can make the error quotient approach zero.
For a differentiable curve, the tangent line provides a reliable local approximation. The difference between the curve and the tangent line is small enough that
The tangent-line picture is therefore the one-dimensional version of the general first-order approximation in Rn→Rm.
Example: A Function from R2 to R3
8. Function and Proposed Derivative
Consider
defined by
The goal is to prove that f is differentiable at every point (a,b)∈R2.
The proposed derivative matrix at (a,b) is
This is a 3×2 matrix, as required for a linear transformation from R2 to R3.
The input vector is
which belongs to R2. The matrix product belongs to R3.
9. Constructing the Remainder
The remainder is
First,
The matrix product is
Therefore,
Simplifying coordinate by coordinate:
First coordinate
Second coordinate
Using the difference-of-squares factorization,
Hence,
Third coordinate
The third coordinate is
Expanding and simplifying gives
This factors as
Consequently, the remainder is
Factoring out y−b produces the useful form
This factorization makes the differentiability limit straightforward.
10. Evaluating the Differentiability Limit
The required quotient is
Using the factored form of the remainder,
Using the Euclidean norm,
The denominator is
Thus, for (x,y)=(a,b),
Therefore,
Hence, f is differentiable at (a,b). Since (a,b) was arbitrary, f is differentiable at every point in R2.
The computation also confirms that the proposed matrix is the correct derivative matrix.
11. What the Example Demonstrates
The example illustrates several important features of differentiability.
Dimensional structure
The numerator has the form
$$ \text{vector in }\mathbb{R}^3
\text{vector in }\mathbb{R}^3
\left( \text{3×2 matrix} \right) \left( \text{vector in }\mathbb{R}^2 \right). $$
The matrix-vector product is in R3, so all terms can be combined.
Indeterminate form
As (x,y)→(a,b):
The numerator approaches zero.
The denominator approaches zero.
Thus, the quotient initially has the expected indeterminate form 0/0.
Extra vanishing factor
After simplification, the quotient becomes
The denominator’s distance factor cancels with part of the numerator, but an additional factor ∣y−b∣ remains. That extra factor forces the quotient to zero.
If the extra factor were absent, the quotient could approach 1 instead. In that case, the error would vanish at the same rate as the distance, and the function would not be differentiable according to the definition.
The remainder must contain more vanishing than the first-order distance term. This is what makes the error negligible in comparison with ∥x−p∥.
Equivalent Characterizations
12. Epsilon-Delta Form
The differentiability condition
can be translated directly into an epsilon-delta statement.
The limit equals zero if and only if, for every ε>0, there exists δ>0 such that whenever
one has
Multiplying by ∥x−p∥ gives
Therefore, an equivalent formulation is:
For every ε>0, there exists δ>0 such that if 0<∥x−p∥<δ, then
∥f(x)−f(p)−Df(p)(x−p)∥<ε∥x−p∥.
This states that near p, the approximation error is less than any prescribed fraction of the distance from x to p.
The right-hand side is written as ε∥x−p∥, rather than εδ, because differentiability compares the error directly with the actual distance ∥x−p∥.
13. Approximation-Plus-Error Form
Another common formulation writes the function as its first-order approximation plus a remainder:
where the error term satisfies
Equivalently,
This is not a different concept. It is simply a reorganization of the original definition.
The expression emphasizes that near p,
with an error that becomes negligible relative to ∥x−p∥.
Differentiability means that the function equals its first-order approximation plus an error term that is of smaller order than the displacement from the base point.
14. Relationship Among the Three Forms
The same idea can be expressed in three equivalent ways:
Limit quotient
Epsilon-delta inequality
For every ε>0, there exists δ>0 such that
Approximation plus remainder
with
The limit form is often the most direct for computations. The epsilon-delta form is useful in rigorous neighborhood proofs. The remainder form highlights the conceptual meaning: the function is approximately affine near p, and the error is negligible compared with the input displacement.
15. Central Takeaways
Differentiability is a first-order approximation property.
The derivative Df(p) is a linear transformation from Rn to Rm.
Its matrix representation must have size m×n.
The approximation is
f(p)+Df(p)(x−p).The error is
f(x)−f(p)−Df(p)(x−p).Differentiability requires the error divided by ∥x−p∥ to approach zero.
For functions from R to R, the derivative becomes the familiar scalar f′(p).
The first-order approximation becomes the tangent line
f(p)+f′(p)(x−p).In higher dimensions, the tangent line is replaced by an affine approximation determined by a linear transformation.
The numerator and denominator both typically approach zero; differentiability requires the numerator to vanish more rapidly.

Ask anything
We've read this whole study set, so questions about it get the best answers.