Carothers equation 2026-10-14
The balanced Carothers equation follows immediately from linear step-growth molecule count and functional-group conversion in step growth:The same Carothers equation extends to unequal group counts once the limiting-group convention is specified.[ref]
Generalization of the Carothers equation for linear step growth polymers by Emilio Meaurio. Introduction, equations (1)–(6): Carothers equation, end-group count and limiting- conversion
For an original balanced feed of monomer molecules, , , and intermolecular joins give , , and . The remaining counts are , , and , hence number-average degree of polymerization values , , and . The last thirty joins quadruple the average even though they consume only another of the initial groups of either type. These are exact synthetic counts, not experimental measurements.
The derivative explains the sensitivity: near , an absolute conversion uncertainty of changes the predicted degree of polymerization substantially. The exact balanced values at and are approximately and , instead of . An instrument reporting rounded “complete conversion” cannot distinguish those chain lengths. In a finite no-ring system, even one chain retains two ends; the maximum is and . The formal divergence at is a large-system limit, not an infinite chain in a finite flask.
Catastrophic cancellation 2026-10-14
Catastrophic cancellation occurs when subtraction of nearly equal approximations removes their matching leading digits and exposes earlier roundoff error. The subtraction can itself be exact on the stored operands: the information may already have been lost while obtaining them. Goldberg distinguishes this from cancellation of accurately known quantities, which can be harmless.[ref]
https://docs.oracle.com/cd/E19957-01/806-3568/ncg_goldberg.html. Goldberg, 1991, §Cancellation
For , consider the single real-valued functionThe rationalization of a square-root difference proves equality in exact arithmetic. The two evaluations use the same input , but the direct version first forms a value near one and then subtracts one. The rearranged version keeps the small input in its numerator and divides by a denominator near two.
Direct and rationalized evaluation of a small square-root difference against a high-precision reference for the same binary64 inputs
. Details. For binary64
x = 1e-16, the rounded sum 1.0 + x is one, so sqrt(1.0 + x) - 1.0 is zero. The rationalized evaluation returns approximately . A 100-digit Decimal calculation using the exact stored input gives relative errors of one and about respectively. At x = 1e-12, the direct result is about , with relative error ; the rearranged result is about , with relative error .The plot uses
Decimal.from_float(x) to preserve the binary input exactly, computes at 100 decimal digits, and verifies the reference at 160 digits. Exact conversion of a stored binary value is documented by Python.[ref]https://docs.python.org/3.14/library/decimal.html#decimal.Decimal.from_float. Python 3.14 documentation, Decimal.from_float
Each error is , with the computed result converted exactly to Decimal before comparison. Hence the curves measure evaluation error for one common input, rather than a mixture of input conversion error and evaluation error. The plotted interval is far above the subnormal number range.The original problem is well conditioned with respect to relative changes in . Using the derivative and rationalization of a square-root difference, its relative condition number isIt tends to one as tends to zero. The direct evaluation instead introduces the intermediate difference with ; an error of order unit roundoff in is large relative to . This is a failure of the chosen algorithm's accuracy despite a small condition number for the same real-valued function. The rationalized evaluation avoids that intermediate catastrophic cancellation, retaining relative accuracy near the unit roundoff scale throughout the plotted interval. Recognizing this structure can improve a calculation far more than merely printing extra digits.
Catenoid existence threshold for equal rings 2026-10-14
An axisymmetric smooth connected soap film spanning equal radius- rings at heights has stationary profile , . The boundary equation is , . Its unique minimum occurs at , because the derivative numerator is . If is this root, the minimum is . There are no catenoids below that ratio, one at equality, and two above it. Existence of stationary connected films does not assert global minimality against pinching or disconnected competitors.
Cauchy derivative formula Created 2026-09-24 Updated 2026-10-14
Suppose is a holomorphic function on an open set containing the closed disc , with . For any nonnegative integer and , the counterclockwise boundary contour satisfiesThe case is the Cauchy integral formula. On a smaller closed disc, the denominator stays uniformly away from zero, allowing repeated differentiation under the contour integral. This proves that a holomorphic function has complex derivatives of every order. [ref]
At the centre, if , taking absolute values gives the Cauchy estimate . Boundary size therefore limits interior variation. For on the unit disc, , and the estimate is exact: . This is one quantitative reason that holomorphic functions are so rigid.
Cauchy mean value theorem Created 2026-10-07 Updated 2026-10-14
For and real-valued functions that are continuous on the closed interval and differentiable on the open interval , there exists withApply Rolle's theorem to the linear combination , which has equal endpoint values. The displayed product identity permits zero derivatives. For the ratio form, additionally assume for every . Then Rolle's theorem ensures , so both denominators below are nonzero:Neither derivative needs to be continuous, and may vanish. Choosing recovers the mean value theorem; the ratio form also gives the zero-over-zero endpoint case of L'Hôpital's rule. [ref]
Cauchy principal value Created 2026-09-24 Updated 2026-10-14
The Cauchy principal value assigns an integral a value by a specified symmetric limit. Its simplest example is on : delete , integrate what remains, and obtain zero for every . The positive signed area under a graph cancels the negative one, although each grows without bound as the gap closes. This is a useful cancellation rule, but it does not make the ordinary improper integral exist.
Equal local cutoffs cancel the signed areas of 1/x; unequal cutoffs leave a logarithmic remainder, even when both shrink to zero
. Details. Precisely, let be finite and suppose that the two truncated integrals below exist for every sufficiently small . The local Cauchy principal value at isprovided the combined limit is finite. The same removes equal distances on the two sides of ; the outer endpoints need not be equally distant from . By contrast, the ordinary improper integral requires both one-sided limits to be finite separately before adding them. Whenever those separate limits exist, the Cauchy principal value agrees with their sum.[ref]
For , the natural logarithm givesTheir sum is zero at every positive cutoff, so . This calculation adds two finite truncated integrals and then takes a limit; it never assigns a meaning to . If the left and right deletion widths are instead and , thenThus a ratio tending to produces : choosing gives , and choosing makes the sum tend to . Both widths can tend to zero without selecting a unique answer. The local Cauchy principal value selects the ratio .
Unequal outer endpoints leave a finite contribution even with symmetric local deletion. For ,More generally, for a function with continuous derivative on , subtract its value at the possible simple pole:The quotient in the last integral extends continuously to at . This formula explains both the cancellation and a practical way to compute it: integrate a continuous remainder instead of subtracting two large, nearly equal divergent contributions.
A finite Cauchy principal value is weaker than absolute convergence. Indeed,Taking the absolute value destroys the cancellation. Even the Cauchy principal value need not exist: gives on the same truncated interval. Absolute integrability makes the cutoff prescription unnecessary; an ordinary improper integral can also converge without absolute convergence, as the Dirichlet integral illustrates. The three notions should therefore be checked separately.
There is an independent Cauchy principal value at infinity. For a function integrable on every finite interval, definewhen the limit is finite. The ordinary improper integral instead requires convergence of the two tails separately.[ref] For example, the odd function has no finite singularity and its symmetric integral is always zero, whereas its two tails diverge. Unequal truncations giveLetting as yields . Symmetry at infinity is therefore a separate choice from symmetry near a finite pole. When both are needed, state both prescriptions, for example first take the local Cauchy principal value at fixed and then let ; coupling the two cutoffs requires its own justification.
The local cancellation also defines the principal-value reciprocal distribution. Since is not a locally integrable function across zero, its action on a test function is prescribed byThe test function is smooth with compact support, so the last numerator removes the singular constant contribution: its quotient tends to at zero and vanishes sufficiently far away. This defines a distribution, not a finite pointwise value of at zero. It extends to Schwartz functions as a tempered distribution, and is also the distributional derivative of the logarithmic modulus.[ref]
https://www.math.ucdavis.edu/~hunter/book/ch11.pdf. Hunter and Nachtergaele, Applied Analysis, Chapter 11, Example 11.7, p. 293: principal-value reciprocal distribution
Using an asymmetric local cutoff ratio would add to this action, equivalently adding times the Dirac delta function. Thus the cutoff choice matters even after passing to distributions.Why keep this prescription? A Fourier transform naturally encounters such a kernel. With , pairing and gives, for and ,The cosine contribution is an odd function and cancels locally; the sine contribution has a removable singularity and its tail converges by the Dirichlet integral. This is the Fourier transform of a principal-value reciprocal, with the sign function. The displayed computation is a prescribed limit for each nonzero ; the corresponding Fourier transform identity is understood as an identity of tempered distributions, rather than the transform of an absolutely integrable reciprocal function.
Fourier cancellation for 1/x: the odd cosine contribution disappears, the sine contribution approaches minus i times pi, and the Hilbert transform turns a cosine into a sine
. Details. The Hilbert transform uses exactly this principal-value reciprocal distribution as a convolution kernel. In the convention already used here,for Schwartz functions , with the second identity interpreted through tempered distributions. Hence the singular integral has a simple description as a Fourier multiplier.[ref]
https://ocw.mit.edu/courses/res-18-015-topics-in-fourier-analysis-spring-2024/mitres_18_015_s24_lec21.pdf. Stroock, MIT Topics in Fourier Analysis, Lecture 21, p. 1: principal-value convolution kernel and its Fourier multiplier; signs adapted to the displayed convention
For the bounded pure tone with , the same calculation with symmetric deletion about and symmetric truncation of at infinity gives and . These tones lie outside the Schwartz space; their prescribed Cauchy principal values explain the quarter-cycle shift in the figure. Both figures are calculated mathematical illustrations. Reversing the Hilbert denominator reverses these signs; NIST uses that opposite convention.[ref]https://dlmf.nist.gov/1.14#v. NIST DLMF, equations 1.14.41 and 1.14.46: Hilbert transform and Fourier sign conventions
Certified curve-plane intersection 2026-10-14
Intersecting a parametric curve with a plane reduces to isolating zeros of a scalar function. A certified range for rejects intervals that do not contain zero. On an interval whose derivative range excludes zero, a sign-changing endpoint bracket gives exactly one root, which bisection method or a safeguarded Newton root-finding iteration refines. Other intervals are subdivided conservatively; tangencies and coplanar pieces need multiplicity or identity tests supported by the representation. An unresolved small interval is a possible contact, not a proof of an intersection. With finitely many transverse intersections and convergent enclosures, isolation terminates to any prescribed tolerance.
Chaikin basis function 2026-10-14
This centered quadratic cardinal B-spline weights each original control ordinate at its uniformly spaced abscissa. Its translates sum to one. It and its first derivative match at half-integer knots, while the second derivative can jump. The limit graph is ; one ordinate influences exactly three original intervals. Refinement of a quadratic adds in the limit, yielding this basis by extending each three-point neighborhood quadratically.
Chaikin subdivision 2026-10-14
Chaikin subdivision generates a rounded subdivision curve by repeatedly cutting the corners off a control polygon. Each edge contributes two new control points, one a quarter of the way along the edge and the other three quarters of the way along it. Connecting these new control points in edge order replaces the old corners by shorter line segments. This makes Chaikin subdivision a useful way to draw a smooth outline from a small, editable set of control points, without evaluating B-spline basis functions at each drawing step. Joy presents both the corner-cutting rule and its closed version.[ref]
https://www.cs.unc.edu/~dm/UNC/COMP258/LECTURES/Chaikins-Algorithm.pdf. Kenneth I. Joy, Chaikin's Algorithms for Curves, §§Chaikin's Method and Example — A Closed Curve, UC Davis authored notes
For a closed control polygon with control points , set and interpret indices cyclically. One refinement givesand the new control polygon is the ordered sequenceClose it by joining back to . Use the old control points for every average in the same refinement; updating them in place would define a different algorithm. One refinement produces stored control points, and refinements produce , counting entries even if some coordinates coincide. Open control polygons need an explicit endpoint convention: applying only the interior edge rule discards the original endpoints, whereas retaining endpoints changes the boundary rule. The closed analysis below uses cyclic indices throughout.
For a worked example, start with the rectangular control polygonThe first edge gives and . Applying Chaikin subdivision to all four edges, including the closing edge, gives exactly eight control points in this order:Thus the rectangle becomes an octagonal control polygon. Two refinements have control points, and five have . The illustration shows finite control polygons at stages ; the last is already visually rounded but still consists of line segments.
The convex hull property follows directly from the weights. Each new control point is a convex combination of the endpoints of one old edge, because the weights are nonnegative and sum to one. Consequently, if is the convex hull of the stage- control points, then . Every later line segment, and every limit point, stays in the original convex hull. This gives a useful geometric enclosure. It also explains why Chaikin subdivision is approximating rather than an interpolation rule: the rectangle's four original corners are outside the first octagon's convex hull, so the limiting curve cannot pass through them. A refinement control polygon generally lies off the limiting curve as well.
For the cyclic uniform rule, the closed limit is the periodic quadratic uniform B-spline curve determined by the original control points. Uniform refers to equal spacing in the spline knot sequence, not equal physical lengths of edges of the control polygon. An infinite uniform control sequence has the corresponding local description; arbitrary open endpoint conventions need separate treatment. Joy derives the quarter-point refinement by splitting quadratic uniform B-spline spans.[ref]
https://www.cs.unc.edu/~dm/UNC/COMP258/LECTURES/Quadratic-B-Spline-Curve-Refinement.pdf. Kenneth I. Joy, Quadratic Uniform B-Spline Curve Refinement, §§Splitting and Refinement and The General Refinement Procedure, UC Davis authored notes
Here is an explicit description of that closed limit, with cyclic indices and a unit parameter span for each original control point:Each coordinate is a quadratic polynomial, and the three coefficients form a nonnegative partition of unity. The span runs from to . Differentiating gives and , so adjacent spans have matching values and matching first derivatives. Their second derivatives generally differ. Thus the parameterized curve is , generally not ; degenerate control points can still make its tangent vector vanish. For the rectangle, the span around iswhich rounds the original corner between edge midpoints and . For equally spaced abscissae, the centered Chaikin basis function gives the scalar graph version of this quadratic B-spline representation and has support of width three original grid intervals.
Another useful property is affine equivariance of a geometric basis: refining and applying an affine map commute. For ,and the same calculation holds for . The sum-to-one weights account for the translation. Therefore at every refinement, and also for the limit. A designer can apply a shear mapping, translation, or other affine map to the original control polygon and obtain exactly the transformed outline.
For example, compose the shear mapping with the translation to obtain . The rectangle's control points become . On its right edge, cutting first gives and then . Transforming first and cutting instead gives , the same control point.
Shearing and translating a control polygon commutes with one Chaikin refinement
. Left: the rectangle and its first refinement. Right: the transformed control polygon, with blue dots from cutting after the affine map and orange rings from applying the affine map after cutting. All eight pairs coincide. Details.Historically, George M. Chaikin published “An algorithm for high-speed curve generation” in Computer Graphics and Image Processing 3(4), December 1974, pages 346–349. Its emphasis was practical curve generation through a recursive algorithm using simple arithmetic, with applications including machine control and three-dimensional curves. The lasting appeal of Chaikin subdivision is how an elementary local average creates an entire smooth B-spline curve.[ref]
https://doi.org/10.1016/0146-664X(74)90028-8. G. M. Chaikin, An algorithm for high-speed curve generation, Computer Graphics and Image Processing 3(4), 346–349, 1974; publisher metadata and abstract
Chain rule Created 2026-09-24 Updated 2026-10-14
The chain rule calculates the derivative of a function composition by combining local rates. If the inner function is differentiable at and the outer function is differentiable at , thenThe evaluation point matters: the outer derivative is evaluated at the inner output , not at . A small input change first scales by ; the resulting intermediate change then scales by . In terms of linear approximations, composing those two local descriptions multiplies their scale factors. [ref]
https://openstax.org/books/calculus-volume-1/pages/3-6-the-chain-rule. OpenStax, Calculus Volume 1: statement and proof of the chain rule
.For example, applies a quadratic function and then the sine. With and , the chain rule givesHere all angles are in radians. Near , increasing the input by changes by about , and the sine changes by about times that intermediate change. For , the linear approximation predicts an output increase of ; the exact increase is .
The same rule handles several nested stages. For , the derivative is under the corresponding differentiability assumptions. Writing each intermediate output prevents evaluating a derivative at the wrong stage. It also makes the chain rule useful for propagating sensitivities through a mathematical model, where one measured quantity influences another through several transformations.
For a quick proof idea, replace near by its linear approximation, then replace near by its linear approximation. The composite leading term is their product; differentiability ensures the remaining error is smaller than the original input change. This argument still applies when , so the informal cancellation should not be interpreted as division by a possibly zero finite change. The hypotheses are sufficient, but are not necessary for every composite to be differentiable, as the nondifferentiable inner function with a differentiable nondegenerate composite example shows.
Change of variables formula Created 2026-09-24 Updated 2026-10-14
The change of variables formula expresses an integral in coordinates that make its integrand or its region simpler. Three ingredients change together: the region, the function being integrated, and the element of area or volume. The last change is measured by the absolute Jacobian determinant; forgetting it amounts to counting transformed cells as though their sizes had stayed the same.
In one dimension, substitution is the integrated chain rule. If is continuously differentiable on and is continuous on its image, thenThese are directed definite integrals: if decreases, the transformed endpoints reverse. This identity does not require to be injective, because an antiderivative composed with already accounts for any backtracking.[ref]
For a concrete computation, set , so . The endpoints become :The numerator is precisely the derivative of the expression in the denominator. Substitution reveals the familiar natural logarithm hidden inside this rational function. Keeping the original endpoints after changing the integrand would describe a different integral.
For the elementary two-dimensional theorem, let be a diffeomorphism between open sets in the plane, let be a bounded region with piecewise smooth boundary, and let be continuous on , with the displayed integrals finite. ThenHere is the Jacobian matrix. The diffeomorphism assumption means a bijection with a continuously differentiable inverse, and ensures a nonzero Jacobian determinant. This excludes overlapping sheets; the more general area formula handles multiplicity.[ref]
Take and the linear mapIts inverse is . The square becomes a parallelogram with vertices : base two, height one, area two. Consequently . A nonconstant integrand changes too: .
The direction of the map matters when selecting the factor. Here goes from the new coordinates to the original coordinates, so the factor is two. Its inverse has Jacobian determinant , appropriate for converting area in the opposite direction. Writing down the map before computing its Jacobian matrix prevents a reciprocal-factor error.
A unit square becomes a parallelogram of area two; reflection changes the determinant sign but preserves area
. Details. Now reflect the image vertically: has Jacobian determinant , but still produces area two. The sign records reversal of the orientation of a vector space; ordinary area uses its absolute value. For oriented differential forms, the pullback of a differential form instead retains the signed determinant.[ref]
https://math.mit.edu/classes/18.952/spring2013/docs/book.pdf. MIT 18.952 notes: Integration of forms, Chapter 3
The geometric beauty is that a nonlinear differentiable map has a local linear approximation: tiny rectangles behave approximately like these parallelograms. Summing their scaled contributions gives the change of variables formula. In polar coordinates this factor is , explaining ; equal angular steps cover more area farther from the origin. Choosing suitable coordinates can simplify both the boundary and the integrand.[ref]






