A function assigns exactly one output in the specified codomain to each input in its domain of a function . Its rule may be a formula, a finite table, or another unambiguous assignment. The outputs actually reached form its image of a function . A codomain states where outputs are allowed; the image of a function records where they actually land. Oscar Levin's introduction makes this distinction explicit. [ref]
https://discrete.openmathbooks.org/preview/sec_intro-functions.html. Levin, Discrete Mathematics: An Open Introduction, Functions
.For example, , , has the entire real line as its domain of a function and codomain, but its image of a function is . Both and give the output : several inputs sharing an output is permitted. Assigning two distinct outputs to one input is not permitted. A partial function can be undefined at some elements of a larger specified source set; an ordinary function on must be defined at every element of .
Three properties describe how a function uses its target. An injective function never sends distinct inputs to the same output. A surjective function reaches every member of its specified codomain. A bijection does both, pairing each source element with exactly one target element. These are different requirements, as finite arrow diagrams show.
The chosen codomain matters even when the formula does not change. The function from to is not surjective, whereas the same rule from to is surjective. Both fail injectivity. Further restricting the domain of a function to makes it a bijection onto , with square root as its inverse function.
Functions make transformations composable: if and , their function composition is . Identifying each intermediate codomain prevents attempting to feed an output into a rule that is not defined there. When a transformation is a bijection, an inverse function recovers the original input without ambiguity. This is useful whenever information must be transported or a calculation reversed.
A quasiconvex function is a real-valued function on a convex set whose every sublevel set is convex. If the domain is , this meansis a convex set for every real , including levels for which the set is empty. Equivalently,Boyd and Vandenberghe give these level-set and segment characterizations.[ref]
Convex Optimization by Stephen Boyd and Lieven Vandenberghe. §3.4.1, definition and first characterization
To see their equivalence, set . Convexity of that sublevel set puts every convex combination of and inside it, proving the inequality. Conversely, if two points lie below the same level, the inequality keeps their connecting segment below that level.
Quasiconvexity is weaker than convexity. An original example is on . For , its sublevel set is ; for , it is empty. All are convex, butwhich violates the convex-function inequality. Quasiconvexity limits the height along a segment by the larger endpoint value, rather than by the line joining endpoint values.
A strictly increasing transformation preserves the sublevel ordering and hence quasiconvexity. This can be useful when a complicated objective has simple level sets. Quasiconvex optimization exploits those sets through feasibility tests at trial objective values; it need not treat the objective itself as a convex function.
In one dimension the shape corresponds to the single-minimum convention of unimodality. Flat portions require care: the step function equal to0 for and1 for is quasiconvex. Every point strictly to the right of zero is a non-strict local minimizer on a small flat neighborhood, yet its value is not globally minimal. Quasiconvexity alone therefore does not justify replacing every local minimum by a global one.
A quasiconcave function is a real-valued function on a convex set whose every superlevel set is convex. Equivalently, is a quasiconvex function, andThe definition allows empty or whole-domain superlevel sets. Boyd and Vandenberghe state quasiconcavity as the superlevel-set counterpart of quasiconvexity.[ref]
For the equivalence, choose the level . Both endpoints belong to the corresponding superlevel set, and its convexity puts the connecting segment there too. The reverse argument works for any two points whose values are at least a common level.
An original example separates quasiconcavity from concavity:For , its superlevel set isIt is all of for and empty for . These sets are convex intervals. However,is positive when , so is not a concave function on the real line.
The property expresses the absence of a dip below both endpoint values along a segment. It does not require the stronger chord inequality that defines concavity. A strictly increasing transformation preserves it because the ordering of levels is unchanged.
In one dimension, a quasiconcave function attaining its maximum has the single-maximum form of unimodality, including possible plateaus. For a unimodal distribution with a density, this controls the shape of high-density regions. Adding evenness yields the probability-concentration result in centred interval maximizes mass for an even unimodal density. Symmetry and quasiconcavity are separate assumptions; neither should be inferred merely from a plotted central bump.
Unimodality, in the single-maximum convention, means that a real-valued function rises toward one mode or plateau and then falls away. More precisely, for a function on an interval, there is a point such that is nondecreasing to the left of and nonincreasing to its right. These inequalities are weak: a flat top is allowed, and more than one point may achieve the maximum.
For an original example,is zero throughout and decreases as one moves outward beyond that plateau. It is unimodal despite lacking a unique maximizing point. In contrast, two separated peaks with a genuine dip between them violate the rise-then-fall requirement.
A useful characterization is that a unimodal function in this convention has interval-shaped superlevel sets . For a function attaining its maximum, the converse holds too: if all those sets are intervals, a decline followed by a later rise on the same side of a maximizer would create a disconnected superlevel set. In one dimension this is the quasiconcave function viewpoint. Boyd and Vandenberghe define quasiconcavity through convex superlevel sets.[ref]
Convex Optimization by Stephen Boyd and Lieven Vandenberghe. §3.4.1, quasiconvex and quasiconcave functions
The convention must be stated. In minimization, unimodal is also used for a function that first decreases and then increases; that corresponds to a quasiconvex function and interval-shaped sublevel sets. A single minimum and a single maximum are opposite shape conditions.
Unimodality also differs from concavity. The function has derivative , so it rises up to zero and falls afterward. However,so it is not a concave function on the whole real line. Unimodality constrains the ordering of levels rather than the sign of curvature everywhere.
For a probability density, this shape defines one common meaning of a unimodal distribution. Adding symmetry around zero strengthens the conclusion: the centred interval maximizes mass for an even unimodal density lemma shows why a fixed-width observation window collects most probability when centered on the mode.
Nonlinearity is failure of the linearity conditions appropriate to the objects being studied. For a function between vector spaces over the same field, being a linear map meansfor all and all scalars . A function is nonlinear in this sense if even one permitted choice violates the identity. The spaces and their operations are therefore part of the claim.[ref]
Linear Algebra Done Right by Sheldon Axler (4th edition). §3A, definition3.1, additivity and homogeneity
For with , choose and . ThenThe extra term in explains the failure of superposition. Doubling an input also multiplies its squared output by four, rather than two.
A straight-line graph alone does not establish linearity in linear algebra. The affine map has a straight-line graph but , whereas every linear map sends zero to zero. Its translated change is linear in the increment . This distinction matters when a physical instrument has an offset or a model is expressed relative to a nonzero operating point.
A nonlinear function can still have a useful local linear approximation. For the same square function,The derivative at3 gives the linear increment , while the exact omitted term is . At , the actual change is0.0601 and the linear prediction is0.06. At , the actual change is7 and the prediction is6. Local accuracy over small increments does not turn the original function into a linear map. It states that the nonlinear remainder is small on a specified scale.
An algebraic function is a function whose values satisfy a nonzero polynomial relation . In complex analysis one usually studies a local holomorphic branch of this relation; the relation itself need not specify one globally single-valued function.
For example, gives two square root branches away from zero. On a slit domain, one can choose a holomorphic branch, but following it around zero exchanges the two values. This is why Riemann surfaces arise naturally when studying an algebraic function. Every rational function is an algebraic function, since wherever . In contrast, the exponential function is a transcendental function.
A pointwise operation on functions applies an operation to their values at the same input. If and is a binary operation, the induced operation on the function space is defined byThe common domain of a function makes the two inputs available at each ; the closure of the operation in the codomain makes the resulting value an element of again.
For real-valued functions, ordinary addition and multiplication induce pointwise addition and pointwise multiplication. If and , then and . Function composition instead feeds one output into another rule: in this example.
Algebraic identities pass to the pointwise construction by evaluation. For instance, if the operation on is associative, then for every , proving equality of the two functions. This explains how algebraic structure on values induces structure on a function space.
For functions or , their pointwise multiplication is the function with . Both values are evaluated at the same input before multiplication. If and , then and .
Together with pointwise addition, this makes the continuous functions on a topological space into an algebra over a field. Closure properties still need checking for other function spaces: two L2 space functions need not have an L2 space product. For example, on have integrable squares, but is not integrable. The ambient function space matters.
For functions taking values in the same vector space, pointwise addition is defined by for every . For and , the resulting function is ; at its value is six.
The zero function and pointwise scalar multiplication make the collection of all such functions a vector space. The vector space identities follow by evaluating at an arbitrary input and using the corresponding identities in . This construction also preserves continuity and linearity when the original functions have those properties, and is the addition used in the superposition principle for a linear differential equation.
A transcendental function is an analytic function that is not an algebraic function. Explicitly, on a domain , there is no nonzero polynomial with complex coefficients for whichA rational function is algebraic, and a local branch of is algebraic because it satisfies . The exponential function is transcendental. This concerns a relation between functions, rather than the arithmetic nature of a single value: even though is transcendental.
Here is a direct proof for the exponential function. Suppose on , with polynomials and . The expression is an entire function, so the identity theorem for holomorphic functions extends the identity to all complex . For positive real , divide by :By exponential domination of polynomials, the right side tends to zero as . A nonzero polynomial cannot tend to zero along the positive real axis, giving a contradiction. The case is already impossible because would vanish identically. Thus no such algebraic relation exists.
A complex-valued function has values in the complex numbers. It has a unique decomposition , where and are its real-valued components. For example, combines two real-valued functions into one function of modulus one.
On a measure space, a measurable complex-valued function is Lebesgue integrable exactly when both components are integrable. The bounds prove this equivalence, and its Lebesgue integral isMultiplication by a measurable complex factor of modulus one leaves unchanged and therefore preserves absolute integrability.
The empty function has the empty set as both its domain of a function and its graph of a function: it assigns no values at all. For every specified codomain , there is exactly one function , because there are no function inputs requiring a choice of function output. This includes . In contrast, a function from a nonempty set to the empty set cannot exist.
Consequently the set of functions from the empty set to any set has cardinality one. This is the reason for in cardinal exponentiation and for a Cartesian product indexed by the empty set having one element, the empty tuple.
A dependent variable has its value specified by a function of one or more independent variables. In , choosing the function input determines the function output ; equal values of can nevertheless arise from different inputs.
In an ordinary differential equation such as , is the independent variable and is the dependent variable. The unknown object being sought is a function , rather than one numerical value of . Its derivative describes how the dependent variable changes with the independent variable.
For two mathematical functions with the same domain and codomain, equality is equivalent to equality of their values at every argument. In the set-theoretic representation, their graphs of functions then contain exactly the same ordered pairs. This permits a function identity to be proved by fixing an arbitrary argument and proving the resulting value equality.
A coordinate of a function on a finite Cartesian product is essential if changing that coordinate, with all the others fixed suitably, can change the output. A coordinate is inessential precisely when such a change never affects the output in any context. If only coordinate is essential, changing the other coordinates one at a time proves that the output is for a nonconstant unary function . This deterministic dependence definition is not by itself a probabilistic or experimental notion of causal inference.
The function taking the greater value at every common-domain point. For finitely many affine functions it is a convex function, by bounding each affine branch by the convex combination of the endpoint maximum values. This is the finite-affine case of pointwise maximum of convex functions.
The function taking the lesser value at every common-domain point. It forms the lower envelope of two graphs. For finitely many affine functions it is a concave function: each affine branch is at least the corresponding convex combination of the two endpoint minimum values, so taking the minimum preserves that lower bound. A maximizing mixed strategy in a two-player zero-sum game maximizes such a lower envelope of opposing pure-choice expected payoffs.
An integer-valued function is a function whose values all lie in , even if its input domain is not discrete. For example, the floor function maps to , while the prime-counting function assigns an integer to every real bound.
A polynomial can be integer-valued on integers without having integer coefficients: takes integer values for every . Its behavior is specified by both its formula and its input domain. On a connected topological SPACE, a continuous integer-valued function is constant, because distinct integer values are separated by open gaps.
A real function on an interval is unimodal if there is a point such that it is nondecreasing to the left of and nonincreasing to the right. This convention describes a single peak and allows flat regions. Some optimization texts instead use the corresponding single-valley convention, so the direction must be specified.
For example, has its peak at . A unimodal density can describe a distribution with one mode, while unimodality of an objective allows interval-elimination search methods. Concavity implies peak unimodality, but unimodality alone does not require the chord inequalities of concavity.
A scalar-valued function is a function whose codomain is a field, typically the real numbers or complex numbers. Its output is a single scalar, while its input can belong to an arbitrary set. For example, the square of the norm of a vector is real-valued. In a relativistic application, being scalar-valued alone does not establish Lorentz invariance: the transformation of the input and of the complete quantity must also be specified.
An implicit function is a function specified through a relation between its input and output, rather than an explicit output formula. Locally, an equation may specify if one output is selected for each input in a suitable domain. Different branches can define different functions; the relation itself need not give a unique output globally. For example, gives the two branches on .
The implicit function theorem gives sufficient conditions for a unique local differentiable branch, while implicit differentiation computes its derivative by the chain rule. If is continuously differentiable and , that derivative is along the branch.
Function evaluation determines the function output for a specified function input in the domain of a function. Numerical integration uses these values at selected quadrature nodes.
A function input to a function is an element of its domain of a function , also called its argument. The corresponding function output is .
A function output is the value assigned by a function to a function input . It belongs to the codomain ; all such function outputs together form the image of a function .
For functions and taking values in the same field, their quotient of functions is defined by on the common domain of a function restricted to points where . Thus and on the real line give a quotient of functions defined only for .
The codomain of a function is its specified target set. The image of a function is a subset of the codomain, and equals it precisely for a surjective function. Changing a codomain can change whether the same input-output rule is surjective, as the quadratic function examples under function show.
A self-map is a function whose domain of a function and codomain are the same set. It need not be a bijection: a constant function on a two-element set is a self-map that merges its inputs. Self-maps can always be composed with one another, and all self-maps of a specified set form its full transformation monoid.
A self-map is idempotent if its function composition with itself leaves it unchanged: for every . Equivalently, every element of its image of a function is a fixed point. For example, the function on sending to , to , and to is idempotent. A second application makes no further change.
An idempotent matrix is a square matrix with . Its linear map fixes every vector in its image and sends its kernel to zero. Every vector splits uniquely as , giving a direct sum of the image and the kernel.
Consequently is diagonalizable over any field, with only the eigenvalues zero and one. For example, is idempotent but not symmetric. An idempotent matrix is an orthogonal projection in a real Euclidean inner product precisely when it is also symmetric; idempotence alone gives an oblique projection.
For functions and , their function composition is , defined by . The rightmost function is applied first. Matching the intermediate codomain and domain of a function makes the expression well-defined.
For self-maps of the real numbers, take and . Then , whereas . Thus function composition need not be commutative. It does have the associative property: both and evaluate to whenever each intermediate codomain matches the next domain of a function. The identity function leaves composition unchanged, making self-maps particularly useful as a monoid of transformations.
For and , the following implications hold. If both are injective, equality of two composite images can be cancelled first through and then through , proving that is injective. Conversely, if is injective, equality under implies equality under the composite, so is injective. If is surjective, every is , so is surjective.
There are two useful strengthened cancellation rules. If is injective and is surjective, lift any with to preimages under ; composite injectivity then proves . If is surjective and is injective, apply composite surjectivity to and cancel to find a preimage of every . Neither strengthened conclusion follows from the composite property alone.
A germ at a point is an equivalence class of functions defined on a neighbourhood of the point: two representatives are equivalent if they agree on some smaller neighbourhood. A germ of a holomorphic function requires its representatives to be holomorphic functions; smooth and continuous germs use their corresponding classes of functions. The germ retains local behavior while forgetting the representative's values farther from the point.
A real-valued function is nonnegative when for every input . For example, and are nonnegative functions on the real line.
Products and nonnegative linear combinations preserve the property: if and , then and at every point. A partition of unity uses nonnegative functions whose values sum to one, so its weighted combinations lie in the convex hull of the values being combined.
Two self-maps are commuting functions when their function compositions satisfy . Order then makes no difference: the self-maps and on the real line both give when applied successively. By contrast, and give and , so they do not commute.
Mathematical induction gives for all nonnegative integers , where powers mean repeated function composition. Sharing a fixed point or an invariant set is insufficient to imply commutation. For rational maps of the Riemann sphere with degree of a rational map of the Riemann sphere at least two, commutation does imply equality of their Fatou sets and Julia sets, by the commuting rational maps of degree at least two have the same Julia set theorem.
A finite modification of the identity on the real line is a function agreeing with the identity map outside a finite set. For example, changing only to gives such a function; both and then map to , so a finite modification need not be a bijection.
Sorting the exceptional set gives a unique finite record of ordered pairs . Real-number pairing by separated digits encodes every fixed-length record in , and placing length- records in disjoint intervals gives an injection into the real line. Include the zero-length record for the unchanged identity map. Conversely, prescribing and for gives distinct functions for distinct real numbers . The Cantor-Schröder-Bernstein theorem therefore shows that all such finite modifications have the same cardinality as the real line.
A pointwise periodic self-map is a self-map for which every satisfies for some positive integer depending on . Powers denote repeated function composition.
Such a self-map is a bijection. For surjectivity, is a preimage of . For injectivity, suppose and choose a common multiple of periods of and ; applying gives . Thus decomposes into disjoint finite permutation cycles.
There need not be one positive with on an infinite set. Take the disjoint union of one cycle of every positive length: any such would have to be divisible by every positive integer. On a finite set, in contrast, the least common multiple of the finitely many cycle lengths is a common period.
A pointwise periodic self-map has a uniform positive period exactly when its finite cycle lengths are bounded. A uniform period is divisible by every length; conversely, bounded lengths divide the least common multiple of for some bound . Arbitrarily many bounded-length cycles are allowed. Every such map on a finite set has a uniform period. On any infinite set containing a countably infinite subset, cycles of unbounded finite lengths and fixed points elsewhere give a counterexample. Thus, with the usual axiom of choice assumption, the sets on which every pointwise periodic self-map has a uniform period are exactly finite sets.
A vector-valued function is a function taking values in a vector space. For example, describes the unit circle in : one real number controls a two-component vector.
In a real or complex finite-dimensional vector space equipped with a norm, choosing a basis writes in scalar-valued functions. Continuity and differentiability can then be checked in these coordinates, and when the derivatives exist. Finitely many coordinates matter: coordinatewise convergence in an infinite-dimensional vector space need not imply norm convergence.
A set function assigns a value to each set in a specified family of sets. In finite optimization the usual form is , a real-valued function on the power set of a ground set .
For a finite set , the rule is a set function counting selected elements; instead totals their weights. A measure is also a set function, but its domain of a function is a specified collection of measurable sets, and its values can include infinity. The intended family and codomain are therefore part of the definition.
Let be a nonempty finite set with real weights . For nonempty subsets put and choose . This defines a monotone set function and a submodular set function on the full power set.
To check diminishing returns, for the marginal increment is . If , then , so . Choosing the value of the empty set no larger than every weight makes this calculation valid even for .
For weights and , adding the weight- element to a weight- selection increases by ; adding it to a selection already containing weight increases by zero.
The marginal increment measures how much a set function changes when one new element is added. Usually is required; if , the displayed difference is zero. The marginal increments of a modular set function depend only on . The marginal increments of a submodular set function can only decrease as the input subset grows without acquiring .
On a finite ground set, a modular set function is a set function satisfying the displayed equality for every pair of subsets. Equivalently,To prove this representation, apply the equality to disjoint and : . Add these fixed marginal increments along any ordering of . Conversely, the contributions of each element and of the constant cancel in the displayed identity. Thus a modular set function need not be a normalised set function; its normalised instances are precisely the real-valued set functions with finite additivity on a finite power set. Adding or subtracting a modular set function preserves submodularity.
A set function on the power set of a ground set is symmetric when complementary subsets have equal values. A hypergraph cut function has this property because swapping the two sides changes no crossing hyperedge. If a symmetric set function is also a monotone set function, it is constant: .
A real-valued set function is monotone in the nondecreasing convention whenFor a finite ground set , this is equivalent to every marginal increment being nonnegative. Necessity follows by comparing and . Conversely, enumerate the finitely many elements of and add them one at a time; summing their nonnegative increments gives . A normalised set function with this property is a nonnegative function.
The finiteness condition in that converse matters. On , define for finite and for infinite . Adding one element never changes whether is finite, so all marginal increments are zero. Yet , so the set function is not monotone. Single-element tests alone cannot compare sets differing in infinitely many elements.
A set function is normalised when its value at the empty set is zero. Subtracting the constant normalises any real-valued set function and preserves submodularity and the monotone set function property.
A real-valued set function on an algebra of sets is finitely additive whenfor disjoint members of the algebra. Taking both sets empty gives , and induction extends the identity to every finite disjoint union.
On the full power set of a finite set , every subset is a disjoint union of singletons, soThus arbitrary signed weights on the points describe exactly these finitely additive set functions. Summing the pointwise indicator function identity for the inclusion-exclusion principle against those weights gives the corresponding identity for .
The full-power-set qualification matters: on the smaller algebra , the value does not specify or , because the singletons are outside the domain. One must not apply the singleton formula to undefined values.
A set function is supermodular whenEquivalently, is a submodular set function. On a finite ground set, this means increasing marginal increments: if and , then .
For example, has increment , which increases with the cardinality of . In a convex cooperative game, supermodularity expresses increasing gains from joining larger coalitions; the corresponding marginal allocations lie in the core of a cooperative game.
A set function is submodular whenfor every . For finite , this is equivalent to diminishing returns:The marginal increment of an element can only decrease as the surrounding set grows.[ref]
Learning with Submodular Functions: A Convex Optimization Perspective by Francis Bach. §2.2, Proposition 2.2: equivalent first-difference condition on the finite ground set
For necessity, apply the defining inequality to and . Conversely, enumerate and compare adding its elements to with adding them to . Summing the marginal inequalities gives .
A coverage function is an example: counts the covered objects in a finite universe. An added contributes only objects not already covered, so its gain decreases with . Entropy submodularity is another fundamental example.
For a set function with , sort the coordinates of as , and put . The Lovász extension isTies do not affect the result, because equal-coordinate terms telescope. At an indicator vector it gives , so it extends a discrete objective to a piecewise linear function on a vector space.
For when and zero otherwise, . More generally, the extension is a convex function exactly when is a submodular set function. This equivalence is what makes the construction useful: a diminishing-returns condition on subsets becomes a geometric property on real vectors.[ref]
Learning with Submodular Functions: A Convex Optimization Perspective by Francis Bach. Chapter 3, definition and convexity characterization
A coverage function assigns a value to the union of objects covered by a selection. Let index sets in a finite universe . The unweighted version isA weighted coverage function gives each a nonnegative weight and sums those weights over the same set union. Its value is zero on the empty selection and cannot decrease when more sets are selected.[ref]
The submodular set function property follows from an explicit marginal calculation:If , the objects still uncovered after form a subset of those uncovered after . Nonnegative weights therefore make the gain no larger after : precisely the diminishing returns property.
For an original example, take , and weights . Then , and . The second set adds only three after the first, because their shared object is counted once. This models the value of distinct coverage, rather than the sum of overlapping collection sizes.
A weighted coverage function assigns nonnegative weights to members of a finite universe , lets each choice cover a subset , and values a selection byAn item covered twice is counted only once. If , and the weights are , then , and .
Its marginal gain of a set function is the total weight of newly covered items. As the selected set grows, fewer uncovered items remain, so the marginal gain of a set function can only decrease. This proves that a weighted coverage function is a monotone submodular set function. Nonnegative weights are essential to this argument. The construction models selecting sensors or experiments whose observations overlap.[ref]
Every real-valued submodular set function on a finite ground set is the sum of a normalised set function that is nonnegative, monotone and submodular, and a modular set function . A useful explicit choice isProof. The formula makes a modular set function, so is a submodular set function. It is a normalised set function because . For , diminishing returns gives , hence . Thus is a monotone set function, and starting at zero makes it a nonnegative function. The decomposition separates all potentially negative terminal marginal increments into the simple additive term. A constant term in is necessary unless is already a normalised set function.
Suppose is a normalised set function and a submodular set function, and cover every element of exactly times, counting repetitions in the indexed collection. Then the displayed inequality holds. Neither the monotone set function property nor the nonnegative function property is required.
Proof. Fix an ordering of and write for its successive marginal increments. The chain lower bound for a submodular set function gives . Summing counts each exactly times, and . Exact coverage matters because the may be negative. For a monotone set function, the same argument also allows each element to occur at least times.
Let be a normalised set function that is a submodular set function, and order a finite subset . Set and . Then the displayed inequality holds for every , with equality for . The right side is a modular set function lying below on the power set of and touching it at the top.
Proof. Reveal the elements of in the chosen order. Immediately before adding , the conditioning set is . By diminishing returns, its marginal increment is at least . Sum and use . The same telescoping sum gives equality at . The individual increments need not be nonnegative.
For a real-valued set function on a finite ground set, the displayed marginal increment comparison is equivalent to submodularity. The interpretation is that an additional item contributes no more after more items have already been chosen. This concerns relative increments, which may be negative; it does not assert the monotone set function property.
Proof. Applying the defining inequality for a submodular set function to and gives the comparison immediately. Conversely, list and compare adding these elements, in the same order, first to and then to . At every step the first conditioning set is contained in the second, so the first marginal increment is at least the second. The telescoping sums givewhich rearranges to submodularity.
A function collision is a pair of distinct inputs with . An injective function has no collisions. For a two-to-one function every nonempty fiber has two elements and hence one unordered collision pair. Finding such a pair through an oracle is the task of quantum collision finding.
In the finite example under image and preimage of a function, the pair is a function collision: both inputs give zero. The function retains their shared output but loses the distinction between them. If a finite set has more inputs than the number of available outputs, the pigeonhole principle forces a function collision. Equal source and target cardinalities alone do not prevent one.
For a finite function, let be the cardinality of its fiber of a function over . The number of unordered function collisions is , because each pair must lie in one common fiber. The example's nonempty fiber sizes are , giving exactly one collision pair.
For a function and , its fiber of a function over is the set of all inputs producing that one output:Here is shorthand for a preimage of a singleton set, rather than a claim that an inverse function exists. A fiber can contain several inputs or be empty. It describes exactly which distinctions the function forgets.
For the finite function under image and preimage of a function, the fibers over are , , and the empty set, respectively. The nonempty fibers form a partition of a set: they are disjoint sets whose union is the domain of a function. Every input belongs to the fiber over its unique output, and two fibers with distinct output labels cannot share an input. A function is injective exactly when every fiber has at most one member; it is surjective exactly when every member of its specified codomain has a nonempty fiber.
More generally, is the union of the fibers over all . The relation defined by is an equivalence relation, and its equivalence classes are precisely the nonempty fibers. The resulting quotient set is naturally in bijection with the image of a function. This links an input partition to the output values actually reached, without choosing one representative from each class.
Fibers are useful when an output is known but the input is not uniquely determined. A solution set is one fiber, and factorization through a surjection explains when another function depends only on the retained output. Quantum hidden subgroup problem algorithms use functions whose fibers are cosets, giving the same idea a structured form in group theory.
For a surjective function and a function , there is a unique function with if and only if is constant on each fiber of a function of . Define to be the common value on ; it is well-defined and unique because that fiber is nonempty. This uniquely specified value requires no simultaneous arbitrary choices.
For a concrete example, restrict the codomain of the finite function above to its image of a function , making surjective. Define , and . Then on gives : knowing the output of is enough to compute . If instead , no such can exist, because must be the same value.
The surjectivity assumption supplies uniqueness on the full target. If the original unused target value three were retained, the factorization would impose no condition on , and different extensions could agree on every actual input. Thus factorization through a surjection formalizes when a compressed description retains all information needed for a later calculation.
// Target: combinatorics.bigb
A translation of a function shifts its function input without altering its values relative to that shift. On the real line, moves the graph of a function rightward by : if has its peak at zero, has it at . These shifts satisfy and .
Translation invariance of Lebesgue measure preserves each finite Lp norm. For the Fourier transform convention , a change of variables givesThe phase sign depends on the stated shift and Fourier transform conventions. In particular, a spatial shift changes phase while preserving the modulus of the transform.
For a function , its graph of a function is the subset of the Cartesian product . Exactly one ordered pair has first coordinate for each . For example, the quadratic function on the real line has the parabola as its graph.
The graph determines the values and the domain of a function, but alone does not record a larger specified codomain: the same set of ordered pairs can be regarded as lying in or when both contain all its outputs. It also differs from a graph in graph theory, whose edges need not specify exactly one output per input.
If is a compact space and is a continuous map, the graph of a function of is compact in the product topology on . Indeed,is a continuous map onto that graph, so the result follows from the continuous image of a compact space theorem. No Hausdorff assumption on is needed.
The coordinate projection map restricted to the graph is a continuous inverse to . Thus the graph is actually homeomorphic to . For instance, the graph of over has the same intrinsic topology as the interval, even though it is curved in the plane.
For a continuous map with Hausdorff space , its graph of a function is closed in the product topology. If , choose disjoint neighborhoods of those two points in . Continuity supplies a neighborhood of whose image lies in the neighborhood of ; its product with the other neighborhood misses the graph.
A partial function from a set to a set assigns at most one function output in to each function input in . It can be treated as an ordinary function on a specified subset , its domain of a partial function. The surrounding source set can contain points at which no value is defined.
For example, real division by the argument gives the partial function on with . Being undefined at zero is different from assigning a default value there. A partial function with is defined at every allowed input.
The union of a chain of partial-function graphs is a partial function: two values at the same input occur together in a larger chain member and therefore agree. Any closure or algebraic identity involving finitely many inputs passes to the union if it holds in every chain member, because one member contains all those inputs.
A weakly linear partial function on the real numbers has a domain closed under rational scalar multiplication and addition, and it preserves addition on that domain. A nonempty domain is a vector space over the rational numbers, and additivity implies rational homogeneity of an additive function by integer multiplication and division. The empty function also satisfies the defining conditions vacuously. This terminology does not assert homogeneity under arbitrary real scalars.
A partial unary operation on a set is a partial function with specified domain of a function and values in . For example, is a partial unary operation on the real numbers with .
A function preserving partial unary operations and must send each into and satisfy . It need not reflect definedness: a point outside can still map into . Preservation therefore requires both a domain of a partial function condition and a value equality.
For partial functions and , their function composition is defined precisely onFor example, composing with , as real partial functions, gives only on .
More generally, strict composition of partial functions makes defined only if every is defined and is defined on the resulting tuple. An argument discarded by the outer function must still be defined: the expression with the everywhere-zero constant function remains undefined at zero. A representation in a programming language using lazy evaluation therefore needs an explicit check of the intermediate definedness conditions.
The domain of a function is the specified set of allowed inputs. A function must assign a value to every member of that set. Its codomain separately specifies where the outputs are allowed to lie.
The formula alone need not determine the domain. The rule on the real numbers and its restriction to the nonnegative real numbers have different allowed inputs. The first is not injective, while the second is. Similarly, the real-valued rule excludes zero from its domain of a function.
Changing a formula by cancellation can alter where it is defined. The principle preserve the domain when simplifying a function records why an extension across a cancelled denominator is a separate operation.
An algebraic simplification proves equality only where both original and transformed expressions are defined. If a cancelled factor vanishes at a point, the simplified expression may instead describe an extension to that point. For example,holds only when and . The right side is zero at , but the left side is undefined there. A graph of the original function must retain those holes. The extension may be useful, but it is a different function with a larger domain of a function.
For a partial function , its domain of a partial function is the subsetIts restriction to is an ordinary function . Outside , function evaluation has no assigned value.
For instance, the real square root as a partial function on the real line has . Both and lie in the surrounding source, but only at zero is there an output; the value zero and absence of a value are different situations.
For a function and a subset , its restriction keeps the same values but allows only inputs in . Restricting the domain of a function can remove collisions and permit an inverse function, as the nonnegative quadratic function example shows. This changes the allowed inputs; it is different from keeping the inputs and changing the codomain.
A function class is a set whose elements are functions, usually with a common domain of a function and codomain. For example,is a class of constant functions. A function class need not be a vector space: here has constant value two and lies outside .
An individual member is a function, or map; the class collects such members. This keeps statements about one transformation distinct from statements about a family of possible transformations.
For a scalar-valued function on a topological space , its support isThe closure matters. On the real line, is nonzero exactly on , but its support is the closed interval . A point where vanishes can still belong to the support if nonzero values occur arbitrarily near it.
For the discrete topology, every subset is closed, so the support is simply the set of inputs with nonzero values. This is the convention used when representing a finitely supported count function. A function has compact support when the displayed closed set is compact.
Suppose functions vanish outside finite sets , and a binary operation satisfies . The pointwise operation result then vanishes outside the union : elsewhere both inputs are zero. If these sets are their supports, this proves the displayed support inclusion.
Enumerating the union is sufficient for addition, subtraction, pointwise maximum and pointwise minimum of signed count functions. It also suffices to test their pointwise order, since elsewhere. Taking only the intersection can miss a nonzero value present on just one side. Scanning only the left support can also miss a negative right-side value when checking .
A function has compact support when its support is a compact set. On the real line, this means the closure of its nonzero region is closed and bounded. The function has compact support .
Decay is a different condition: tends to zero as , but is nonzero everywhere, so its support is all of and is not compact. Smooth functions with compact support are used as test functions in distribution theory.
The identity function on a set maps each to itself: . It changes no information. For every function , function composition satisfies and . The subscripts specify the appropriate source or target set. An inverse function reverses a bijection exactly when the two possible compositions are these identity functions.
An inverse function reverses a bijection. For , it is a function satisfyingEquivalently, 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]
https://openstax.org/books/calculus-volume-1/pages/1-4-inverse-functions. OpenStax, inverse functions and domain restrictions
.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.
An inverse branch of a function on a set is an inverse function of a bijective restriction . Thus for every , and for every .
Different restrictions can give different branches on the same . For , the restrictions to and give and on . Their function compositions describe successive choices of preimages, as in the itinerary cylinders of an interval map.
For a real-valued function drawn in the plane, the horizontal line test asks whether every horizontal line intersects its function graph at most once. This is exactly injectivity, since two intersections at the same height mean two inputs have the same output. A missing height is compatible with injectivity, so an inverse function is then defined on the image of a function; it is an inverse on the entire specified codomain only when surjectivity also holds.
Suppose is continuously differentiable near with . It has a local inverse function near , andThe 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]
https://openstax.org/books/calculus-volume-1/pages/3-7-derivatives-of-inverse-functions. OpenStax, the inverse function rule and corresponding evaluation points
.A right inverse of a function is a function satisfying . It forces to be a surjective function. A surjective linear map onto a finite-dimensional vector space has a linear right inverse: lift a basis of the target and extend by linearity.
The statement that every surjective function has a right inverse is equivalent to the axiom of choice.
Given a surjective function , each fiber of a function is nonempty. The axiom of choice selects from that fiber for every , so and is a right inverse. When is the empty set, the unique empty function supplies without a choice.
Conversely, take an indexed family of nonempty sets. The projection map from the disjoint union to is surjective. A right inverse assigns , selecting one for every index. This is a choice function, so the asserted splitting of all surjections gives the axiom of choice.
A left inverse of a function is a function satisfyingIt forces injectivity: if , applying gives . For example, on the natural numbers has left inverse . The reverse function composition is not the identity at odd inputs.
Conversely, an injective function with nonempty has a left inverse. On the image of a function , send each value to its unique preimage; outside the image, send every point to one fixed . The nonempty-domain qualification matters: the unique empty function from to a nonempty is injective, but no function exists.
A projection is an idempotent self-map : applying it twice has the same effect as applying it once, . Equivalently, it fixes every point of its image of a function. The map on the real plane is an example.
A coordinate projection map has different source and target, so it is not literally an idempotent self-map. After choosing and identifying with , its lifted form is a projection. A linear projection additionally respects vector addition and scalar multiplication.
A projection map from a Cartesian product selects specified coordinates. For the coordinate indexed by ,For example, forgets the second component of an ordered pair.
The product topology makes each coordinate projection map a continuous map. In the two-factor case , surjectivity depends on whether the omitted factor has an element, subject to the empty-set cases for Cartesian projections. For an arbitrary infinite family, simultaneous existence of the other coordinates can also involve the axiom of choice.
For the coordinate projection map , let denote the other factor. Then is surjective exactly when is the empty set or is nonempty. If is nonempty, a preimage of one chosen element requires an element of , and that same element provides a preimage for every element of .
The projection map is injective exactly when is the empty set or has at most one element. When contains an element and contains two distinct elements, the corresponding distinct ordered pairs have the same projection. With at most one omitted coordinate available, two pairs with the same retained coordinate must agree.
These conditions include the cases with the empty set as the domain of a function. In particular, a surjection onto an empty Cartesian product need not induce a surjection onto a nonempty factor: the empty function onto is surjective, while the resulting empty function into is not.
A fixed point of a self-map is an element with . Once an iteration reaches that element, every later iterate remains there.
For example, on the real line has fixed points zero and one, because is equivalent to . The translation has none. For real-valued self-maps, the fixed points are exactly the zeros of a function .
Existence of a fixed point does not itself imply convergence of nearby iterates. For , inputs with tend to zero under repeated squaring, while the initial value two grows without bound. The same function can therefore have both fixed points and very different iterated behaviour elsewhere.
A fixed point of a function on a partially ordered set that is greater than or equal to every other fixed point. For the order-preserving function on the power set of a finite transition system with no terminal states, its greatest fixed point is the set of states from which every infinite path in a transition system remains in . Iteration from the whole state space decreases to this set; every strict decrease removes at least one state.
Two self-maps and are conjugate functions through a bijection when . Equivalently, : changing coordinates before or after one step has the same result.
For every nonnegative integer , cancellation of consecutive inverse pairs gives . Thus the bijection transports fixed points and permutation cycles with their periods. For example, and the coordinate change give ; the fixed point zero becomes one. Additional topological structure requires additional hypotheses, such as a homeomorphism for topological conjugacy.
A piecewise linear function agrees with an affine function on each member of a finite or locally finite family of subsets partitioning its domain of a function. On the real line the pieces are intervals; in higher dimensions each piece can be a polyhedron. Here the conventional word “linear” permits a constant offset within each piece.
For example, the absolute value function satisfies for and for . Both branches agree at zero, so the resulting function is continuous, although its derivative changes there. Joining sampled values by linear interpolation gives another common construction. If the partition pieces meet, their formulas must agree on overlaps to define a single function; allowing separate pieces across a jump is a convention that should be stated.
Between two prescribed values, linear interpolation assigns at , for . Joining successive samples produces a piecewise linear function. For a continuous function on a compact interval, interpolants along grids with mesh tending to zero converge in the uniform norm; their error is bounded by the modulus of continuity at the mesh size.
A linear interpolant is the unique polynomial of polynomial degree at most one taking prescribed values at distinct interpolation nodes . It is an affine function, including the constant function case. For , its two displayed coefficients are nonnegative and sum to one, so changing each sampled value by at most changes every interpolated value by at most . Differentiation instead uses the difference of the two samples divided by , causing noise amplification by differentiation of a linear interpolant.
A real- or complex-valued function is bounded when one finite constant controls all its values:For example, is bounded by one on the real line. The reciprocal is bounded by one on , but is an unbounded function on , showing that the domain of a function matters. Each value at an allowed input may be finite even when no common bound exists.
A real- or complex-valued function is unbounded when no finite constant bounds the moduli of all its values. Equivalently, for every there is an allowed input with .
Unboundedness does not say that all sufficiently large inputs produce large values. For example, on the nonnegative real numbers is zero at , yet grows without bound. Thus this function is unbounded but has no limit as .
On a nonempty domain of a function , a constant function has one fixed value in its codomain:For example, on the real line is a horizontal graph. Its image of a function is the singleton even though its domain of a function has infinitely many inputs. A constant function from the real line to the real numbers has derivative zero and every nonzero real period of a function; there is no smallest positive period. It supplies a reference level from which variation can be measured.
A constant map between vector spaces is a linear map only when its value is the zero vector, since a linear map must preserve zero. A nonzero constant map is still an affine map. In a Fourier series, the constant term records the period average, while the other terms describe oscillation around that level.
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.
A real-valued function takes each function input to a real number. Its codomain can be all of or a specified subset. Thus on the real line is a real-valued function and has image , whether the declared target is that interval or all of .
The inputs need not be real numbers: the cardinality of a finite set and the squared norm of a vector are also real-valued functions. The adjective describes outputs, while scalar-valued function allows outputs in other fields, notably the complex numbers.
A global maximum of a real-valued function is an attained value such that for every . The point attaining it is a global maximizer; several different points can attain the same value.
For example, on the real line has global maximum one at zero. The function on the open interval has supremum one but no global maximum, because one is not an allowed input. A global maximum is one type of extremum of a real-valued function; a global minimum reverses the inequality.
A global maximizer of is a point satisfying for every . The global maximum is the attained value ; argmax collects all points attaining that value:The set can be empty or contain many points. For on the real line, the global maximum is one and the global maximizers are , . No single representative is specified by the optimization problem.
A stationary point is a different kind of condition. For a differentiable function on an open real interval, an interior global maximizer has zero derivative, but the converse fails: has zero derivative at zero without a local maximum. A boundary global maximizer need not have zero derivative either; on attains its largest value at the right endpoint.
The extreme value theorem supplies a useful sufficient existence condition: a continuous function on a nonempty compact set attains its maximum. Compactness is sufficient, rather than necessary; the cosine example attains a global maximum on the noncompact real line.
The argmax of a function is the set of inputs where its largest value is attained:It records global maximizers, whereas records the value. For , the argmax on is and the maximum value is zero. If is constant, every input belongs to the argmax.
The argmax can be empty: on has supremum one but never attains it. A continuous function on a nonempty compact set does attain its maximum by the extreme value theorem. Writing a single input as an argmax therefore implicitly assumes uniqueness or specifies a rule for choosing between ties. This distinction matters when an optimization problem is used to define an estimator.
The positive part of a real-valued function is the nonnegative function . It retains positive values and replaces negative values by zero: if , then , while gives .
Together with the negative part , it satisfies and . These identities reduce Lebesgue integration of a signed function to integration of nonnegative functions. The resulting difference of integrals is defined only when it does not subtract two infinite quantities; integrability requires both integrals to be finite.
Articles were limited to the first 100 out of 116 total.
Articles by others on the same topic
There are currently no matching articles.


