Loading…
Loading…
Define a derivative through a linear approximation with a controlled remainder, and use continuous partial derivatives to establish differentiability.
A useful approximation must say both what the prediction is and how its error compares with the change in input. For a one-variable function, the derivative supplies a tangent line and an error smaller than the input increment. In several variables, the increment is a vector. We cannot divide one vector by another to make a derivative quotient. Instead, we separate a linear prediction from a remainder and compare the size of that remainder with the length of the input displacement.
Partial derivatives suggest coefficients for the prediction. They measure the separate coordinate changes. Differentiability asks whether these coefficients work together for every sufficiently small displacement, including ones whose direction varies as the point approaches the base point. This uniform requirement is the reason differentiability is stronger than the existence of the partial derivatives.
Linearization is useful even when exact evaluation is possible. It identifies which measurements influence an output to first order and turns a small change in several inputs into a sum of contributions. It also prepares the chain rule: successive small changes can be approximated by successive linear maps, and those maps can be multiplied.
Keep the distinction between a point and a displacement visible. The nearby point is ; the size of the input change is . We use the Euclidean norm for both input and output spaces. A linear map sends zero to zero and preserves addition and scalar multiplication. Adding a constant to a linear map produces an affine map.
Definition
Let be open and . We say is differentiable at if there is a linear map such that
The map is the derivative, denoted . The notation abbreviates the displayed limit.
The limit measures relative size against the input displacement. It does not divide by the output value or by the approximate output change. For example, a quadratic remainder is small enough because . A remainder bounded only by a constant times does not automatically satisfy the requirement; its ratio might stay away from zero.
The statement is local. An open neighbourhood of the base point allows every sufficiently small displacement to be considered. Differentiability at one point does not assert that the derivative exists at neighbouring points, or that the derivative varies continuously there. Those are further properties that can be useful but belong to separate hypotheses.
Definition
The linearization of at is the affine function
For a scalar-valued differentiable function,
The first-order predicted change is called the total differential:
The derivative is a linear map acting on displacements; the linearization is an affine function of points. A tangent plane is the graph of this affine function when the input has two coordinates and the output is scalar. The distinction matters when checking formulas: a proposed derivative with a nonzero constant term cannot be linear, whereas a proposed linearization should reproduce the original value at the base point.
For vector-valued functions, write inputs and outputs as columns. The matrix of has one row per output and one column per input. Its entry in row , column is . This is the Jacobian matrix. Each component output has its own linearization, and the matrix packages all of them without changing their meaning.
Theorem
If is differentiable at , it is continuous at . Its coordinate partial derivatives exist there and are the columns of . The linear map satisfying the differentiability definition is unique.
These are necessary consequences. Their converses require care: continuity and the existence of partial derivatives, even together, do not guarantee that the predicted linear map has a sufficiently small remainder. The remainder test directly answers that question.
Theorem
Let be defined on an open set. If all first partial derivatives exist on a neighbourhood of and are continuous at , then is differentiable at . In particular, every function on an open set is differentiable there. The same statement applies component by component to a vector-valued function.
The continuity is about the derivative functions near the point, not just about the original function. In a practical calculation, first find an open neighbourhood where the displayed derivative formulas are valid. If those formulas are built from continuous elementary functions with valid denominators and logarithm arguments, the theorem gives differentiability without a separate remainder computation at every point.
Proof
A linear map in finite-dimensional Euclidean spaces has a bound for some constant . The defining expansion therefore gives
Thus is continuous at . Set in the expansion and divide by . The remainder tends to zero after division, so the th coordinate derivative is .
If both and satisfy the definition, subtraction gives . Taking shows for every basis vector. A linear map is determined by its values on a basis, so .
Proof
For two variables, write the change from to as two coordinate changes:
The one-variable mean value theorem gives intermediate coordinates between and , and between and , so the change equals
After subtracting , divide the absolute remainder by . Since each coordinate increment has absolute value at most this norm, the ratio is at most
Both terms tend to zero by continuity. Zero coordinate increments simply omit the corresponding difference. In more variables, telescope along the coordinate directions in the same way.
The proof explains the local hypotheses. The intermediate points move with the displacement, so knowing a derivative only at the base point would not control them. Continuity makes their derivative values close to the base value simultaneously for all nearby points. That supplies the uniform error estimate absent from coordinate tests alone.
Worked example
Let and take . We have and . With and , direct expansion gives
The remainder satisfies
Dividing by proves differentiability. The tangent plane is
For , the prediction is . The exact remainder is , so the exact value is . The estimate also bounds the error by .
Worked example
Define
The inequality gives , so is continuous at zero. Both coordinate restrictions vanish, hence both partial derivatives at zero are zero.
If a derivative existed, its coordinate columns would force it to be the zero map. Its remainder would then be itself. Along ,
for every nonzero . The required ratio does not tend to zero. Thus the function is continuous and has both coordinate derivatives, but is not differentiable at the origin.
Worked example
Consider near . The Jacobian and base value are
For a displacement , the prediction is
Direct expansion shows that the remainder is . Its norm is bounded by , which proves differentiability.
At the displacement is , so the predicted output is . The exact output is . The two error components are the expected and .
A direct differentiability proof has three parts. First identify the only possible derivative from the partial derivatives. Then subtract its predicted change from the actual change. Finally estimate the remainder by a function of the displacement norm. Each step has a different purpose: finding a candidate is not yet proving that the candidate works.
For a polynomial of degree two, expansion often produces an exact quadratic remainder. For smooth elementary formulas, the continuous partial derivative theorem is usually shorter. For a piecewise function at an exceptional point, the direct remainder test is often decisive. The expression states what must be proved; merely attaching that symbol to an unestimated error does not establish the limit.
To disprove differentiability, a single displacement family with a nonzero limiting error ratio is enough, after the candidate derivative has been identified. To prove differentiability, a few chosen directions are insufficient. A bound in terms of handles all displacements at once and includes families whose direction changes while their length tends to zero.
The differential approximates a change in output, not the new output itself. Compute using the input increments and then add if the question asks for the new value. The approximation concerns small increments at a fixed base point. Changing that point changes the derivative coefficients, even if the same formula for the original function is used.
An error bound is also more informative than the informal statement that a number is “approximately correct”. In the first example, a specified norm bound gives a quantitative guarantee for every displacement in a small ball. Differentiability alone guarantees that some sufficiently small ball makes the error ratio small; it does not supply a numerical radius without further estimates.
The sufficient theorem is not a necessary condition. A function can be differentiable at a point although its derivative functions fail to be continuous there. The definition remains the final criterion in such cases. This distinction is useful when comparing classes of functions: supplies a convenient, strong hypothesis, while differentiability describes the first-order behaviour at the individual point.
The continuity proof used a constant controlling the size of a linear map. Here is a direct reason that such a constant exists. Write the matrix of with row vectors . Cauchy–Schwarz applied to every output coordinate gives
Taking the square root supplies a fixed bound independent of the direction of . This independence is exactly what is needed in a multivariable limit.
The estimate also explains why adding a negligible remainder does not disturb continuity. The linear contribution is at most proportional to displacement length, while the remainder is eventually smaller than any prescribed multiple of that length. Both therefore tend to zero together. One does not need the derivative matrix to be invertible, square or nonzero for this argument.
For vector outputs, the same calculation shows why componentwise arguments combine correctly. There are finitely many output coordinates, so finitely many small remainder bounds can be made simultaneous by choosing the smallest of their admissible neighbourhood sizes. The Euclidean norm of the output error is then small relative to the same input norm.
Common mistake
Continuity says that tends to zero. Differentiability says that after subtracting the correct linear change, the remaining error divided by tends to zero. The second worked example has an error tending to zero, but along a diagonal it remains a fixed positive fraction of the displacement length.
Another mistake is to test the quotient using a signed coordinate instead of the input norm. The denominator in the definition is the positive length of the entire displacement. An estimate that ignores one coordinate might fail along displacements where that coordinate is small compared with the others.
Differentiability is a linear approximation with an error negligible relative to displacement length. The derivative is unique, yields the partial derivatives, and implies continuity. Continuous first partial derivatives on a neighbourhood provide a practical sufficient test. Linearization predicts new values; the total differential predicts changes. The remainder, rather than coordinate information alone, decides whether these predictions form one coherent first-order approximation.
Checkpoint
Expand at .
The linearization is . The remainder is . Since ,
Its ratio to the displacement norm tends to zero.
Checkpoint
Check a necessary coordinate derivative before searching for a linear map.
Along the first coordinate, the difference quotient is . Its two one-sided limits are different, so does not exist. Differentiability would imply this partial derivative exists, hence is not differentiable there. The other partial derivative exists and is zero.
Checkpoint
Compare the function with the zero linear map, then inspect its first partial derivative.
Since , the zero map gives a remainder whose norm ratio tends to zero. Thus . For ,
This fails to tend to as , so the first partial derivative is not continuous at the origin.