Several directional rates do not automatically assemble into a good linear approximation. The central analytical question is whether one linear map controls the error for every sufficiently small displacement, not just along a chosen line. This distinction is the foundation for chain rules, Taylor estimates and multivariable optimization.
1 Norms limits and the derivative
Use the Euclidean norm on finite-dimensional spaces. For an open set and , continuity at means as . A map is differentiable at if there is a linear map with
The map is the total or Fréchet derivative. It is unique: if and both work, substitute to obtain for every . For , linearity and the triangle inequality give . This proves boundedness directly in finite dimension. The derivative definition then implies continuity.
The Jacobian matrix has entries . Differentiability implies these partial derivatives exist and are the entries of , by testing . If all partial derivatives are continuous in a neighborhood, then is differentiable there. For scalar , split the increment into coordinate steps and apply the one-variable mean value theorem to each. The resulting coefficients are partial derivatives at points tending to ; continuity makes the error at most . Apply this componentwise for vector outputs.
2 Why line tests can fail
Define and
Because , it is continuous at zero. Both coordinate partials at zero are zero. If it were differentiable, its derivative would therefore be zero. But along , , and
which does not tend to zero. It is not differentiable. In fact every directional derivative exists, but their dependence on direction is not linear, another obstruction to a total derivative.
3 The chain rule with error control
Theorem. If is differentiable at and is differentiable at , with the composition defined near , then
Proof. Write , with . This increment is . The second approximation gives , with . Hence the remainder after subtracting is . When , the second remainder is zero by definition, so no division-by-zero exception is needed.
For and , the derivative of the composition is , either by differentiating or by multiplying Jacobians.
4 Mean value along a segment
Scalar mean value theorem. If the segment lies in an open domain and is differentiable there, then some satisfies
Apply the one-variable theorem to . The chain rule gives its derivative. For vector outputs there need not be a single point giving an analogous vector equality: on has zero total increment but never zero derivative.
A valid vector statement is the estimate: if is along the segment and , then
Indeed, integrate the derivative of the path componentwise and use the norm inequality. If the same constant bounds for every in an open convex domain, the estimate applies to every joining segment and gives a global Lipschitz constant on that domain. A bound chosen separately on one segment is not a global bound. A disconnected or nonconvex domain may not contain the needed segment.
Exercises with complete solutions
E1 Foundation. Prove is differentiable at directly from the definition.
S1. The increment is at displacement . The linear part is and , so the remainder divided by tends to zero.
E2 Counterexample. For the function in Section 2, calculate the directional derivative along a unit vector and show it is not linear in .
S2. For , ; for a unit vector this is . It vanishes at both coordinate directions but not at , so it cannot be a linear functional. The formula extends to a homogeneous but nonadditive function of arbitrary nonzero directions.
E3 Estimate. For , prove is Lipschitz on the square with constant .
S3. With , the Jacobian is with operator norm at most . Every segment between two square points lies in the square, so the segment estimate applies. One can also bound each difference of squares directly and square-sum the bounds.
E4 Proof. If on a convex open set, prove is constant there, including vector-valued .
S4. For any in the set, restrict each component to their segment. Its one-variable derivative is zero, so the component has equal endpoint values by the mean value theorem. Hence .
Summary
Differentiability is a uniform first-order approximation by one linear map. Partial or directional derivatives alone do not guarantee it. Segment arguments transfer one-variable theorems carefully; scalar equalities and vector norm estimates must not be confused.