Bernoulli's principle 2026-10-14
The Bernoulli principle relates pressure, kinetic energy per unit volume and Newtonian gravitational potential along a streamline of steady flow with inviscid flow. For constant mass density, the Bernoulli equation gives constant along that streamline. Constancy across different streamlines requires further hypotheses, such as irrotational flow.
Precisely, suppose a fluid of constant positive mass density obeys the Euler equations for an inviscid fluid, its velocity field and pressure are steady, and the body force per unit mass is . Then
Every term has units of energy per unit mass. For a uniform gravitational field, Newtonian gravitational potential is , up to an additive constant. The pressure term represents work by surrounding fluid, so acceleration can exchange pressure work with kinetic energy. Dotting the steady Euler equations with gives the displayed directional derivative: this is why constancy follows a streamline. [ref]
Continue the horizontal water constriction example from incompressible flow. Assume negligible viscous losses, steady flow and approximately uniform flow at both measurement sections, so the streamline speeds there equal the mean speeds and . Equal height cancels the Newtonian gravitational potential terms. The ideal pressure drop is
This is the Venturi effect in its ideal limit: the gain in kinetic energy density is supplied by pressure work. Cambridge's treatment uses this relation to connect a measured pressure difference to volumetric flow rate. [ref]
The result is conditional, rather than a prediction of the actual viscous pipe. Mass conservation fixes and the ratio of mean speeds even with viscosity, but nonuniform velocity profiles require an integrated energy balance, and wall friction dissipates mechanical energy. A pump would supply additional work. In particular, constant mean speed in a straight pipe does not imply constant pressure: Poiseuille flow needs a continuing pressure gradient to overcome viscosity. [ref]
Complex differentiability Created 2026-10-14 Updated 2026-10-25
A complex-valued function is complex differentiable at if
exists. The same limit must hold for every approach, including curved paths. Equivalently,
The error divided by tends to zero. Thus the derivative is a single complex multiplier, not an arbitrary real linear map of the plane. If the real coordinate map is differentiable, complex differentiability is equivalent to its satisfying the Cauchy-Riemann equations at that point.
The simplest failure is complex conjugation, . At every its increment quotient is . For real it is , while for it is . More generally, gives . Although complex conjugation is a smooth real reflection and has every real directional derivative, these incompatible quotients rule out a complex derivative everywhere.
Agreement on two axes is necessary, but does not by itself establish a limit over the whole complex plane. The Cauchy-Riemann equations need the real differentiability condition above, or a sufficient regularity condition such as continuous partial derivatives near the point. There is a second distinction: has complex derivative zero at zero because its quotient there is , but its Cauchy-Riemann equations fail at every nonzero point. It is complex differentiable at zero without being a holomorphic function on any neighbourhood of zero.
A real convex function locally bounded on an open convex set has a continuous supporting linear functional at every interior point. Apply the dominated Hahn-Banach theorem to its sublinear directional derivative to obtain . Increasing secant slopes imply whenever the endpoint is in the domain. A local Lipschitz continuity bound gives both and , proving continuity.
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]
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 .
Figure 1.
Three stationary points of : two global minima and one local maximum
. Details.
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.
Figure 2.
A stationary point without an extremum, and a corner minimum without a derivative
. Details.
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]
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.
Derivative along a curve Created 2026-10-14 Updated 2026-10-20
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].
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.
Design sensitivity function Created 2026-10-14 Updated 2026-11-05
The sensitivity function is the normalized variance of a fitted regression mean. Its average under the design is the number of model coefficients, since . The directional derivative of towards a point mass at is .
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 , define
if 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]
For a differentiable real-valued function, the multivariable chain rule gives
Thus 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 gives
The 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.
Figure 1.
Directional derivatives compare directions; a total differential predicts small finite changes
. Left: for at , the rate in the unit direction is . Right: along the displacement , the exact height change is , compared with its linear approximation . All curves are exact calculations for the example, rather than measured data. Details.
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.
The directional derivative of a clipped logarithmic acquisition time describes the first-order recording extension when several envelope parameters change together at the acquisition threshold. For positive , write
The logarithmic tail-duration change at the zero-extension boundary article treats a fixed decay time and logarithmic input coordinate. Here consider a boundary point and an additive parameter direction .
The one-sided directional derivative uses positive step sizes:
The logarithmic chain rule gives the expression inside the maximum. Differentiating the prefactor contributes zero at the boundary because the clipped logarithm there is zero.
For an original example, let , and . Increase amplitude in direction while decreasing decay time in direction , with . The net fractional direction is , so per unit step. Reversing the direction gives derivative zero, not .
The derivative is positively homogeneous in the direction but is not linear, so no single gradient represents all threshold-crossing perturbations. Above threshold the usual smooth derivative applies; strictly below threshold all sufficiently small changes leave the extension zero. Gaussian input uncertainty at a clipped acquisition-time threshold can consequently produce a mass of outcomes exactly at zero rather than a symmetric distribution around a nominal duration. The directional calculation alone does not assign a confidence level.
This is a conditional optical-envelope calculation. Separating optical power from the receiver's electrical response remains necessary before its parameters describe missed light. NIST independently characterized the detector/cable/oscilloscope response in its pulse calibration procedure.[ref] A derivative can describe parameter sensitivity accurately while the envelope itself still needs experimental justification.
Directional derivatives do not imply differentiability Created 2026-10-14 Updated 2026-10-25
Define away from the origin and zero at the origin. Every directional derivative exists. Along a unit vector , the derivative at the origin is , which is not linear in . Thus these directional derivatives cannot be the restrictions of one Fréchet derivative, and the function is not Fréchet differentiable at that point.
For a fixed unit direction , the multivariable Taylor expansion gives the displayed leading error. Equal directional derivatives in two directions do not imply equal approximation errors: the linear changes depend on the gradient, while the quadratic errors depend on the Hessian matrix. For example, at the origin has equal derivatives in the two coordinate directions but errors and .
Finite increments of a logarithmic radial function Created 2026-10-25 Updated 2026-10-31
For , starting at radius and moving radially outward through distance changes the function by . Solving yields the displayed exact distance. Its small-increment limit is , which is the initial directional derivative estimate. That linear estimate is not an exact equality for a specified finite change.
Fréchet derivative Created 2026-09-24 Updated 2026-11-05
Let be normed vector spaces, open, and . The Fréchet derivative of at is a bounded linear map such that
The approximation is uniform over directions: the error divided by the size of the whole increment must vanish, rather than merely vanishing on each fixed line. Boundedness of the linear map is part of the definition.
The Fréchet derivative is unique. If both satisfy the remainder condition, substitute for each fixed vector , divide by , and let to obtain . Existence also implies continuity of at , since and is bounded. In finite dimensions the Jacobian matrix represents this linear map; mere existence of directional derivatives need not supply one.
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 , with
The 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.
Figure 1.
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].
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 is
The 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]
Graph area functional 2026-10-31
This functional measures the surface area of the graph of a function. On a bounded domain it is finite for . Its directional derivative is , by the dominated convergence theorem, since the pointwise difference quotients are bounded by . The resulting dual-valued operator is monotone: the scalar integrand is convex and its gradient is . It is not a nonlinear coercive operator on the full space, since it vanishes on constant functions whose norms can tend to infinity.
Lagrange multiplier Created 2026-09-24 Updated 2026-10-13
For continuously differentiable functions on an open subset of , suppose is a local extremum of subject to , with . Then a real number , the Lagrange multiplier, satisfies
The nonzero gradient assumption excludes singular points of the optimization constraint. With several equality optimization constraints, require their gradients to be linearly independent; the gradient of is then a linear combination of them. These are necessary conditions, not automatic certificates of a global maximum or global minimum.
Why can the gradient be nonzero at an optimum? In unconstrained optimization, every direction is available at an interior local extremum, so all directional derivatives vanish and . On a regular equality feasible set, only directions in its tangent space are available to first order. The gradient of must be perpendicular to those directions, so it is parallel to the gradient of . In two dimensions this explains the tangency of their level sets. See MIT, Lagrange multipliers and contour geometry.
For the product example, set and use the optimization Lagrangian
Its partial derivatives give , , and . Hence . At , : increasing both inputs would help, but is infeasible. Along the allowed direction , the directional derivative is zero. The endpoints must still be checked because of the nonnegativity optimization constraints; completing the square establishes the unique global maximum.
The sign convention matters: writing instead gives . Neither equality Lagrange multiplier has a universal nonnegativity requirement. Also, the displayed is unbounded above along , so stationarity here does not meet the global hypothesis of the Lagrangian sufficiency theorem.
The Lagrange multiplier also measures the value of extra resources. For a positive budget , the optimizer is , the optimum value is , and . At , an extra units predicts a gain of ; the exact gain is . This is the envelope theorem in a computed sensitivity analysis: the multiplier translates a binding budget constraint into a marginal benefit.
A momentum buffer can retain enough earlier history that it points against the current gradient. For the undampened rule
the parameter step is for positive learning rate . If , then the directional derivative in direction is . The actual update direction is therefore locally uphill for a differentiable objective function, even though gradient descent would use the opposite direction. This history-dependent recurrence is the non-Nesterov momentum convention documented for stochastic gradient descent with dampening and weight decay disabled.[ref]
For an original scalar example, let , current , stored buffer , coefficient and . The new gradient is 1, but
The objective increases from to . This is a fully specified finite step, not only a first-order prediction.
More generally,
An old buffer sufficiently opposed to the new gradient makes this negative. At , that mechanism disappears. The example explains why a momentum method need not decrease the objective at every step; it does not imply that retaining gradient history always harms convergence. A descent direction test concerns the direction at the current point, while a convergence claim concerns an entire sequence.
Multivariable calculus Created 2026-09-24 Updated 2026-11-05
Multivariable calculus studies derivatives and integrals of functions with several independent variables. A temperature field , for example, has partial derivatives describing coordinate-wise changes, while its gradient gives the direction and rate of steepest increase. The Fréchet derivative combines directional changes into one linear map; its coordinate representation is the Jacobian matrix.
For , the gradient is and the directional derivative along a unit vector is . The Hessian matrix describes second-order variation and, under the hypotheses of the second-derivative test, distinguishes a local minimum from a saddle point. Constrained variation leads to Lagrange multipliers and the implicit function theorem.
Multiple integrals accumulate quantities over regions, as when integrating a mass density to obtain total mass. A change of variables formula uses the absolute Jacobian determinant to account for stretching of volume. For vector fields, the fundamental theorem for line integrals, Stokes theorem and divergence theorem relate interior derivatives to boundary measurements. They extend the endpoint difference of the ordinary fundamental theorem of calculus to circulation and flux.
Normal derivative Created 2026-09-24 Updated 2026-10-03
The normal derivative of a differentiable function along a hypersurface with unit normal is the directional derivative
Higher normal derivatives at a point may be defined by differentiating the one-variable function repeatedly at .