Antiderivative Created 2026-09-24 Updated 2026-10-14
An antiderivative recovers a function from its local rate of change. For a real-valued function on an open subset of the real line, a differentiable function is an antiderivative whenFor example, has the antiderivatives for every real additive constant . Their derivatives agree, while their values can differ. On an interval, the constant of integration describes the entire freedom in the answer. [ref]
https://openstax.org/books/calculus-volume-1/pages/4-10-antiderivatives. OpenStax Calculus 1, §4.10: antiderivatives and their families
The indefinite-integral notation records this family on an interval. For the illustrated family, the extra condition selects . Thus reversing differentiation requires both a rate and a reference value if a unique function is wanted.
The fundamental theorem of calculus supplies a construction when is continuous on an interval . Choose and set ; then . Integrability alone does not guarantee a classical antiderivative. The Heaviside step function is Riemann integrable on bounded intervals, but cannot be a derivative throughout an interval containing its jump: Darboux theorem for derivatives requires every intermediate value. [ref]
https://www.jirka.org/ra/html/sec_mvt.html. Lebl, Basic Analysis I, §4.2.5: the intermediate-value property of derivatives
Backtracking line search 2026-10-24
Start with a trial step size and repeatedly replace by , with , until the Armijo condition holds. For a differentiable function and a descent direction, the short-step argument in the Armijo condition proves finite termination. This alone does not enforce the curvature part of the Wolfe conditions.
Blancmange curve 2026-10-14
The Takagi function is a continuous nowhere differentiable function. The triangular summands are continuous and the geometric tail is bounded uniformly. On dyadic intervals of length , all terms of index at least vanish at both endpoints, while every lower summand has slope or . Each refinement therefore changes the secant slope by exactly one in absolute value. The secants straddling a differentiability point lemma rules out a derivative at every real point.
Constancy theorem 2026-10-25
A differentiable function on an interval whose derivative is identically zero is a constant function. Indeed, for any two arguments , the mean value theorem on gives . For an interval with endpoints included, continuity at those endpoints is required. A disconnected domain may have different constants on different components.
Contingent tangent cone 2026-10-31
This cone records first-order limiting velocities of feasible points approaching . The defining limits are required to exist, and the point sequences must be feasible. A local minimizer of a differentiable function satisfies for every in the cone: expand to first order and divide by . A tangent direction need not itself generate an exactly feasible straight segment. Linearizing active constraints always gives a containing linearized tangent cone; equality requires a suitable constraint qualification.
Continuous function Created 2026-09-24 Updated 2026-10-14
A continuous function sends sufficiently nearby function inputs to nearby function outputs. For a real-valued function and a point that is an accumulation point of , this meansThe approached value and the assigned value must agree. Continuity on means continuity at every point of the domain of a function. At an endpoint of an interval, only approaches inside that domain of a function count. The epsilon-delta definition of continuity below also applies at an isolated point, where continuity holds automatically.[ref]
Calculus Volume 1, §2.4 Continuity. §2.4, Continuity at a Point: definition; Continuity over an Interval: one-sided endpoint conditions
For the polynomial function , approaching makes the function output approach . The continuity bounds for the square function turn this observation into an explicit guarantee: implies . This is useful whenever a small error in an function input must produce a controlled error in an function output. The required input tolerance can depend on the point and on the chosen output tolerance.
The absolute value function is also a continuous function, including at zero: . But its left and right derivatives there are and , so it is not a differentiable function at zero. Continuity controls values without requiring a tangent line. Conversely, a differentiable function is continuous wherever it is differentiable: if , the difference tends to zero with .
Several useful consequences reuse this one local idea. Addition, multiplication and function composition preserve continuity; a quotient of functions is continuous where its denominator is nonzero. On an interval, the intermediate value theorem turns continuity into a guarantee that no intermediate function output is skipped. On a compact set, the extreme value theorem guarantees attained maximum and minimum values. Those extra hypotheses matter: continuity alone on an unbounded domain of a function does not provide a global bound or an attained global maximum.
A rational function such as is continuous on its domain of a function . Zero is excluded from that domain of a function; the missing point prevents a continuous extension there, but it does not make the existing map discontinuous at one of its actual inputs. Always state the domain of a function before judging continuity.
Contraction constant Created 2026-10-25 Updated 2026-10-31
A contraction constant for a function on a metric space is a single that bounds the ratio for every distinct pair. Pointwise strict inequalities do not imply such a common constant. For a differentiable function on an interval, the mean value theorem shows that supplies a contraction constant.
Convex KKT optimality certificate 2026-10-14
For differentiable functions that are convex functions on an open convex set and affine functions , the KKT conditions certify a global minimum. Once Lagrange multipliers satisfy them, no extra Slater condition is needed.[ref]
Convex Optimization by Stephen Boyd and Lieven Vandenberghe. §5.5.3, printed p. 244: sufficiency under convexity and affine equalities
The certificate is a short chain of inequalities. Nonnegative Lagrange multipliers and affine equalities make a convex function. Its zero gradient gives a global minimum at by the first-order optimality condition. For every feasible point ,The first equality uses feasibility and complementary slackness; the last inequality uses and . Equivalently, the Lagrange dual function attains the same value as the primal objective function, proving strong duality. A strictly convex function makes the primal optimum unique, although the Lagrange multipliers need not be unique.
Affine equality optimization constraints matter: an arbitrary signed multiple of a nonlinear equality can destroy convexity of the optimization Lagrangian. For example, minimizing subject to the affine equality gives and for . This equality Lagrange multiplier is positive for , zero at , and negative for . Completing the square gives the certificate for every real number .
Outside convex optimization, KKT stationarity alone does not certify an optimum: minimizing with no optimization constraints gives the stationary candidate , which is a global maximum. The Lagrangian sufficiency theorem remains applicable whenever a global minimum of the optimization Lagrangian can be proved directly.
Critical point Created 2026-09-24 Updated 2026-10-13
For a smooth function on an open set , a critical point is an input where the gradient vanishes: . Equivalently, every first partial derivative is zero. Such a critical point is a stationary point; in one variable the condition is .
There is a broader convention in elementary one-variable calculus: a "critical number" is an interior input where the derivative is zero or does not exist, provided the function itself is defined there. Thus a corner can be a critical number without being a stationary point. Here the smooth meaning of critical point is used unless the broader convention is explicitly stated. [ref]
https://openstax.org/books/calculus-volume-1/pages/4-3-maxima-and-minima. Gilbert Strang and Edwin Herman, OpenStax Calculus Volume 1, §4.3: critical numbers
For the polynomial on the real line,The stationary points at are strict local minima and attain the global minimum; the stationary point at is a strict local maximum. One can check the local classifications from , which is positive at and negative at zero. The identity proves the global minimum directly. Since as , there is no global maximum on .
A zero derivative alone does not guarantee an extremum. The polynomial has but is strictly increasing through zero: every neighbourhood of zero contains both positive and negative values, so zero is neither a local minimum nor a local maximum. Conversely, the absolute value function has a strict local minimum and a unique global minimum at zero, but its left and right derivatives are and . It is not differentiable there, so zero is a critical number under the broader convention and is not a stationary point.
The usefulness of critical points is that they reduce the search for smooth interior extrema to equations. Every local minimum or local maximum of a differentiable function at an interior point has zero gradient; this condition is necessary, and shows that it is not sufficient. The striking feature is that all the first directional derivatives must vanish together, even though the surrounding values can form a valley, a peak, or a saddle point of a scalar function. [ref]
https://www.ocw.mit.edu/ans7870/18/18.013a/textbook/HTML/chapter14/section01.html. Daniel Kleitman, MIT Calculus with Applications, §14.1: necessary conditions for an interior extremum
Proof outline: at an interior local minimum in one variable, the difference quotient is nonnegative for small and nonpositive for small . If the derivative exists, the two sides have the same limit, forcing . Reverse the inequalities for a local maximum. In several variables, apply this argument along each coordinate line to obtain zero partial derivatives and hence zero gradient. At a domain boundary, both directions may not be available: on attains its global minimum at zero although for its smooth extension.
Descent direction 2026-10-24
A vector is a descent direction for a differentiable function at if its directional derivative is negative. The first-order expansion then gives for sufficiently small positive . The negative gradient is a descent direction whenever the gradient is nonzero.
Descent lemma Created 2026-10-06 Updated 2026-10-25
Suppose is a differentiable function on an open convex set and has an -Lipschitz gradient there, in the Euclidean norm. For , the descent lemma statesA bounded continuous Hessian matrix gives one sufficient route to this estimate.[ref]
For a short proof, put . The fundamental theorem of calculus along the line segment givesThe Cauchy-Schwarz inequality and the Lipschitz gradient bound make the integrand at most ; its integral is . This proof needs no assumption that is a convex function.
For the gradient descent update , provided , substitution yieldsFor and , this ensures strict decrease whenever the gradient is nonzero. At it guarantees only nonincrease; the quadratic example has a nonshrinking alternating component at this endpoint. At the guaranteed decrease is . A bound valid only on cannot justify a step leaving .
If a fixed admissible step size is used forever, every iterate stays in , and has a finite lower bound, summing this inequality shows , hence . That conclusion alone gives neither convergence of the iterates nor a global minimum. For example, the smooth polynomial has and : gradient descent started at zero never moves, although . On , , so the Lipschitz gradient hypothesis holds on this domain. Convex functions and strongly convex functions provide additional structure; the exact quadratic convergence result above uses a positive-definite matrix.
Differentiation operator Created 2026-10-25 Updated 2026-10-31
The differentiation operator sends a differentiable function to its derivative; its domain and the norms must be specified. On with values in , using the supremum norm on both, it is an unbounded linear operator: satisfies and . Its graph norm is , which is complete. Indeed, the kernel consists of constants and is complete, while is a bounded right inverse by the fundamental theorem of calculus; apply completeness of a graph norm from a bounded right inverse.
Directional derivative Created 2026-09-24 Updated 2026-10-14
The directional derivative tests a function along a chosen straight line, including lines that follow neither coordinate axis. For a fixed vector and a point in an open subset of , defineif the limit exists. With a unit vector , the parameter measures signed distance in the input Euclidean space, so the directional derivative is change per unit distance. For a general , it is change per unit parameter; the norm of also sets the rate of travel.[ref]
4.6 Directional Derivatives and the Gradient. Calculus Volume 3, §4.6, definition (4.36), unit-direction convention
For a differentiable real-valued function, the multivariable chain rule givesThus one gradient predicts the local response in every direction. This formula requires differentiability, rather than merely separate partial derivatives.[ref]
Return to at . Its gradient is . In the unit direction ,One can check this without invoking the gradient formula: substitution givesThe difference quotient is , whose limit is . This calculation separates the exact change along a finite path from its first-order rate at the starting point.
Changing the travel speed changes the parameter rate. Taking gives , because the input travels five distance units per parameter unit. For a differentiable function, for any real : negative reverses the orientation as well as scaling the rate. Normalizing before comparing different slopes avoids confusing direction with speed.
The Cauchy-Schwarz inequality bounds the rate in any unit direction by . Here the largest rate is , attained in the direction ; the chosen gives the slightly smaller rate . The perpendicular unit direction gives zero. That means no first-order height change, rather than no change at all: along this direction the example has .
This is useful for following a height or temperature scalar field, choosing a local search direction in mathematical optimization, and distinguishing a coordinate sensitivity from a response along an actual path. For a curved path, derivative along a curve uses its instantaneous tangent vector. Even existence of all directional derivatives does not guarantee one common linear approximation; directional derivatives do not imply differentiability gives a concrete counterexample.
Dual norm as a worst-case linear error bound 2026-10-18
Suppose a perturbation satisfies , with . Absolute homogeneity of a norm and the dual norm definition giveFor nonzero , divide it by its norm to obtain an input in the unit ball; for zero perturbation the inequality is immediate. This is an exact error bound for a linear functional, for every perturbation in the stated input set.
For and a budget , the sharp output-error bounds are for , for , and for . Scale the maximizing vectors from the preceding example by to attain the positive endpoints; their negatives attain the negative endpoints. The L1 norm budget constrains a total absolute error; the maximum norm budget permits each coordinate to have that error separately. These budgets define nested sets and carry different information.
Dual norms give exact worst-case errors for the same linear functional
. Original bounds for . Lines show the sharp error magnitude as the stated input norm budget increases. The right panel gives the full possible error intervals at ; these are the full feasible intervals for the stated deterministic bounds. Details.The coordinates must use the stated scale and units. Rescaling one coordinate changes both its coefficient in and the meaning of its input budget. For a nonlinear differentiable function with scalar values, its Fréchet derivative at the base point is a linear functional governing the first-order response. An exact finite-perturbation error bound additionally needs control of the Taylor remainder or of the Fréchet derivative along the path.
Euler theorem for homogeneous functions Created 2026-09-24 Updated 2026-10-05
Let be a differentiable function on an open domain stable under positive rescaling, with for . The chain rule differentiates this homogeneous function identity at to giveIf is twice differentiable, differentiating once more gives . In degree one its Hessian matrix therefore annihilates the radial vector . This is the identity used in the no-scale identity from degree-one homogeneity. For an extensive quantity, the degree-one formula also supplies the thermodynamic identity behind the Gibbs-Duhem equation.
First-order optimality condition Created 2026-10-06 Updated 2026-10-07
At an interior local extremum of a differentiable function, its gradient is zero: restricting the function to every line through the point shows that all directional derivatives vanish. This is only a necessary condition in general. For a strictly concave function, an interior stationary point is the unique global maximizer on its convex domain. Constrained or boundary optima instead need conditions adapted to their feasible directions.
First-order perturbation of a simple eigenvalue Created 2026-09-24 Updated 2026-09-24
If and is a differentiable function defining a simple eigenvalue, thenThe Cauchy-Schwarz inequality and the operator norm give
Fold boundary of a characteristic graph 2026-10-31
A smooth characteristic surface in three-dimensional space need not remain the graph of a differentiable function after projection to the plane. Locally, if its implicit equation is , the implicit function theorem produces a smooth graph wherever . At a point where , the projection can fold and two graph branches can meet. A real radical formula may continue to that boundary even though its partial derivatives diverge there. Thus the closed set on which the radical is real can be larger than the open domain of a classical solution.
For example,has two branches . On them , so the graph projection folds on the nonzero boundary points of . Its gradient in the base variables does not vanish at those points, and differentiation of the radical gives the transverse derivative singularity. The characteristic surface itself can be smooth there: its graph coordinate is the part which fails. Boundary values may still be defined continuously, but they do not create an open classical-solution neighborhood.
Gradient Created 2026-09-24 Updated 2026-10-14
In Cartesian coordinates on Euclidean space, the gradient of a scalar-valued differentiable function is the vector of its first partial derivatives. It converts a scalar field, such as temperature or a height, into a vector field describing its local change.
For a unit vector , the directional derivative is . The Cauchy-Schwarz inequality gives . At a point where , the greatest increase per unit distance occurs along , while the opposite direction gives the greatest decrease. These are first-order statements at the current point; they do not predict how the function behaves far along a straight path.
For at , . Moving in the direction gives rate and moving in the direction gives rate , but the steepest direction is , withThe direction has rate zero and is tangent to the level curve through that point. More generally, differentiating along a regular level curve gives , so the gradient is its normal vector.
A gradient is normal to level curves and determines the directional derivative for every unit direction
. Details. This is useful when navigating a measured scalar field or applying gradient descent: one collection of partial derivatives predicts every infinitesimal directional change. The derivative assumes a differentiable function, not merely the existence of all directional derivatives. [ref]
4.6 Directional Derivatives and the Gradient. Calculus Volume 3 by Gilbert Strang and others; OpenStax: Directional derivatives and the gradient
. Gradient descent Created 2026-09-24 Updated 2026-10-18
Gradient descent is an iterative method for minimizing a differentiable function : choose an initial vector and repeatedly move opposite its gradient.[ref]
With a fixed positive step size , the update isThe direction and the step size play different roles: the gradient supplies local information about increase, while determines how far that information is trusted. A varying step size gives instead; exact line search for a positive-definite quadratic chooses it by minimizing along the current direction.
Why is this the steepest direction? For a unit vector in the Euclidean norm, the directional derivative is . The Cauchy-Schwarz inequality bounds it below by , attained by when the gradient is nonzero. This is steepest descent relative to the Euclidean norm; changing the norm can change the steepest direction. A finite step need not decrease , because a directional derivative describes infinitesimal motion.
For the quadratic form with linear term , assuming is a symmetric matrix, the negative gradient is the linear-system residual . Thus gradient descent turns the linear system into repeated residual corrections; a positive-definite matrix makes its solution the unique global minimum. This is useful when applying the linear map is affordable but directly solving the linear system is costly.
The attraction is that a gradient evaluation gives an entire update without solving a new linear system. The difficulty is choosing a step size that progresses along gently curved directions without overshooting steep ones. Fixed-step gradient descent on a positive-definite quadratic makes this tension exact: every eigenvector direction has its own multiplier, determined by its eigenvalue. The resulting condition number dependence explains why a narrow valley can slow even an inexpensive iterative method.
The simplicity of the gradient update and its sensitivity to the condition number of the Hessian matrix are central practical features.[ref]
Convex Optimization by Stephen Boyd and Lieven Vandenberghe. §9.3.1, pp. 466–468, and §9.3.2, p. 475, Conclusions: convergence and conditioning





