For the first recurrence relation, the master theorem compares with . Since , the recursive leaves dominate and the answer is . More explicitly, the work at depth is , a growing geometric series that stops at depth , where its sum has that order.
For the second recurrence relation, each step subtracts two and adds one until reaching a base case. For integral there are steps, so and the answer is .
The third set of printed requirements is inconsistent. The specified base values and its recurrence relation give identically, as strong induction immediately verifies: . In particular , while the extra condition demands . Thus no function satisfies all the printed conditions. Dropping that extra inequality gives .
The likely intended growth calculation can nevertheless be made precise, without treating it as a solution of the contradictory data. On dyadic arguments put . Its equation has the general formbecause has characteristic equation . The printed values force . With suitably different initial values, the condition for arbitrarily large instead requires , hence and , or . That last order describes corrected initial data, not the paper as printed. All three bullets belong to this single marked part.
Use bisection on when the derivative is cheap and a bracket is easy to obtain. For a differentiable convex function, is nondecreasing, so such a bracket locates a global minimum, allowing a flat minimizing interval. Without convexity, first isolate a region containing the desired local minimum; arbitrary stationary points need not be minima.
Use golden-section search when reliable function values are available but derivatives are unavailable or expensive. It needs a bracket on which the objective is a unimodal function, commonly found by three ordered points whose middle value is below the two outer values. Those inequalities alone do not prove that the objective is a unimodal function. A convex function supplies the needed shape; for a nonconvex objective, isolate an interval on which it is a unimodal function.
Both methods have linear convergence of bracket width. Bisection contracts the width by per new derivative evaluation. Golden-section search contracts it by per new function evaluation after initialization, reusing one earlier value. Choose by evaluation cost and bracket availability as well as this contraction factor: comparing iteration counts alone can misidentify the faster method.
Use an abstract data type with two total count functions, , where and . counts incoming payments and outgoing payments. Initially for every valid user. A user without a stored record is therefore observable as two zero counts; no separate registration operation is necessary.
The explicit bound matches the source's
Int record fields. Increment operations require space in the relevant count, so no integer overflow is permitted. An unbounded mathematical counting abstract data type would instead require an arbitrary-precision representation or an explicit overflow policy. The large user domain does not require allocating a record for every user: a sparse map with a default value can realize these total functions.Every operation requires . The queries have postconditions “return ” and “return ” respectively, leaving both functions unchanged. An incoming increment additionally requires and hasThe outgoing increment analogously requires , increments only , and preserves . These frame conditions prevent an implementation from accidentally changing another user's count. Here a subscript zero denotes the old program state.
trait Payments {
// All methods require 1 <= user && user <= 99999999.
// Queries leave the abstract state unchanged.
def incoming(user: Int): Int
def outgoing(user: Int): Int
// Require the corresponding old count < Int.MaxValue.
// Increment only that user's named count by one.
def recordIncoming(user: Int): Unit
def recordOutgoing(user: Int): Unit
}The preconditions and postconditions are part of the formal specification; the trait's type signatures alone cannot express all of them. The implementation below uses checked
require calls for the relevant invalid operations.For each table index , let be the set of non-null nodes reachable by following
next. A sufficient representation invariant is:- The array has exactly buckets, and every bucket heads a finite acyclic linked list.
- The sets are pairwise disjoint, so one physical node cannot belong to two buckets.
- Every reachable node has a valid user identity, lies in bucket
hash(node.user), and has both counters between zero andInt.MaxValue. - User identities are unique among all reachable nodes, not merely within a single chain.
The abstraction function maps these nodes to the total functions of part (a): if the unique node for exists, and are its fields; otherwise both are zero. A stored record with two zero counters is harmless and has the same observable meaning as an absent record. This intentionally permits multiple concrete representations of the same abstract program state.
Initially every bucket is null, so the representation invariant holds and the abstraction function yields all zeros. The successful-update branch preserves every structural condition; the insertion branch creates a fresh node with a previously absent identity in its correct bucket. Both branches realize exactly the incoming-increment postcondition, demonstrating correct operations through an abstraction function.
Let denote the non-null nodes reachable from the head. The representation invariant requires a finite acyclic null-terminated linked list and pairwise distinct names among its reachable nodes. Names and numbers retain the interface's string data type interpretation; no ordering of names is required.
The abstraction function is the finite partial functionName uniqueness makes this a function, rather than a relation assigning multiple numbers to one name. Initially
list == null, so and the abstract book is empty. Unreachable allocated nodes are outside this abstract state.A sufficient representation invariant is:
The abstraction function isThe last two conditions ensure each representative is a genuine member of its own block and that the abstract function is idempotent function. Cells beyond
used are unconstrained and ignored. When used == 0, these conditions hold vacuously and the abstraction function yields the empty map. This is an explicit-key version of quick-find, rather than a parent-pointer disjoint-set forest. Paul Garrett Created 2026-10-18 Updated 2026-11-05
Paul Garrett works on automorphic forms, L-functions, representation theory, harmonic analysis and number theory.[ref] These subjects bring together functions constrained by symmetry, linear actions of groups and analytic descriptions of arithmetic. His research and expository materials explore the interaction of those viewpoints.
Identity source: cse.umn.edu/math/paul-garrett
Portrait of Paul Garrett
. Peano zero Created 2026-10-06 Updated 2026-10-25
A Peano zero through order means that the function admits the zero Taylor polynomial with remainder at . This does not assert the existence of ordinary iterated derivatives on a neighborhood. For example, multiplying by a bounded continuous function with dense points of nondifferentiability preserves this estimate while destroying neighborhood differentiability.
Penrose-Ward correspondence 2026-10-14
A holomorphic vector bundle on an appropriate twistor domain, trivial on its space-time incidence lines, determines a complex anti-self-dual gauge gauge connection. Split its patching matrix on each line and apply the tangent vector fields . They annihilate the unsplit twistor patching matrix, so the two logarithmic derivatives of the factors agree and define a global degree-one function of . It is consequently . The inverse splitting bundle frame is parallel along each alpha-plane; commuting these parallel equations proves that the primed gauge curvature two-component spinor vanishes. Reality conditions recover unitary Euclidean gauge fields; Euclidean instanton bundles need triviality on the real twistor lines, not on every possible complex line.
Period average Created 2026-10-06 Updated 2026-10-14
The period average extracts the reference level of an integrable function that repeats. For a real- or complex-valued periodic function with positive period of a function , assume is Lebesgue integrable on every bounded interval. Its average isThe answer is independent of the starting point . Splitting a shifted interval at the old endpoint and using moves its extra piece back into the missing piece. The interval length must be a period; an arbitrary window can give a different average.
For , every length-one window has average : both oscillating integrals vanish over that window. A half-unit window instead has average , which depends on its start. Thus a short sample of an oscillation can bias an estimate of its reference level even when the full-cycle average is known exactly.
In the complex Fourier series convention with basis , the zero-frequency Fourier coefficient is . This assertion defines the coefficient even when an additional convergence theorem is needed to reconstruct from its series. Strang's §4.1 explicitly identifies that constant coefficient with the average.[ref]
Fourier Series for Periodic Functions. §4.1; pp. 317
Averaging a square measures something different from averaging its original function. For the illustrated , orthogonality of the trigonometric terms gives , whereas . Its root mean square is therefore . Similarly, the period average of is . A zero mean need not imply a zero mean square.
Periodic domain Created 2026-09-24 Updated 2026-10-14
A periodic domain identifies opposite faces of a fundamental cell, producing a flat torus. On an interval , smooth periodic boundary conditions require and matching spatial derivatives. These endpoints are one location, rather than two independently controlled walls. Periodic integration by parts has no boundary term, and zero-mean functions have no zero Fourier mode.
Periodic extension Created 2026-10-20 Updated 2026-10-25
For , values of a function on a half-open interval determine its periodic extension to the real line: choose the unique integer with and set . The resulting periodic function has period . If the endpoint limits of differ, the extension has a jump discontinuity at every period boundary. Under the usual piecewise-smooth convergence hypotheses, its Fourier series takes the average of the two one-sided limits there; an assigned value at an isolated endpoint does not change the Fourier coefficients.
Periodic function Created 2026-09-24 Updated 2026-10-14
A periodic function repeats exactly after a nonzero shift of its input. For , a positive period of a function satisfiesOne interval of length therefore determines the whole function. For another domain of a function , a period must also preserve the domain, ; equality only where two domains happen to overlap is weaker. Periodicity is an exact translation of a function symmetry, rather than merely two similar-looking pieces of its graph.
The sine has fundamental period one. The function repeats after half a unit: the sine changes sign under that shift, but squaring removes the sign. The mixed function again has fundamental period one. All positive integer multiples of a period are periods, so specifying one period need not identify the shortest repetition.
If the input is time and is the fundamental period, the frequency is and the angular frequency is . Repetition lets a Fourier series describe a cycle using sines and cosines; the period average separates the reference level from the oscillating terms. Strang develops this representation and its Fourier coefficients in §4.1 of Computational Science and Engineering by Gilbert Strang.[ref]
Fourier Series for Periodic Functions. §4.1; pp. 317
This connection grew out of a physical problem. In his 1822 book Théorie analytique de la chaleur by Joseph Fourier, Joseph Fourier used periodic functions to extend profiles beyond their initial interval while treating heat conduction. Chapter III, §§233–234 combines even functions and odd functions into sine–cosine expansions and rescales their period.[ref] A modern Fourier series interpretation still requires the appropriate convergence conditions.
A constant function has every real shift as a period and no fundamental period. Without continuity, even a nonconstant periodic function can lack a smallest positive period; periodic function without a least positive period gives a concrete example. The period group of a function organizes all these possibilities.
Define the indicator function of the rational numbers on the real line by for rational and otherwise. Every rational shift preserves rationality and irrationality, so every nonzero rational number is a period of a function. Conversely, an irrational shift sends from value one to value zero, so it is not a period. The period group of a function is exactly , and the positive periods approach zero without a smallest one. The function is nonconstant and discontinuous everywhere; this is why continuity matters in continuous periodic functions have a least positive period.
Periodicity Created 2026-10-25 Updated 2026-11-05
Periodicity is invariance of a function under a nonzero shift . Its domain of a function must be preserved by the shift and its inverse, and at every allowed function input. On the real line, both and have period .
For an angular coordinate on a full circle, single-valuedness requires -periodicity. For nonzero real , the functions and are -periodic precisely when is an integer: the phase must change by an integer multiple of . The zero-frequency case instead gives constant functions. Their Fourier series supply angular modes for the harmonic expansion on a disk.
Periodic modular exponentiation Created 2026-09-24 Updated 2026-11-05
For a unit modulo an integer modulus , the function , , is periodic. Negative exponents use the modular multiplicative inverse of .
If is the multiplicative order of , thenfor every integer . It is the least positive period: any positive period gives , so . For example, powers of two modulo seven repeat , and fits the same cycle.
The unit hypothesis matters. Powers of two modulo eight start on nonnegative integers; this whole sequence has no positive period from its starting point, and negative powers are undefined. Euler's theorem guarantees a return exponent for units, while the multiplicative order identifies the smallest one.
Periodic N-point rectangle-rule error Created 2026-10-03 Updated 2026-11-05
For a two-periodic function with an absolutely convergent Fourier series, use samples , . WriteDiscrete averaging of each Fourier mode givesThis grid works for both odd and even positive ; no half-integer summation endpoints are needed. If , , a geometric series bounds . The sign convention here is exact integral minus quadrature, whereas the normalized-average convention in periodic trapezoidal Fourier aliasing uses approximation minus exact average.
Periodic phase change of a scaling function 2026-10-06
If a periodic unimodular function and its inverse have absolutely summable Fourier coefficients, replacing by preserves the orthonormal integer-translate span and integrability of an integrable scaling function. In physical space this is an absolutely summable combination of integer function translations. The new MRA low-pass filter is . A rough phase can therefore preserve the multiresolution analysis while changing MRA low-pass filter regularity.
Periodic upwind finite volume advection 2026-10-14
Consider the advection equation with constant speed , no sources, and periodic boundary conditions on . Use equal cells of width , time step , and indices modulo . The exact solution is the periodic translation . At a face, the Riemann problem transports the left state to the right, so the two-state upwind numerical flux is , with .[ref]
Riemann Problems and Jupyter Solutions by David I. Ketcheson, Randall J. LeVeque, and Mauricio J. del Razo. Advection, equations adv:advection and adv:solution, §The Riemann problem; Approximate solvers, §High-resolution methods: reduction to upwind advection
The finite volume method with this numerical flux and an explicit Euler method step givesHere represents a cell average; the recurrence also occurs in the upwind finite difference scheme. Impose the specific CFL condition . Each updated cell average is then a convex combination of two old ones. This proves preservation of their initial minimum and maximum, including nonnegativity for nonnegative data, and contraction of the maximum norm of the difference of two solutions on this periodic grid. These statements concern this constant-speed scalar update with this time step.
For an original synthetic example, take , , , , hence Courant number . Choose a function constant on each successive cell, with the following values, so these are exact initial cell averages. One step givesFor example, cell zero receives from cell seven across the periodic face: . All eight face transfers cancel in the total by shared face flux cancellation. More generally this periodic recurrence conserves the total algebraically for any , even though the CFL condition is needed for the convex combination argument. With the same initial data and , one step gives and , despite preserving the total.
Original periodic upwind profile at zero, one and four steps: the integral remains three quarters while jumps spread
. Details. After four steps, , the exact translated profile has moved two cells to the right. Repeated averaging instead gives the explicit binomial coefficient formulawith all indices modulo eight. The diagram compares these computed cell averages with the exact translated cell averages. Their integrals agree, but the numerical jumps spread across cells. The finite volume method is useful for jump discontinuities because it retains the integral balance even at a jump; conservation alone does not guarantee a sharp profile. At this particular update is an exact one-cell shift, whereas for it mixes neighboring states. No accuracy conclusion at a jump follows just from the conserved total.



