Function input 2026-10-14
A function input to a function is an element of its domain of a function , also called its argument. The corresponding function output is .
Globally Lipschitz function Created 2026-09-28 Updated 2026-10-14
A function is globally Lipschitz when one finite Lipschitz bound holds for every pair in its entire specified domain of a function. The sine and the absolute value have this property on the real line. For any reference point , a globally Lipschitz continuous real function obeys , so its size grows at most linearly in the distance from .
The function is a locally Lipschitz function on the real line, but is not globally Lipschitz there: pairs , have ratio , which is unbounded. Restricting the domain to does give a global bound . Global and local describe where one bound must work, rather than two intrinsic labels independent of the domain.
Global minimum Created 2026-09-24 Updated 2026-10-14
A real-valued function attains a global minimum at when
The point is a global minimizer; is the minimum value. A global maximum reverses the inequality throughout the same domain of a function. Unlike a local minimum or local maximum, a global minimum or global maximum compares every permitted input, however distant. The domain of a function is part of the claim.
For on , completing the square gives
with equality exactly at . This proves that is the global minimum and that the two global minimizers are and . Neither is a strict global minimizer, because the other attains the same value; both are strict local minima. There is no global maximum on , whereas on the global maximum is , attained at zero.
Finding critical points supplies candidates rather than a global certificate. The squared expression above is beautiful because one inequality compares infinitely many inputs at once. A global minimum is always a local minimum under the relative-neighbourhood convention; the converse fails. For example, has a strict local minimum at , but as , so it has no global minimum on the real line.
Existence also matters: on has infimum zero and supremum one but attains neither a global minimum nor a global maximum. By the extreme value theorem, a continuous function on a nonempty closed interval attains both. To find those values, compare all interior critical numbers, including points where the derivative does not exist, and both endpoints. Checking only stationary points can miss a corner or an endpoint. [ref]
Hash collision 2026-10-13
A hash collision is a function collision of a hash function : two distinct inputs have the same output, . Repeating the same input is not a hash collision. Unequal hash values prove the keys differ; equal hash values only identify candidates that might be equal. This makes a hash function useful as a compact filter before comparing the original data.
Here is a deliberately simple example using modular arithmetic. Let for nonnegative integer keys, and let a four-bucket hash table use the further bucket index . For keys , the hash values are , while all three bucket indices are . Thus and form a hash collision for ; and share a table bucket even though their full hash values differ. Always specify which function is being compared: a table collision concerns the bucket-index function, which may discard more information than the original hash function.
Figure 1.
A shared hash value and a shared table bucket discard different distinctions
. Constructed integer keys pass through and . Orange highlights the hash collision between and ; blue key joins them only after bucket reduction. Separate chaining retains all three keys. This is a toy calculation, not a measured workload or a cryptographic hash function. Details.
With separate chaining, bucket holds all three records in a linked list. A search for visits that bucket and compares the stored keys until it finds ; a search for visits the same bucket but rejects every stored key. A hash collision changes the search work, while key comparison preserves correctness. Storing only one record per hash value would incorrectly merge distinct keys. This is the purpose of collision handling in a hash table.[ref]
The pigeonhole principle explains inevitability: if a hash function has only possible outputs, any distinct inputs contain a hash collision. In particular, a function whose domain of a function is larger than its finite codomain cannot be an injective function. This is an existence statement; it gives neither an efficient way to find the pair nor a probability for a smaller collection of keys. A particular small collection might have no hash collision at all.
For a cryptographic hash function, collision resistance asks that finding any two distinct messages with equal full digests be computationally infeasible under the specified model and resources. It does not mean that hash collisions do not exist. Preimage resistance asks a different question: given a target digest , how hard is it to find a message with ? The collision finder may choose both messages and their common digest; the preimage finder is given the digest in advance. These definitions distinguish two search tasks, independently of how a hash table stores records.[ref]
Identity (mathematics) 2026-10-14
A mathematical identity is an equation that holds for every assignment in a specified domain of a function. For example, the distributive property gives for every real number . An identity can replace one mathematical expression by another without imposing a new restriction on that domain.
The domain remains essential. The equality holds for every real , but its left side is undefined at . Cancelling a factor does not retrospectively define the original mathematical expression at the excluded input. An identity is different from an identity element of an algebraic operation or an identity function, which are separate concepts despite sharing a name.
Inverse function Created 2026-09-24 Updated 2026-10-14
An inverse function reverses a bijection. For , it is a function satisfying
Equivalently, for all and for all . We write . The superscript denotes reversal through function composition; it does not mean the pointwise multiplicative inverse . The preimage notation for a set is also distinct: a preimage exists even when no inverse function exists.
For a computed example, let be . Solving for gives . Thus and ; direct substitution gives and throughout the real line. In contrast, , which does not undo .
Why must be a bijection? If , applying gives , proving injectivity. For any , the equation supplies a source element, proving surjectivity. Conversely, a bijection supplies exactly one predecessor for each , defining a unique inverse function. A left inverse or right inverse requires only one of the two composition identities.
For on the real line, the equation has two solutions, , so its arrows cannot be reversed as one function on all inputs. The restriction to removes that ambiguity. As a bijection from onto , it has inverse function . The identity explains why works on the restricted domain of a function but fails for negative . [ref].
Figure 1.
An inverse function swaps the input and output coordinates
. Left: the function graphs of and its inverse function are reflections across the line ; the points and correspond. Right: the nonnegative restriction and the square root have the same reflection relation. Their displayed portions lie in the first quadrant or on its boundary. Details.
More generally, lies on the graph of a function precisely when lies on the graph of a function of its inverse function. This coordinate swap explains the geometric reflection and the horizontal line test. It also explains why inverse sensitivity is reciprocal locally: the inverse function rule divides by the original derivative at the corresponding input, when that derivative is nonzero.
Inverse function rule 2026-10-14
Suppose is continuously differentiable near with . It has a local inverse function near , and
The chain rule applied to gives the formula. The nonzero derivative condition also ensures local invertibility; it does not assert a global inverse function on an arbitrary larger domain of a function. For at , the corresponding output is , and the square root's derivative there is . At , this division is unavailable: the nonnegative restriction still has a square root inverse, but its finite derivative at zero does not exist. [ref].
KKT regularity at a local minimum Created 2026-10-14 Updated 2026-10-24
At a local minimum of continuously differentiable functions, a suitable constraint qualification guarantees the existence of Lagrange multipliers satisfying the KKT conditions. One sufficient local regularity assumption is that the gradients of the equality optimization constraints and the active constraints are jointly linearly independent. This assumption concerns the description of the feasible set, not just the smoothness of the objective function.[ref]
To see why a hypothesis is needed, minimize subject to . The feasible set is the singleton , so is a global minimum. Yet for every finite Lagrange multiplier . Thus this convex optimization problem has an attained optimum without a KKT multiplier. The zero gradient of the active constraint has hidden the actual restriction from its first-order equation. Rewriting it as the equality yields the unrestricted Lagrange multiplier .
For convex optimization, Slater's condition requires strict inequalities and affine equalities at a point in the relative interior of the common domain of a function. A finite optimum value then gives strong duality and dual attainment. Primal attainment and differentiability yield KKT multipliers. Affine inequalities may be nonstrict in the refined version.[ref]
Slater's condition is sufficient, and need not hold for an optimum to exist. The singular example above also shows that mere primal attainment is not a substitute for a constraint qualification.
Lipschitz continuity Created 2026-09-24 Updated 2026-10-14
A function between metric spaces is Lipschitz continuous if one finite number controls every change of output by the corresponding change of input:
For real inputs and outputs this is . The same bound must work for every pair in the specified domain of a function. It gives a quantitative version of continuity: an input error of at most produces an output error of at most . The least possible bound is the Lipschitz constant. Lebl presents the real and metric-space definitions and their connection with uniform continuity. [ref]
Three functions show why this condition differs from differentiability. The absolute value has a corner at zero, but the reverse triangle inequality gives , so it has Lipschitz constant one on the real line. The sine is smooth and also has Lipschitz constant one: the mean value theorem and bound every secant slope. The square root is continuous on , but
No finite Lipschitz bound works on that interval. At , the ratios are . Smaller input changes near zero therefore require larger amplification factors.
Figure 1.
Bounded secant slopes permit a corner, while the square root needs unbounded amplification near zero
. Details.
For a real function, Lipschitz continuity means that the absolute slopes of all secant lines are bounded. If the derivative exists at a point, taking a limit of those slopes gives . In the other direction, a function that is continuous on a real interval, differentiable in its interior, and satisfies there is Lipschitz continuous by the mean value theorem. The interval hypothesis matters: the theorem uses the segment connecting the two inputs.
A Lipschitz function is uniformly continuous: for , choosing input tolerance works at every point. If , the function is constant. The converse fails; the square root on is uniformly continuous, and satisfies the weaker Hölder continuity bound , without a finite Lipschitz constant. These distinctions are developed in Lebl's worked examples. [ref]
The usefulness is controlled sensitivity. Successive Lipschitz maps with bounds and have a function composition with bound , because each stage amplifies the previous distance by at most its own bound. For an ordinary differential equation, Lipschitz continuity in the unknown state is the condition that makes nearby trial solutions controllably close in the Picard-Lindelöf theorem. For incomplete data, the McShane extension theorem fills in unobserved values while preserving the same bound. This one inequality connects error estimates, uniqueness, and interpolation.
Local diffeomorphism Created 2026-09-24 Updated 2026-10-14
A local diffeomorphism is a differentiable map that restricts near every point to a diffeomorphism onto an open subset of its target. The local inverse functions need not combine into a single global inverse function: different parts of the domain of a function can map onto the same output region.
For continuously differentiable maps between open subsets of , being a local diffeomorphism is equivalent to having an invertible derivative at every point. The inverse function theorem proves one direction. For the other, the chain rule for each local inverse function gives two inverse linear maps. The periodic angle example under the inverse function theorem has this property everywhere, even though it has infinitely many inputs for every point of the punctured plane. The noninjective map with constant Jacobian determinant gives another useful distinction: even a constant nonzero Jacobian determinant need not give global injectivity.
Every local diffeomorphism is an open map. To see this, take an open subset of the source and intersect it with the neighbourhoods where the map is a diffeomorphism. Each local image is open, and their union is the full image. Thus nearby outputs remain available locally, despite the possible global ambiguity.
Local maximum Created 2026-10-05 Updated 2026-10-14
A real-valued function , with , has a local maximum at if some satisfies
Only a neighbourhood within the domain of a function is compared. Equality is allowed; a strict local maximum requires for every other point in that neighbourhood. A constant function therefore has a local maximum and a local minimum at every input, with neither strict. This is a local form of an extremum of a real-valued function.
For , zero is a strict local maximum because when . It is not a global maximum: values far away grow without bound. This distinction makes a local maximum useful for describing a nearby peak without claiming that it is the highest value anywhere.
Negating the function exchanges local maxima and local minima, including their strict versions. At a smooth interior local maximum, the critical point argument forces zero gradient; for a function twice continuously differentiable nearby, its Hessian matrix is negative semidefinite. These necessary conditions alone do not establish a local maximum.
Local minimizer 2026-10-25
A local minimizer is a point of the domain of a function at which that function attains a local minimum: some neighbourhood of satisfies for all . The point and the attained value are different objects. Every global minimizer is a local minimizer, but the converse need not hold.
Local minimum Created 2026-09-24 Updated 2026-10-14
A real-valued function , with , has a local minimum at if some satisfies
Equality is allowed; a strict local minimum excludes equality at every other sufficiently nearby point. The comparison uses a neighbourhood relative to the domain of a function. On an open set, this is an ordinary small ball around . At an endpoint, only points belonging to the domain of a function are tested. Some elementary texts reserve "local" for interior points; here endpoints are allowed under the relative convention, but the zero-gradient condition still requires an interior point.
For , each of and is a strict local minimum, although both attain the same global minimum. For , zero is a strict local minimum despite the missing derivative. Thus the definition compares values and does not require differentiability.
A local minimum describes a valley that cannot be improved by a sufficiently small move; mathematical optimization also asks whether a better value lies farther away. At a smooth interior local minimum, the gradient is zero. If the function is twice continuously differentiable nearby, its Hessian matrix is positive semidefinite: restrict to a line through the point and its second derivative is nonnegative. The converse fails for a degenerate Hessian matrix, as at zero shows.
Mean value theorem Created 2026-09-24 Updated 2026-10-14
The mean value theorem says that an average rate of change is attained as an instantaneous rate somewhere between the endpoints. Let and let the real-valued function be continuous on the closed interval and differentiable on the open interval . Then there exists such that
The right-hand side is the slope of the secant line joining to ; the left-hand side is the slope of the tangent line at . The derivative need not be continuous, and the function need not be differentiable at the endpoints. [ref]
For the polynomial on , the secant line has slope . Since the derivative is , the required interior point is . The tangent line there is , whereas the secant line is . Their equal slopes make them parallel, but they are distinct straight lines: the theorem equates rates, not heights.
Figure 1.
The secant line and interior tangent line to have equal slopes but different heights
. Details.
The practical strength is that the unknown point can disappear from an estimate. Under the same hypotheses, if the derivative satisfies throughout , where , then
Applying this to every subinterval proves Lipschitz continuity with Lipschitz bound . For example, on has , so an input change of size at most changes its output by at most , as long as both inputs lie in that interval. A local derivative bound therefore controls finite changes without computing an integral. The sign of the derivative similarly gives the derivative criterion for monotonicity.
Taking shows that a function with zero derivative throughout a real interval is a constant function, provided it is continuous at any included endpoints. The interval condition is essential: on the domain of a function , the function equal to zero on the left interval and one on the right interval has zero derivative everywhere. It is a locally constant function, yet not a constant function on the whole domain of a function. The mean value theorem cannot cross the gap.
A concise proof subtracts the secant line: set and . Then , and Rolle's theorem gives an interior point with . The geometric idea is to remove the average trend and find a horizontal tangent line in what remains.
Monotonic function 2026-10-14
A real-valued function , with domain of a function in the usual order of the real numbers, is a monotonic function if it is either a nondecreasing function throughout or a nonincreasing function throughout . The same direction must work for every pair in . Being a strictly increasing function on one part and a strictly decreasing function on another does not make the whole function monotone: for example, on the real line changes direction at zero. A constant function is both a nondecreasing function and a nonincreasing function.
The word "increasing" is ambiguous across textbooks: some allow equal outputs and some require unequal outputs. Use nondecreasing function for the weak inequality and strictly increasing function for the strict inequality; use nonincreasing function and strictly decreasing function in the other direction. Neither continuity nor differentiability is part of the definition of a monotonic function.
Strict monotonicity gives injectivity, so an equation has at most one solution and an inverse function exists on the image of a function. Weak monotonicity permits repeated outputs and jumps. In probability theory, a cumulative distribution function is a nondecreasing function; its quantile function uses a generalized inverse to handle those flat parts and jumps. Monotonicity alone does not guarantee continuity, even for a strictly increasing function.
Figure 1.
Strict and weak monotonicity: cubic functions, flat portions, and a step
. The strictly increasing function and strictly decreasing function never repeat an output. The nondecreasing function has flat intervals, and the step function for , for is a discontinuous cumulative distribution function. The open and closed circles specify its value at the jump; no vertical segment belongs to its graph. Details.
Nonconstant function 2026-10-14
A function is nonconstant when two inputs in its domain of a function have different outputs. For example, on the real line is nonconstant, whereas the same rule restricted to is a constant function.
Nondecreasing function Created 2026-10-06 Updated 2026-10-14
A real-valued function is a nondecreasing function if every pair in its domain of a function satisfies . Flat intervals are allowed, unlike for a strictly increasing function. For example,
is a continuous nondecreasing function, but it repeats its output on each flat interval.
A nondecreasing function can also be discontinuous. The step function for and for has a jump discontinuity at zero without ever decreasing. It is the cumulative distribution function of a random variable that equals zero with probability one; quantile functions handle such jumps through a generalized inverse. Nondecreasing allocation functions permit critical-value payments in single-parameter mechanisms.
Nonincreasing function 2026-10-14
A real-valued function is a nonincreasing function if every pair in its domain of a function satisfies . Equal outputs and flat intervals are allowed. For example, is a nonincreasing function, with a falling segment between two flat portions. Requiring instead gives a strictly decreasing function. Negating a nondecreasing function gives a nonincreasing function.
A nonincreasing sequence of natural numbers has finitely many strict drops, so it is eventually constant. This differs from a strictly decreasing sequence, which cannot continue indefinitely within the natural numbers.
Parameter domain 2026-10-24
The domain of a function used by a parametrization is its parameter domain. A parametrized surface may require several such domains, and duplicated images must be accounted for in a surface integral.
Partial differential equation Created 2026-09-24 Updated 2026-10-14
A partial differential equation relates an unknown function of several independent variables to its partial derivatives. For , the notation means changing time while holding position fixed; measures how its spatial slope changes. Unlike an ordinary differential equation, a partial differential equation can describe an entire evolving profile rather than a single trajectory.
The heat equation smooths spatial variations, the transport equation moves them, and Laplace's equation describes a spatial equilibrium. Here is a diffusivity, is a velocity, and is the Laplacian. The periodic heat and transport comparison makes the difference visible using identical initial conditions.
A partial differential equation usually supplies a local rule rather than a complete answer. For example, every satisfies the heat equation with zero PDE source term; data select which profile is relevant. A complete problem specifies its domain of a function, coefficients, initial conditions, boundary conditions, and meaning of solution of a partial differential equation. A well-posed problem has existence, uniqueness, and continuous dependence on initial data in stated spaces; the equation alone guarantees none of these.[ref]