Neumann boundary-forcing formula Created 2026-10-05 Updated 2026-10-06
For with and , two applications of integration by parts against a Neumann eigenfunction give the boundary forcing . Solving the resulting modal linear differential equation gives
The endpoint derivatives are interior limits: the short-time singularity prevents evaluating each homogeneous boundary derivative before the time integral and infinite sum. The constant eigenfunction gives the weighted-mass law .
For a map on a Banach space, define wherever the bounded derivative is invertible. It solves the local affine approximation to . Every zero is a fixed point of . Near a zero with invertible derivative, bounded inverses and a locally Lipschitz derivative give the quadratic Newton error bound in a Banach space.
// Target: numerical-analysis.bigb
The Newton root-finding iteration seeks a zero of a function by repeatedly solving its tangent line approximation. At a current guess with derivative , set
Geometrically, follow the tangent line to the horizontal axis, then return to the function graph for the next tangent line. Close to a suitable zero of a function, the error becomes dramatically smaller.[ref]
For a concrete square root calculation, take the polynomial and start at . The Newton root-finding iteration becomes , giving
The errors use the unrounded iterates. After the first step, each iterate overestimates , and the exact identity
exhibits quadratic convergence: once close, the number of correct decimal digits roughly doubles per step. This speed makes the Newton root-finding iteration useful when accurate derivatives are available.
Figure 1.
Newton tangent steps toward a square root and a nonconvergent two-cycle
. Details.
Global convergence requires additional care. For the polynomial , starting at gives , , hence . Then , gives . The sequence repeats forever, although a real polynomial root lies in by the intermediate value theorem. Neither point in the cycle is a zero of a function, and neither has zero derivative. A maintained sign-changing interval and fallback bisection method can protect a root solver from unsuitable Newton steps.
Newton's second law Created 2026-09-24 Updated 2026-10-14
In an inertial frame, a point mass of constant mass obeys
The net force is the sum of all forces acting on that body; momentum, velocity and acceleration refer to the same reference frame. A force changes velocity, rather than sustaining it: zero net force implies constant velocity, including a nonzero one. Doubling the net force at fixed mass doubles acceleration; doubling mass at fixed net force halves it. [ref]
For example, an otherwise balanced block of mass receives a constant horizontal net force for . Its acceleration is , so its velocity changes by . Equivalently, the impulse is , and . Starting from rest, its displacement during the pulse is . After the pulse, zero net force leaves it moving at constant velocity.
Applying the law therefore requires both a specification of the net force and initial conditions. In the harmonic oscillator example, the force is , so Newton's second law becomes a differential equation for position. In an accelerating reference frame, the measured relative acceleration includes a contribution from the frame's own motion; the equation of motion in a rotating frame illustrates the extra terms required.
Constant mass is essential to the displayed form. A variable-mass system exchanging matter also exchanges momentum; its balance includes the entering or leaving matter's velocity. Simply differentiating and equating it to external force on that open body can omit this flux. The existing variable-mass system equation specifies the needed correction.
In the 1687 Principia, Newton's second law was stated in terms of change of motion proportional to impressed force, directed along that force. Its original statement is verbal; the derivative equation above is modern notation. [ref]
At distinct interpolation nodes, differentiating Lagrange interpolation gives . The triangle inequality gives the displayed upper bound, attained by prescribing each nodal value to be the sign of the corresponding derivative weight. For increasingly ordered real nodes, the Markov interlacing lemma and monotonicity of polynomial critical points in their roots imply that has at most one sign change, ignoring zero weights. Thus an extremizer has alternating nodal signs with at most one reversal of that alternating pattern. This reduces a choice among sign patterns to candidate polynomials.
The inverse Fourier transform of in three dimensions, with , is . Its leading oscillatory tail is not absolutely integrable against the radial volume element . Multiplying by a Gaussian Fourier transform retains a nonzero boundary-derivative tail, so the radial cutoff need not map even Schwartz functions into . A tensor product of one-dimensional triangular cutoffs is a valid approximate identity, and must not be confused with this Euclidean radial cutoff.
Nonlinear ordinary differential equation Created 2026-09-25 Updated 2026-10-14
A nonlinear ordinary differential equation depends nonlinearly on the unknown function or its derivatives: it cannot be written in the form defining a linear differential equation. For example, contains a square of the unknown function, and is a logistic differential equation. A coefficient such as depending only on the independent variable does not make an ordinary differential equation nonlinear. This distinction concerns dependence on the unknown, rather than the shape of its function graph.
For a concrete initial value problem, consider , . Its solution of a differential equation is
Taking its derivative gives , and evaluating at zero checks the initial condition. The stated interval contains zero and ends at finite-time blowup: tends to positive infinity as approaches from below. Increasing the positive initial condition brings finite-time blowup closer. This is a simple mathematical example with dimensionless and , rather than a calibrated physical model.
Choose and , giving and . At they have values and , so their sum has value . On the common interval , both are valid solutions of a differential equation, but their sum fails the same ordinary differential equation:
Already at , and its derivative is , whereas would require . At , the defect is . The cross term explains the failure of the superposition principle, even though each individual solution of a differential equation is a smooth function.
Figure 1.
Two solutions of a differential equation for have a sum with a nonzero defect
. Details.
The first panel shows , and their invalid sum only up to , before either finite-time blowup. The second measures the defect in the ordinary differential equation, including the computed value at . For a homogeneous linear differential equation, the corresponding defect of a sum is zero. Nonlinear ordinary differential equations can describe state-dependent growth such as the logistic differential equation, whose negative quadratic term limits growth instead of accelerating it without bound. Recognizing the distinction tells us when we may assemble solutions of a differential equation from simpler pieces and when we must account for their interaction. See MIT's worked counterexample to nonlinear superposition.
For independent normal distribution observations with mean and variance , put , . The Fisher-Neyman factorization theorem makes a sufficient statistic, since the likelihood is proportional to . Its logarithmic derivative has numerator . When , this changes sign once on the positive half-line and gives the displayed global maximum-likelihood estimator. The zero sample is a probability-zero exception with unbounded likelihood as .
Normal Q-Q plot 2026-10-14
A normal Q-Q plot compares order statistics with standard normal quantiles . For a normal distribution with , the population quantile function is , so the diagnostic sample relation is
The appropriate reference is a line with an intercept and positive slope, not necessarily the identity line. A line can be fitted through two central sample quantiles; R's qqline uses the quantile levels and by default. Neither that line nor its fitting rule is part of the definition of a normal Q-Q plot. [ref]
To isolate curvature, retain the same 19 plotting positions and construct two more ordered sequences:
The are continuous uniform distribution quantiles on , while the apply the hyperbolic sine to the reference quantiles. Both examples are symmetric about zero. At ranks , is approximately and is approximately . Again, these are constructed values rather than random draws or real data.
Figure 1.
Normal Q-Q curvature distinguishes compressed and stretched outer quantiles
. Left: the constructed uniform distribution quantiles bend inward relative to the central tangent . Right: the constructed values bend outward relative to the central tangent . Both panels use 19 standard normal quantiles at . Dashed lines are analytic central tangents, not fitted lines or uncertainty bands; only the chosen finite range is illustrated. Details.
Read these shapes relative to their central slope. The uniform distribution example has , with derivative ; at the upper endpoint the tangent predicts , while . Its lower end lies above the tangent and its upper end below it: the outer quantiles are compressed. The hyperbolic sine example has ; its tangent predicts at the upper endpoint, while . Its lower end lies below the tangent and its upper end above it: the outer quantiles are stretched. Unequal departures at the two ends can suggest skewness. The direction of these descriptions assumes that reference quantiles are horizontal and observed values vertical. The graphs illustrate finite-range shape differences; a sample pattern cannot establish an asymptotic tail probability law or membership in a heavy-tailed distribution class.
A nearly straight normal Q-Q plot is a diagnostic, not a proof of a normal distribution or a formal hypothesis test. Random statistical samples fluctuate, particularly at extreme order statistics, and apparent curvature depends on sample size, plotting positions and the reference line. A calibrated hypothesis test or uncertainty band requires its own assumptions and must account for parameters estimated from the same observations. Sorting also discards the original observation order: rearranging a time series leaves its Q-Q plot unchanged, so the plot cannot establish independence.
For a normal linear model, R's diagnostic normal Q-Q plot uses standardized regression residuals, also called internally studentized residuals. [ref] Even with independent errors, the regression residuals have covariance matrix , where is the hat matrix; fitting parameters generally creates dependencies. Dividing by a shared estimated standard deviation creates further dependence, and the distribution of an internally studentized Gaussian residual is not exactly the standard normal distribution. The normal Q-Q plot therefore helps assess error shape alongside other diagnostics rather than certifying independent normal random variables.
Finite local subdivision matrices for the scaled difference scheme track derivative variations in nested parameter intervals. A product-norm bound below one proves uniform contraction for every interval and therefore gives a lower bound on derivative continuity. A product eigenvalue of modulus at least one is an obstruction when its mode is reachable from the data and visible in the limit: generic data excite it, so the corresponding derivative differences fail to vanish. Harmless polynomial or unobservable modes must be removed before applying such an upper bound. Borderline smoothness needs direct analysis, not rounding a numerical exponent. Stability and convergence of the underlying scheme must be checked rather than inferred from mask width.
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 form
The 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]
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]
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 give
In 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.
Figure 1.
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.
Figure 2.
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]