The derivative measures the instantaneous rate at which a function changes. For a real function defined near , it exists when the difference quotient has a finite two-sided limit:
The quotient is the slope of the straight line joining two nearby points of the graph. Its limit is the slope of the tangent line. Thus a derivative describes a local rate without choosing a particular finite measurement interval.
For , expanding the numerator gives
At , the increments , and give secant line slopes , and . The limit is , and the tangent line is . The picture makes the limiting process visible.
Figure 1.
Secant lines to x squared approach its tangent line at x = 1
. Details.
The same calculation shows why the derivative is useful for approximation:
This is a local linear approximation. Near , replacing by makes the exact error , smaller than the leading change when is small. A curved graph can therefore be studied locally using a straight line.
If the function records position against time, its derivative is velocity. If it records an objective function, its derivative tests local changes that matter in optimization; in several variables, the gradient collects these directional rates and guides gradient descent. The interpretation comes from the function and its units, rather than from a new rule for each application.
Existence matters. For the absolute value function , the one-sided derivatives at zero are and , so there is no single tangent line described by a finite derivative there. Nor does a zero derivative alone identify a maximum or minimum: has but keeps increasing through zero.
For a differentiable function, a local linear approximation replaces nearby values by its value plus its derivative times the input change. The error divided by that change tends to zero. It uses the first-order Taylor polynomial; the statement concerns a limit near the specified point, not a guaranteed approximation far from it.
The symmetric second derivative is the displayed limit when it exists. For a twice continuously differentiable function it equals the ordinary second derivative by Taylor expansion; the definition itself does not require ordinary differentiability. A continuous function with vanishing symmetric second derivative throughout an interval must be affine, by vanishing symmetric second derivative forces an affine function. For a twice-integrated Fourier series, sinc-squared weights express this quotient, connecting the operation to Riemann summation of a convergent trigonometric series.
For a continuous function with affine formulas to the left of and to its right, the quotient equals for positive . If it tends to zero, the slopes agree, and continuity at makes the intercepts agree as well. This detects slope jumps that ordinary pointwise derivatives away from the corner cannot detect.
For a continuous function with affine formulas to the left of and to its right, the quotient equals for positive . If it tends to zero, the slopes agree, and continuity at makes the intercepts agree as well. This detects slope jumps that ordinary pointwise derivatives away from the corner cannot detect.
If a continuous real function on an interval has the displayed limit zero at every interior point, it is affine. On any compact subinterval subtract its endpoint chord. If the difference were positive somewhere, adding for sufficiently small positive would retain a positive interior maximum. At a maximum every symmetric second difference is nonpositive, but its normalized limit would be . Thus the function lies below its chord; applying the same argument to its negative gives equality. Real and imaginary parts give the complex-valued version. Existence of ordinary second derivatives is unnecessary.
The right and left one-sided derivatives are the limits of the difference quotient restricted respectively to positive and negative increments:
At an interior point, differentiability is equivalent to existence and equality of these two finite limits. For the absolute value function, and , so it is continuous at zero but not differentiable there.
The tangent line to a differentiable function at is its affine first-order approximation . For a differentiable concave function, it is an upper bound throughout a convex interval: the secant-slope inequality and passage to the derivative give . This upper bound constructs valid envelopes in adaptive rejection sampling.
Automatic differentiation evaluates derivatives of a computational graph using the chain rule. Reverse mode is backpropagation and is useful for reparameterization gradients through simulated trajectories.
Differentiation computes the derivative of a function. A difference quotient approximates a derivative using finite increments; its limit is the derivative when the function is differentiable.
The derivative of the first derivative. For a twice differentiable function, its sign governs local convexity and its magnitude controls the second-order Taylor remainder.
A difference quotient divides a finite change in a function by the corresponding change in its argument. Its limit, when it exists, is the derivative.
With , a change of variables gives
The compact support of and its translates must remain inside the integration domain, or one must integrate over the whole space with convergent integrals. In particular : the denominator's sign matters. This is the difference quotient analogue of integration by parts.
A total derivative accounts for every dependence of a quantity on the variable of differentiation. For a differentiable function evaluated along differentiable coordinate functions , the multivariable chain rule gives
All the partial derivatives on the right are evaluated at . The first term captures explicit dependence on ; the remaining terms capture changes transmitted through the coordinates.
For example, take and . The partial derivative with respect to , holding fixed, is , whose value on the path is . The total derivative is instead
At , the partial derivative is and the total derivative is . The difference is the contribution from changing .
If the composite function is continuously differentiable on , the fundamental theorem of calculus gives
This is the sense in which an integrated total derivative contributes endpoint terms. The endpoint statement concerns the whole composite function along the path. [ref].
For an indeterminate quotient whose numerator and denominator both tend to zero or both diverge, suitable differentiability and denominator conditions allow its limit to be computed from the limit of the quotient of their derivatives.
The usual zero-over-zero L'Hopital rule requires the denominator's derivative to be nonzero throughout a sufficiently small deleted neighborhood. A limit taken only where that derivative is nonzero is insufficient. An explicit counterexample uses , , and . On put and . On put and . Extend beyond one. Values and first derivatives agree at the joins, both functions tend to zero, and is positive. Where , it lies inside a transition interval and . Thus has natural-domain limit zero, but equals zero at and one at , so has no limit.
Every derivative has the intermediate-value property, even when the derivative is discontinuous.
Let for a function differentiable on a neighborhood of . If , use the whole interval. If , the continuous extension of takes values and at the endpoints, so the intermediate value theorem supplies a secant of slope starting at . If , use the continuous extension of and obtain a secant ending at . The mean value theorem then produces an interior derivative equal to , without requiring a continuous derivative.
If and are differentiable at , then
For a continuous function , is differentiable at zero with , because . At any nonzero point , is differentiable exactly when is: one direction uses the product rule, and the converse applies it to near .
The higher-order product rule is
At zero, and give a differentiable product
with derivative one, although is not differentiable.
If and are differentiable and , then
The chain rule calculates the derivative of a function composition by combining local rates. If the inner function is differentiable at and the outer function is differentiable at , then
The evaluation point matters: the outer derivative is evaluated at the inner output , not at . A small input change first scales by ; the resulting intermediate change then scales by . In terms of linear approximations, composing those two local descriptions multiplies their scale factors. [ref].
For example, applies a quadratic function and then the sine. With and , the chain rule gives
Here all angles are in radians. Near , increasing the input by changes by about , and the sine changes by about times that intermediate change. For , the linear approximation predicts an output increase of ; the exact increase is .
Figure 1.
The chain rule multiplies the local rates through two successive functions
. The inner quadratic function has derivative at , and the outer sine has derivative at its input . Their composite has derivative . Each panel shows the corresponding tangent line and the exact output of the input change from to . Tangents describe linear approximations, not exact finite changes. Details.
The same rule handles several nested stages. For , the derivative is under the corresponding differentiability assumptions. Writing each intermediate output prevents evaluating a derivative at the wrong stage. It also makes the chain rule useful for propagating sensitivities through a mathematical model, where one measured quantity influences another through several transformations.
For a quick proof idea, replace near by its linear approximation, then replace near by its linear approximation. The composite leading term is their product; differentiability ensures the remaining error is smaller than the original input change. This argument still applies when , so the informal cancellation should not be interpreted as division by a possibly zero finite change. The hypotheses are sufficient, but are not necessary for every composite to be differentiable, as the nondifferentiable inner function with a differentiable nondegenerate composite example shows.
A linear approximation replaces a differentiable function near a reference input by its value plus the first-order change supplied by its derivative. In one dimension, this is the tangent line . The chain rule combines such local approximations through function composition; it does not assert their equality to the original functions over a finite interval.
For differentiable maps and , the multivariable chain rule multiplies their Jacobian matrices:
The outer matrix multiplies the inner matrix, producing an matrix. This order records that the inner linear map acts first. Componentwise, the matrix multiplication sums the contributions of all intermediate coordinates. Existence of separate partial derivatives alone is not the required differentiability hypothesis.
If is differentiable at the point of a differentiable parametric curve, the multivariable chain rule gives
The gradient supplies the local spatial rates; the velocity vector supplies the direction and rate of movement. Their dot product is the change in the sampled scalar field per unit parameter. If the parameter is time, this is a rate per unit time; a directional derivative per unit distance instead uses a unit vector.
Take and the unit circle path . Along the path,
At , the gradient is , the velocity vector is , and their dot product is . The sampled value is and increases at rate one, even though one coordinate is decreasing. This is why a moving observation must combine every coordinate's contribution.
Figure 1.
The gradient and path velocity combine to give the rate of change along a curve
. Left: level curves of , the unit circle path, and arrows at for its velocity vector and a scaled gradient. Right: the sampled function and its tangent line, of slope one at that parameter. The displayed gradient arrow is scaled for readability, without changing its direction. Details.
For a level curve, is constant, so the derivative along a curve is zero and its velocity vector is orthogonal to the gradient. Along other paths, the same formula combines a field's geometry with the observer's motion. [ref].
At zero, is not differentiable and is differentiable, while has derivative one.
For twice differentiable functions,

Ancestors (6)

  1. Calculus
  2. Real analysis
  3. Analysis
  4. Area of mathematics
  5. Mathematics
  6. Home

Discussion (0)

New discussion

There are no discussions about this article yet.

Articles by others on the same topic (4)

Derivative by Donald Trump 29 Created 2022-11-02 Updated 2025-04-18
This is a section about Derivative!
Derivative is a very important subject about which there is a lot to say.
For example, this sentence. And then another one.
Derivative by Barack Obama 11 Created 2022-11-02 Updated 2025-04-18
This is a section about Derivative!
Derivative is a very important subject about which there is a lot to say.
For example, this sentence. And then another one.
Derivative by Ciro Santilli 40 Updated 2025-07-16
The derivative of a function gives its slope at a point.
More precisely, it give sthe inclination of a tangent line that passes through that point.