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.
Logarithm Created 2026-09-24 Updated 2026-10-14
For a positive real base , the logarithm is the inverse function of the exponential function :It asks which exponent produces a given positive number. Thus and . The base restrictions matter: would produce only one value, while a negative base does not define as a real-valued function for every real exponent.
The useful transformation isFor example, corresponds to in base two. Products become sums and ratios become differences. The logarithm does not generally convert a sum into a sum of logarithms. Base conversion uses the natural logarithm: . It also gives , positive when and negative when .
Historically, John Napier's 1614 Mirifici logarithmorum canonis descriptio presented logarithmic tables and their use, documented in the Smithsonian Libraries' digitized original. Tables made multiplication-heavy calculations more manageable by replacing products with addition and a lookup. The 1619 Constructio title page below belongs to a later publication from the same work on logarithms. These historical publications preceded the modern inverse function and integral presentation used here.
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.
Natural logarithm Created 2026-09-24 Updated 2026-10-14
The natural logarithm is the logarithm with base Euler's number, and the inverse function of the real exponential function. A particularly geometric definition isFor , it is the area under the hyperbola from to . For , the reversed integration limits give a negative value. The fundamental theorem of calculus gives , so the natural logarithm is increasing, while gives concavity.
Exponential function and natural logarithm graphs reflect across ; equal multiplicative intervals have equal logarithmic areas
. Details. The change of variables shows for . Thus the intervals from to and from to each contribute area , explaining . Equal ratios give equal increments on a logarithmic scale, even though the ordinary differences grow. This makes the natural logarithm useful for comparing multiplicative changes and solving for time in exponential growth or exponential decay. The integral construction and inverse function properties are discussed in OpenStax, the natural logarithm as an integral.
Pairing function Created 2026-10-03 Updated 2026-10-14
A pairing function is a computable function that gives a bijection from the Cartesian product to , with two computable functions recovering its coordinates. Here consists of the natural numbers, including zero. If is the pairing function and its decoding functions, the requirements areEvery ordered pair has exactly one code, every code represents an ordered pair, and decoding always terminates. For a bijection given by a total computable function, computability of the inverse function also follows by enumerating all ordered pairs until the one with code appears. A primitive recursive pairing function makes the stronger requirement that both encoding and coordinate decoding are primitive recursive.
The Cantor pairing function makes this concrete through triangular numbers:On the diagonal , list . There are ordered pairs there, and ordered pairs on earlier diagonals. Their codes therefore occupy precisely the consecutive natural numbers from through . These intervals touch without overlapping and cover all natural numbers; within each interval the offset determines the ordered pair. This proves both injectivity and surjectivity, hence the bijection. It also explains why the infinite grid is a countably infinite set: every ordered pair is reached after finitely many steps. A row-by-row listing would never finish its first infinite row. Authored treatments give the same diagonal construction with the coordinates exchanged.[ref]
https://www.cs.cmu.edu/~cdm/resources/02-coding.pdf. Klaus Sutner, Primitive Recursion, Carnegie Mellon University, spring 2021, slides 9–13: pairing systems and the Cantor polynomial
For example, the Cantor pairing function givesThe order of the coordinates matters: and are different ordered pairs with different codes.
The Cantor pairing function on a finite window: labels are codes, and the first 21 ordered pairs fill diagonals zero through five
. Details. To decode a natural number , find the unique diagonal index satisfyingThe inequality gives , so both recovered coordinates are natural numbers. At , , hence , , and . At , and both coordinates are zero. Solving the quadratic inequality gives the equivalent floor function expressionThis is exact as a statement about the real numbers and their square roots. An implementation using floating-point arithmetic can round across a diagonal boundary, especially for large . Use an exact integer square root instead: with computed using integer arithmetic, . Alternatively, search for the diagonal using exact integer comparisons. The primitive recursive pairing function proof below uses bounded minimization and needs no approximate square root.
A pairing function is a reversible encoding: unlike a hash function mapping arbitrarily many inputs into a fixed finite range, it loses no coordinates. This works because the mathematical natural numbers have no upper bound. A machine word with binary digits has possible values, while two such words have possible ordered pairs; a bijection into one word of the same width is impossible. Evaluating the Cantor pairing function in a fixed-width integer type can overflow, including in the intermediate product . Exact implementation requires sufficiently large integer storage or an explicit restricted input range. One mathematical code need not occupy fewer binary digits than its two inputs.
Iterating a pairing function gives a reversible encoding of tuples of any fixed positive length. With the left-nesting convention, the Cantor pairing function encodes asDecode the outer ordered pair first: gives . Decode its first coordinate to recover , giving the nested ordered pair and thus the original tuple .
The tuple length and nesting convention must be known. The same code represents as a two-entry tuple and as a three-entry tuple; nesting alone does not make variable-length tuples self-describing. To encode variable-length tuples, supply their length or another explicit termination convention as part of the encoding. This simple change of representation is useful in computability theory and Gödel numbering: a function of several natural numbers can be studied through a single numerical input, while all coordinates remain recoverable. The striking fact is that a whole infinite grid can be serialized without omitting a point.
A historical reference for comparing sets through bijections is Georg Cantor's paper Ein Beitrag zur Mannigfaltigkeitslehre, published in 1878 in volume 84 of Journal für die reine und angewandte Mathematik, pages 242–258.[ref]
https://doi.org/10.1515/crelle-1878-18788413. Georg Cantor, Ein Beitrag zur Mannigfaltigkeitslehre, 1878: publisher bibliographic record
Past exam of the mathematics course of the University of Cambridge 2007 iii Paper 42 1 Solution Created 2026-10-03 Updated 2026-10-14
Let be the inverse marginal utility. The derivative is continuous and strictly decreasing: concavity makes it nonincreasing, and equality at two distinct points would make affine between them, contradicting strict concavity. The Inada conditions therefore make a bijection from onto . For each , the derivative of is positive below and negative above it. Consequently its unique global maximum is finite andThere is no need to differentiate to find the first derivative of this utility conjugate. Comparing the maxima at and gives, for ,Continuity of , together with the corresponding inequalities for , givesThus is strictly decreasing and strictly convex, since its derivative is strictly increasing. This proves all the asserted properties except the second differentiability, which does not follow from the printed hypotheses.
Here is an explicit Inada utility with vanishing curvature. PutThe positive integral defining makes strictly increasing. Also is negative except at one point, so is strictly decreasing and is strictly concave. Near zero is asymptotic to , and at infinity it is asymptotic to ; thus and . This smooth utility function satisfies every printed positive-domain assumption, but . At , differentiability of would imply, by differentiating ,which is impossible. Hence has no finite derivative there. More explicitly, , so its inverse function has a cube-root singularity. The twice-differentiable conclusion is false as printed. With the additional assumption everywhere, the inverse function theorem proves the intended dual differentiability with nonvanishing utility curvature:
For the financial assertions, use the positive-wealth admissible trading strategy class appropriate to the positive-domain utility function, and expectations for which the expressions are defined. A normalized terminal state-price density satisfies , , and defines an equivalent martingale measure by . A self-financing portfolio obeyswhere the holdings are measurable before the next price increment. Under the gains are a martingale when integrable; for the usual lower-bounded admissible class, localization gives a supermartingale. In particular the state-price budget constraint is . The positive-domain qualification matters: assumptions only on at positive arguments do not control its values at nonpositive wealth.
The definition of the utility conjugate gives the pointwise inequalityTaking expectations, using the state-price budget constraint, and then taking the supremum over strategies gives for every and every state-price density. Taking the two infima proves the utility duality with martingale deflators upper bound:If an expectation is infinite, use the same inequality in the extended-real sense whenever the negative parts make it well defined; no subtraction of two infinities is needed.
A complete market is one in which every terminal contingent claim in the specified claim class is attainable by a self-financing portfolio. Bounded terminal claims suffice for the uniqueness argument. In the standard finite-horizon discrete-time market, absence of arbitrage gives existence of an equivalent martingale measure by the fundamental theorem of asset pricing. To prove uniqueness, let and be two normalized state-price densities. Every bounded claim has a replicating price , and its replication has the same price under either equivalent martingale measure:Take for every terminal event . The integrable difference has zero integral over every event, hence vanishes almost surely: its positive and negative sets would otherwise give a nonzero integral. The normalized terminal state-price density is unique up to null sets. Its density process is then uniquely . This uses the usual pricing replication class, where bounded claims have bounded replicating value processes; arbitrary doubling strategies are not an admissible definition of completeness.
For logarithmic utility, direct maximization gives . In the complete market, write . The unique-density utility conjugate bound is minimized at , givingThe candidate terminal portfolio wealth is , whose cost is exactly . If completeness includes nonnegative -integrable claims, it is replicable and attains the bound. There is also an approximation proof using only bounded-claim completeness. DefineThen , , is positive and bounded, and . Replicating therefore gives an admissible terminal claim of initial cost . Since , the negative parts of have an integrable common bound. Monotone convergence after adding this lower bound givesConsequently the logarithmic terminal wealth in a complete market isThe value may be if ; the displayed formula remains meaningful, while attainment by depends on the precise admissible claim class.
Past exam of the mathematics course of the University of Cambridge 2011 ia Paper 4 1E i Solution Created 2026-09-24 Updated 2026-10-14
Always true. If , injectivity of gives , and injectivity of gives . Thus the function composition is injective. For any , since is surjective, choose with . Since is surjective, choose with . Then , proving that the composition is surjective. Consequently is a bijection; its inverse function is .
Past exam of the mathematics course of the University of Cambridge 2011 ia Paper 4 1E Solution 2026-10-14
An inverse function of is a function satisfying bothThese are two-sided inverse identities. If , apply to get , so is injective. For every , the identity supplies a preimage, so is surjective. Thus is a bijection.
Past exam of the mathematics course of the University of Cambridge 2016 iii Paper 112 1 i Solution Created 2026-10-03 Updated 2026-10-06
Write for Lebesgue measure on . The Prékopa–Leindler inequality says that if and nonnegative measurable functions satisfythen their Lebesgue integrals satisfyIt suffices initially to take . Zero integrals give a trivial bound; infinite integrals can be handled by truncating and and applying the monotone convergence theorem. As usual, a zero factor makes the asserted lower bound zero.
Here is a one-dimensional proof using quantile functions. Put , , and let , , be the quantile functions of the probability density functions and . At almost every the quantile derivative identity givesFor completeness, these reciprocal derivative identities follow by differentiating the corresponding cumulative distribution functions at their Lebesgue points and then differentiating the inverse function relation. Sampling a quantile function at a uniform argument samples the density itself, so the exceptional set, including locations where the density vanishes or is infinite, has probability zero. Gaps in a density's support can give jumps in its quantile function; they do not invalidate the argument below.
The monotone function obeys the monotone substitution inequality:This form uses the ordinary derivative of a monotone function, rather than any jump or singular part: its weighted image measure is dominated by Lebesgue measure. One can see this first for intervals, where , and then extend to nonnegative measurable functions by simple function approximation. Thus no assumption of strictly positive smooth probability density functions is hidden in the proof.
Using the hypothesis and the weighted arithmetic-geometric mean inequality, we obtainIntegrating over proves the one-dimensional Prékopa–Leindler inequality.
For higher dimensions, use mathematical induction and Tonelli theorem. Write and setApply the one-dimensional Prékopa–Leindler inequality to the last-coordinate slices, with . It givesApply the induction hypothesis in and use Tonelli theorem once more. For finite total integrals, infinite slice integrals occur only on null sets and may be replaced by zero there; this only weakens the displayed premise. If the data are only Lebesgue measurable rather than Borel measurable, the exceptional nonmeasurable slices can be handled in the same way for , and by setting on its exceptional null set. The total integrals are unchanged, and the slice premise holds everywhere it is needed. The result therefore holds for general nonnegative measurable functions.
Past exam of the mathematics course of the University of Cambridge 2018 iii Paper 210 1 Solution Created 2026-10-03 Updated 2026-10-05
For , the nearest neighbour distance is the th order statistic of . Each has continuous distribution function on . The probability integral transform makes independent and identically distributed random variables with the uniform distribution on . Monotonicity of gives , a uniform order statistic. Strict monotonicity is not needed at this stage.
For , counting observations below givesDifferentiating and cancelling consecutive terms gives the Beta distribution:The Gamma function identity identifies this with the stated normalization. Ratios of Beta function integrals yield the momentsThis is the probability content of a nearest neighbour ball identity, specialized to intervals on the real line.
Now write . The Lipschitz bound givesThusStrict positivity of the probability density function makes continuous and strictly increasing from zero to one, so its inverse function is defined for every .
For the requested conditional calculation, suppose . At the preceding bound givesTherefore , and substituting in the approximation proves the inverse probability content bound for a Lipschitz density:The same argument works, without , on the meaningful local range with .
Since the nearest neighbour density estimator obeys , its conditional bound follows from the Beta distribution moments:Hence, under the printed location condition,The conditional inverse function bound also bounds , so the expected value in this calculation is finite under those formal hypotheses.
There is, however, a genuine flaw in the original PDF: the printed condition has no admissible points when is strictly positive on all of . A probability density function on all of cannot have Lipschitz constant zero, so . Its Lipschitz bound forcesIntegrating this triangular lower envelope gives the Lipschitz density height boundThe inequality is strict because the probability density function has positive mass outside the finite interval. Thus everywhere. The last two conditional conclusions above are valid implications but vacuous as printed. Dropping strict positivity gives only , with equality forcing the entire probability density function to be the normalized triangular envelope. The local inverse bound does not justify replacing the printed condition by its reverse in the final expected value bound, since ranges over all of .
Past exam of the mathematics course of the University of Cambridge 2024 iii Paper 202 4 b Solution Created 2026-09-24 Updated 2026-10-03
LetThe clock is an absolutely continuous function and is strictly increasing: its derivative is positive away from the Brownian zero set, which has zero Lebesgue measure. It also tends to infinity. This is immediate for ; for , recurrence and the Strong Markov property imply that the Brownian occupation time of, for example, is unbounded, while the integrand is bounded below there by .
Thus is continuous, strictly increasing, and maps onto itself. Its inverse function is finite, continuous, and strictly increasing.
Preimage 2026-10-14
For a function and a subset , its preimage isIt is a subset of the original domain of a function. The notation does not require an inverse function: the preimage of a singleton set can have no members, one member, or many members. In the finite example, , and . The preimage of a singleton set is also its fiber of a function.
For subsets , preimages preserve both unions and intersections:For the intersection, the same input belongs precisely when its single output belongs to both and . There is no opportunity to choose different witnesses, which is what made the image counterexample fail. The identities also hold for arbitrary families of output subsets.
In the finite example, choose and . ThenThe intersection of the two preimages is exactly the same set . Complements are preserved with respect to the appropriate source and target sets:For example, the unused output three contributes no extra input: with , both sides of the complement identity are . See Lebl, Proposition 0.3.15: preimages of unions, intersections and complements.
This makes preimages useful for transporting conditions. The solution set of is , and a zero set is a preimage of zero. Requiring two output conditions takes the intersection of their preimages. In topology, a continuous function pulls every open set back to an open set; a measurable function pulls the specified measurable sets in its codomain back to measurable sets in its domain of a function. These definitions use preimages because their set operations remain consistent even when the function is noninjective.
Primitive recursive pairing function Created 2026-10-06 Updated 2026-10-14
A primitive recursive pairing function is a pairing function whose encoding function and both coordinate functions of its inverse function are primitive recursive functions. Thus the bijection can be used in either direction inside a construction by primitive recursion and function composition in recursion theory. A decoder that is merely a computable function would not establish this stronger closure property. Sutner's definition of a primitive recursive pairing system explicitly includes the decoding functions; his more general systems need only be injective, whereas a pairing function here is a bijection.[ref]
https://www.cs.cmu.edu/~cdm/resources/02-coding.pdf. Klaus Sutner, Primitive Recursion, slide 9: primitive recursive encoding and unpairing functions
The Cantor pairing function is a primitive recursive pairing function. For its encoding, construct the triangular numbers directly by primitive recursion:Since addition is primitive recursive, so are and by primitive recursion and function composition in recursion theory. This establishes the claim without treating division by two as an unexplained primitive operation.
For decoding, use bounded minimization to defineThe bound is valid for every natural number : , so the candidate always succeeds. The search includes zero; when , it immediately returns . If , the preceding candidate failed, which gives ; when , that lower inequality follows from . Thus this search finds exactly the diagonal in the Cantor pairing function inverse, withThe comparison is primitive recursive, and bounded minimization of a primitive recursive predicate is primitive recursive. Therefore is a primitive recursive function. Recover the coordinates byIn constructions on the natural numbers, implement these subtractions using the primitive recursive operation : apply the predecessor function times to by primitive recursion. On these inputs it agrees with ordinary subtraction, since the diagonal inequalities imply . Consequently and are primitive recursive functions, and . Zimmermann proves the relevant closure under bounded minimization and the primitive recursive character of the Cantor encoding and coordinate decoding; his convention adds the first coordinate, so its coordinates are exchanged relative to here.[ref]
https://tore.tuhh.de/bitstream/11420/1312/1/book.pdf. Karl-Heinz Zimmermann, Computability Theory, §2.3, Proposition 2.26 and Propositions 2.32–2.34, printed pages 18 and 21–22
For a worked bounded minimization, take . Candidates give , none exceeding . Candidate gives , so , , and . The search bound was ; it terminates much earlier in this example. The bound proves membership in the primitive recursive functions; it is not a claim that scanning all candidates is the fastest implementation.
For each fixed , define a tuple encoder byEach and each coordinate decoder is primitive recursive, by finitely many applications of function composition in recursion theory to . For the three-entry tuple encoded as , applying returns , applying returns , and then , . The tuple length remains part of the agreed convention, as explained for a general pairing function.
This makes primitive recursive pairing functions useful for encoding several evolving values as one state in primitive recursion. For example, store consecutive Fibonacci numbers as and update byThe codes start , decoding to . Every step uses primitive recursive encoding, decoding and addition; a single numerical state therefore carries the two values needed for the next step. This is also the reason a suitable Gödel numbering should permit sufficiently simple decoding: representation should preserve the class of functions being studied.
Quantile function Created 2026-09-24 Updated 2026-10-14
The quantile function converts a cumulative probability level into a value. For a cumulative distribution function and , use the generalized inverseIt selects the first threshold reaching the requested level. The infimum handles jumps and flat portions, so this construction does not require an ordinary inverse function. Other endpoint conventions are possible at or ; the open probability interval avoids those issues. NIST introduces the inverse-direction question as the percent point function. [ref]
https://itl.nist.gov/div898/handbook/eda/section3/eda362.htm. NIST: cumulative distribution and percent point functions
.For the finite example under probability distribution,Thus , , . The value at is still zero, because already reaches that level. For on , the quantile function is , giving .
A median is a central threshold; supplies one, though a median need not be unique. The same quantile function becomes a sampling algorithm through inverse transform sampling. Jumps in become flat bands in , precisely the mechanism needed to assign positive probability to one outcome.
Restriction (mathematics) 2026-10-14
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.





