Numerical integration Created 2026-10-03 Updated 2026-10-14
Numerical integration approximates a definite integral using finitely many sampled function values. For an integrand on a finite interval , , a quadrature rule has the formThe quadrature nodes tell us where to evaluate ; the quadrature weights turn those values into an approximation to the accumulated signed area. The exact definite integral depends on the integrand throughout the interval, whereas the quadrature rule sees only these samples. Integrating a chosen interpolant exactly still generally approximates the original integrand's integral.[ref]
5.6 Numerical integration. Definition 5.6.1 and §5.6.1, equations 5.6.2–5.6.5: weighted samples and integration of an interpolant
The fundamental theorem of calculus evaluates as when an antiderivative is available. Numerical integration is useful when no convenient antiderivative is known, or each evaluation of the integrand requires an expensive computation. The task then becomes choosing informative quadrature nodes and controlling the quadrature error with as few evaluations as possible. Fixed data also permit a quadrature rule, but refinement cannot supply new information between observations.[ref]
5.6 Numerical integration. Opening discussion, Example 5.6.1 and the paragraph following Definition 5.6.1: antiderivatives, numerical evaluation and fixed data
For an exact comparison, take the polynomial on . Its antiderivative gives . On a partition of an interval into equal panels, the composite midpoint quadrature rule uses midpoint samples, each with quadrature weight ; the composite trapezoidal rule uses endpoint samples, with outer quadrature weights and interior quadrature weights . The existing derivations under these two quadrature rules giveIn particular, and already bracket ; two panels give and . The convex function explains the opposite signs. A midpoint rectangle can cross the curve within its panel, so its total signed area, rather than pointwise ordering, determines the underestimate.
One and two panels for numerical integration of : midpoint and endpoint samples with their quadrature weights
. Details. Define the signed approximation error as . In this example the absolute errors are and : doubling reduces each by exactly four. A plot with both axes on a logarithmic scale therefore has slope , expressing order two with respect to panel refinement. This is an exact calculation for this polynomial, including , rather than an observed rate extrapolated from a few computed answers.
Exact absolute errors for midpoint and trapezoidal numerical integration of : slope and a factor-four reduction
. Details. For a general integrand, the composite midpoint quadrature rule and composite trapezoidal rule give second-order quadrature error bounds when has two continuous derivatives on and a known bound on . These hypotheses describe behavior between samples. A formal error formula containing an unknown derivative is not a numerical accuracy certificate or a justified sample count. Finite samples do not certify quadrature accuracy makes the missing information explicit. Errors in the evaluations and roundoff error must also be considered; noise sensitivity of a quadrature rule treats the former.
More elaborate choices exploit other information: Gaussian quadrature obtains high polynomial exactness from carefully chosen quadrature nodes, and Simpson's rule uses a quadratic interpolant. Adaptive numerical integration compares approximations and concentrates samples where they disagree, often saving evaluations. Such a difference is an error estimate, not a certified bound without further assumptions: both approximations can miss the same feature.[ref]
5.7 Adaptive integration. Fundamentals of Numerical Computation by Tobin A. Driscoll and others; §5.7.1, equation 5.7.4: a difference-based error estimate; §5.7.2: interval bisection; Example 5.7.2 and concluding discussion: requested accuracy is not guaranteed
Oblique derivative boundary condition 2026-10-14
An oblique derivative boundary condition prescribes a linear combination of the outward normal derivative and the tangential derivative on a boundary. Its strictly oblique case has a nonzero normal coefficient; a zero normal coefficient is a limiting tangential condition. Both trace directions must be tracked when constructing a global relation. On unbounded domains, regularity at corners and a growth condition at infinity are separate parts of an admissible boundary value problem.
Odd variational trial gives an excited oscillator bound Created 2026-10-06 Updated 2026-10-14
An odd trial state is orthogonal to the even oscillator ground state. Its Rayleigh quotient therefore bounds the first excited energy from above, unlike an arbitrary trial state. The kinetic quadratic form permits continuous compactly supported trials with derivative jumps.
Oil lens capillary balance 2026-10-14
For a broad, thin oil lens below a flat ice-water interface, define the effective interfacial energy from the relevant surface tensions. At fixed oil volume , the energy is . Setting its derivative to zero gives for , and the positive second derivative proves a minimum. A contact angle measured through the oil gives . Oil-ice tension alone does not determine this effective quantity. Complete wetting or rough underside pockets invalidate this finite, flat-lens approximation. With densities and , a lens below requires .
Both functions represent the same equivalence class. Fubini's theorem shows that the interval-mass function has derivative , so its difference from is constant. Continuity of a finite measure gives left continuity for and right continuity for . Their opposite one-sided limits differ by the measure atom . There are only countably many nonzero measure atoms, since every set of measure atoms above a fixed magnitude threshold is finite.
Optical path length Created 2026-10-05 Updated 2026-10-14
An optical path length measures how much propagation wave phase a path accumulates, expressed as the distance that would accumulate the same wave phase in vacuum. A centimetre in a uniform medium with refractive index has optical path length , although its geometric length remains . This makes optical path length useful whenever two contributions must arrive with matching wave phases, from an optical lens to a Michelson interferometer. [ref]
For a specified path at fixed angular frequency , the optical path length is the line integralHere is geometric arc length, and is the phase refractive index, evaluated at the same frequency everywhere. The propagation interpretation assumes a stationary linear medium with isotropy, a real positive scalar refractive index and negligible loss, on a valid geometrical optics branch. The path can curve; at sharp interfaces apply the appropriate matching conditions to each segment. A prescribed curve has a mathematical line integral, but it predicts a propagation wave phase only when it represents the physical branch. [ref] Optical fibers can require a mode wavenumber rather than the bulk refractive index along a guessed light ray. [ref]
Fix the vacuum wavelength , with frequency and vacuum wavenumber . In a locally uniform medium the wavelength is , while the frequency stays unchanged at a stationary interface. With the convention , propagation from a specified starting wave phase contributesThe relative reference includes launch wave phases and any extra wave phase from mirrors, beam splitters or coatings. Thus is a propagation contribution, not an absolute detector wave phase independent of the apparatus. If the reference contributions stay fixed, a change in optical path difference changes the phase difference by . Using the material wavelength again in this formula would count the refractive index twice. [ref]
Optical path difference in a Michelson interferometer: apparatus schematic and a calculated phase difference readout
. Details. A motivating measurement turns invisible optical oscillations into a slowly changing electrical signal. MIT's teaching experiment uses a laser, a beam splitter, two returning mirrors, an amplified photodiode, an oscilloscope and a calibrated mirror actuator driven by a function generator. The returning beams overlap on the photodiode; one channel records detector voltage and another the actuator drive. The measured observable is the changing light intensity, including its maxima and minima, rather than direct timing of an optical cycle. A calibrated displacement per drive voltage and the spacing of the extrema relate geometric motion to the phase difference. The guide infers the laser wavelength from known actuator calibration; conversely, with independently known vacuum wavelength and ambient refractive index, the same relation calibrates mirror motion. These two unknowns cannot both be inferred from fringe spacing alone. [ref]
For a proposed change-of-medium measurement, keep the mirrors fixed and put a transparent cell of internal length in one arm. Compare its contents at refractive indices and , leaving its windows in place. At normal incidence the two traversals giveHere is the signed number of whole interference fringe cycles plus any resolved fractional cycle, counted continuously. A mirror displacement instead gives ; distinguish this double-pass factor from a single pass in a Mach-Zehnder interferometer. OpenStax's gas-cell worked example provides the same double-pass reasoning; it is a teaching calculation rather than a published measurement dataset.[ref]
An exact toy calculation makes the sensitivity visible. Stipulate , and . Then and : a full interference fringe cycle, despite unchanged geometric lengths. For a continuous change , let and choose the initial detector phase difference to be zero. Equal coherent detected arm contributions of light intensity predictThe plot is this stipulated model: gives a minimum, restores a maximum, and the reference level is chosen by adjustment of the apparatus. It contains no measured values or assigned properties of a real gas. The equivalent mirror travel in vacuum is per cycle. A single endpoint light intensity cannot distinguish from ; the continuous fringe count carries the missing information.
For an interpretable cell measurement, establish the initial phase difference with a small calibrated mirror scan, then track slow changes through successive interference fringes. Measure the dark signal and each arm separately, keep photodiode gain within its linear range, align both beams on the same region and match their linear polarizations. Monitor interferometric visibility and keep arm delays within the useful optical coherence time. Record cell length, contents, pressure and temperature; return to the starting condition to check drift. Changes in window deformation, cell length, external air or mirror position also change optical path length, so a reference cell or an independently monitored mechanical path is needed to isolate the contents' refractive index. These controls are deductions from the model, not a claim that the illustrated apparatus was operated. Loss of fringe count leaves a whole-cycle ambiguity; at an intensity extremum the first derivative with respect to phase difference vanishes, so a scan around phase quadrature is more sensitive to small changes. Broadband illumination, unstable optical coherence, vibration and strong loss can invalidate a simple one-frequency inference.
Orbital derivative Created 2026-09-29 Updated 2026-10-14
The orbital derivative of a differentiable function along the autonomous system isIt is the ordinary derivative of along each trajectory.
Ordered-rate exponential M-step 2026-10-14
For observations from each of two labeled exponential distributions, an E-step may produce positive completed time totals . Its expected complete-data log-likelihood is . This is strictly concave. On the closed ordering constraint , its maximum is when ; otherwise it lies at . To see the boundary case, first maximize along the equality line. At that maximum, moving into either feasible rate-separating direction has directional derivative , so concavity proves global optimality. For the open constraint , this boundary value is a supremum rather than an attained M-step.
// Target: probability-and-statistics.bigb
Order of a zero of a differential 2026-10-05
If a local holomorphic -differential is , where , its zero order is . The order is unchanged by a holomorphic coordinate change with nonzero derivative. For a holomorphic one-form the cone angle is , and for a holomorphic quadratic differential it is .
Ordinary differential equation Created 2026-09-24 Updated 2026-10-14
An ordinary differential equation relates an unknown function of one independent variable to its ordinary derivatives. Its order is the highest derivative appearing. Thus is first order, while the harmonic oscillator equation is second order. A first-order equation in explicit form isHere need not be time, and can be a vector, giving a system of coupled ordinary differential equations. A classical solution of a differential equation is a sufficiently differentiable function on an interval which satisfies the equation at every point. For the explicit first-order equation, if is continuous, this solution of a differential equation has a continuous derivative.
For Newton's law of cooling, the state is a single temperature; for a second-order differential equation, a first-order system also records its first derivative. This is why a starting position alone does not specify a harmonic oscillator trajectory: its starting velocity matters too.
The power of an ordinary differential equation is that one rule describes a whole family of histories. An initial value problem chooses one history when uniqueness holds. An autonomous differential equation has independent of ; its equilibrium points satisfy and give constant solutions of a differential equation. Equations with explicit time dependence can instead respond to a changing environment.
Differentiating the Mehler formula for the Ornstein-Uhlenbeck semigroup proves the identity for continuously differentiable functions with bounded derivative. Density extends it to the Gaussian Sobolev form domain. Together with a weighted Cauchy-Schwarz inequality, it yields the Ornstein-Uhlenbeck entropy dissipation identity proof of the Gaussian logarithmic Sobolev inequality.
Parameter continuation 2026-10-14
Parameter continuation changes by a small amount and solves again for , using the previous solution as the initial guess for Newton method. If is an invertible matrix, the implicit function theorem gives a local solution branch , withLocal convergence of Newton method also needs regularity and a sufficiently small step: the cited result assumes a Lipschitz continuous derivative and an invertible at the seed.[ref]
Condition Estimates for Pseudo-Arclength Continuation by K. I. Dickson and others. §2.1, Corollary 2.1, printed pp. 264–265: Lipschitz continuously differentiable map, nonsingular state Jacobian, and a sufficiently small parameter increment
For the cubic polynomial,The derivative becomes unbounded at either continuation fold, and the scalar Newton method divides by there. Just beyond the upper continuation fold, no nearby real solution exists at the increased , although a distant negative- solution still exists. Converging to that solution would jump away from the local solution branch. Decreasing the parameter step cannot make a valid smooth local description at the bend.
For with positive and , differentiation cancels the logarithmic denominator and gives . Integrating this derivative expresses as a finite parameter-Laplace integral plus . The elementary lower bound gives the displayed remainder, smaller than every logarithmic term at fixed . Watson's lemma then determines all coefficients from the finite integral's endpoint Taylor series.
Parametric curve 2026-10-14
A parametric curve is described by a vector-valued map . Its derivative gives a tangent vector wherever it is nonzero.
// Target: geometry-and-topology.bigb
Parametric curve interrogation 2026-10-14
A parametric curve interface supplies its parameter domain, evaluation, and derivatives where they exist. Robust geometric algorithms also need restricted subcurves and certified range or derivative bounds on parameter intervals. Tangent, speed and curvature are derived from point and derivative enquiries when the relevant derivatives are regular. Finite point samples alone cannot certify the absence of every plane intersection of an arbitrary smooth curve.


