A twice-differentiable real-valued function on an open interval is convex if and only if its second derivative is nonnegative everywhere. If , the mean value theorem makes nondecreasing, which implies the supporting-line and chord inequalities for convexity. Conversely, the slopes of a convex function are ordered; where the second derivative exists, this gives . Strict positivity of is sufficient for strict convexity, but is not necessary: is strictly convex despite .
The nonnegative functional . Its null space on consists of affine functions. The natural cubic spline interpolant uniquely minimizes this penalty among functions matching at least two prescribed knot values. It is a squared second derivative penalty, not the exact geometric curvature energy of a graph.
Second-derivative test Created 2026-09-28 Updated 2026-10-14
Let have continuous second partial derivatives near an interior critical point of an open subset of , with . The Hessian matrix gives the following sufficient conditions:
A positive semidefinite or negative semidefinite Hessian matrix with a zero eigenvalue does not settle the classification. The higher-order test for separated extrema gives two quartic examples with exactly the same zero Hessian. These conditions apply to an interior critical point; a boundary optimum or a constrained optimization problem requires attention to the allowed directions. [ref]
The proof outline is the Taylor expansion
For a positive-definite matrix, the smallest eigenvalue supplies a positive bound proportional to , which dominates the remainder for small enough . Negate the function for the local maximum case. For opposite-sign eigenvalues, choose the two corresponding eigenvectors: the leading terms have opposite signs along their lines.
There are also necessary conditions. At an interior local minimum, the Hessian matrix is positive semidefinite; at an interior local maximum, it is negative semidefinite. Restriction to each straight line reduces this to the one-variable second derivative condition. Since the Laplacian is the trace of the Hessian, it is nonnegative at such a local minimum and nonpositive at such a local maximum. The sign of the Laplacian alone is insufficient: has negative Laplacian but a saddle point of a scalar function at the origin.
Second-order pointwise bias bound for kernel density estimation Created 2026-10-05 Updated 2026-11-05
Let a nonnegative kernel for density estimation have integral one, zero first moment and finite second moment . If a probability density function has bounded second derivative, its kernel density estimator has pointwise bias at most . Apply the Taylor theorem with Lagrange remainder to and integrate: the first-order term vanishes and the remainder is bounded by . For , .
Singular perturbation Created 2026-09-24 Updated 2026-10-14
A singular perturbation is a parameter-dependent problem whose limiting problem changes qualitatively as the parameter tends to zero. In an ordinary differential equation, a small coefficient of the highest derivative can reduce the order of the limiting differential equation, preventing it from satisfying all the original boundary conditions. Different length or time scales often require different asymptotic expansions.[ref]
Consider the boundary value problem
This second-order differential equation is exactly solvable. Setting gives the first-order linear differential equation , so . One integration and the two boundary conditions give
Both boundary conditions hold for every positive . For numerical evaluation, write the same ratio as , where evaluates the exponential function minus one without catastrophic cancellation near . Keep the denominator for finite : at it is approximately , rather than exactly one.
Setting gives . The outer solution selected by the right boundary condition is therefore , which fails the left boundary condition. The exact exponential function shows how that mismatch is repaired: the solution rises from zero to almost one within a boundary layer of width , using Big O notation. For each fixed , , while always. This pointwise convergence fails to be uniform convergence to the outer solution on , since for every .
Figure 1.
Exact solutions with a shrinking left boundary layer
. The exact normalized profiles at , , and satisfy both boundary conditions. The dashed outer solution misses the left boundary condition. Colored dots mark , where most of the initial rise has already occurred. Details.
The coefficient is small, but its product with the second derivative need not be small. Direct differentiation gives
At with fixed , these derivatives grow as and respectively as . Consequently and have exactly equal magnitudes and opposite signs. Even away from the boundary layer, their magnitudes remain equal in this example; both become exponentially small at each fixed positive . The outer expansion neglects an exponentially small transient there, rather than establishing that one derivative term is smaller than the other everywhere.
To predict the width without knowing the exact solution, suppose an order-one change occurs over distance . The derivative scales are and . The dominant balance gives . The resulting inner variable makes the boundary layer visible at a fixed scale. This is the useful feature of singular perturbation: an apparently disappearing term identifies the missing structure when one measures its derivatives on the appropriate scale.
Interrogation of a subdivision limit needs patch/topology navigation, refinement, limit evaluation and derivatives where they exist, with certified bounds and geometric error estimates. On regular patches one may use the corresponding spline representation. At extraordinary subdivision vertices, local subdivision matrices determine limit positions and tangents under the scheme's smoothness conditions. A normal vector may exist even when second derivatives and Gaussian curvature do not; finite refined polygons are approximations rather than exact limit queries.
Third derivative 2026-10-31
The third derivative is the derivative of the second derivative. On the interior of a cubic polynomial piece it is constant. A cubic spline can have different constants on adjacent pieces, so its third derivative need not be continuous across a spline knot.
Let the input alphabet be and let the output be , where independent noise is uniform on two distinct integers. Translating the output alphabet reduces the noise to , . The reachable output alphabet has size : it is the union of two three-element intervals shifted by .
For , every row of the transition matrix has conditional information entropy one bit, so . Input probabilities make the output uniform and attain one bit per use. For , the two translated input alphabets are disjoint and every output identifies its input. A uniform input then attains bits per use.
For , reflection symmetry and concavity of information entropy permit restricting to input probabilities . Conditional on output parity, outputs whose labels are even integers have probabilities and outputs whose labels are odd integers have probabilities . Consequently . Its strictly negative second derivative and stationary equation give and channel capacity . All three values follow from overlap of translated input alphabets, rather than from output alphabet size alone.
The Thomas algorithm is Gaussian elimination specialized to a tridiagonal matrix: each row couples an unknown only to its immediate neighbours. Eliminating one unknown changes just the next diagonal entry and right-hand side. Provided all pivot elements are nonzero, a forward sweep followed by back substitution solves an -unknown linear system in time and storage, using Big O notation. Treating the same entries as a full matrix wastes the zeros: classical dense LU factorization and solve costs grow cubically for factorization and quadratically for storage.
A concrete reason to care is the Dirichlet Poisson solution by tridiagonal elimination: a three-point finite difference for the second derivative couples adjacent points on a mesh, producing precisely this tridiagonal matrix. The same structure occurs in one-dimensional Crank-Nicolson method calculations. NPTEL's archived Lecture 13 introduces the Thomas algorithm from that time-stepping problem and labels the procedure “Thomas algorithm (1949)”.[ref]
Triweight kernel Created 2026-10-14 Updated 2026-11-05
The triweight kernel is a compactly supported symmetric probability density with variance . Its value and first two derivatives vanish at the support endpoints. Its integrated squared second derivative is , and it minimizes that curvature among twice continuously differentiable densities with zero mean and the same variance, by the triweight density minimizes integrated squared curvature inequality.