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.
A reference-junction temperature sweep tests a thermocouple measurement system by varying its connection-region temperature while holding the thermocouple measuring junction at an independently known, stable temperature. The intended invariant is the inferred measuring-junction temperature after cold-junction compensation; the raw electric potential difference is expected to change.
Let be the thermocouple reference function, the fixed measuring-junction temperature, the actual terminal temperature and the reference-sensor reading. In an ideal matched readout,If , the sum inside the inverse function stays equal to throughout the sweep. This tests the thermal reference and the compensation calculation together; it does not require the raw signal to be constant.
A primary design verification by Mike Beckman and Luis Chioye places the ADS1118 board and reference connections in a temperature-controlled environment, while the other end of the thermocouple remains in a stable bath. Its Figure17 keeps the USB interface outside that environment. The companion experiment instead varies the measuring-junction bath while holding the reference region near ambient temperature. These are different tests of the measurement chain.[ref]
Precision Thermocouple Measurement with the ADS1118 by Mike Beckman and Luis Chioye. Section7, printedpp.20–21, Figures17–20: two complementary temperature sweeps
For an original linear model only, stipulate with and a fixed measuring junction at . Raising the reference from to changes the raw signal from to . The appropriate reference correction changes from to , leaving the corrected sum at . No actual thermocouple material is assigned this constant coefficient.
If the reference sensor reads while the terminals are actually at , the same model reports . For a nonlinear reference function, first-order expansion givesprovided . A reference-sensor temperature error therefore need not transfer one-for-one to the final temperature at every operating point.
Log the raw readout, reference-sensor reading, independent bath temperature and inferred temperature separately. Plateau measurements test steady behaviour; deliberate ramps can expose cold-junction thermal coupling and finite settling time. Reversing sweep direction can help distinguish reproducible offsets from lag. Maintaining a stable bath and adequate immersion remains necessary: a drift in the measuring junction would otherwise be confounded with reference compensation error.
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.
Series reversion Created 2026-09-29 Updated 2026-11-05
Series reversion constructs the power series for a local inverse function. If with , substitute into the original power series and compare coefficients. The linear coefficient determines ; each later coefficient enters linearly after the earlier ones are known. This also defines reversion of a formal power series, independently of convergence.
For example, givesSubstitution makes the coefficients of and cancel. The exact local inverse verifies the calculation. The general coefficients through cubic order are derived under cubic series reversion.
For an analytic function with nonzero derivative, the inverse function theorem supplies an analytic local inverse, so the reverted series converges sufficiently near the base point. If the linear coefficient vanishes, an ordinary inverse power series may fail: instead needs a choice of square-root branch and a fractional scale.
Take , the nonnegative integers, and , the positive integers. Choose the injectionsHere is an inclusion map, while reaches only the positive even integers. In particular, is not a bijection: it misses every positive odd integer. Simply using the inverse function of on its image misses input zero.
The remedy is to follow the alternating injections starting at the missing input zero:The subscripts distinguish an input in from an output in , even when their numerical values agree. The resulting subset of is . Its sequence of members satisfies and , giving by mathematical induction. Define the function
The image covers all the positive members of exactly once. The other inputs cover exactly once by staying fixed. These output sets are disjoint and their union is , proving that is a bijection. In particular, , , , while and .
For completeness, its inverse function isThe familiar bijection also works, but this example shows something more specific: the two chosen injections can repair the missing zero by moving only a sparse sequence of inputs. The repair never has to shift the entire set.
Stereographic projection Created 2026-09-24 Updated 2026-10-18
Stereographic projection identifies a sphere minus one pole with the plane and supplies the standard charts of the Riemann sphere.
In the equatorial-plane convention of the Riemann sphere, draw the straight line through and a point on the unit sphere. Its intersection with the plane has complex coordinateThe inverse function, for and , isHere positive gives positive , and positive gives positive . Thus and lie on the positive and ends of the equator. The omitted north pole is assigned .[ref]
Topic 2 Notes. Complex Variables with Applications, MIT 18.04, Spring 2018; Topic 2 Notes, section 2.5.2, printed p. 7, projection formula and north pole
North-pole projection onto the equatorial plane: two real points and the positive complex-axis convention
. Details. For original worked points, the real numbers and lift to points with the same coordinate but opposite coordinates:Projecting back gives and . A point off the real axis checks the other sign:The coordinates satisfy , as a point on the unit sphere must. Also , and .
A short derivation starts with the line . Setting its last coordinate to zero gives , hence the projection formula. Conversely the line from to is . Substitution in the unit sphere equation givesThe root is ; the other root gives . These line intersections establish both the formula and its bijection property without guessing the inverse.
The same algebra explains how large planar distances become small spherical ones:Consequently brings to independently of direction. The last expression is twice the chordal metric distance . A whole unbounded exterior in the complex plane therefore becomes a small cap on the unit sphere.
Strictly decreasing function 2026-10-14
A real-valued function is a strictly decreasing function if every pair in its domain of a function satisfies . It is a nonincreasing function and is injective, with a strictly decreasing inverse function on its image of a function. Negating a strictly increasing function gives a strictly decreasing function: is an example on the real line, even though its derivative vanishes at zero. Equal outputs are forbidden, unlike for a general nonincreasing function.
Strictly increasing function Created 2026-09-24 Updated 2026-10-14
A real-valued function is a strictly increasing function if every pair in its domain of a function satisfies . It is therefore injective, and each output has at most one preimage. Its inverse function on its image of a function is also strictly increasing. Every strictly increasing function is a nondecreasing function; the converse fails when outputs repeat.
The polynomial is a strictly increasing function on the real line, although its derivative is zero at zero. Indeed, for ,because can vanish only when . Thus a positive derivative everywhere is sufficient on a real interval, but is not necessary for a strictly increasing function.
Strict monotonicity does not ensure continuity: for and for is a strictly increasing function with a jump discontinuity. Its image of a function omits , so the inverse function exists only on the actual image of a function, rather than on all the real numbers.
Surjective function Created 2026-09-24 Updated 2026-11-05
A function is surjective when every element of its codomain occurs as a value: for each there is an with . Equivalently, its image is all of .
For example, is surjective as a function , but not as a function , since negative values are missed. A surjective function may identify different inputs. Together with injectivity, surjectivity gives a bijection and hence an inverse function.
Thermometer Created 2026-10-14 Updated 2026-10-14
A thermometer measures temperature through a physical response whose relation to temperature is known. Examples include the length change from thermal expansion, a change in electrical resistance, and the pressure of a gas thermometer. If the response function is an injective function over the working range, its measured value determines through the inverse function. Thermometer calibration establishes that relation for the particular instrument and measurement conditions. Two matching readings are meaningful only after calibration to a common scale and with the probes sampling comparable equilibrium states. [ref]
https://openstax.org/books/university-physics-volume-2/pages/1-2-thermometers-and-temperature-scales. Ling, Moebs and Sanny, University Physics Volume 2, section 1.2: physical responses used in thermometers
For a contact thermometer, the sensing part must reach thermal equilibrium with the region being measured. That region may differ from the rest of the object: an immersed probe near a heater can read a local temperature while the surrounding water remains cooler. A stable reading can also be a steady state set by competing heat transfer paths to the sample and the room. Good contact, adequate immersion, mixing where appropriate, and checks for spatial differences help establish which temperature the reading represents. These are measurement controls inferred from the thermal equilibrium requirement, not a guarantee that every flat trace is equilibrium.
A thermometer also changes the sample it touches. Consider an original toy calculation with an initially uniform sample at , a probe at , and constant whole-body heat capacities and . Suppose together they form an isolated system, with no work or phase transition and negligible contact energy. The first law of thermodynamics and thermal equilibrium giveThe final thermometer reading underestimates the sample's original temperature by about , although it correctly measures their new common temperature. The disturbance becomes small when the participating probe heat capacity is small compared with the sample's. A large controlled heat bath is a different limit: it supplies or removes heat while approximately maintaining its own temperature.
Waiting time is a separate issue from disturbance. Under a toy Newton's law of cooling model for a uniform probe in a maintained heat bath, a constant contact conductance givesThe time constant controls this exponential decay. For stipulated values , and , the probe reads about after one time constant and after three. These are calculated values, not an instrument specification or measured data. Real probes may have multiple relaxation times and additional heat transfer paths; choose an equilibration criterion from the required accuracy, rather than assuming that a fixed waiting time works universally.
Two stereographic charts on the circle 2026-10-14
Take the circle with its subspace topology. Write for its west point and for its east point. Two coordinate charts obtained by stereographic projection areBoth take values in the entire real line. Geometrically, join to and intersect the resulting line with : the height is . Projecting from instead gives height . Each projection omits its own starting point, but the other coordinate chart includes that point. Hence .[ref]
To verify the homeomorphisms, solve the displayed equations for . The inverse functions areEach formula lies on the circle, avoids its excluded point, and is continuous for every real argument. Substitution into the projection formulas returns or ; substitution in the other direction returns . Thus these are continuous bijections with continuous inverse functions, as required for coordinate charts. Since the Euclidean plane is Hausdorff and second countable, the subset with its subspace topology is too. This checks all three conditions for a topological manifold, rather than just drawing a smooth-looking curve.
On the overlap , both are excluded, so . Using , the topological transition map isFor example, has and . The two connected components of the overlap, the upper and lower arcs, correspond to the positive and negative parts of the punctured real line. The values and represent and , respectively, and belong to only one chart each. The reciprocal coordinate change and its inverse function are smooth functions away from zero, so this topological atlas also supplies a smooth atlas.
Why can neither chart be enlarged to a single coordinate chart on the whole circle? The circle is a closed set and a bounded set in the Euclidean plane, hence compact by the Heine-Borel theorem. A global coordinate chart would give a homeomorphism to a nonempty open set . Its image would be compact and therefore closed in the real line. By connectedness of the real line, this forces , which is not compact. This is the one-dimensional instance of no compact manifold has a single Euclidean chart. Locally the circle is indistinguishable from the real line; globally compactness obstructs a single chart.
Unitary operator Created 2026-09-24 Updated 2026-11-05
A unitary operator is a surjective linear isometry between complex inner product spaces. It preserves every inner product, not just the norm of a selected vector:Its adjoint operator is its inverse function, soFor an operator on one space, both identities have the same identity operator on the right. In finite-dimensional orthonormal bases, its matrix is a unitary matrix; the real counterpart is an orthogonal transformation.
Surjectivity matters in infinite dimension. An isometric embedding can satisfy without satisfying : a proper image leaves some vectors outside its range. A unitary operator instead gives a reversible change of orthonormal coordinates, preserving all lengths and orthogonality.



