Simpson's rule Created 2026-10-14 Updated 2026-10-18
Simpson's rule approximates a definite integral by integrating the quadratic polynomial obtained by polynomial interpolation at two endpoints and their midpoint. For an interval with , write and . The three quadrature nodes are , and the quadrature rule is
Thus its quadrature weights are . Their sum is , as required for exactness on constant functions. This is the three-node Newton-Cotes closed quadrature; its degree of precision of a quadrature rule is three, even though the interpolating polynomial has polynomial degree at most two.[ref]
For an original worked example, take the cubic polynomial on the interval . Here and , so the function evaluations give
Simpson's rule gives
An antiderivative supplies an independent exact definite integral:
The quadratic polynomial through the same quadrature nodes is . It differs from between the quadrature nodes, but its definite integral agrees exactly. The picture shows why: the signed polynomial interpolation error has two lobes with opposite integrals.
Figure 1.
An original cubic and its quadratic interpolant have the same integral because the two interpolation-error lobes have signed integrals plus and minus 81 over 64
. Details.
Three function evaluations therefore capture more information about an integral than about the whole function. When an antiderivative is unavailable, composite Simpson's rule repeats this inexpensive local construction over a partition of an interval. For a sufficiently smooth function, halving the node spacing reduces its truncation error by approximately a factor of sixteen.
For , the function is Lebesgue integrable on exactly when . Near zero, , so absolute integrability is equivalent to that of , which requires . At infinity, gives the upper bound . For , on each interval ,
and the corresponding P-series diverges.
The signed improper integral nevertheless converges for every : near zero the same local comparison applies, and at infinity the Dirichlet test for improper integrals uses the bounded antiderivative of sine and the decreasing factor . Thus gives conditional convergence, while gives absolute integrability. In particular, substituting turns into the divergent tail .
Figure 1.
Conditional and absolute convergence have different thresholds for a sine power kernel
. The left panel assumes and excludes the open endpoints of each range. The right panel compares signed and absolute truncated integrals at , with a divergent harmonic lower bound. Details.
If the zero set of a differentiable function is a submanifold, the chain rule always places its tangent space inside . Equality follows from the full-rank hypotheses of the regular level set theorem, but may fail for a singular defining function even when the zero set itself is smooth. For , , the zero set is the single point . Its tangent space is zero, while has kernel . One should therefore check the constraint qualification before using the kernel formula.
For , every difference quotient at is nonnegative and bounded by . The spherical derivative of a singular measure vanishes, so the two-sided derivative is zero Lebesgue almost everywhere. A singular distribution function need not be constant: differentiation almost everywhere does not recover increments without absolute continuity of a function of the function.
For a divergence-free drift and a function with zero boundary Sobolev trace, integration by parts gives . Consequently the advection matrix in a conforming Galerkin method has zero quadratic form; its symmetric part vanishes. Adding a diffusion stiffness matrix gives a nonpositive spatial generator and a nonincreasing L2 norm in the semidiscrete advection-diffusion equation. The same identity holds with a suitable zero normal-flux boundary term instead of zero trace.
Skolem expansion Created 2026-10-05 Updated 2026-10-31
A Skolem expansion adjoins a Skolem function for every existential first-order formula. Iterating through the successively enlarged languages, and taking their union, gives a language with witness functions even for first-order formulas involving previously added functions. Starting from a language of size , the resulting language has size at most . A hull closed under its functions is a Skolem hull and is elementary in the expanded structure by the Tarski-Vaught test.
Skolem function 2026-10-05
For each existential first-order formula in a structure, a Skolem function selects a witness when one exists, with an arbitrary default when none exists. An expansion containing these functions satisfies
A subset closed under all such functions is elementary in the original language by the Tarski-Vaught test. Simultaneously choosing these functions is performed in the ordinary classical metatheory with choice.
Skorokhod J1 topology Created 2026-10-07 Updated 2026-11-05
On càdlàg paths on a compact time interval, convergence in this topology means that increasing continuous bijections of the time interval can be chosen converging uniformly to the identity, while the corresponding time-changed paths converge uniformly to the limit. At a continuous limiting path this reduces to uniform convergence. It is a standard topology for weak limits of accelerated discrete-time chains, whose paths are step functions.
Slowly varying function Created 2026-10-05 Updated 2026-10-14
A positive measurable function is slowly varying at infinity if
for every fixed . It has regular variation of index zero. “Slowly” concerns relative change under multiplication of the argument; it does not mean that the function must be bounded, have a small derivative, or converge to a finite value.
Every positive constant is a slowly varying function. So are , and for any fixed real number , on . Indeed,
The first grows without bound, the second tends to zero, and the constant does neither. Another unbounded example is :
This function can grow much faster than while retaining regular variation of index zero.
Even convergence is unnecessary. The bounded function
oscillates between and . It is nevertheless a slowly varying function: the change in the argument of the sine under is
and the Lipschitz continuity of the sine makes the logarithm of the ratio tend to zero. The sequences and give the two values and for every nonnegative integer , so there is no limit at infinity.
Contrast this with , which is positive and bounded but is not a slowly varying function. Fix . Along its rescaling ratio is ; along the ratio is . The persistent oscillations prevent even a limit for this one fixed rescaling. It is not regularly varying with any finite index either.
Figure 1.
Two bounded oscillating functions: logarithmic rescaling makes one ratio approach one, while the other keeps oscillating
. The horizontal coordinate is , and the fixed rescaling is . The displayed range illustrates the formulas; the limiting claims follow from the arguments in the text. Details.
The useful distinction is whether a fixed proportional change of input eventually produces a negligible proportional change of output. A slowly varying function can therefore preserve the scaling exponent of a power law while changing its magnitude substantially. The decomposition in regular variation explains why a logarithmic factor can matter in numerical estimates without changing the limiting exponent.
Smooth automorphic form 2026-11-05
A smooth automorphic form is an automorphic form whose archimedean variables are infinitely differentiable, without necessarily being holomorphic. Conventions differ over whether compact-group finiteness is included or one takes a larger smooth representation space. In the classical finite-vector convention on , one asks for left invariance under an arithmetic subgroup , moderate growth, finite-dimensional span under right translations by , and finiteness under the centre of the universal enveloping algebra.[ref]
The constant function on is an example: it is smooth, bounded, -invariant and annihilated by positive-order invariant differentiation. More interesting examples come from Maass forms, whose Laplacian eigenfunction condition replaces holomorphy. Smoothness is therefore a regularity requirement, not a claim that the Cauchy-Riemann equations hold.
Smooth convergence on a compact interval requires uniform convergence of the functions and of their derivatives of every order separately, as measured by the derivative seminorms. The need for several scales is visible in
For , because lies in . The derivative has supremum norm one for every , already at . Thus converges uniformly to zero, but fails the test for smooth convergence to zero. Andreas Buttenschoen, Applied Functional Analysis, spaces of continuous and differentiable functions discusses this example and the family of smoothness measurements.
Figure 1.
Shrinking function values coexist with derivative errors of size one
. Details.
More generally, for any fixed , has but for . If a norm induced the smooth topology, its continuity would give for some finite , while continuity of for would give . Substituting contradicts these two bounds. Smooth convergence therefore cannot be reduced to one norm. Its beauty is that every finite order can be controlled without fixing a final order in advance.
Smooth function Created 2026-09-24 Updated 2026-11-05
A smooth function has continuous derivatives of every finite order, usually denoted . For a function on an open subset of Euclidean space, this means every finite-order partial derivative exists and is continuous.
Every polynomial is smooth. Smoothness is weaker than being real analytic: the function for , extended by , is smooth and has every derivative zero at zero, but is positive elsewhere. Its Taylor series at zero therefore does not reproduce it on any neighborhood. The distinction matters when an argument requires convergence of a power-series representation rather than merely repeated differentiation.
Smoothing parameter Created 2026-10-06 Updated 2026-11-05
A smoothing parameter controls the amount of averaging or regularization in a fitted function. Increasing the penalty multiplier in a cubic smoothing spline discourages curvature and generally reduces effective degrees of freedom. Increasing a smoothing bandwidth enlarges local averaging neighbourhoods. Software may use a monotone transformed parameter such as spar, so its numerical value should not be confused with the raw penalty multiplier.
Smoothing spline Created 2026-10-05 Updated 2026-11-05
A penalized function estimate balancing a residual loss against an integrated derivative penalty. For squared-error loss and the second derivative roughness penalty, the estimate is a cubic smoothing spline. Higher derivative orders give other spline degrees.
Smoothness 2026-10-14
Smoothness describes the degree of differentiability of a function. The class has continuous derivatives through order ; a smooth function is of class .
Sobolev inner product Created 2026-10-25 Updated 2026-11-05
For real-valued functions, the inner product
on the H1 space induces its usual Sobolev norm. For complex-valued functions, use under the convention that the inner product is linear in its first argument. Omitting conjugation in the complex setting would fail positivity, for example on a purely imaginary constant function.
A real reaction-diffusion weak formulation with unit diffusion and unit reaction has this exact bilinear form. Its conforming Galerkin method is therefore an orthogonal projection and gives a best approximation with constant one in the first-order Sobolev norm.
Sobolev space Created 2026-09-24 Updated 2026-11-05
A Sobolev space measures a function together with specified weak derivatives in Lp spaces. For an open set , an integer and , define
The derivatives are understood through integration by parts against test functions, rather than by requiring classical differentiability at every point. The Sobolev norm makes this a Banach space; for , write , a Hilbert space.[ref]
For example, on belongs to even though it is not differentiable at zero: its weak derivative is and both functions are square-integrable. A step with a jump at zero does not belong to , because its distributional derivative is a Dirac delta, which is not an L2 function. This distinction admits corners while excluding jumps at first-order square-integrable regularity.
The Fourier transform extends the square-integrable scale to every real . With a unitary Fourier convention, consists of tempered distributions satisfying
For integer , this norm is equivalent to the weak-derivative Sobolev norm. Such spaces are natural for weak formulations of partial differential equations: a finite gradient energy can exist even when the prospective solution lacks classical second derivatives.
Software testing Created 2026-10-18 Updated 2026-11-05
Software testing executes a program under specified conditions and compares its behaviour with an expected result or property. A unit test may check one function; an integration test checks interacting parts; a regression test guards against recurrence of a known failure. For a sorting routine, useful properties include ordered output and preservation of the input multiset. Passing finitely many tests cannot generally prove correctness for every input. The choice of cases and the quality of the test oracle determine what evidence a test actually supplies.
A classical solution is a sufficiently differentiable function that satisfies a differential equation and any prescribed initial or boundary conditions. A weak solution instead satisfies an appropriate integral or distributional identity in a specified function space. For a smooth locally Lipschitz continuous vector field, an ordinary differential equation has a unique local solution for each initial state; this does not by itself ensure global existence or boundedness.
Solution surface 2026-10-25
The function graph of a scalar solution of a differential equation with two independent variables. For a first-order partial differential equation, the method of characteristics constructs it from lifted characteristic curves; invertibility of the projected parametrization is required for the surface to define a single-valued function.