For a real function on and functions bounded in absolute value by one,First apply Cauchy-Schwarz inequality in to remove , duplicating . Apply it in to remove , duplicating . Finally apply it in to remove the four factors, duplicating . The resulting eighth-power bound is exactly the eight-factor average defining the three-dimensional box norm. Functions depending on just one coordinate, or constants, can be incorporated in any of the three pair factors.
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
Parametric equation 2026-10-13
A parametric equation expresses coordinates as functions of one or more independent parameters. For example, , describes a circle; multiple parameters describe surfaces. A smooth curve is a differentiable single-parameter realization. A reparametrization changes the parameter without changing the geometric image.
Partial derivative Created 2026-09-24 Updated 2026-10-14
A partial derivative measures the local response of a function to one input while its other inputs stay fixed. For a function on an open subset of , its partial derivatives at are the limitswhen the respective limits exist. Each is an ordinary derivative of a one-variable slice: or . This is why the other variable is treated as a constant during partial differentiation.[ref]
4.3 Partial Derivatives. Calculus Volume 3, §4.3, definitions (4.12)–(4.13) and the one-variable slice interpretation
For an original example, take the polynomial functionHolding fixed gives , while holding fixed gives . At , the height is and the two partial derivatives are and . The values answer different experiments on the same mathematical model: change alone, or change alone.
The two exact slices through that point areDividing either height change by gives or ; taking the limit recovers the two slopes. At , the finite height changes are and , although their linear approximations are and . A derivative measures the limiting response, rather than an exact finite change.
Two coordinate slices through one point give different partial derivatives
. Original contour plot of , with the point and coordinate paths. The right panel compares the exact slice height changes and with their tangent line predictions and . Both slices pass through height . Details.For a function of variables, varies only its th coordinate: it is the same difference quotient along , the th standard basis vector. This gives a practical sensitivity analysis: one can compare how a mathematical model responds to changes in its individual inputs, provided the chosen system of units and the quantities held fixed are stated. Comparing the numerical sizes of two partial derivatives in different units does not by itself identify a physically preferable input.
Existence of the partial derivatives at one point is weaker than differentiability. The example under partial derivatives do not imply continuity shows how both coordinate tests can miss a bad diagonal approach. When the first partial derivatives are continuous in a neighborhood, they do give differentiability there, allowing the total differential to combine all small input changes.
Partial differential equation Created 2026-09-24 Updated 2026-10-14
A partial differential equation relates an unknown function of several independent variables to its partial derivatives. For , the notation means changing time while holding position fixed; measures how its spatial slope changes. Unlike an ordinary differential equation, a partial differential equation can describe an entire evolving profile rather than a single trajectory.
The heat equation smooths spatial variations, the transport equation moves them, and Laplace's equation describes a spatial equilibrium. Here is a diffusivity, is a velocity, and is the Laplacian. The periodic heat and transport comparison makes the difference visible using identical initial conditions.
A partial differential equation usually supplies a local rule rather than a complete answer. For example, every satisfies the heat equation with zero PDE source term; data select which profile is relevant. A complete problem specifies its domain of a function, coefficients, initial conditions, boundary conditions, and meaning of solution of a partial differential equation. A well-posed problem has existence, uniqueness, and continuous dependence on initial data in stated spaces; the equation alone guarantees none of these.[ref]
Past exam of the mathematics course of the University of Cambridge 2001 ib Paper 1 10A Solution Created 2026-09-24 Updated 2026-10-14
Assume . On continuous functions on this compact interval, both proposed distances are finite and symmetric, and vanish on identical functions. For the supremum norm, zero distance plainly implies pointwise equality. For the L2 norm, if a continuous difference is nonzero at any point, it stays bounded away from zero on a subinterval of positive length. Its squared integral is then positive, so zero distance also implies equality.
For the first metric, the pointwise triangle inequality followed by the supremum gives . For the second, put , . The Cauchy-Schwarz inequality givesTaking square roots proves the required triangle inequality. Thus both are metrics.
The continuous-function space is complete in the uniform metric. If is a Cauchy sequence in , at each its scalar values have a limit , by completeness of the scalar field. Given , choose with for . Letting gives uniformly in . Hence there is uniform convergence. To see that the limit is continuous at , approximate it uniformly by one continuous and useThe outer terms can be made small uniformly, and the middle term is small near . This proves the needed uniform limit theorem and completeness.
For the second metric, let be zero on and one on ; its value at zero is immaterial to the integral. The supplied ramp functions are continuous and satisfyAlthough is not in the continuous-function space, the integral triangle inequality yields . Thus the sequence is Cauchy. If it converged in to a continuous , the same inequality would give . Continuity would then force on the negative half-interval and on the positive half-interval, contradicting continuity at zero. Therefore the continuous-function space is not complete in ; its limit in the larger L2 space is the discontinuous step.
Past exam of the mathematics course of the University of Cambridge 2001 ib Paper 1 11H Solution Created 2026-09-24 Updated 2026-10-14
Substituting in the homogeneous ordinary differential equation gives . ThusFor a Green's function decaying at the two ends, use on the side of zero and on the side of infinity. Their Wronskian is . The function must be continuous at , or its second derivative would contain a derivative of a Dirac delta. Its derivative jump must be one, to give the specified positive delta source. These two conditions yield the boundary-decaying Green kernel for an inverse-square differential operator:Its derivatives at the join are on the left and on the right, confirming the jump one. Away from the join each branch solves the homogeneous equation, and both endpoint conditions hold.
Integrate this Green's function against the forcing, whose support is between zero and one. For ,For , only the right branch contributes. ThereforeOn the first branch, and , so . The second branch is a multiple of the homogeneous solution , so its forcing is zero. At , both and agree, with values and , so there is no additional delta source. Finally as and as . A homogeneous solution obeying both boundary conditions has , establishing uniqueness.
Past exam of the mathematics course of the University of Cambridge 2001 ib Paper 1 1A ii Solution Created 2026-09-24 Updated 2026-10-14
Not uniformly continuous. ChooseTheir separation is , while and . Thus the function values stay distance two apart, contradicting uniform continuity. Boundedness of the function does not prevent increasingly rapid oscillations.
Past exam of the mathematics course of the University of Cambridge 2001 ib Paper 1 1A Solution 2026-10-14
A function is uniformly continuous ifThe crucial point is that works throughout the interval, not just near one chosen point.
Yes, it is bounded on the closed unit interval. Choose for , and choose finitely many grid points such that every is within of some . Then , a finite bound. Equivalently, uniform continuity implies continuity, and a continuous real function on a compact set is bounded.
Yes, a bounded derivative gives uniform continuity on the half-line. If , the mean value theorem gives . This is a Lipschitz condition, so for use . If , the function is constant. As usual for a derivative on this closed half-line, continuity at its endpoint is included.
Past exam of the mathematics course of the University of Cambridge 2001 ib Paper 1 2H Solution Created 2026-09-24 Updated 2026-10-14
For the real even function, let . Fourier orthogonality gives for and . ConsequentlyFor an even square-integrable function, the complete Fourier cosine series converges in the L2 norm; hence its norms converge. Taking proves Parseval's identity in the required normalization:This limit argument avoids multiplying an infinite series without a justification of L2 norm convergence.
For the quadratic function, the Fourier coefficients areThe last equality follows from two integrations by parts, using . ThusThis Fourier series is absolutely convergent; the periodically extended quadratic is continuous, so it represents its values also at the endpoints. Substituting its coefficients into Parseval's identity gives
Past exam of the mathematics course of the University of Cambridge 2001 iii Paper 58 2 Solution Created 2026-10-03 Updated 2026-10-14
Write the spline interpolation operator as , where samples at the interpolation sites and synthesizes the normalized B-spline expansion. Sampling has operator norm at most one, and nonnegative B-splines with sum at most one give . HenceHere the matrix norm is the maximum absolute row sum. Existence of the inverse matrix requires the usual ordered distinct interpolation sites and the Schoenberg–Whitney theorem support conditions, with endpoint values interpreted by their one-sided limits. If the displayed diagonal condition is read without the implicit ordering and distinctness, it is insufficient: all three sites equal to in the quadratic example give positive diagonal entries but three identical rows. The estimate applies whenever the interpolating linear map in the question is defined uniquely.
For the quadratic Bernstein basis, , and . Sampling and inverting giveThe three cardinal Lagrange interpolation polynomials areThe Lebesgue constant of interpolation gives the exact operator norm: the upper bound follows from . To attain it at a maximizing point, prescribe at the three sites the signs of the corresponding cardinal polynomials and extend those values by a continuous piecewise linear function of norm one.
On , the first two cardinal polynomials are nonnegative and the last is nonpositive. Since their sum is one, their absolute sum is . Its maximum is at . Reflection gives the same maximum at on the other half. In particular the data produce , attaining . ThusThe coefficient estimate loses cancellation among the B-splines, which explains why it is not sharp for the resulting function norm.
Past exam of the mathematics course of the University of Cambridge 2001 iii Paper 58 3 Solution Created 2026-10-03 Updated 2026-10-14
The Korovkin theorem says that a sequence of positive linear operators on continuous functions on converges uniformly to the identity on every continuous function if it does so on , and . Necessity is immediate; the quadratic barrier argument establishing sufficiency is given in Solution 6.
There is an endpoint misprint in the original PDF: the repeated knots at the right end must equal , not . Otherwise the advertised nondecreasing spline knot sequence on does not exist. Use the corrected clamped spline knot sequences, with fixed order and maximum gap . Let denote the number of B-splines for the th sequence. Nonnegativity and partition of unity show that the Schoenberg spline operator is positive and .
The monomial B-spline coefficients reproduce the first two nonconstant test polynomials. PutThe pair sum uses , as in the PDF; the converted TeX incorrectly includes . Every sampling point and every knot entering these coefficients lie in , whose length is at most . Thus . Also all these numbers belong to , soThe positive B-spline weights giveTogether with , the three limits proveUnder the usual interior knot multiplicities at most , the splines are continuous and the quoted form of the Korovkin theorem applies directly. If full interior multiplicity is allowed, the output can be discontinuous. The same positive-operator quadratic barrier proof still works with bounded output functions and the supremum norm, and proves exactly the stated uniform error limit without asserting continuity of each output. Indeed the stronger local-support error bound for a Schoenberg spline operator, , follows by comparing with each active sample value. The restriction is needed for the displayed quadratic reproduction argument, not for this direct support estimate.


