<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stellar Priors - Medium]]></title>
        <description><![CDATA[Stellar Priors publishes on mathematics, astrophysics, data science, machine learning, numerical methods, and the history of scientific ideas, combining rigorous theory with intuitive explanations, visualizations, and open-source code. - Medium]]></description>
        <link>https://medium.com/stellar-priors?source=rss----452c3ef4656b---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>Stellar Priors - Medium</title>
            <link>https://medium.com/stellar-priors?source=rss----452c3ef4656b---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 10 Nov 2026 15:27:04 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/stellar-priors" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Interpolating Stars for Galaxy Shape Measurement]]></title>
            <link>https://medium.com/stellar-priors/interpolating-stars-7ad053151d3e?source=rss----452c3ef4656b---4</link>
            <guid isPermaLink="false">https://medium.com/p/7ad053151d3e</guid>
            <category><![CDATA[space]]></category>
            <category><![CDATA[astronomy]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[science]]></category>
            <dc:creator><![CDATA[Victor Astren]]></dc:creator>
            <pubDate>Wed, 21 Oct 2026 03:56:56 GMT</pubDate>
            <atom:updated>2026-11-01T20:55:37.760Z</atom:updated>
            <content:encoded><![CDATA[<h4>Reconstructing a telescope’s point spread function at galaxy positions using PCA and spatial interpolation</h4><figure><img alt="Illustration of telescope PSF reconstruction using stellar images, spatial interpolation, and an estimated point spread function against a galaxy field." src="https://cdn-images-1.medium.com/max/1024/1*sd-t3etcYBrh0jk0QB_VcQ.png" /><figcaption>Interpolating stellar point spread functions. Conceptual illustration showing ground-based and diffraction-dominated stellar PSFs, their spatial variations across the field, and the reconstruction of a PSF at an unsampled position. Image by author.</figcaption></figure><p>At the resolution of most astronomical observations, stars appear as point-like sources, making them useful for studying how the telescope and, when applicable, the atmosphere shape their images. The resulting intensity distribution is described by the <strong>point spread function (PSF)</strong>.</p><p>One important application requiring an accurate estimate of the PSF is <a href="https://doi.org/10.1146/annurev-astro-081817-051928">weak gravitational lensing</a>, a technique used extensively to study the distribution of dark matter and constrain the properties of dark energy. As light from distant galaxies travels toward us, its path is slightly deflected by the gravitational fields of intervening matter. The resulting distortions in galaxy shapes can be used to map dark matter halos and measure <strong>cosmic shear</strong>, the coherent deformation of galaxy images across large regions of the sky.</p><p>These gravitational distortions are extremely small, typically much weaker than the effects of atmospheric turbulence, optical aberrations, and other instrumental imperfections on the observed galaxy images. Recovering the gravitational lensing signal requires an accurate model of the PSF, allowing its effects to be accounted for when estimating galaxy shapes.</p><p>The PSF generally varies across the telescope’s field of view, but stars provide measurements at only a limited number of positions. At galaxy positions, the PSF must be estimated from these stellar measurements using a model of its spatial variation.</p><p>One approach is to represent the stellar PSFs using a small number of components, interpolate their coefficients across the field, and reconstruct the complete PSF at the required position.</p><h3>From Stellar Measurements to Galaxy Positions</h3><p>The brightness distribution of a galaxy is altered by the telescope’s optics and, for ground-based observations, by the atmosphere. Assuming the PSF is nearly constant across the galaxy image, the resulting image can be described approximately by a convolution</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/235/0*F2IcqIourYgIcEe2" /></figure><p>where G is the galaxy’s apparent brightness distribution before instrumental and atmospheric blurring, P_r is the PSF at position r in the focal plane, and N represents observational noise. The symbol * denotes convolution, with <strong>x</strong> representing the coordinates within the galaxy image.</p><figure><img alt="Diagram of astronomical image convolution showing an intrinsic elliptical galaxy, a telescope point spread function (PSF), and the resulting blurred observed galaxy." src="https://cdn-images-1.medium.com/max/1024/1*f3ohTySCH_JNtbiAl_GLkg.png" /><figcaption><strong>Convolution in astronomical imaging.</strong> Schematic showing an intrinsic galaxy, a point spread function (PSF), and the resulting observed galaxy image after convolution. Observational noise is omitted for clarity. Image by author.</figcaption></figure><p>Optical aberrations and atmospheric effects can change the size, ellipticity, and orientation of the PSF across the field of view, as illustrated below.</p><figure><img alt="Simulated spatially varying astronomical point spread functions (PSFs) across a telescope’s focal plane. Left: 8 × 8 grid of stellar PSF images. Right: Corresponding PSF shapes showing variations in ellipticity, orientation, and size, with colors indicating squared size R²." src="https://cdn-images-1.medium.com/max/1024/1*NkB4nMoGgBxGGkIydVrtvA.png" /><figcaption><strong>Spatial variation of a simulated point spread function</strong>. Left: Stellar PSF images sampled on an 8 × 8 grid across the focal plane. Right: The corresponding PSF shapes, with colors indicating their squared size (R²). Ellipticity is enlarged by a factor of 2.5 to make variations in shape and orientation easier to distinguish. Image by author.</figcaption></figure><p>At the positions of stars, the PSF can be estimated directly from their observed images, but at galaxy positions, it must be reconstructed from measurements made at nearby stellar positions.</p><h3>Simulated PSF Field</h3><p>Comparing different reconstruction methods requires stellar PSF measurements at known positions and reference PSFs against which the reconstructions can be evaluated. Simulated observations provide both, with stellar images generated across the focal plane and exact PSFs available at positions where no star is observed.</p><p>The simulations presented here are inspired by the <a href="https://doi.org/10.1214/11-AOAS484">GREAT10 Star Challenge</a>, a public competition organized in 2010 to assess methods for reconstructing spatially varying PSFs from sparsely sampled stellar images. The challenge considered different observing conditions, including optical effects and atmospheric turbulence, and evaluated the accuracy of the reconstructed PSF shapes and sizes. Like GREAT10, the simulations use simplified representations of astronomical PSFs, with controlled spatial variations designed to compare reconstruction methods under different observing conditions.</p><p>Three simulated PSF fields are considered, representing different observing conditions and levels of spatial complexity. The first describes smooth variations in atmospheric blurring, the second combines optical distortions with spatially correlated atmospheric fluctuations, and the third represents diffraction-based optics without atmospheric effects. Their principal characteristics are summarized below.</p><figure><img alt="Comparison table of three simulated telescope PSF fields: G1 with smooth atmospheric variations, G2 with optical aberrations and correlated atmospheric fluctuations, and S1 with diffraction-based optics." src="https://cdn-images-1.medium.com/max/1024/1*WdZd9lvuEswY3aDjXP4J-w.png" /><figcaption><strong>Three simulated PSF fields used to evaluate reconstruction methods.</strong> G1 provides a smooth ground-based baseline, G2 introduces spatially correlated atmospheric fluctuations and optical aberrations, and S1 represents a diffraction-based space telescope model with spatially varying wavefront aberrations. Table by author.</figcaption></figure><h4>Simulating the stellar PSFs</h4><p>The first scenario, G1, provides a baseline for comparison with the more complex G2 and S1 fields. It represents atmospheric blurring in ground-based observations using an elliptical <a href="https://ui.adsabs.harvard.edu/abs/1969A%26A.....3..455M/abstract">Moffat profile</a>:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/200/0*t61-qolMxwhg2Zhd" /></figure><p>where α controls the profile width, β determines the extent of its wings, and C is a normalization constant. The radial coordinate is modified to introduce ellipticity and orientation. In G1, the PSF width and ellipticity vary smoothly across the focal plane according to quadratic functions of position, providing a controlled mathematical benchmark.</p><p>Scenario G2 extends the Moffat-based model by introducing field-dependent optical aberrations (defocus, astigmatism, and coma) alongside spatially correlated atmospheric variations modeled with Gaussian random fields. Scenario S1 takes a different approach, calculating space telescope PSFs from the pupil geometry and wavefront aberrations through Fourier transforms. These aberrations are represented using Zernike polynomials, a set of mathematical functions commonly used to describe departures from an ideal optical wavefront.</p><p>The effects of these PSF models on astronomical images can be illustrated by convolving the same simulated galaxy with a representative PSF from each scenario, as shown below.</p><figure><img alt="Six-panel comparison of three simulated PSF models. The upper row shows similar, smoothly peaked ground-based PSFs for G1 and G2, and a space-based PSF with visible diffraction rings for S1. The lower row shows the same elongated galaxy convolved with each PSF, producing three slightly different observed images." src="https://cdn-images-1.medium.com/max/1024/1*G8TNIU0rQX4phGf9Dd3PBw.png" /><figcaption><strong>Effects of the three simulated PSF models on galaxy images.</strong> The upper row shows representative PSFs from the smooth ground-based Moffat field (G1), the ground-based field with optical distortions and correlated atmospheric variations (G2), and the diffraction-based space telescope model (S1). The lower row shows the same intrinsic galaxy convolved with each PSF. Although G1 and G2 produce similar individual profiles, their spatial variations across the field differ. Image by author.</figcaption></figure><p>Across all three scenarios, the spatial sampling geometry remains identical. The field contains 320 stellar PSFs used to construct the PCA representation, 80 additional positions reserved for validation and hyperparameter selection, and 200 independent test positions reserved for final evaluation. Each PSF is represented by a 48 × 48 pixel image, normalized to unit total flux.</p><figure><img alt="Spatial distribution of 320 training stars (blue circles), 80 validation positions (green triangles), and 200 test positions (red crosses) across a normalized telescope focal plane." src="https://cdn-images-1.medium.com/max/1024/1*49bADCD5UJVoFkvt2fE2dg.png" /><figcaption><strong>Spatial distribution of simulated stellar positions across the normalized focal plane</strong>, showing 320 training positions, 80 validation positions, and 200 independent test positions. Image by author.</figcaption></figure><p>The simulated stellar images contain <strong>no observational noise</strong>, so reconstruction errors can be examined independently of measurement uncertainties, isolating the intrinsic representation and interpolation accuracy of each method.</p><p>Temporal variations of the PSF are not considered in these simulations. Each simulated field represents a fixed observing configuration, although atmospheric conditions and instrumental properties may change during real observations.</p><h4>Reference PSFs and validation</h4><p>Simulated data provide exact reference PSFs at every position, making it possible to evaluate reconstructions at locations where no stellar measurements are available. The measurements at the training positions are used to construct a PSF representation, whose parameters are then interpolated to these unseen locations. The complete PSFs are reconstructed from the interpolated parameters and compared with the corresponding reference PSFs to assess their accuracy.</p><p>The validation positions are used to select model parameters, while the test positions are reserved for the final assessment. All interpolation methods are evaluated using the same test positions, which were excluded from both the training of the models and the selection of their parameters.</p><h3>Representing PSFs with Principal Component Analysis</h3><p>To reconstruct the PSF at galaxy positions, we need a representation that describes its two-dimensional shape with a manageable number of parameters whose spatial variation can be modeled.</p><p>Each simulated stellar PSF is represented by a 48 × 48 pixel image, corresponding to 2,304 intensity values. Interpolating every pixel independently across the focal plane would require modeling thousands of spatially varying quantities, many of which are strongly correlated. A more compact description can be obtained by identifying the principal patterns of variation among the stellar PSFs.</p><p><strong>Principal component analysis (PCA)</strong> provides such a representation. Applied to a collection of stellar images, PCA identifies a set of orthogonal components that describe the dominant variations around their mean. These components, often called <strong>eigenPSFs</strong>, are ordered according to the amount of variance they explain in the training images.</p><h4>From stellar images to eigenPSFs</h4><p>The stellar PSFs are first aligned, normalized, and arranged as vectors containing their pixel intensities. Their mean image is subtracted, and PCA is applied to the resulting collection of deviations. The principal components can then be reshaped into two-dimensional images, each describing a particular pattern of variation within the PSF field.</p><p>The mean PSF captures the average intensity distribution, while the first components describe the largest departures from that average. For the simulated Moffat field, these variations are associated with changes in width, ellipticity, and orientation, although an individual component need not correspond to a single physical property.</p><figure><img alt="Five-panel illustration showing the mean stellar PSF in grayscale and its first four principal components (PC1–PC4). The mean PSF has a bright central peak, while the components show different spatial patterns of positive (red) and negative (blue) pixel values. Each panel displays the central 24 × 24 pixels." src="https://cdn-images-1.medium.com/max/1024/1*bEQIzVuGvtiwlqNGlo3vYg.png" /><figcaption><strong>Mean PSF and first four principal components of the simulated stellar PSF field.</strong> The mean PSF represents the average intensity distribution, while the principal components describe the dominant patterns of variation around it. Blue and red indicate negative and positive component values, respectively. Each panel shows the central 24 × 24 pixels. Image by author.</figcaption></figure><p>Any stellar PSF in the field can then be approximated by a linear combination of the mean image and a limited number of principal components:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/258/0*epu2YnF6B-WQ3Dwc" /></figure><p>where P_0 is the mean PSF, φ_k denotes the k-th eigenPSF, and a_k(r) is its coefficient at focal-plane position r. The number K specifies how many components are included in the representation.</p><p>The eigenPSFs describe patterns in the pixel intensities, rather than complete stellar images in their own right. Their individual pixel values may be positive or negative, and the coefficients determine how the corresponding patterns contribute to the reconstructed PSF.</p><h4>Choosing the number of PCA components</h4><p>Including more components generally improves the representation of the training images, but it also increases the number of coefficient fields that must be interpolated. Choosing K involves balancing the accuracy of the PCA representation against the complexity of the subsequent spatial reconstruction.</p><p>Truncating the PCA expansion introduces a <strong>representation error</strong> even when the coefficients are known exactly, distinct from the <strong>interpolation error</strong> introduced when they must be estimated at positions without observed stars. This representation error can be measured by projecting reference PSFs directly onto the selected PCA components, without spatial interpolation.</p><p>The effect of retaining additional components is illustrated below through the cumulative explained variance in the training images and the representation error measured at held-out test positions. In the smooth G1 field, the explained variance approaches 100% with relatively few components, whereas the diffraction-based S1 field requires a larger basis to capture its more varied image structures. Although the explained variance curves rapidly approach 100%, the representation errors continue to decrease as additional components are included.</p><figure><img alt="Two-panel graph comparing cumulative PCA explained variance and PSF representation error against the number of principal components for simulated telescope fields G1, G2, and S1." src="https://cdn-images-1.medium.com/max/1024/1*Rj50mgpbLV4czqZCunP_iQ.png" /><figcaption><strong>PCA explained variance and representation error as functions of the number of components</strong>. Cumulative explained variance in the training images (top) and relative representation error at 200 held-out test positions (bottom) for the three simulated PSF fields. Markers indicate the adopted numbers of components: five for G1, eight for G2, and nine for S1. Representation errors are measured by direct projection onto the PCA basis, without spatial interpolation. Image by author.</figcaption></figure><p>PCA thus replaces the original collection of pixel intensities with a small set of coefficients for each stellar position. These coefficients are known for the training stars but must be estimated elsewhere in the field, where the corresponding PSFs are required for galaxy-shape measurements.</p><p>Related PCA-based methods have also been used to model spatial variations in the PSF across multiple exposures in weak-lensing surveys, as demonstrated by <a href="https://arxiv.org/abs/astro-ph/0412234">Jarvis and Jain (2004)</a>.</p><h3>Spatial Interpolation of PCA Coefficients</h3><p>Once the PCA basis has been constructed, each training star is described by a set of coefficients associated with its position in the focal plane. For each principal component, these coefficients form a spatially sampled field that must be interpolated to the positions of galaxies.</p><p>The interpolation methods considered here belong to three broad families: deterministic methods based on polynomial surfaces, distances, or radial basis functions; geostatistical methods that incorporate spatial correlations; and machine-learning approaches that learn relationships between position and PCA coefficients. The seven methods used in the reconstruction experiments are summarized below.</p><figure><img alt="Scientific diagram of seven spatial interpolation methods for PSF modeling: polynomial regression, inverse-distance weighting, RBF splines, Ordinary Kriging, Universal Kriging, multilayer perceptron, and Random Forest. The methods estimate PCA coefficients at galaxy positions using stellar measurements." src="https://cdn-images-1.medium.com/max/1024/1*MOCLamOyJuUD_BrJvh607w.png" /><figcaption><strong>Seven methods for spatial interpolation of PSF coefficients.</strong> PCA coefficients derived from stellar images are used to estimate their values at unsampled galaxy positions. The methods are grouped into deterministic approaches based on polynomial fitting, distance weighting, and radial basis functions; geostatistical approaches incorporating spatial correlations; and machine-learning models that learn the spatial dependence of the coefficients. Image by author.</figcaption></figure><h4>Polynomial and distance-based interpolation</h4><p><a href="https://doi.org/10.2307/621689">Polynomial regression</a> represents each coefficient field as a function of focal-plane position, using combinations of x, y, and their higher-order terms. A quadratic polynomial, for example, includes terms in x², xy, and y². Such models are well suited to smooth optical variations but may fail to capture smaller-scale fluctuations that depart from the assumed polynomial form.</p><p><a href="https://doi.org/10.1145/800186.810616">Inverse-distance weighting (IDW)</a> follows a different approach, estimating coefficients from nearby stellar measurements, with weights that decrease as the distance increases. It requires no explicit model of the spatial trend, although its predictions depend strongly on the distribution of neighboring stars and the chosen distance-weighting power.</p><p><a href="https://doi.org/10.2514/3.44330">Radial basis function (RBF) interpolation</a> constructs a smooth surface from functions centered on the sampled positions. In the experiments considered here, thin-plate splines are used to model the coefficient fields, with a smoothing parameter controlling how closely the fitted surface follows the stellar measurements.</p><h4>Kriging and machine learning</h4><p><a href="https://doi.org/10.2113/gsecongeo.58.8.1246">Kriging</a> incorporates spatial correlation through a variogram, which describes how differences between measurements depend on their separation. Ordinary Kriging assumes an unknown constant mean, whereas Universal Kriging includes a spatially varying mean, or drift, represented here by linear or quadratic polynomials. The latter can describe broad optical trends while using the spatial correlation model to account for departures from those trends.</p><p>Machine-learning methods provide another possibility. A multilayer perceptron (MLP), a neural network, learns the relationship between focal-plane coordinates and PCA coefficients from the training stars. Its flexibility makes it suitable for nonlinear variations, although the accuracy of its predictions depends on the available training data, the network architecture, and regularization. A <a href="https://doi.org/10.1023/A:1010933404324">Random Forest</a> provides a second machine-learning approach, combining predictions from multiple decision trees trained on the stellar positions and PCA coefficients. Unlike smooth interpolation models, its predictions are based on piecewise-constant regions of the input space, which can limit its ability to reproduce continuously varying PSF fields.</p><p>All methods are applied to the same stellar positions and PCA coefficients. Their parameters are selected using the validation dataset, while the independent test positions are reserved for comparing reconstruction accuracy. The three simulated PSF fields provide different spatial conditions under which to examine the relative strengths and limitations of these approaches.</p><p>For further reading on spatial interpolation methods and their validation, see the <a href="https://medium.com/@victor.astren/list/spatial-interpolation-geostatistics-series-7d9543033a5c">Spatial Interpolation &amp; Geostatistics series</a>, which covers the mathematical foundations of interpolation, geostatistics, machine learning, and spatial model evaluation.</p><h3>Reconstructing the PSF</h3><p>Once the PCA coefficients have been interpolated, the PSF can be reconstructed at any position within the modeled field, including the locations of galaxies where no stellar measurement is available. The reconstruction uses the same mean PSF and principal components derived from the training stars, replacing the measured coefficients with their interpolated values at the target position.</p><p>For a galaxy at position r_g, the reconstructed PSF is</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/267/0*iJPaPqaJZYPSF57p" /></figure><p>where the estimated coefficients depend on the interpolation method, while the mean PSF and principal components remain unchanged.</p><p>The resulting image provides an estimate of the complete PSF intensity distribution, rather than only its width or ellipticity. In the simulated fields, this reconstruction can be compared directly with the reference PSF available at the same position, making it possible to examine differences in both the central profile and the outer structure.</p><p>The figure below illustrates this comparison using a test position from the S1 space-based simulation, whose diffraction rings and spikes provide a useful example for examining reconstruction differences beyond the central PSF profile. The reference PSF, its reconstruction, and the residual image are shown side by side.</p><figure><img alt="Three-panel comparison of a simulated space telescope PSF. The reference and reconstructed images show nearly identical bright central cores, diffraction rings, and faint spikes. The residual panel displays small positive and negative intensity differences in red and blue, concentrated around the central region." src="https://cdn-images-1.medium.com/max/1024/1*WnvIXzMbfXVnXJwZP9VWEw.png" /><figcaption><strong>Reference PSF, reconstructed PSF, and residual image at a held-out test position in the S1 space-based simulation</strong>. The reconstruction uses nine PCA components, with their coefficients interpolated using Universal Kriging (UK) with quadratic drift. The reference and reconstructed PSFs share a logarithmic intensity scale, while the residual (reconstructed minus reference) is displayed on a separate linear scale to highlight small differences. Image by author.</figcaption></figure><h3>Measuring Reconstruction Accuracy</h3><p>The reconstructed PSFs can be compared with their exact counterparts at the 200 held-out test positions. This comparison must account for both the overall intensity distribution and the properties most relevant to galaxy-shape measurements, since a reconstruction may reproduce the central PSF profile closely while introducing small errors in its ellipticity or size. For this purpose, we use several complementary measures of accuracy. Other approaches to PSF model evaluation, including diagnostics based on spatial correlations in reconstruction residuals, are discussed by <a href="https://doi.org/10.1111/j.1365-2966.2010.16277.x">Rowe (2010)</a>.</p><h4>Image reconstruction error</h4><p>To assess how closely the reconstructed PSFs reproduce their reference images, we first examine the pixel-by-pixel differences, illustrated by the residual image in the preceding S1 example. These differences are then summarized across the full test set using the <strong>relative reconstruction error</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/272/0*tNjwVddyil5oiab7" /></figure><p>where P_i denotes the reference PSF image at test position i, and the same symbol with a hat denotes its reconstruction. The Frobenius norm sums the squared pixel differences over the image, while the normalization expresses the total reconstruction error relative to the reference PSFs.</p><p>This measure includes errors in the PSF core, wings, and diffraction structure, but does not indicate which aspects of the image are most affected. It combines two contributions: the representation error caused by truncating the PCA expansion and the additional error introduced by spatially interpolating its coefficients.</p><p>To isolate the representation error, each reference PSF is first decomposed directly into PCA coefficients using the selected principal components. A PSF reconstructed from these coefficients contains no interpolation error, since the coefficients are obtained from the image itself rather than estimated from neighboring stars. The remaining difference between this truncated reconstruction and the reference PSF then measures the error introduced by retaining only a limited number of components.</p><p>The two reconstruction paths are illustrated below, using the same reference PSF to separate the effect of PCA truncation from the additional error introduced by interpolating its coefficients.</p><figure><img alt="Diagram comparing PCA representation and spatial interpolation errors in telescope PSF reconstruction. Two paths show direct projection onto a retained PCA basis and reconstruction using spatially interpolated coefficients, with an RBF spline used as an example. Reference PSFs, reconstructed images, and residual maps illustrate the two error contributions." src="https://cdn-images-1.medium.com/max/1024/1*jp23-rYVdjUtXEopY7Q-IQ.png" /><figcaption><strong><em>Separating PCA representation and spatial interpolation errors.</em></strong><em> The same reference PSF is reconstructed through two paths in the G2 simulation. Direct projection onto the selected PCA components isolates the error introduced by truncating the expansion, while reconstruction using spatially interpolated coefficients introduces an additional source of error. An RBF spline is used here as an example, although the same procedure applies to the other interpolation methods. The total residual can be decomposed into representation and interpolation contributions. The residual images use separate color scales to reveal their structure. Image by author.</em></figcaption></figure><h4>PSF ellipticity and size</h4><p>For weak-lensing applications, the shape and size of the PSF are particularly important because inaccuracies in these properties can affect the inferred shapes of galaxies. Following the usual description in terms of <a href="https://doi.org/10.1086/176071">second-order (quadrupole) moments</a>, we characterize each PSF by a matrix Q_ij, which measures how its intensity is distributed around the image center. In the present analysis, the moments are calculated with a Gaussian weight to limit the influence of the faint outer regions.</p><p>The two ellipticity components are defined as</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/291/0*qPobZ4iz2iq6kaGm" /></figure><p>while the squared PSF size is</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/127/0*2YO0_G2xq7FZSUr-" /></figure><p>The first ellipticity component describes elongation along the image coordinate axes, while the second describes elongation along directions rotated by 45°. Together, they characterize the anisotropy of the PSF, whereas R² measures the overall spatial extent of its weighted intensity distribution.</p><p>For each quantity, reconstruction accuracy is evaluated using the root-mean-square error (RMSE) across the test positions. The ellipticity errors are reported separately for e₁ and e₂, and combined into a single measure</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/322/0*aX0b9Ex6Bp0xLo06" /></figure><p>Errors in squared PSF size are expressed in squared pixels. These measurements complement the full-image error by identifying differences that are especially relevant when correcting observed galaxy shapes.</p><h4>Additive and multiplicative biases</h4><p>The RMSE measures the magnitude of reconstruction errors but does not distinguish random scatter from systematic effects. An interpolation method may, for example, reproduce the mean ellipticity while systematically underestimating its variations across the field.</p><p>To examine such effects, we fit a linear relation between reconstructed and reference ellipticity at the test positions:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/292/0*J2yrvg0jqELyb4Ie" /></figure><p>Here m_j represents a <strong>multiplicative bias</strong>, c_j an <strong>additive offset</strong>, and ϵ_j the remaining residual. A negative multiplicative bias indicates that the reconstructed ellipticity varies less strongly than the reference values, while an additive bias shifts the reconstructed values by an approximately constant amount.</p><p>For the PSF size, we measure the mean fractional bias in R²:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/154/0*7CqgS4EJevrMsVWx" /></figure><p>This quantity indicates whether a method tends to overestimate or underestimate the squared PSF size. It is considered alongside the size RMSE, since positive and negative errors can cancel in the mean even when individual reconstructions remain inaccurate.</p><p>These measures provide a basis for comparing the interpolation methods across the three simulated PSF fields. The fitted additive and multiplicative biases describe systematic errors in the reconstructed PSF properties, <strong>rather than in the gravitational lensing signal itself</strong>. Determining how these errors affect cosmic shear measurements would require using the reconstructed PSFs to correct simulated galaxy images and evaluating the resulting biases in the recovered galaxy shapes.</p><h3>Evaluation of PCA-Based PSF Modeling</h3><p>The seven interpolation methods were evaluated across the three simulated PSF fields, giving 21 method–scenario combinations. The PCA representations use five components for G1, eight for G2, and nine for S1, with reconstruction accuracy measured at the same 200 held-out test positions in each scenario.</p><p>The comparison examines how the methods recover the complete PSF intensity distribution, its ellipticity components, and its squared size. Although these quantities are related, a method that minimizes the overall image error does not necessarily provide the most accurate estimates of PSF shape.</p><h4>Reconstruction accuracy across observing scenarios</h4><p>The first comparison concerns the ellipticity components, whose reconstruction errors are shown below for all seven methods and three observing scenarios.</p><figure><img alt="Six-panel comparison of PSF ellipticity reconstruction errors for seven spatial interpolation methods. Bar charts show RMSE in e1 and e2 across simulated telescope PSF fields G1, G2, and S1, highlighting differences between polynomial regression, RBF, Kriging, and machine-learning methods." src="https://cdn-images-1.medium.com/max/1024/1*S6obDD9C--7gv-WcG-VOOw.png" /><figcaption><strong>PSF ellipticity reconstruction accuracy.</strong> Comparison of RMSE in ellipticity components e₁ (top row) and e₂ (bottom row) across the three observing scenarios for seven spatial interpolation methods. Values are expressed in units of 10⁻³, with separate vertical scales for each panel. Polynomial regression performs best in G1, RBF splines give the lowest combined ellipticity error in G2, and Universal Kriging and polynomial regression achieve similar accuracy in S1. Image by author.</figcaption></figure><p>In the smooth Moffat field G1, polynomial regression achieves the lowest combined ellipticity RMSE, 0.063 × 10⁻³, followed by Universal Kriging and RBF splines at 0.218 × 10⁻³ and 0.231 × 10⁻³, respectively. The relatively simple spatial dependence of the PSF parameters favors methods that capture broad, smoothly varying trends. More flexible models offer little advantage when those trends can already be described accurately by low-degree polynomials.</p><p>The relative performance of the methods changes in G2, where optical distortions are combined with spatially correlated atmospheric variations. Polynomial regression performs poorly, with a combined ellipticity RMSE of 15.292 × 10⁻³, while the RBF spline reduces this error to 2.487 × 10⁻³. Ordinary and Universal Kriging provide intermediate results, with combined errors of approximately 3.2 × 10⁻³. The additional fluctuations in G2 cannot be represented adequately by a single low-degree polynomial surface, whereas RBF and Kriging models can accommodate departures from a broad spatial trend.</p><p>The space-based scenario S1 presents a different situation. Although its individual PSFs contain diffraction rings and structures associated with the telescope pupil, their spatial variations remain sufficiently regular for polynomial regression and Universal Kriging to perform well. Universal Kriging achieves the lowest combined ellipticity RMSE, 0.359 × 10⁻³, closely followed by polynomial regression at 0.368 × 10⁻³.</p><p>The same comparison can be extended to squared PSF size and the complete reconstructed images.</p><figure><img alt="Six-panel comparison of telescope PSF reconstruction accuracy for seven spatial interpolation methods. Charts show squared PSF size RMSE in pixels squared and relative image reconstruction error in percent across simulated fields G1, G2, and S1." src="https://cdn-images-1.medium.com/max/1024/1*NrOuR9tnVg5QI29OirB30w.png" /><figcaption><strong>PSF size and image reconstruction accuracy.</strong> Comparison of RMSE in squared PSF size, R², and relative full-image reconstruction error for seven interpolation methods across G1, G2, and S1. Size errors are expressed in squared pixels and image errors as percentages, with separate vertical scales for each panel. G2 exhibits substantially larger reconstruction errors than G1 and S1, while the leading methods differ according to the accuracy measure considered. Image by author.</figcaption></figure><p>For G1, Universal Kriging gives the smallest relative image reconstruction error, 0.016%, while polynomial regression remains the most accurate method for ellipticity. In S1, polynomial regression achieves the smallest image error, 0.111%, whereas Universal Kriging gives slightly better ellipticity and squared-size estimates. These differences show that the method providing the closest pixel-level reconstruction is not always the one that best preserves the particular PSF properties used in galaxy-shape measurements.</p><p><strong>G2 remains the most challenging scenario</strong> across the principal accuracy measures. Even its leading RBF reconstruction has a relative image error of 0.657%, compared with 0.019% in G1 and 0.135% in S1 for the same method. The contrast is significant because the diffraction-based S1 profiles are visually more structured than the ground-based G2 profiles. The accuracy of the complete reconstruction depends not only on the structure of an individual PSF image, but also on how effectively it can be <strong>represented by the selected PCA components</strong> and how accurately their <strong>coefficients can be interpolated</strong> across the field.</p><figure><img alt="Comparison table of leading PSF interpolation methods across G1, G2, and S1 simulations, showing image reconstruction error, ellipticity RMSE, and squared-size RMSE. RBF splines perform best in G2, while polynomial regression and Universal Kriging lead in G1 and S1." src="https://cdn-images-1.medium.com/max/1024/1*9xwZ2BllIKK8Ny5ABg4kpA.png" /><figcaption><strong>Performance summary of leading PSF interpolation methods across observing scenarios</strong>. Selected methods for G1, G2, and S1 are compared using relative image reconstruction error, combined ellipticity RMSE, and squared-size RMSE. Polynomial regression and Universal Kriging perform best on different accuracy measures in G1 and S1, while RBF splines provide the most accurate results across all three measures in the more challenging G2 field. Image by author.</figcaption></figure><p>The results do not identify a single interpolation method that is optimal for all three PSF fields and all accuracy measures. Instead, they indicate that the choice of model must account for the spatial behavior of the coefficient fields and the PSF properties whose accuracy is most important.</p><h4>Systematic biases in PSF properties</h4><p>The RMSE comparisons describe the magnitude of reconstruction errors, but they do not show whether a method systematically changes the range of ellipticities or sizes present across the field. This distinction is particularly relevant in G2, where several methods produce reconstructed PSFs whose properties vary less strongly than those of the reference images.</p><p>The effect is illustrated below by comparing reference and reconstructed ellipticity components and squared sizes for three interpolation methods in G2.</p><figure><img alt="Three scatter plots comparing reference and reconstructed PSF ellipticity components (e₁, e₂) and squared size (R²) in the G2 simulation. RBF splines and Universal Kriging closely follow ideal recovery, while polynomial regression shows greater scatter and systematic deviations." src="https://cdn-images-1.medium.com/max/1024/1*1UzLvrs-16dZZbZByySl7Q.png" /><figcaption><strong>Reference and reconstructed PSF properties in the G2 simulation.</strong> The two ellipticity components and squared PSF size are compared at 200 held-out test positions using RBF splines, Universal Kriging with quadratic drift, and polynomial regression of degree three. Dashed lines indicate perfect reconstruction, while colored lines show linear fits. For ellipticity, the fitted slopes are 1 + mⱼ and the intercepts are cⱼ, following the bias definitions introduced earlier. Polynomial regression shows substantially greater scatter and stronger attenuation of spatial variations than RBF and Universal Kriging. Image by author.</figcaption></figure><p>The RBF reconstruction closely follows the reference values, with multiplicative ellipticity biases of -0.77% for e₁ and -1.94% for e₂. Universal Kriging exhibits stronger attenuation, with biases of -3.93% and -3.60%, while polynomial regression reaches -38.69% and -32.59%. For the latter method, the reconstructed values are compressed toward the mean, consistent with its inability to reproduce the correlated spatial fluctuations present in the simulated coefficient fields.</p><p>The squared-size panel shows a related effect. The fitted slopes for RBF and Universal Kriging remain close to unity, whereas polynomial regression produces a substantially flatter relation and greater scatter. A fitted slope, however, describes how reconstructed sizes vary with the reference values; it is not equivalent to the mean fractional size bias introduced earlier.</p><p>The systematic effects across all three scenarios are summarized in the following comparison of multiplicative ellipticity biases, additive offsets, and mean fractional squared-size biases.</p><figure><img alt="Nine-panel forest plot showing systematic PSF reconstruction biases for seven spatial interpolation methods across simulated fields G1, G2, and S1. Error bars compare multiplicative ellipticity biases, additive offsets, and fractional PSF size biases, with dashed zero-bias reference lines." src="https://cdn-images-1.medium.com/max/1024/1*ipXqd-dxgdyjO5jbag7Wuw.png" /><figcaption><strong>Systematic PSF reconstruction biases across observing scenarios.</strong> Multiplicative ellipticity biases (m₁, m₂), additive offsets (c₁, c₂), and mean fractional squared-size bias (bR²) are compared for seven interpolation methods across G1, G2, and S1. Multiplicative and size biases are expressed as percentages, while additive offsets are scaled by 10⁻⁴. Points indicate fitted biases, error bars show nominal 95% confidence intervals, and dashed vertical lines mark zero bias. G2 exhibits particularly strong negative multiplicative biases for polynomial regression and Random Forest, indicating an underestimation of spatial ellipticity variations. Image by author.</figcaption></figure><p>In G1, polynomial regression, RBF splines, Universal Kriging, and the multilayer perceptron produce relatively small ellipticity biases, whereas inverse-distance weighting and Random Forest show more pronounced attenuation. G2 exhibits the strongest negative multiplicative biases, particularly for polynomial regression and Random Forest, reflecting the difficulty of recovering its smaller-scale spatial variations. In S1, the leading methods generally preserve ellipticity variations more accurately, although their fitted biases are not uniformly zero.</p><p>The additive offsets and mean fractional size biases are generally smaller than the corresponding variation measured through RMSE, especially for the better-performing methods. This does not imply that their individual size estimates are equally accurate, since positive and negative residuals can compensate when averaged across the field.</p><p>Taken together, the benchmark results show that spatial interpolation can introduce systematic changes in PSF properties even when the reconstructed images appear close to their reference counterparts. The choice of interpolation method must therefore consider both the overall reconstruction error and the accuracy of the shape and size measurements derived from the PSF.</p><h3>Discussion and Limitations</h3><p>The numerical results illustrate how the accuracy of PSF modeling depends on both the representation of stellar images and the spatial variation of their PCA coefficients. In the smooth G1 field, low-degree polynomial regression reproduces the variations in PSF shape with high accuracy, while RBF splines and Kriging are better suited to the correlated fluctuations introduced in G2. Despite the more complex optical structure of individual PSFs in the diffraction-based S1 field, their spatial variations can be modeled accurately with relatively simple interpolation methods. This shows that the complexity of a PSF image is not, by itself, a reliable indicator of the difficulty of estimating that PSF at unsampled positions.</p><p>These differences in reconstruction accuracy must also be considered in relation to the two stages of the modeling pipeline. The reported errors combine the effects of PCA truncation and spatial interpolation. Although these contributions can be distinguished by projecting the reference PSFs directly onto the selected principal components, the numerical comparisons presented here evaluate the complete modeling pipeline rather than assigning separate error budgets to the two stages. Within each scenario, the interpolation methods share the same PCA representation, allowing their relative performance to be compared under consistent conditions. Comparisons between scenarios, however, also reflect differences in the underlying PSF models and in the number of components used to describe them.</p><p>Beyond the distinction between PCA representation and interpolation errors, the evaluation is limited by the assumptions of the simulations. In particular, the stellar PSFs contain no observational noise, whereas real measurements are affected by photon noise, detector noise, and uncertainties in the determination of stellar profiles. Such effects can influence both the PCA representation and the estimated coefficient fields, potentially changing the relative performance of the interpolation methods. The simulations also describe fixed observing configurations and do not account for temporal or wavelength-dependent PSF variations, which can be important in astronomical surveys.</p><p>In astronomical surveys, dedicated software packages such as <a href="https://aspbooks.org/a/volumes/article_details?paper_id=32936">PSFEx</a> (Bertin 2011) and <a href="https://doi.org/10.1093/mnras/staa3679">Piff</a> (Jarvis et al. 2021) provide more comprehensive frameworks for fitting stellar PSFs and modeling their spatial variations, whereas the present experiments focus on PCA-based reconstruction and interpolation under controlled conditions.</p><p>The spatial sampling strategy imposes further limits on the interpretation of the results. The evaluation uses the same stellar sampling geometry across the three scenarios, with validation and test positions drawn from the modeled fields. This provides a consistent basis for comparing the methods, but does not establish how their accuracy would change with different stellar densities, irregular spatial coverage, or predictions outside the well-sampled regions. The confidence intervals reported for systematic biases also assume that reconstruction residuals at different test positions are <strong>statistically independent</strong>. However, spatially correlated PSF variations may produce correlated residuals at nearby positions, reducing the effective number of independent measurements and potentially leading to underestimated uncertainties.</p><p>Finally, the ellipticity and size biases measured here characterize errors in the reconstructed PSFs, not biases in the gravitational lensing signal itself. Their effect on cosmic shear measurements depends on how the PSF model is used to correct galaxy images, as well as on the galaxy population and shape-measurement procedure. Establishing that connection would require applying the reconstructed PSFs to simulated galaxy observations and measuring the resulting errors in recovered galaxy shapes.</p><h3>Conclusion</h3><p>Estimating the point spread function at galaxy positions is an essential step in accounting for instrumental and atmospheric effects in astronomical images. The approach examined here uses principal component analysis to represent stellar PSFs through a limited number of components, whose coefficients are interpolated across the field of view to reconstruct the PSF at positions where no direct stellar measurement is available.</p><p>The comparison of seven interpolation methods across three simulated PSF fields shows that reconstruction accuracy depends on the spatial variation of these coefficients and on the ability of the PCA representation to describe the underlying PSF structure. <strong>No single interpolation method performs best under all conditions</strong>, and the method providing the lowest full-image reconstruction error does not necessarily yield the most accurate estimates of PSF ellipticity or size.</p><p>For applications such as weak gravitational lensing, these results emphasize the importance of evaluating PSF models not only through their agreement with reference images, but also through the accuracy of the shape and size properties used in galaxy measurements.</p><p><em>You can explore the implementation, evaluation pipeline, and figure generation scripts in the </em><a href="https://github.com/victorastren/medium-public/tree/main/psf_spatial_interpolation"><em>GitHub companion repository</em></a><em>.</em></p><h3>References &amp; Further Reading</h3><ol><li><strong>Matheron, G. (1963).</strong> <em>Principles of geostatistics.</em> Economic Geology, 58(8), 1246–1266. <a href="https://doi.org/10.2113/gsecongeo.58.8.1246">DOI: 10.2113/gsecongeo.58.8.1246</a>.</li><li><strong>Chorley, R. J., &amp; Haggett, P. (1965).</strong> <em>Trend-surface mapping in geographical research.</em> Transactions of the Institute of British Geographers, (37), 47–67. <a href="https://doi.org/10.2307/621689">DOI: 10.2307/621689</a>.</li><li><strong>Shepard, D. (1968).</strong> <em>A two-dimensional interpolation function for irregularly-spaced data.</em> Proceedings of the 1968 23rd ACM National Conference, 517–524. <a href="https://doi.org/10.1145/800186.810616">DOI: 10.1145/800186.810616</a>.</li><li><strong>Moffat, A. F. J. (1969).</strong> <em>A Theoretical Investigation of Focal Stellar Images in the Photographic Emulsion and Application to Photographic Photometry.</em> Astronomy and Astrophysics, 3, 455–461. <a href="https://ui.adsabs.harvard.edu/abs/1969A%26A.....3..455M/abstract">ADS</a>.</li><li><strong>Harder, R. L., &amp; Desmarais, R. N. (1972).</strong> <em>Interpolation using surface splines.</em> Journal of Aircraft, 9(2), 189–191. <a href="https://doi.org/10.2514/3.44330">DOI: 10.2514/3.44330</a>.</li><li><strong>Cressie, N. (1993).</strong> <em>Statistics for Spatial Data.</em> John Wiley &amp; Sons, New York.</li><li><strong>Kaiser, N., Squires, G., &amp; Broadhurst, T. (1995).</strong> <em>A Method for Weak Lensing Observations.</em> The Astrophysical Journal, 449, 460–480. <a href="https://doi.org/10.1086/176071">DOI: 10.1086/176071</a> · <a href="https://ui.adsabs.harvard.edu/abs/1995ApJ...449..460K/abstract">ADS</a> · <a href="https://arxiv.org/abs/astro-ph/9411005">arXiv:astro-ph/9411005</a>.</li><li><strong>Breiman, L. (2001).</strong> <em>Random Forests.</em> Machine Learning, 45, 5–32. <a href="https://doi.org/10.1023/A:1010933404324">DOI: 10.1023/A:1010933404324</a> · <a href="https://link.springer.com/article/10.1023/A:1010933404324">Springer</a> · <a href="https://www.stat.berkeley.edu/~breiman/randomforest2001.pdf">PDF (UC Berkeley)</a>.</li><li><strong>Jarvis, M., &amp; Jain, B. (2004).</strong> <em>Principal Component Analysis of PSF Variation in Weak Lensing Surveys.</em> <a href="https://ui.adsabs.harvard.edu/abs/2004astro.ph.12234J/abstract">ADS</a> · <a href="https://arxiv.org/abs/astro-ph/0412234">arXiv:astro-ph/0412234</a>.</li><li><strong>Goodman, J. W. (2005).</strong> <em>Introduction to Fourier Optics</em> (3rd ed.). Roberts &amp; Company Publishers. ISBN: 978-0974707723. <a href="https://books.google.com/books/about/Introduction_to_Fourier_Optics.html?id=ow5xs_Rtt9AC">Google Books</a> · <a href="https://openlibrary.org/works/OL3008985W/Introduction_to_Fourier_optics">Open Library</a>. <em>(A standard reference for diffraction theory, pupil functions, and image formation).</em></li><li><strong>Bishop, C. M. (2006).</strong> <em>Pattern Recognition and Machine Learning.</em> Springer. ISBN: 978-0387310732.</li><li><strong>Rowe, B. (2010).</strong> <em>Improving PSF modelling for weak gravitational lensing using new methods in model selection.</em> Monthly Notices of the Royal Astronomical Society, 404(1), 350–366. <a href="https://doi.org/10.1111/j.1365-2966.2010.16277.x">DOI: 10.1111/j.1365–2966.2010.16277.x</a> · <a href="https://academic.oup.com/mnras/article/404/1/350/3101560">Oxford Academic</a> · <a href="https://ui.adsabs.harvard.edu/abs/2010MNRAS.404..350R/abstract">ADS</a> · <a href="https://arxiv.org/abs/0904.3056">arXiv:0904.3056</a>.</li><li><strong>Bertin, E. (2011).</strong> <em>Automated Morphometry with SExtractor and PSFEx.</em> Astronomical Data Analysis Software and Systems XX, ASP Conference Series, 442, 435. <a href="https://aspbooks.org/a/volumes/article_details?paper_id=32936">ASP Conference Series</a> · <a href="https://www.aspbooks.org/publications/442/435.pdf">PDF</a>. <em>(PSFEx: a package for modeling spatial variations in point spread functions).</em></li><li><strong>Kitching, T., Balan, S. T., Bernstein, G., et al. (2011).</strong> <em>Gravitational Lensing Accuracy Testing 2010 (GREAT10) Challenge Handbook.</em> Annals of Applied Statistics, Vol. 5, Issue. 3, pp. 2231–2263. <a href="https://doi.org/10.1214/11-AOAS484">10.1214/11-AOAS484</a> · <a href="https://ui.adsabs.harvard.edu/abs/2010arXiv1009.0779K/abstract">ADS</a> · <a href="https://arxiv.org/abs/1009.0779">arXiv:1009.0779</a>.</li><li><strong>Kitching, T. D., Rowe, B., Gill, M., et al. (2013).</strong> <em>Image Analysis for Cosmology: Results from the GREAT10 Star Challenge.</em> The Astrophysical Journal Supplement Series, 205(2), 12. <a href="https://doi.org/10.1088/0067-0049/205/2/12">10.1088/0067–0049/205/2/12</a> · <a href="https://ui.adsabs.harvard.edu/abs/2013ApJS..205...12K/abstract">ADS</a> · <a href="https://arxiv.org/abs/1210.1979">arXiv:1210.1979</a>.</li><li><strong>Mandelbaum, R. (2018).</strong> <em>Weak Gravitational Lensing for Precision Cosmology.</em> Annual Review of Astronomy and Astrophysics, 56, 393–433. <a href="https://doi.org/10.1146/annurev-astro-081817-051928">DOI: 10.1146/annurev-astro-081817–051928</a> · <a href="https://ui.adsabs.harvard.edu/abs/2018ARA%26A..56..393M/abstract">ADS</a> · <a href="https://arxiv.org/abs/1710.03235">arXiv:1710.03235</a>.</li><li><strong>Jarvis, M., Bernstein, G. M., Amon, A., et al. (2021).</strong> <em>Dark Energy Survey Year 3 Results: Point Spread Function Modelling.</em> Monthly Notices of the Royal Astronomical Society, 501(1), 1282–1299. <a href="https://doi.org/10.1093/mnras/staa3679">DOI: 10.1093/mnras/staa3679</a> · <a href="https://academic.oup.com/mnras/article/501/1/1282/6006887">Oxford Academic</a>. <em>(Piff: a framework supporting different PSF model representations and spatial interpolation methods).</em></li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7ad053151d3e" width="1" height="1" alt=""><hr><p><a href="https://medium.com/stellar-priors/interpolating-stars-7ad053151d3e">Interpolating Stars for Galaxy Shape Measurement</a> was originally published in <a href="https://medium.com/stellar-priors">Stellar Priors</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Dynamical Systems: The Geometry Behind Differential Equations]]></title>
            <link>https://medium.com/stellar-priors/dynamical-systems-from-equations-to-geometry-09ce8e80585d?source=rss----452c3ef4656b---4</link>
            <guid isPermaLink="false">https://medium.com/p/09ce8e80585d</guid>
            <category><![CDATA[science]]></category>
            <category><![CDATA[physics]]></category>
            <category><![CDATA[math]]></category>
            <category><![CDATA[dynamical-systems]]></category>
            <category><![CDATA[differential-equations]]></category>
            <dc:creator><![CDATA[Victor Astren]]></dc:creator>
            <pubDate>Fri, 25 Sep 2026 10:04:00 GMT</pubDate>
            <atom:updated>2026-10-27T09:50:07.108Z</atom:updated>
            <content:encoded><![CDATA[<h4>From the nonlinear pendulum to stability and Poincaré’s qualitative dynamics</h4><figure><img alt="Cover image for an article on dynamical systems showing a pendulum, differential equations, a phase portrait with libration and separatrix regions, and a Poincaré return-map inset." src="https://cdn-images-1.medium.com/max/1024/1*IBG_4QMBB7YyL57oAMkgnw.png" /><figcaption>A nonlinear pendulum, phase portrait, and Poincaré return map illustrate the shift from differential equations to the geometric language of trajectories, stability, and qualitative dynamics. Image by author.</figcaption></figure><p><strong>What does it mean to understand a differential equation?</strong></p><p>Is finding an explicit solution always necessary? And when no simple formula exists, what can the geometry of the possible motions still tell us?</p><p>These questions lead to a different way of thinking about dynamics. Instead of following one solution through time, we can study how entire families of trajectories are arranged, how they behave near special states, and how their long-term evolution changes when the system is perturbed.</p><p>The nonlinear pendulum provides a simple place to begin. Its equation is easy to write down, but it already shows why solving an equation and understanding a dynamical system are not always the same thing.</p><h3>A <strong>deceptively</strong> simple equation</h3><p>A pendulum is one of the simplest systems in classical mechanics.</p><p>A mass hangs from a pivot and moves under the action of gravity. If θ denotes its angular displacement from the downward vertical and ℓ the pendulum length, its motion is described by</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/144/0*1ECBS19sDJUsREIK.png" /></figure><p>For small θ,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/101/0*rIXdEnhiI2cw_uPQ.png" /></figure><p>so the equation becomes</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/116/0*ONgwahUVGQdFEjzl.png" /></figure><p>We recognize the harmonic oscillator, with its well-known sinusoidal solution</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/302/0*egQcgiM8a1Ovn87D.png" /></figure><p>In this regime, the motion can be written explicitly and is easy to interpret</p><p>However, once the small-angle approximation is removed, the sin θ term makes the system nonlinear and the equation is no longer solved by elementary trigonometric functions. Its exact solution instead involves elliptic functions, a class of special functions, so the explicit time evolution is less straightforward to interpret.</p><p>The nonlinear pendulum can behave in several qualitatively different ways. It may oscillate back and forth around its downward equilibrium, or, with sufficient initial velocity, rotate continuously around the pivot. The downward and upward equilibrium positions have different stability properties, and a special trajectory separates oscillatory motion from continuous rotation.</p><p>By the late nineteenth century, differential equations had become fundamental to mechanics and mathematical physics, but many nonlinear equations resisted simple analytical solutions, and their possible behaviors were not always apparent from the equations themselves. The difficulty was particularly important in celestial mechanics, where questions about long-term motion and stability remained even when explicit solutions were unavailable.</p><p><strong>Henri Poincaré</strong> began developing a <a href="http://www.numdam.org/item/JMPA_1881_3_7__375_0/">qualitative theory of differential equations in the 1880s</a>, asking what could be learned about solutions even when they could not be written explicitly. Rather than following only individual solutions, he studied the geometry formed by entire families of trajectories.</p><p>If we take the example of the pendulum, the idea is to describe its instantaneous state not by its angle θ alone, but by a point in a plane whose coordinates are its angle and angular velocity,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/68/0*pt2bV_Am_OWw4dvG.png" /></figure><p>As the pendulum evolves, this point traces a curve. Different initial conditions generate different curves, and taken together these trajectories describe the geometry of the motion.</p><p>So, instead of asking only for the solution θ(t), we can ask how all possible trajectories are arranged in state space. This change of viewpoint is one of the central ideas of <strong>dynamical systems theory</strong>.</p><p>It allows us to identify equilibrium points, determine their stability, distinguish oscillation from rotation, and find the trajectories that separate different regimes of motion, often without requiring an explicit formula for the full time evolution.</p><p>The pendulum is simple enough for these ideas to be seen directly, but the same viewpoint extends much further, from nonlinear mechanics and celestial dynamics to stability theory and chaos.</p><h3>From an Equation of Motion to a Dynamical System</h3><p>The pendulum equation</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/111/0*PA4_cWRDj5Cge-C-" /></figure><p>is a second-order differential equation: determining its future motion requires both the initial angle and the initial angular velocity.</p><p>If we introduce</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/43/0*S9qoEPqiBxc8A2ZQ" /></figure><p>then the second-order equation can be written as a pair of first-order equations,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/184/0*Y6B0Eohfg7icolIO" /></figure><p>If the state of the pendulum is specified by the two-component vector</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/68/0*zW6uDhd9yypnKeL4" /></figure><p>then its evolution can be written compactly as</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/178/0*h6dwrRjUzu05dVvq" /></figure><p>The change of viewpoint, from the physical pendulum to a trajectory in state space, is summarized below.</p><figure><img alt="Pendulum mapped from physical motion to phase space, showing state coordinates, vector field, and trajectory in a dynamical system." src="https://cdn-images-1.medium.com/max/1024/1*EI0Z7Vztc9QZvNcDfk2K0w.png" /><figcaption><em>From physical motion to state-space dynamics. A pendulum configuration, specified by its angle θ and angular velocity ω, is mapped to a point (θ, ω) in the phase plane. The differential equations define a vector field (θ̇, ω̇), which determines the local direction of evolution and therefore the trajectory followed by the system through state space. Image by author.</em></figcaption></figure><p>This is a <strong>first-order autonomous dynamical system</strong>. It is first-order because only first derivatives appear, and autonomous because the right-hand side contains no explicit dependence on time. The evolution of the system at any instant is determined entirely by its current state.</p><p>The same form describes a much wider class of systems:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/65/0*C1eI0ogF6m1zVEsR" /></figure><p>where the components of x specify the variables needed to describe the state of the system. <strong>A second-order equation for one variable therefore becomes a first-order system in two variables. </strong>More generally, higher-order equations and coupled equations can be rewritten in a similar form by enlarging the state vector.</p><p>At every point (θ, ω), the vector f(θ, ω) then specifies the instantaneous direction in which the state will move. Taken over the whole plane, these vectors define a <strong>vector field</strong>. Starting from an initial state (θ_0, ω_0), the evolving pendulum follows one curve through this field: its <strong>trajectory</strong>.</p><p>The collection of possible states forms the <strong>state space</strong> of the system. For mechanical systems, this is commonly called <strong>phase space</strong>. When the relevant phase space is two-dimensional, as for the pendulum considered here, it is called the <strong>phase plane</strong>. Each point represents a complete instantaneous state of the pendulum, while each trajectory represents one possible evolution in time.</p><blockquote><em>💡 </em><strong>Note on phase space coordinates</strong></blockquote><blockquote>In Hamiltonian mechanics, phase space uses (θ, p_θ) with p_θ = mℓ²ω. For fixed m and ℓ, this is just a constant rescaling of (θ, ω), so the qualitative phase-space geometry is unchanged.</blockquote><p>The phase-plane representation is different from a conventional plot of θ(t). A time-series plot shows how one variable evolves for one chosen initial condition. The phase plane instead places all possible states in the same geometric space, allowing different kinds of motion to be compared directly.</p><p>For the pendulum, that geometry is organized into distinct dynamical regimes. Some trajectories form closed curves, others correspond to continuous rotations, and certain points remain fixed altogether.</p><p>To see why these different regimes appear, we can now examine the full set of trajectories in the phase plane.</p><h3>Phase Plane and the Geometry of Motion</h3><p>The phase plane makes it possible to examine all possible motions of the pendulum at once.</p><p>For the undamped pendulum, there is an additional quantity that organizes these trajectories: the <strong>total mechanical energy</strong>. Taking the lowest position of the pendulum, θ = 0, as the zero of gravitational potential energy, the total mechanical energy is</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/230/0*NLobieKEwVAsP7yU" /></figure><p>The first term is the kinetic energy and the second is the gravitational potential energy. In the absence of friction, this energy is conserved. Differentiating with respect to time gives</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/203/0*qlGvhu5rtlltlEKK" /></figure><p>Using</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/184/0*GUOK6t3bRj4UNjj1" /></figure><p>the two terms cancel,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/57/0*DDVG_h5VjVruU1x-" /></figure><p>The pendulum thus remains on the same energy level throughout its motion. For a given value of E, its trajectory in the (θ, ω) plane must satisfy</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/230/0*LhXTYmuUfLNsa-CJ" /></figure><p>Each trajectory is then a curve of constant energy. Plotting these trajectories for different initial conditions gives the <strong>phase portrait</strong> of the pendulum.</p><figure><img alt="Nonlinear pendulum phase portrait showing libration, separatrix, rotation, stable equilibrium, and inverted equilibrium in phase space." src="https://cdn-images-1.medium.com/max/1024/1*dWnLbEr4SEthUFfivBL-zQ.png" /><figcaption><em>Phase portrait of the nonlinear pendulum. Constant-energy trajectories divide the phase plane into distinct dynamical regimes. For E &lt; 2mgℓ, closed trajectories correspond to libration about the downward equilibrium. The critical energy E = 2mgℓ defines the separatrix passing through the inverted equilibria, while E &gt; 2mgℓ produces continuous rotation. Image by author.</em></figcaption></figure><p>The phase portrait separates the motion into three qualitatively different regimes.</p><p>For sufficiently low energy, the pendulum cannot reach the vertically upward position. It moves back and forth around θ = 0, reversing direction whenever ω = 0. These bounded oscillations, usually called <strong>librations</strong>, appear in the phase plane as closed curves surrounding the downward equilibrium.</p><p>The boundary between libration and rotation occurs at a critical energy. At the vertically upward position,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/129/0*qqDfrlKLddM40d8G" /></figure><p>and the energy is</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/95/0*jCqhxyZbf9P94P6D" /></figure><p>At exactly this energy value, the trajectory forms the <strong>separatrix</strong>, the boundary dividing libration from rotation.</p><p>At higher energy, the pendulum has enough kinetic energy to pass over the top and continue moving in the same direction. This regime is called <strong>rotation</strong>; when the evolving variable is an angle, it is also commonly described as <strong>circulation</strong>. In the phase plane, rotational trajectories extend across successive values of θ rather than closing around the downward equilibrium.</p><p>During libration, ω changes sign at each turning point, whereas during rotation it retains the same sign. Since p_θ = mℓ²ω, the conjugate momentum behaves in the same way.</p><p><strong>The qualitative behavior of the pendulum can thus be read directly from the geometry of its phase portrait, without solving explicitly for </strong><strong>θ(t).</strong></p><p>There is one further detail in this picture. The angle θ is periodic: values differing by 2π represent the same physical orientation. The periodicity of θ means that the pendulum&#39;s phase space can also be represented as a cylinder, obtained by identifying</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/81/0*kAxUhyzThos_lX8l" /></figure><p>Under this identification, librations remain closed loops around the stable equilibrium, while rotational trajectories wind continuously around the cylinder.</p><p>The phase portrait already distinguishes the main types of pendulum motion and shows how much information can be extracted from the geometry of trajectories alone. But mechanical motion and energy conservation are special features of this example. Before turning to fixed points and stability, it is useful to separate what belongs specifically to the pendulum from what applies more generally to dynamical systems.</p><h3>Beyond the Pendulum: General Dynamical Systems</h3><p>The pendulum provides a convenient example because its physical interpretation is immediate and its phase portrait already displays equilibria, closed trajectories, and a separatrix. <strong>But the same mathematical framework applies much more broadly.</strong></p><p>A continuous-time autonomous dynamical system can be written in the general form</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/65/0*KGU_kY6miInuWwQz" /></figure><p>where</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/146/0*N8BUoqwKaAUV0ZGW" /></figure><p>collects the variables required to specify the state of the system. The function <strong>f</strong> determines how that state changes from one instant to the next. In one dimension,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/66/0*moAQxGOe7YkrI7t4" /></figure><p>the state is described by a single variable. In two dimensions,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/209/0*RDZkL8Aw1jPqq7IY" /></figure><p>the state moves through a plane. More generally, an n-dimensional system evolves through an n-dimensional state space.</p><p>The state variables are simply the quantities needed to specify the system. They may represent interacting populations, chemical concentrations, electrical currents and voltages, or the coordinates and momenta of many bodies. They need not describe mechanical motion at all.</p><p>The pendulum has another property that is not shared by dynamical systems in general: in the absence of friction, it conserves mechanical energy. Energy conservation is specific to this example, not a defining property of dynamical systems. Other systems may dissipate energy, exchange it with their surroundings, or possess no meaningful mechanical energy at all.</p><p>Time can also enter the equations explicitly,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/79/0*961TKt1RGuCum92m" /></figure><p>in which case the system is called <strong>non-autonomous</strong>. Here we will continue to focus mainly on autonomous systems, <strong>for which the current state alone determines the local direction of evolution.</strong></p><p>Dynamical systems can also evolve in discrete steps rather than continuously, but the present discussion will remain with systems described by differential equations.</p><p>Despite these differences, the central geometric question remains the same: <strong>how does the system evolve through its state space?</strong></p><p>We can begin by asking the opposite question: are there states that do not evolve at all? These are the <strong>fixed points</strong> of the system, and their response to small perturbations leads directly to the concept of <strong>stability</strong>.</p><h3>Fixed Points and Local Stability</h3><p>For an autonomous dynamical system</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/65/0*rcdlwmNsVUJ0iZ0Z" /></figure><p>a <strong>fixed point</strong> is a state x_* for which</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/71/0*lMSwQxjb7v3dxMgU" /></figure><p>If the system starts exactly at this point, it remains there forever, but this alone tells us nothing about what happens to nearby states. A fixed point is called <strong>stable</strong> if sufficiently small perturbations remain small. If nearby trajectories not only remain close but converge toward the fixed point, it is <strong>asymptotically stable</strong>. On the other hand, if arbitrarily small perturbations can grow and carry the system away, the fixed point is <strong>unstable</strong>.</p><p>This distinction was placed on a systematic mathematical basis by <a href="http://www.numdam.org/item/AFST_1907_2_9__203_0/">Aleksandr Lyapunov</a> in his work on the stability of motion.</p><p>For nonlinear systems, the dynamics close to a fixed point can often be understood by examining a linear approximation. The idea is to start close to the equilibrium and ask how a small displacement evolves: does it grow, decay, or oscillate?</p><p>Suppose the state is displaced slightly from x_*,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/93/0*6IFR02yFbPS9_tJl" /></figure><p>where δx is small. Expanding the vector field around the fixed point gives</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/230/0*OFevzFj2QfebE7_o" /></figure><p>where</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/81/0*fSnilGt5Nis1h6U7" /></figure><p>is the <strong>Jacobian matrix</strong> of the system. The Jacobian describes how the vector field changes locally when the state is displaced from the fixed point.</p><p>Since f(x_*) = 0, the local dynamics reduce to</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/107/0*ym1uY42jR3glMCtu" /></figure><p>So we can use this linearized system to study how small perturbations evolve. The relevant information is contained in the <strong>eigenvalues</strong> and <strong>eigenvectors</strong> of the Jacobian. The eigenvalues are obtained from the <strong>characteristic equation</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/154/0*ecbb6NDP5MRwpF0U" /></figure><p>If an eigenvalue has a negative real part, the associated perturbation decays; if it has a positive real part, the perturbation grows. A nonzero imaginary part produces oscillations. The associated eigenvectors determine the corresponding directions in state space.</p><p>For a two-dimensional system, these different eigenvalue combinations correspond to recognizable local geometries, summarized below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XrMaa3gJubkGdArYDUo5oQ.png" /><figcaption><em>Local classification of fixed points in two-dimensional dynamical systems from the eigenvalues of the Jacobian. Table by author.</em></figcaption></figure><p>The last case requires particular care. If the eigenvalues have zero real part, linearization by itself may not determine the stability of the full nonlinear system. Additional information about the nonlinear terms, conserved quantities, or other properties of the system may be required.</p><figure><img alt="Local phase portraits near fixed points showing a stable node, saddle, center, and stable spiral classified by Jacobian eigenvalues." src="https://cdn-images-1.medium.com/max/1024/1*lP3JrgYSYZJ7jQueXL6BTw.png" /><figcaption><em>Local phase portraits near fixed points in two-dimensional dynamical systems. Negative real eigenvalues produce a stable node, eigenvalues of opposite sign produce a saddle, purely imaginary eigenvalues give a center in the linearized system, and complex eigenvalues with negative real part produce a stable spiral. The center and saddle correspond respectively to the downward and inverted equilibria of the ideal pendulum. Image by author.</em></figcaption></figure><p>We can now apply this classification to the two equilibrium positions of the pendulum.<br>Fixed points require ω = 0 and sin θ = 0. Since the equilibrium conditions repeat whenever θ is shifted by 2π, there are two physically distinct configurations,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/307/0*RScE0G3DSeMPXB8p" /></figure><p>corresponding respectively to the downward and inverted positions.</p><p>The Jacobian of the pendulum system is</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/189/0*ZfLpkLj3J2Qc9bMS" /></figure><p>At the downward equilibrium, θ = 0, substituting cos 0 = 1 into the Jacobian gives the characteristic equation and resulting eigenvalues</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/288/0*oZmHe-aQKPhM5ydA" /></figure><p>The eigenvalues are imaginary, meaning the perturbations are oscillatory. In the phase portrait, nearby trajectories form closed curves around the equilibrium, which is called a <strong>center</strong>.</p><p>As noted above, purely imaginary eigenvalues do not by themselves establish nonlinear stability. For the pendulum, however, the conserved energy provides the additional information: trajectories sufficiently close to the downward equilibrium remain on nearby closed energy curves. The equilibrium is therefore stable, but not asymptotically stable.</p><p>At the inverted equilibrium, θ = π, the result changes to</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/282/0*0uck3DpfhKxoF0NJ" /></figure><p>One eigenvalue is negative and the other positive. Perturbations contract along one eigendirection and grow along the other, so the inverted equilibrium is an unstable <strong>saddle point.</strong></p><p>This also explains a feature already visible in the phase portrait. The stable and unstable directions of the saddle extend into the surrounding phase plane, forming the trajectories associated with the separatrix between libration and continuous rotation.</p><p>For the ideal pendulum, however, the local analysis also shows a limitation: the stable downward equilibrium does not attract nearby trajectories. With no mechanism for losing energy, a displaced pendulum continues to oscillate indefinitely. Real systems behave differently when dissipation is present.</p><h3>Dissipation and Attractors</h3><p>The ideal pendulum conserves energy, so each trajectory remains on a constant-energy curve of the phase portrait. A real pendulum, however, loses energy through effects such as friction and air resistance.</p><p>A simple model adds a damping term to the equation of motion,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/151/0*Z3OM2ZhbhCosUlxi" /></figure><p>where γ &gt; 0 measures the strength of the damping.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/220/0*4LDIt64NQVnEH6cv" /></figure><p>The mechanical energy is still</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/230/0*in3QNHPAUovfKVDf" /></figure><p>but it is no longer conserved. Differentiating with respect to time and using the damped equations of motion gives</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/154/0*Ea-Ll0KPdXxOIakp" /></figure><p>meaning energy decreases whenever the pendulum is moving. In the phase plane, trajectories no longer remain on curves of constant energy. Instead, they cross successive energy levels as the oscillations lose amplitude.</p><figure><img alt="Comparison of undamped and weakly damped pendulum phase portraits showing closed orbits around a center and inward spirals toward a stable attractor." src="https://cdn-images-1.medium.com/max/1024/1*Ps296LNg6PTk43635V3N3Q.png" /><figcaption><em>Effect of dissipation on the local phase portrait of the pendulum. In the undamped system, energy is conserved and nearby trajectories form closed curves around the stable center. With weak damping, energy decreases and the trajectories spiral toward the downward equilibrium, which becomes an asymptotically stable attractor. Image by author.</em></figcaption></figure><p>The effect can also be understood from the local stability analysis developed in the previous section. At the downward equilibrium (θ, ω) = (0, 0), the Jacobian becomes</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/163/0*-bGfy5vMV6-0UMpX" /></figure><p>Its characteristic equation is</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/125/0*XRvT_P5ryP6XGDtX" /></figure><p>with eigenvalues</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/183/0*l32LdERFo2ImHz8U" /></figure><p>For weak damping,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/60/0*_cuAMrbeyf0xMNi-" /></figure><p>the eigenvalues are complex conjugates with a negative real part. The center of the undamped pendulum is therefore replaced by a <strong>stable spiral</strong>: nearby trajectories spiral inward as the oscillations decay.</p><p>For sufficiently strong damping, the eigenvalues become real and negative, and the equilibrium instead behaves as a <strong>stable node</strong>. In both cases, the downward equilibrium is now asymptotically stable.</p><p>Without damping, nearby trajectories remain on closed energy curves around the center. With damping, they cross successive energy levels and approach the downward equilibrium as time increases, replacing the closed curves of the undamped system with inward trajectories.</p><p>The equilibrium therefore acts as a local <strong>attractor</strong>: states starting sufficiently close to it converge toward the same long-term state. Dissipation changes not only the energy of the system, but also the geometry of its flow, turning a center into an attractor.</p><h3>Poincaré and the Qualitative View of Dynamics</h3><p>Fixed points, linearization, and attractors describe important features of a dynamical system, particularly near an equilibrium. But they do not by themselves describe how trajectories are arranged across the full state space.</p><p>This broader geometric question was central to the work of <a href="http://www.numdam.org/item/JMPA_1881_3_7__375_0/">Henri Poincaré</a> in the late nineteenth century. Instead of asking only whether a differential equation could be solved explicitly, Poincaré studied the geometry and long-term evolution of its trajectories: where they could go, whether they returned, and how different kinds of motion were related.</p><p>One important possibility is <strong>periodic motion</strong>. The closed libration trajectories of the undamped pendulum provide a simple example.</p><p>A trajectory is periodic if there exists a period T &gt; 0 such that</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/118/0*jM7jx4YoNJG7Njby" /></figure><p>In state space, this translates into a closed orbit.</p><p>For systems with several degrees of freedom, however, the geometry of a full trajectory can become difficult to visualize. Poincaré introduced a way of reducing this complexity by recording only the points where a trajectory crosses a chosen lower-dimensional surface.</p><p>Let this surface be denoted by Σ. If a trajectory intersects it successively at</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/96/0*q8P_KgEZ7zDEzdzS" /></figure><p>the evolution can be represented by a <strong>Poincaré return map</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/109/0*dD-K_1NeFwG9PrXT" /></figure><p>The continuous flow is thereby represented by a discrete sequence of section crossings.</p><figure><img alt="Poincaré section showing a continuous trajectory crossing a surface at successive points and the corresponding discrete return map, with a periodic orbit represented as a fixed point of the map." src="https://cdn-images-1.medium.com/max/1024/1*_0pWQbmfYmpD6P9xsDE49Q.png" /><figcaption><em>Poincaré section and return map. A continuous trajectory in state space repeatedly crosses a transverse section Σ. Recording the successive intersections x₀, x₁, x₂, … defines the discrete return map P : xₙ ↦ xₙ₊₁. Image by author.</em></figcaption></figure><p>This reduction preserves important information about the dynamics. If a periodic orbit returns to the same point on the section after each cycle, that point satisfies</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/84/0*qTLROtxSR96cRHRr" /></figure><p>The periodic orbit of the continuous system has become a <strong>fixed point of the return map</strong>. Questions about the stability of the orbit can then be studied through the evolution of nearby points under repeated applications of P.</p><p>The same idea extends beyond periodic motion. A complicated continuous flow may produce a much simpler geometric pattern when viewed only through its successive intersections with a section. The return map can therefore make recurring patterns and stability properties easier to identify than in the original differential equations.</p><p>Poincaré’s aim was not necessarily to obtain an explicit expression for x(t), but to determine the geometry of the motion: equilibria, periodic orbits, invariant trajectories, and the relationships between them.</p><p>Poincaré later applied this viewpoint to celestial mechanics, where the motion of several gravitating bodies provided precisely the kind of nonlinear system for which explicit solutions were generally unavailable. Return maps and related geometric ideas became part of the foundation of modern dynamical systems theory and, later, the mathematical study of chaotic motion.</p><h3>From Equations to Geometry</h3><p>We began with a question: <strong>to understand a dynamical system, is it always necessary to solve its equations of motion explicitly?</strong></p><p>The nonlinear pendulum shows that the answer is no. Without writing its full solution in terms of elliptic functions, the phase portrait already distinguishes libration from rotation, identifies the separatrix between them, and shows that the downward equilibrium is stable while the inverted equilibrium is unstable.</p><p>Local analysis adds another level of understanding. Linearization around a fixed point, together with the eigenvalues and eigenvectors of the Jacobian, determines whether nearby trajectories remain close, move away, or converge toward the equilibrium. Adding dissipation changes this geometry again, replacing the closed trajectories of the ideal pendulum by trajectories that approach an attractor.</p><p>Poincaré’s qualitative approach extends the same idea beyond the pendulum. Periodic orbits, return maps, and trajectories across state space can be studied without requiring an explicit expression for every possible motion.</p><p>Explicit solutions remain valuable when they are available. But dynamical systems theory shows that they are not the only way to understand a nonlinear system.</p><p><em>The Python code used to generate all figures and diagrams in this article is open-source and available in the </em><a href="https://github.com/victorastren/medium-public/tree/main/dynamical_systems_interpreting_motion"><em>GitHub companion repository</em></a><em>.</em></p><h3>References &amp; Further Reading</h3><ol><li><strong>Poincaré, H. (1881–1886).</strong> <em>Mémoire sur les courbes définies par une équation différentielle</em> / <em>Sur les courbes définies par les équations différentielles.</em> Journal de Mathématiques Pures et Appliquées. Four parts: <a href="http://www.numdam.org/item/JMPA_1881_3_7__375_0/">Part I (1881)</a>, <a href="http://www.numdam.org/item/JMPA_1882_3_8__251_0/">Part II (1882)</a>, <a href="http://www.numdam.org/item/JMPA_1885_4_1__167_0/">Part III (1885)</a>, <a href="http://www.numdam.org/item/JMPA_1886_4_2__151_0/">Part IV (1886)</a>.</li><li><strong>Poincaré, H. (1890).</strong> <em>Sur le problème des trois corps et les équations de la dynamique.</em> Acta Mathematica, 13, 1–270. <a href="https://henripoincarepapers.univ-nantes.fr/en/bibliohp/ajax.php?bibkey=hp1890am">Henri Poincaré Papers</a>.</li><li><strong>Poincaré, H. (1892–1899).</strong> <em>Les Méthodes Nouvelles de la Mécanique Céleste.</em> Gauthier-Villars, Paris.</li><li><strong>Lyapunov, A. M. (1892; French trans. 1907).</strong> <em>Problème général de la stabilité du mouvement.</em> Annales de la Faculté des Sciences de Toulouse, 9, 203–474. <a href="http://www.numdam.org/item/AFST_1907_2_9__203_0/">Numdam</a>.</li><li><strong>Birkhoff, G. D. (1927).</strong> <em>Dynamical Systems.</em> American Mathematical Society Colloquium Publications, Vol. 9.</li><li><strong>Guckenheimer, J., &amp; Holmes, P. (1983).</strong> <em>Nonlinear Oscillations, Dynamical Systems, and Bifurcations of Vector Fields.</em> Springer-Verlag.</li><li><strong>Arnold, V. I. (1992).</strong> <em>Ordinary Differential Equations.</em> Springer-Verlag, Berlin Heidelberg. <a href="https://link.springer.com/book/9783540345633">Springer</a>.</li><li><strong>Perko, L. (2001).</strong> <em>Differential Equations and Dynamical Systems.</em> 3rd ed., Springer, Texts in Applied Mathematics, Vol. 7. <a href="https://doi.org/10.1007/978-1-4613-0003-8">10.1007/978–1–4613–0003–8</a> · <a href="https://link.springer.com/book/10.1007/978-1-4613-0003-8">Springer</a>.</li><li><strong>Hirsch, M. W., Smale, S., &amp; Devaney, R. L. (2013).</strong> <em>Differential Equations, Dynamical Systems, and an Introduction to Chaos.</em> 3rd ed., Academic Press. <a href="https://shop.elsevier.com/books/differential-equations-dynamical-systems-and-an-introduction-to-chaos/hirsch/978-0-12-382010-5">Elsevier</a>.</li><li><strong>Strogatz, S. H. (2015).</strong> <em>Nonlinear Dynamics and Chaos: With Applications to Physics, Biology, Chemistry, and Engineering.</em> 2nd ed., Westview Press.</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=09ce8e80585d" width="1" height="1" alt=""><hr><p><a href="https://medium.com/stellar-priors/dynamical-systems-from-equations-to-geometry-09ce8e80585d">Dynamical Systems: The Geometry Behind Differential Equations</a> was originally published in <a href="https://medium.com/stellar-priors">Stellar Priors</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Validating Spatial Interpolation: Beyond LOOCV]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/stellar-priors/validating-spatial-interpolation-beyond-loocv-2745680246f6?source=rss----452c3ef4656b---4"><img src="https://cdn-images-1.medium.com/max/1376/1*Pnh8vWsqpVwftijgzl0buA.png" width="1376"></a></p><p class="medium-feed-snippet">How spatial sampling changes what interpolation accuracy really means</p><p class="medium-feed-link"><a href="https://medium.com/stellar-priors/validating-spatial-interpolation-beyond-loocv-2745680246f6?source=rss----452c3ef4656b---4">Continue reading on Stellar Priors »</a></p></div>]]></description>
            <link>https://medium.com/stellar-priors/validating-spatial-interpolation-beyond-loocv-2745680246f6?source=rss----452c3ef4656b---4</link>
            <guid isPermaLink="false">https://medium.com/p/2745680246f6</guid>
            <category><![CDATA[statistics]]></category>
            <category><![CDATA[gis]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[geospatial]]></category>
            <category><![CDATA[data-science]]></category>
            <dc:creator><![CDATA[Victor Astren]]></dc:creator>
            <pubDate>Tue, 22 Sep 2026 12:56:01 GMT</pubDate>
            <atom:updated>2026-09-22T16:57:28.935Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Navier–Stokes Blow-Up: The Mathematics Behind the Millennium Problem]]></title>
            <link>https://medium.com/stellar-priors/navier-stokes-blow-up-the-mathematics-behind-the-millennium-problem-1b8549f04a65?source=rss----452c3ef4656b---4</link>
            <guid isPermaLink="false">https://medium.com/p/1b8549f04a65</guid>
            <category><![CDATA[fluid-dynamics]]></category>
            <category><![CDATA[math]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[science]]></category>
            <category><![CDATA[physics]]></category>
            <dc:creator><![CDATA[Victor Astren]]></dc:creator>
            <pubDate>Fri, 18 Sep 2026 12:57:53 GMT</pubDate>
            <atom:updated>2026-10-07T16:31:06.694Z</atom:updated>
            <content:encoded><![CDATA[<h4>From vortex stretching and viscous dissipation to scaling, regularity, and finite-time blow-up.</h4><figure><img alt="Conceptual visualization of a stretched three-dimensional vortex in Navier–Stokes flow, illustrating the interplay between vortex amplification, viscous dissipation and the mathematical question of regularity." src="https://cdn-images-1.medium.com/max/1024/1*VZR3XEtEwGaGnfep-ujCew.png" /><figcaption>A stretched three-dimensional vortex in Navier–Stokes flow, illustrating the interplay between vortex amplification, viscous dissipation and the mathematical question of regularity. Image by author.</figcaption></figure><p>On September 8, 2026, OpenAI announced a proposed solution to the <strong>Navier–Stokes existence and smoothness problem</strong>, one of the seven <a href="https://www.claymath.org/resource/book-title-the-millennium-prize-problems/">Millennium Prize Problems</a>. According to OpenAI, the successful search involved roughly 10,000 concurrent agents and reached its result after about 88 hours. A formal version was subsequently encoded and verified in Lean.</p><p>Three days later, the Clay Mathematics Institute issued an unusually strong statement: the Navier–Stokes problem had <strong>“</strong><a href="https://www.claymath.org/news/navier-stokes-announcement/"><strong>apparently been settled</strong></a><strong>”</strong>.</p><p>The result, if it survives the full process of mathematical scrutiny, addresses a question that has resisted analysis since the foundational work of <a href="https://doi.org/10.1007/BF02547354"><strong>Jean Leray</strong></a> in the 1930s.</p><p>The Navier–Stokes equations express Newton’s law of motion for a fluid, describing how velocity evolves under inertia, pressure, viscosity and external forces. Their form is compact, yet their three-dimensional behavior has proved remarkably difficult to control mathematically.</p><p>For three-dimensional flow, one fundamental question remained unresolved:</p><p><strong>If the fluid starts smooth, must it remain smooth forever?</strong></p><p>Viscosity dissipates kinetic energy and smooths variations in velocity. But three-dimensional fluid motion can also stretch and intensify vortices, generating increasingly fine spatial structure. The central difficulty is whether this nonlinear amplification can become strong enough to overcome viscous smoothing and produce a finite-time singularity.</p><p>Understanding that question requires looking at the mathematical structure of the equations: advection, vorticity and <strong>vortex stretching</strong>, energy dissipation, and the way Navier–Stokes behaves under changes of spatial scale.</p><p><strong>The story therefore begins not with artificial intelligence, but with Newton’s second law and the dynamics of viscous fluid motion.</strong></p><h3>From Newton’s Law to Navier–Stokes</h3><p>To understand where the Navier–Stokes equations come from, consider a small parcel of fluid moving through a flow. There are two natural ways to describe its motion.</p><p>In the <strong>Eulerian</strong> description, we stand at a fixed position x and describe the velocity field</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/47/0*yA2nDnYm8EtkYUKm" /></figure><p>This tells us the velocity of whatever fluid happens to pass through that point at time t.</p><p>In the <strong>Lagrangian</strong> description, we instead follow one particular parcel. If its position is X(t), then its trajectory satisfies</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/123/0*rIlZtm1_e7Ifa0EK" /></figure><p>Newton’s second law applies to this moving parcel. What we need is not simply the change of velocity at a fixed point, but the change in velocity <strong>experienced by the parcel as it moves through the flow.</strong></p><figure><img alt="Comparison of Eulerian and Lagrangian descriptions of fluid motion and the material derivative in fluid mechanics." src="https://cdn-images-1.medium.com/max/1024/1*ooTmsewyofCUtmOFP-L2KA.png" /><figcaption><em>Eulerian and Lagrangian descriptions of fluid motion. At a fixed point x₀, the Eulerian viewpoint measures how the velocity field changes with time. The Lagrangian viewpoint follows a moving fluid parcel along its trajectory X(t). Combining the two leads to the material derivative, which contains both a local term and an advective term. Image by author.</em></figcaption></figure><p>Along its trajectory, the parcel has velocity</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/72/0*Op1JjTA_5h2GlcyB" /></figure><p>Differentiating with respect to time and applying the chain rule gives</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/141/0*8JPutgJS5NmfSjfm" /></figure><p>Since</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/65/0*0D0ZHn2zchOju-fl" /></figure><p>the acceleration becomes</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/109/0*Xv6ClmM4nSGioH9r" /></figure><p>This is the <strong>material derivative</strong>.</p><p>Its two terms have different meanings. The first measures how the velocity changes with time at a fixed location. The second, the <strong>advection term </strong>(u · ∇)u (also called the convective term), measures the change experienced because the parcel moves through a velocity field that varies from place to place.</p><p>With the acceleration identified, Newton’s law can now be applied. For a fluid of density ρ,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/278/0*pTwNIa-Fjrdxn-h-" /></figure><p>Pressure contributes the force per unit volume</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/40/0*TUYVCcamQnc4-9cA" /></figure><p>directed toward decreasing pressure.</p><p>For a Newtonian fluid with constant dynamic viscosity μ, viscous stresses contribute</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/36/0*ViC5uagalBnZDAkd" /></figure><p>The Laplacian compares the velocity at a point with the velocity in its surroundings. In this sense, viscosity tends to smooth sharp spatial variations in the flow.</p><p>Finally, let f denote an external force per unit mass. Newton’s second law becomes</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/308/0*eZuBi_NopH_0YZue" /></figure><p>Dividing by the constant density and introducing the kinematic viscosity</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/45/0*Fj1fUPboTC-v5EFc" /></figure><p>gives the incompressible Navier–Stokes equation:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/270/0*SnQsO-6QfXnMbtbQ" /></figure><p>A second equation expresses <strong>incompressibility</strong>:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/70/0*FshishQOBy-kybX-" /></figure><p>It states that the flow cannot locally compress or expand: for any sufficiently small region, fluid enters and leaves at the same net rate. Pressure then does more than simply push the fluid from high-pressure toward low-pressure regions; it adjusts throughout the flow so that this incompressibility constraint remains satisfied.</p><p>The resulting system contains the competition that will matter throughout the rest of the article. <strong>Advection transports and deforms the velocity field, while viscosity smooths spatial variations.</strong></p><p>The advection term (u · ∇)u also introduces the central mathematical complication: <strong>it makes the equation nonlinear</strong>. The velocity field appears both as the quantity being differentiated and as the field that determines how that quantity is transported. In other words, <strong>the velocity field is itself responsible for transporting the velocity field.</strong></p><h3>From Velocity to Vorticity</h3><p>The velocity formulation tells us how the fluid moves, but the mechanism most closely associated with possible singular behavior becomes clearer when we look at how the fluid rotates.</p><p>The local rotation of the flow is described by the vorticity</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/85/0*pfiIy0rP_GfYeOCT" /></figure><p>In three dimensions, ω is a vector. Its direction gives the local axis of rotation, while its magnitude measures the strength of that rotation.</p><p>To find how vorticity evolves, we take the curl of the Navier–Stokes equation. The pressure term disappears because the curl of a gradient is zero:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/92/0*dGAVVWB9EwHMD98w" /></figure><p>For an incompressible flow, the resulting equation is</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/331/0*u53EMhNRbTvTF_8M" /></figure><p>Using the material derivative introduced in the previous section, this can be written more compactly as</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/247/0*jQS9xeSsQGLsftV0" /></figure><p>Each term has a distinct physical interpretation.</p><p>The material derivative on the left follows the vorticity as it moves with the fluid. The viscous term</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/36/0*aVW2PuxZ2bV6-1cD" /></figure><p>acts to diffuse sharp variations in vorticity, just as viscosity smooths variations in velocity.</p><p>The crucial new term is</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/64/0*hINVuCpaeV1uMsma" /></figure><p>This is the <strong>vortex-stretching term</strong>.</p><figure><img alt="Schematic of the 3D vortex stretching mechanism in incompressible Navier-Stokes flow and vorticity amplification." src="https://cdn-images-1.medium.com/max/1024/1*VY3Gd7jEN7lTCh-bOxQdSw.png" /><figcaption><em>Vortex stretching in three-dimensional incompressible flow. Velocity gradients along a vortex tube can elongate it while incompressibility contracts its cross-section. The stretching term (ω · ∇)u can thereby amplify the vorticity, while viscosity simultaneously acts to diffuse it. The figure illustrates an idealized vortex-tube mechanism rather than a particular exact solution. Image by author.</em></figcaption></figure><p>To see what it means, we can imagine a thin tube of rotating fluid. If the surrounding flow stretches the tube along its axis, conservation of volume forces its cross-section to shrink. At the same time, the rotation can intensify: the vorticity becomes larger as the structure becomes thinner and more elongated.</p><p>This creates a possible feedback mechanism. As vorticity intensifies, the associated velocity gradients can stretch the vortex further; that stretching can then increase the vorticity again.</p><p>Viscosity acts in the opposite direction, diffusing these increasingly fine structures.</p><p><strong>In two-dimensional incompressible flow, the vortex-stretching term disappears</strong>, removing an important mechanism for amplifying vorticity. But in three dimensions, that term remains active.</p><h3>Why Two and Three Dimensions Behave Differently</h3><p>For a <strong>two-dimensional</strong> incompressible flow, the velocity has the form</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/150/0*3ixOj7irnQMgSCZ2" /></figure><p>and the vorticity points perpendicular to the plane:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/99/0*IVxBqAyupiXvXDIc" /></figure><p>Because the flow has no variation in the third direction,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/164/0*COo-W2uzpUKYvaiI" /></figure><figure><img alt="Vanishing of the vortex stretching term in 2D incompressible Navier-Stokes flow and vorticity transport." src="https://cdn-images-1.medium.com/max/1024/1*tCSJ39gvsGBQcPW1uxXj6A.png" /><figcaption><em>Why vortex stretching vanishes in two-dimensional incompressible flow. The velocity lies in the (x, y)-plane while the vorticity points perpendicular to it. The velocity field is independent of z. Therefore, the stretching term (ω · ∇)u = ω ∂u/∂z vanishes. Image by author.</em></figcaption></figure><p>The vorticity equation therefore reduces to</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/175/0*hsuIfZIiV6E56fkM" /></figure><p><strong>What has disappeared is the vortex-stretching term</strong> capable of amplifying the vorticity through the flow’s own velocity gradients.</p><p>The equation is still nonlinear because the velocity field continues to advect the vorticity. What is missing is the self-amplification mechanism. In the unforced case, advection transports vorticity without creating larger extrema, while viscosity diffuses it. As a result, the maximum vorticity can be controlled for all time.</p><p>In <strong>three dimensions</strong>, by contrast, the term</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/64/0*an4Pv0aLWKCRodWs" /></figure><p>need not vanish. Vortex stretching can increase the magnitude of the vorticity through the flow’s own velocity gradients. Unlike in two dimensions, there is now a mechanism that can create larger vorticity even as viscosity acts to smooth it.</p><p><strong>Smooth two-dimensional incompressible Navier–Stokes solutions remain smooth for all time</strong>, whereas whether smooth three-dimensional solutions must remain smooth was the main question posed by the Millennium problem.</p><p>The mathematical term for this persistence of smoothness is <strong>regularity</strong>. A solution is regular when it remains sufficiently smooth, with the relevant quantities staying finite rather than developing a singularity.</p><h3>How Viscosity Dissipates Kinetic Energy</h3><p>Viscosity smooths spatial variations in the velocity field and continuously dissipates kinetic energy. The question is whether this combination of smoothing and energy dissipation is sufficient to preserve regularity in three dimensions.</p><p>This dissipative effect appears directly in the energy balance. Consider first the <strong>unforced</strong> Navier–Stokes equations, meaning that the external force is set to</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/43/0*YkL_sQDxYwHn4QGa" /></figure><p>Assume also that the velocity field either decays sufficiently rapidly at infinity or satisfies boundary conditions that produce no boundary contribution. Multiplying the Navier–Stokes equation by u and integrating over space shows how the total kinetic energy changes with time.</p><p>The time-derivative term gives</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/223/0*z0zmMm9EH6Pev1-W" /></figure><p>Up to the constant fluid density, this integral is the total kinetic energy of the flow:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/183/0*ch0cTDDPlbuuO5AU" /></figure><p>Two other terms simplify because the flow is incompressible. The nonlinear advection term redistributes kinetic energy through the fluid but, after integration over the whole domain, does not change the total amount. The pressure term likewise gives no net contribution under the assumed boundary conditions.</p><p>Unlike advection and pressure, <strong>viscosity changes the total kinetic energy of the flow.</strong> After integration by parts,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/244/0*287IC6ZBw7os-Y4u" /></figure><p>The minus sign is essential: viscosity can only remove kinetic energy from an unforced flow.</p><p>Combining the terms gives the classical energy identity</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/259/0*5hw6dmEQJqFRZH1u" /></figure><p>Equivalently,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/195/0*ibfP-FV8p6Xcnmnb" /></figure><p>Hence, the total kinetic energy cannot grow. Moreover, viscosity continuously dissipates energy at a rate determined by the spatial gradients of the velocity field.</p><p><strong>For a forced flow</strong>, the same calculation adds an energy-input term:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/247/0*MlYKdG-2u9rpOsvS" /></figure><p>As a result, the forcing term can inject kinetic energy into the flow, while viscosity continues to dissipate it. However, the forced-flow energy balance derived above does not by itself rule out a singularity.</p><figure><img alt="Diagram of the Navier–Stokes energy balance showing how advection, pressure, viscous dissipation, and external forcing govern kinetic energy and why global L2 bounds do not imply local regularity" src="https://cdn-images-1.medium.com/max/1024/1*yw0Sbi11xR1eNA-uuBBLvw.png" /><figcaption>Energy balance in the incompressible Navier–Stokes equations. Advection and pressure redistribute kinetic energy without changing its global total under the stated conditions, external forcing can inject energy, and viscosity dissipates it. A global L² energy bound alone does not guarantee local regularity. Image by author.</figcaption></figure><h3>Why Finite Energy Does Not Guarantee Regularity</h3><p>A bounded L² norm constrains the total kinetic energy, but not the magnitude of the velocity or its gradients at every point in space. Thus, an integral can remain finite even while a function becomes extremely large over an increasingly small region.</p><p>Consider a velocity field with a typical magnitude A inside a region of volume V. Its contribution to the kinetic energy is roughly</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/71/0*cuwCG_O5SLlf5t7Y" /></figure><p>Suppose that the region containing the large velocity becomes smaller and smaller. If the amplitude grows while the occupied volume shrinks sufficiently quickly, the product A²V can remain bounded.</p><p>For example, in three dimensions a structure of characteristic size ℓ occupies a volume of order</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/50/0*Ei5dCNY2dcltPzk5" /></figure><p>If its velocity amplitude grows like</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/72/0*1DIlZM8lTRsc5Ttl" /></figure><p>then</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/128/0*Ao2bzQhHxus5-2me" /></figure><p>So the <strong>energy contribution remains bounded</strong>, even as the characteristic size of the structure becomes smaller and smaller.</p><p>The corresponding velocity gradient behaves differently: if the velocity changes by an amount A across a distance ℓ, then</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/73/0*5EqtwjB57hDqGb-G" /></figure><p>With the same scaling A ∼ ℓ^{-3/2},</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/94/0*cd9Kt0bsfLY1fINy" /></figure><p>which becomes unbounded as ℓ → 0.</p><p>In other words, <strong>bounded energy does not prevent increasingly large local gradients</strong>: the energy stays of order one, while the gradient grows without bound as ℓ → 0.</p><figure><img alt="Schematic showing how three-dimensional fluid structures can concentrate velocity and blow up gradients while kinetic energy remains finite" src="https://cdn-images-1.medium.com/max/1024/1*gNj3k7OZMrdRs9g09zaQjw.png" /><figcaption><em>Local concentration with bounded energy. As a three-dimensional flow structure contracts to a characteristic size ℓ, its velocity amplitude can increase while its energy contribution A²ℓ³ remains bounded. At the same time, the characteristic velocity gradient A/ℓ can grow without bound. Image by author.</em></figcaption></figure><h3>Navier–Stokes Scaling and the Regularity Problem</h3><p>The previous section showed that finite kinetic energy does not by itself prevent large velocities or gradients from developing at increasingly small spatial scales. But how do the Navier–Stokes equations behave under changes of scale?</p><p>The equations possess a particular scaling symmetry. Consider again the unforced equations. If u(x,t) and p(x,t) form a solution, then for any λ &gt; 0,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/176/0*5bKcN5oc1ikD1G40" /></figure><p>and</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/171/0*bNXhiRuYc6vkkpcw" /></figure><p>also satisfy the Navier–Stokes equations with the same viscosity.</p><p>This means that the equations retain the same form when space, time, velocity and pressure are rescaled together in this particular way. <strong>This scaling shows how quantities such as velocity, kinetic energy, and </strong><strong>Lᵖ norms change as progressively smaller spatial scales are examined.</strong></p><p>Increasing λ corresponds to a characteristic length</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/57/0*R_l_HWK5vda_1o20" /></figure><p>Under this scaling, time contracts as</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/43/0*Ki_DdLzDBxv-cyOm" /></figure><p>while the velocity amplitude grows as</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/66/0*n4POtQYay9CyYMLU" /></figure><p>And the L² norm, which determines the kinetic energy, transforms as</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/145/0*5kFfzgglWXcOLvg8" /></figure><p>So, as the spatial scale becomes smaller, with λ → ∞,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/87/0*BxpQ4VOsSrB1iUTG" /></figure><p>The natural small-scale scaling of the Navier–Stokes equations makes the kinetic energy smaller, not larger.</p><figure><img alt="Navier-Stokes scaling symmetry diagram showing L2 kinetic energy decrease under small-scale rescaling and the scale-critical L3 norm in 3D fluid dynamics." src="https://cdn-images-1.medium.com/max/1024/1*5kTvCjTVV1XqevnYaNC3tw.png" /><figcaption>Scaling behavior of the three-dimensional Navier–Stokes equations.<em> Under the invariant scaling </em><em>u_λ(x, t) = λ u(λx, λ²t), spatial structures contract by </em><em>λ⁻¹ while velocities scale by </em><em>λ. The </em><em>L² energy scale decreases as </em><em>λ⁻¹ → 0 under small-scale rescaling, while the </em><em>L³ norm remains invariant (</em><em>λ⁰ = 1), revealing the energy-supercritical nature of the three-dimensional equations. Image by author.</em></figcaption></figure><p>More generally, the Lᵖ norm transforms as</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/165/0*5w81o3OPQWjH50ZA" /></figure><p>However, one value of p is special:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/41/0*YdTjCAHzGpPIdoLU" /></figure><p>Indeed,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/117/0*olmaTKCntTBUtnOJ" /></figure><p>Such a quantity is called <strong>scale-critical</strong>: it remains unchanged under the natural scaling of the equation. By contrast, the L² energy norm becomes smaller as the flow is rescaled toward finer structures. For p &gt; 3, the exponent 1 - 3/p is positive, so the corresponding Lᵖ norms increase under the same small-scale rescaling. In particular,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/124/0*gCI4jOgu0AG0hY4y" /></figure><p>This is why three-dimensional Navier–Stokes is often described as <strong>energy-supercritical</strong>. The basic energy estimate bounds the total kinetic energy, but under rescaling toward smaller spatial scales the L² energy decreases even while the characteristic velocity and its gradients increase. Thus, the energy bound does not exclude increasingly intense structures at smaller spatial scales.</p><p>The regularity problem is not simply a matter of keeping the total energy finite. Stronger bounds are needed on the velocity and its gradients at the increasingly small scales where a singularity could form.</p><h3>What the Millennium Problem Actually Asked</h3><p>The question of whether a smooth three-dimensional flow must remain smooth forever can be stated more precisely in terms of global smooth solutions.</p><p>Starting from smooth, divergence-free initial data, a smooth solution is known to exist for a short time. The unresolved question was whether it must remain smooth for all t ≥ 0, or whether smoothness can break down after a finite time.</p><p>The official problem statement by <a href="https://www.claymath.org/wp-content/uploads/2022/06/navierstokes.pdf">Charles Fefferman</a> sets out two possible ways to resolve the problem: prove global smoothness, or exhibit finite-time breakdown. Statements <strong>A</strong> and <strong>B</strong> ask for global existence and smoothness for the unforced equations, respectively in the whole space and in a periodic domain. Statements <strong>C</strong> and <strong>D</strong> ask instead for smooth initial data and smooth external forcing for which <strong>no global smooth solution exists</strong>.</p><p>The logical structure of the Clay formulation can be summarized as follows.</p><figure><img alt="Flowchart of the Clay Millennium Prize Problem formulation for the 3D Navier–Stokes equations, contrasting global smoothness (Statements A and B) against finite-time breakdown under smooth forcing (Statements C and D), and indicating the 2026 proposed blow-up result." src="https://cdn-images-1.medium.com/max/1024/1*34rlUeRjq76DGf-QvEJA2A.png" /><figcaption><em>Logical structure of the official Clay formulation of the Navier–Stokes Millennium problem. Statements A and B correspond to global smoothness for the unforced equations, in the whole-space and periodic settings respectively. Statements C and D correspond to finite-time breakdown in the presence of smooth forcing. The proposed 2026 result addresses the latter branch. Image by author.</em></figcaption></figure><p>The distinction between the unforced global-smoothness alternatives <strong>A/B</strong> and the forced blow-up alternatives <strong>C/D</strong> matters: <strong>a finite-time blow-up result does not need to involve an unforced fluid to satisfy the official Millennium problem formulation.</strong> A smooth force producing finite-time loss of regularity is sufficient.</p><p>Leray had already established the existence of global weak solutions in 1934. The unresolved issue was whether solutions starting from smooth initial data must remain smooth for all time.</p><p>A breakdown of regularity means that the solution cannot remain smooth for all time: as some finite time T is approached, a quantity required for smoothness becomes unbounded.</p><h3>What the New Blow-Up Result Shows</h3><p>The announced result takes the second route allowed by the Millennium problem: it exhibits a smooth three-dimensional Navier–Stokes flow whose velocity becomes unbounded after a finite time.</p><p>The flow begins from the simplest possible initial state,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/83/0*-qMuzHyhyBqyWkAC" /></figure><p>The fluid is initially at rest. A smooth external force is then applied, and for every time before the singularity the resulting velocity and pressure fields remain smooth. The force itself is also smooth and compactly supported in space and time. Yet the velocity eventually becomes unbounded while the total kinetic energy remains bounded.</p><p>More precisely, the results yields a solution which is smooth for 0 ≤ t &lt; 1, with</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/145/0*RIvL2U4L_JhKbqDA" /></figure><p>but</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/168/0*iCBLi7RnUtkfucc4" /></figure><p>The two norms describe very different aspects of the flow. The bounded L² norm says that the total kinetic energy remains finite. The diverging L^∞ norm says that the maximum velocity becomes arbitrarily large somewhere in the fluid. <strong>Finite total energy therefore coexists with finite-time loss of regularity.</strong></p><p>The singular behavior is produced by a shrinking vortex centered near the origin. Writing</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/70/0*Q2JcLrcETAkQ9n7G" /></figure><p>for the remaining time before the singularity, the characteristic radial and axial dimensions of the vortex core behave approximately as</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/195/0*doOVR1Y3fO3f2Up-" /></figure><p>where h is a small positive constant. Both dimensions therefore shrink to zero, but the radial scale contracts slightly faster than the axial one. The core becomes progressively thinner and more elongated as t → 1.</p><figure><img alt="Three-stage diagram of Navier–Stokes blow-up showing vortex contraction, unbounded peak velocity, and bounded total L2 energy" src="https://cdn-images-1.medium.com/max/1024/1*VwuwXEhWM66WSqcY96_usg.png" /><figcaption><em>As the proposed blow-up approaches t = 1, the vortex core contracts anisotropically: its radial scale decreases faster than its axial scale, while the dominant velocity components grow without bound. The shrinking core contributes progressively less kinetic energy even though the total L² energy remains bounded. Schematic based on the asymptotic scaling of the proposed construction. Image by author.</em></figcaption></figure><p>At the same time, the dominant velocity components grow approximately as</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/99/0*8aQgvFlbgVCCs5FZ" /></figure><p>The velocity diverges as the singular time is approached. Yet the volume occupied by the intense part of the flow shrinks rapidly enough that its kinetic-energy contribution scales like</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/112/0*p5samkal_ulrpuKD" /></figure><p>which tends to zero for the range of h used in the construction. <strong>The region in which the velocity becomes arbitrarily large can therefore contribute progressively less to the total kinetic energy.</strong></p><p>This geometry is characteristic of three-dimensional vortex dynamics. Fluid spirals inward toward the axis while being carried axially away from the center. Radial inflow increases the azimuthal velocity, while incompressibility drives axial motion away from the contracting core. Viscosity remains active throughout but does not prevent the characteristic velocity from increasing.</p><p>The most delicate part of the construction is not simply making such a velocity field large. For any chosen velocity and pressure fields one could formally define an external force that makes the Navier–Stokes equation hold. That would not solve the Millennium problem if the required force itself became singular.</p><p>What must be shown is stronger: <strong>the velocity becomes singular while the external force remains perfectly smooth.</strong></p><p>To achieve this, the construction introduces carefully designed oscillatory perturbations around the shrinking vortex. Their nonlinear interaction compensates for the otherwise singular residual left by the leading vortex flow. Further corrections remove the remaining singular terms, so that the final force extends smoothly through the blow-up time even though the velocity does not.</p><p>The construction establishes statement <strong>C</strong> of the official Clay formulation in ℝ³. Because the relevant fields can also be localized appropriately in the periodic setting, it yields statement <strong>D</strong> as well.</p><p><strong>The proposed result exhibits finite-time blow-up in a smooth forced Navier–Stokes flow while the initial data, external forcing and total kinetic energy remain within the admissible framework of the Millennium problem.</strong></p><h3>What the Result Does — and Does Not — Settle</h3><p>The constructed flow is <strong>forced</strong>. It does not show that a smooth solution of the unforced equations, f = 0, can develop a finite-time singularity.</p><p>This still falls within the Millennium problem, since the official statement includes the forced case. But it leaves a mathematically distinct question untouched: <strong>whether nonlinear three-dimensional Navier–Stokes dynamics can produce finite-time blow-up without an externally applied force.</strong></p><p>The result also does not imply that ordinary physical fluids are expected to reach infinite velocity. <strong>A mathematical singularity marks a breakdown of the smooth solution of the idealized equations.</strong> At sufficiently small physical scales, assumptions underlying the continuum model may themselves cease to provide an adequate description of a real fluid. The theorem concerns what the Navier–Stokes equations permit mathematically, not a prediction that an experimentally observable fluid must literally attain infinite speed.</p><p>OpenAI has released both an analytical proof and a Lean formalization. The Clay Mathematics Institute has stated that the problem has “apparently been settled,” while emphasizing that the process of evaluating the result and assigning credit will be deliberately unhurried.</p><h3>Conclusion</h3><p>The Navier–Stokes equations describe a balance between inertia, pressure and viscosity: inertia transports the flow, pressure enforces incompressibility, and viscosity smooths velocity variations and dissipates kinetic energy.</p><p>The difficulty appears in three dimensions. Vortex stretching can amplify vorticity and generate increasingly fine spatial structure. The classical energy estimate shows that the total kinetic energy cannot increase in an unforced flow, but it does not prevent the velocity or its gradients from becoming very large in a sufficiently small region. The scaling of the equations makes the limitation sharper: the L² energy decreases under small-scale rescaling even while characteristic velocities and gradients increase.</p><p>In the proposed solution, a smooth, initially stationary fluid subjected to smooth forcing develops a shrinking vortex whose velocity becomes unbounded in finite time while its total energy remains finite. <strong>If the proof is confirmed, it shows that viscous dissipation does not guarantee global smoothness: the three-dimensional Navier–Stokes equations permit finite-time breakdown under the forced conditions included in the official Millennium problem.</strong></p><p><em>The Python code used to generate all figures and diagrams in this article is open-source and available in the </em><a href="https://github.com/victorastren/medium-public/tree/main/navier_stokes_blow_up"><em>GitHub companion repository</em></a><em>.</em></p><h3>References &amp; Further Reading</h3><ol><li><strong>Leray, J. (1934).</strong> <em>Sur le mouvement d’un liquide visqueux emplissant l’espace.</em> Acta Mathematica, 63, 193–248. <a href="https://doi.org/10.1007/BF02547354">10.1007/BF02547354</a> · <a href="https://link.springer.com/article/10.1007/BF02547354">Springer</a>.</li><li><strong>Caffarelli, L., Kohn, R., &amp; Nirenberg, L. (1982).</strong> <em>Partial regularity of suitable weak solutions of the Navier–Stokes equations.</em> Communications on Pure and Applied Mathematics, 35(6), 771–831. <a href="https://doi.org/10.1002/cpa.3160350604">10.1002/cpa.3160350604</a> · <a href="https://onlinelibrary.wiley.com/doi/10.1002/cpa.3160350604">Wiley</a>.</li><li><strong>Escauriaza, L., Seregin, G. A., &amp; Šverák, V. (2003).</strong> <em>L³,∞-solutions of the Navier–Stokes equations and backward uniqueness.</em> Russian Mathematical Surveys, 58(2), 211–250. <a href="https://doi.org/10.1070/RM2003v058n02ABEH000609">10.1070/RM2003v058n02ABEH000609</a> · <a href="https://iopscience.iop.org/article/10.1070/RM2003v058n02ABEH000609">IOPscience</a>.</li><li><strong>Fefferman, C. L. (2006).</strong> <em>Existence and Smoothness of the Navier–Stokes Equation.</em> In J. Carlson, A. Jaffe &amp; A. Wiles (Eds.), <em>The Millennium Prize Problems</em>, 57–67. Clay Mathematics Institute / American Mathematical Society. <a href="https://www.claymath.org/wp-content/uploads/2022/06/navierstokes.pdf">Official Clay PDF</a>.</li><li><strong>Tao, T. (2016).</strong> <em>Finite time blowup for an averaged three-dimensional Navier–Stokes equation.</em> Journal of the American Mathematical Society, 29(3), 601–674. <a href="https://doi.org/10.1090/jams/838">10.1090/jams/838</a> · <a href="https://arxiv.org/abs/1402.0290">arXiv:1402.0290</a>.</li><li><strong>OpenAI. (2026).</strong> <em>On the Navier–Stokes Millennium Prize Problem.</em> OpenAI Research, 8 September 2026. <a href="https://openai.com/index/navier-stokes-solution/">OpenAI Research Announcement</a>.</li><li><strong>OpenAI. (2026).</strong> <em>Finite Time Blowup for Navier–Stokes.</em> Research preprint, September 2026. <a href="https://cdn.openai.com/pdf/32d9f210-8b73-45e0-91bc-82a30aef8a9a/navier-stokes.pdf">OpenAI Proof PDF</a>.</li><li><strong>Clay Mathematics Institute. (2026).</strong> <em>Navier–Stokes Announcement.</em> 11 September 2026. <a href="https://www.claymath.org/news/navier-stokes-announcement/">Clay Mathematics Institute Announcement</a>.</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1b8549f04a65" width="1" height="1" alt=""><hr><p><a href="https://medium.com/stellar-priors/navier-stokes-blow-up-the-mathematics-behind-the-millennium-problem-1b8549f04a65">Navier–Stokes Blow-Up: The Mathematics Behind the Millennium Problem</a> was originally published in <a href="https://medium.com/stellar-priors">Stellar Priors</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Is the Solar System Really Stable? Lagrange and Laplace’s Discovery]]></title>
            <link>https://medium.com/stellar-priors/beyond-kepler-i-perturbations-and-the-stability-of-the-solar-system-060aad708540?source=rss----452c3ef4656b---4</link>
            <guid isPermaLink="false">https://medium.com/p/060aad708540</guid>
            <category><![CDATA[space]]></category>
            <category><![CDATA[astrophysics]]></category>
            <category><![CDATA[math]]></category>
            <category><![CDATA[science]]></category>
            <category><![CDATA[physics]]></category>
            <dc:creator><![CDATA[Victor Astren]]></dc:creator>
            <pubDate>Thu, 17 Sep 2026 21:20:24 GMT</pubDate>
            <atom:updated>2026-10-28T04:18:51.798Z</atom:updated>
            <content:encoded><![CDATA[<h4>How perturbation theory transformed our understanding of planetary motion and long-term stability</h4><figure><img alt="Gravitational perturbations and orbital stability of planets in the Solar System beyond Keplerian orbits." src="https://cdn-images-1.medium.com/max/1024/1*S1Oqkr6ALTbAWylV43t8YQ.png" /><figcaption><em>Planetary orbits are only approximately Keplerian. Their mutual gravitational perturbations slowly change the orbital elements, raising a fundamental question: do those variations remain bounded, or can they accumulate over time and threaten the long-term stability of the Solar System? Image by author.</em></figcaption></figure><p>By the second half of the eighteenth century, Newtonian gravity had provided a unified description of planetary motion. The motions of the planets could be understood as variations on Kepler’s ellipses, all governed by the same inverse-square law.</p><p>The two-body picture, however, omits the mutual gravitational influence of the planets. The Solar System is a many-body system. Jupiter pulls on Saturn, Saturn pulls on Jupiter, and both perturb the other planets. However small those effects may be over one orbit, they have centuries in which to accumulate.</p><p>Astronomers had observed that the planets did not return exactly to the positions predicted by simple Keplerian motion, raising the question of what caused these discrepancies. Were the orbital elements merely oscillating around stable values, or could the perturbations slowly build up until the long-term configuration of the Solar System itself changed?</p><p>The mathematician <strong>Joseph-Louis Lagrange</strong> came to the question through his earlier work in celestial mechanics. During the 1760s he had already studied the motion of the Moon, the satellites of Jupiter, and the perturbations of Jupiter and Saturn, problems in which small gravitational interactions produced observable departures from simple Keplerian motion.</p><p>In the 1770s, Lagrange began giving the long-term evolution of planetary orbits a mathematical form. He studied how the inclinations, nodes, eccentricities and other elements of planetary orbits change under their mutual gravitational attraction. Rather than attempting to calculate every small displacement directly, he followed the slow evolution of the orbits themselves. In 1774, his work on the <a href="https://books.google.com/books/about/Recherches_sur_les_equations_seculaires.html?id=V1W50QEACAAJ">secular variations of planetary inclinations and nodes</a> reached the Paris Academy.</p><p><strong>Pierre-Simon Laplace</strong> extended this approach to other orbital elements and to the coupled evolution of the planetary system as a whole. His work increasingly focused on the <a href="https://fr.wikisource.org/wiki/%C5%92uvres_compl%C3%A8tes_de_Laplace/M%C3%A9moire_sur_les_in%C3%A9galit%C3%A9s_s%C3%A9culaires_des_plan%C3%A8tes_et_des_satellites">secular effects produced by the mutual gravitational interactions of the planets</a>.</p><figure><img alt="Historical portraits of Joseph-Louis Lagrange and Pierre-Simon de Laplace, who transformed the question of planetary stability into a mathematical theory of secular orbital evolution." src="https://cdn-images-1.medium.com/max/1024/1*eTt46UpNlSwTfBtQdZGhUg.png" /><figcaption><em>Lagrange and Laplace transformed the question of planetary stability into a mathematical theory of secular orbital evolution. Left: Joseph-Louis Lagrange (engraving, Smithsonian Institution Libraries). Right: Pierre-Simon de Laplace (portrait by Johann Ernst Heinsius, 1775). Public domain.</em></figcaption></figure><p>Observations of the motions of Jupiter and Saturn showed slow discrepancies that had eluded earlier calculations. Lagrange’s work suggested that a simple secular drift could not account for the observed behavior.</p><p>Laplace would eventually show that the strange long-term behavior of <a href="https://fr.wikisource.org/wiki/%C5%92uvres_compl%C3%A8tes_de_Laplace/Th%C3%A9orie_de_Jupiter_et_de_Saturne">Jupiter and Saturn</a> was tied to their near 5:2 resonance: Jupiter completes almost five orbits in the time Saturn completes two. What looked like a persistent drift was instead part of a very long oscillation.</p><p>Laplace’s work resolved one of the most prominent anomalies in planetary motion, but it did not settle the more general question of whether the mutual perturbations of all the planets could remain bounded over very long times.</p><p>If every planet continuously perturbs every other planet, and those perturbations accumulate over centuries and millennia, <strong>is the Solar System actually stable?</strong></p><h3>From Keplerian Orbits to Perturbed Motion</h3><p>For an isolated planet orbiting the Sun, Newtonian gravity reduces the motion to the two-body problem. Its geometry can be described by a small set of orbital elements. The semimajor axis a sets the size of the orbit, the eccentricity e its shape, and the inclination i the tilt of its orbital plane. Additional angular elements specify the orientation of that plane and the direction of perihelion.</p><p>A real planetary trajectory is not one fixed ellipse repeated forever. However, at any instant, one can define the Keplerian orbit that the planet would follow if all perturbing forces were suddenly removed while its position and velocity remained unchanged. This instantaneous ellipse is called the <strong>osculating orbit</strong>.</p><figure><img alt="Diagram of an osculating orbit comparing the instantaneous Keplerian ellipse with a perturbed planetary trajectory." src="https://cdn-images-1.medium.com/max/1024/1*HweK8sx_6MD3Avc9gEUoSA.png" /><figcaption><em>The osculating orbit: Left: At any given instant t₀, the osculating ellipse is the unique Keplerian orbit tangent to the true perturbed trajectory, sharing the same instantaneous position r(t₀) and velocity v(t₀). Right: Under persistent planetary perturbations, the osculating elements slowly evolve over secular timescales, causing the perihelion ϖ(t) to precess and the eccentricity e(t) to oscillate. Image by author.</em></figcaption></figure><p>As the perturbing forces gradually alter the planet’s motion, the corresponding osculating ellipse changes with it. The orbit can therefore still be described in terms of Keplerian elements, but those elements are no longer constants</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/232/0*bPRkRKxdy3PeC9hN" /></figure><p>while the angular elements specifying the orientation of the orbit also evolve with time.</p><p>This description separates the motion into two distinct parts. The planet moves rapidly around the Sun on an approximately Keplerian orbit, while the parameters describing that orbit evolve much more slowly.</p><figure><img alt="Illustration of two timescales in planetary dynamics: fast orbital period and slow secular perihelion precession." src="https://cdn-images-1.medium.com/max/1024/1*x-DBHCOe7Uorym8T1yo2_w.png" /><figcaption><em>Two timescales in a planetary orbit. A planet moves rapidly along an approximately Keplerian ellipse with mean motion n, while planetary perturbations cause the orbit itself to evolve on much longer secular timescales. The line of apsides shown here precesses at a secular frequency g ≪ n. Image by author.</em></figcaption></figure><p>A planet may complete a revolution in months or years, whereas the orientation of its perihelion, the tilt of its orbital plane, or its eccentricity may vary over thousands or even hundreds of thousands of years. The main problem of perturbation theory is not to replace Keplerian motion with an entirely different description, but to determine how the Keplerian orbit itself changes under the weak influence of the other planets.</p><p>What mattered for the long-term motion was whether these small perturbations cancelled over repeated orbits or accumulated over time. A perturbation that reverses sign as the planets move around their orbits may largely cancel over many revolutions, producing only a bounded oscillation. Another contribution may survive the averaging over orbital motion and act coherently over much longer timescales. Such slowly accumulating effects came to be known as <strong>secular perturbations</strong>.</p><p>This time-scale distinction became closely tied to the question of <strong>stability</strong>. If a planet’s eccentricity merely oscillates between nearby values, its orbit remains confined to a limited range of shapes. If, however, a secular term were to drive the eccentricity steadily upward, an initially nearly circular orbit could eventually become highly elongated, and neighboring planetary orbits might begin to intersect. The deviations from Keplerian motion were therefore not merely corrections required for accurate astronomical tables.</p><p>These deviations from Keplerian motion cast doubt on the <strong>long-term stability of the planetary system itself</strong>: were the observed variations bounded, or could the cumulative effect of mutual gravitational perturbations eventually drive the planets far from their present orbital configuration?</p><p>Fortunately, the Solar System contains a natural hierarchy. The Sun overwhelmingly dominates the motion of each planet, while the planets exert much weaker forces on one another. <strong>This separation of scales is what makes a perturbative treatment possible</strong>: the dominant Keplerian motion can be solved first, while the weaker planetary interactions are introduced as corrections to it.</p><h3>Perturbing a Keplerian Orbit</h3><p>To make the separation between the dominant Keplerian motion and the weaker planetary interactions explicit, we first consider only the Sun and a single planet, and neglect the planet’s mass compared with the Sun’s. The planet’s heliocentric position vector r obeys</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/102/0*UzzE6LhtjiNWTo-F" /></figure><p>where r=∣<strong>r</strong>∣ is the distance from the Sun and M⊙ is the solar mass. This is the exactly solvable Keplerian problem that provides the unperturbed motion.</p><p>Once the other planets are included, additional gravitational terms appear, but for the major planets these remain small compared with the central attraction of the Sun. So, the full problem can be viewed schematically as</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/311/0*bwEO3AjJ_xIEBLLY" /></figure><p>In Hamiltonian mechanics, the same separation can be written more compactly as</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/116/0*1tzUUYfiWivg58Fe" /></figure><p>The Hamiltonian H is the function that describes the dynamics of the system in terms of its positions and momenta. Here H₀ represents the exactly solvable Keplerian two-body problem, while H₁ contains the weaker gravitational interactions between the planets. The parameter ε measures the relative strength of those perturbations.</p><p>In celestial mechanics, the planetary perturbations are represented by the <strong>disturbing function</strong> R. With a common sign convention,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/96/0*sKLW3lk8PyTihUrG" /></figure><p>so R represents the same perturbing interactions as εH₁ (up to the sign convention), written in a form suited to studying how the orbital elements evolve. In heliocentric coordinates, it can be viewed schematically as</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/164/0*EMI-iMlwd9A98959" /></figure><p>where the direct term describes the gravitational attraction of the perturbing planet, while the indirect term accounts for the acceleration of the Sun itself.</p><figure><img alt="Geometry of the planetary disturbing function showing direct and indirect gravitational perturbations in heliocentric coordinates." src="https://cdn-images-1.medium.com/max/1024/1*V4mwkshf8FFo-Guzjxfx8g.png" /><figcaption><em>Geometry of the disturbing function. In heliocentric coordinates, the perturbation includes both the direct gravitational attraction of the perturbing planet and the indirect term arising because the Sun itself is accelerated by that planet. Image by author.</em></figcaption></figure><p>The indirect term arises because heliocentric coordinates use the Sun as their origin, even though the Sun itself is accelerated by the other planets. Expressed in terms of the orbital elements and relative geometry of the planets, the disturbing function provides a systematic way to determine how the semimajor axis, eccentricity, inclination and orbital orientation evolve.</p><p>The disturbing function rewrites this additional gravitational interaction in terms of the orbital elements and relative geometry of the interacting planets, allowing their effects on semimajor axis, eccentricity, inclination and orbital orientation to be calculated systematically.</p><figure><img alt="Mathematical pipeline from the gravitational disturbing function to planetary orbital element evolution." src="https://cdn-images-1.medium.com/max/1024/1*v0CZSCsJn8IlaZ-KoOWujA.png" /><figcaption><em>From the disturbing function to orbital evolution. The planetary interaction is rewritten in orbital elements, expanded into harmonic terms, and used to determine how those elements evolve in time. Image by author.</em></figcaption></figure><p>When expanded, the disturbing function contains many terms involving combinations of orbital angles, eccentricities and inclinations, reflecting the different geometrical configurations that recur as the planets move around the Sun.</p><p>These terms do not all matter in the same way over long timescales. Many oscillate rapidly as the relative positions of the planets change and largely cancel over repeated revolutions; others vary much more slowly and can shape the long-term evolution of the orbits.</p><h3>From Periodic Perturbations to Secular Motion</h3><p>To separate the rapidly oscillating perturbations from the slower variations that persist over many orbital periods, one can average over the rapidly changing orbital phases. Terms that alternate in sign as the planets move around the Sun largely cancel over many revolutions, while more slowly varying contributions remain.</p><p>What survives this averaging is the secular evolution: the much slower change in the shapes and orientations of the planetary orbits.</p><figure><img alt="Orbital averaging diagram separating fast periodic oscillations from long-term secular orbital evolution." src="https://cdn-images-1.medium.com/max/1024/1*6JeEmQcfktYH0ej9sszkpA.png" /><figcaption><em>What orbital averaging removes and what survives. Top: An instantaneous orbital element such as eccentricity e(t) undergoes rapid short-period variations driven by changing orbital phases and recurring conjunctions, superimposed on a slow secular variation. Bottom: Averaging over fast orbital phases cancels the short-period fluctuations, isolating the smooth secular evolution ē(t) that governs the long-term evolution of planetary orbits. Image by author.</em></figcaption></figure><p>The separation of timescales is large: the mean longitude of a planet advances by 2π during every revolution, while its perihelion and orbital plane may evolve over tens or hundreds of thousands of years. This gap is precisely what makes orbital averaging useful: the fast variables describe where the planets are on their orbits, while the slow variables describe how the orbits themselves change.</p><figure><img alt="Timescale hierarchy in celestial mechanics comparing orbital periods, secular precession, and chaos timescales." src="https://cdn-images-1.medium.com/max/1024/1*EsLy5zshTdXOgQgi2T5Zig.png" /><figcaption><em>The timescale hierarchy in the Solar System. Orbital periods (months to decades) are separated by three to five orders of magnitude from secular precession timescales (tens to hundreds of thousands of years). This vast separation of timescales justifies orbital averaging, isolating the slow exchange of angular momentum and eccentricity from rapid orbital fluctuations. Image by author.</em></figcaption></figure><p>The simplest secular approximation removes the dependence on the rapidly varying orbital phases. What remains is an averaged interaction between the planetary orbits themselves. In this picture, a planet is no longer treated primarily as a point moving around its ellipse, but almost as if its mass were spread continuously along that orbit. The rapid motion has been averaged away, leaving the much slower gravitational coupling between the ellipses.</p><p>The averaged equations no longer describe where each planet is along its orbit, but how the orbit itself evolves over long timescales. The semimajor axes are approximately constant at this level of approximation, while the eccentricities, inclinations and orbital orientations continue to evolve. The quantities of interest are therefore not primarily the orbital periods themselves, but the way the shapes and planes of the orbits precess and exchange angular momentum.</p><p>For the eccentricity dynamics, a convenient pair of variables is</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/83/0*2OmKsQ-wmWeR5rvV" /></figure><p>and</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/89/0*iwsmHaFKg2E1-GFl" /></figure><p>where e is the eccentricity and ϖ is the longitude of perihelion.</p><figure><img alt="The planetary eccentricity vector in the (k, h) plane for nonsingular secular perturbation theory." src="https://cdn-images-1.medium.com/max/1024/1*OH-IYZOF2uhxDSSztCBERg.png" /><figcaption><em>The eccentricity vector in the (k,h) plane. The rectangular coordinates k = e cos ϖ and h = e sin ϖ combine the eccentricity e and longitude of perihelion ϖ into a single vector, z = k + ih = e exp(iϖ) where i denotes the imaginary unit. This Cartesian representation remains well defined at e = 0 and provides the natural variables for the linearized secular equations at small eccentricity. Image by author.</em></figcaption></figure><p>The quantities h and k then represent the eccentricity and perihelion orientation as a single vector in the (k,h) plane.</p><p>A similar pair of variables can be introduced for the inclination and the orientation of the orbital plane. At this linear order, the inclination dynamics can be treated in much the same way, so the discussion below can be restricted to the eccentricity variables.</p><p>After averaging and retaining only the lowest relevant orders in eccentricity and inclination, the secular equations become linear. What originally looked like a complicated nonlinear gravitational interaction between several moving planets is reduced to the evolution of a finite set of slowly varying orbital elements.</p><p>If the point (k,h) associated with a planet moves around the origin, the eccentricity and longitude of perihelion both change. If its distance from the origin remains bounded, so does the eccentricity. The question of whether an orbit becomes progressively more elongated can therefore be translated into a question about the solutions of the averaged secular equations.</p><p>A secular term proportional to time would represent growth without bound within the approximation, whereas a sum of oscillatory terms would keep the motion confined to a finite range.</p><p>However, considering the secular evolution of one planet in isolation would not be realistic. Jupiter affects Saturn, Saturn feeds back on Jupiter, and both interact more weakly with the rest of the planetary system. The eccentricity variables of the planets are therefore dynamically coupled.</p><h3>Lagrange–Laplace Theory: The Solar System as a Set of Coupled Modes</h3><p>The theory now known as Lagrange–Laplace secular theory emerged from a sequence of closely connected investigations rather than a single joint calculation. Building on Lagrange’s work on the secular variation of orbital elements, Laplace extended the analysis and helped develop a general description of the slow, coupled evolution of the planetary system.</p><p>After averaging over the rapid orbital phases and retaining the lowest relevant orders in eccentricity and inclination, the calculation leads to a set of linear coupled differential equations. For the eccentricity variables introduced above, these can be written in modern notation as</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/123/0*d3JGk5nhupEAZiVY" /></figure><p>and</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/145/0*OsMx_U9c2ZHFZSPd" /></figure><p>where j labels the planet and the matrix A describes the secular coupling between the planetary orbits. Its coefficients depend principally on the planetary masses and semimajor axes. The important point is not their detailed form, but the fact that the eccentricity of each planet is coupled to those of the others.</p><p>The structure is analogous to a system of coupled oscillators. Pendulums connected by weak springs do not generally oscillate independently; the collective system possesses <strong>normal modes</strong>, characteristic patterns of motion in which all parts of the system oscillate together with a single frequency. An arbitrary motion is then a superposition of those modes.</p><figure><img alt="Secular normal modes and coupled perihelion precession in the Laplace-Lagrange planetary theory." src="https://cdn-images-1.medium.com/max/1024/1*v24N7oOxsHOVWHEPDa8imQ.png" /><figcaption>Secular normal modes in an idealized two-planet system. Gravitational coupling organizes the long-term evolution of the eccentricity vectors into collective modes. The examples shown correspond to aligned and anti-aligned perihelia, each precessing with a common secular frequency. In the full planetary system, the same idea generalizes to eigenmodes involving all the coupled orbits. Image by author.</figcaption></figure><p>The coupled equations take a more compact form when the two real eccentricity variables are combined into the complex variable</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/170/0*raKSpghfCcagK6Y-" /></figure><p>The two real equations then combine into</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/134/0*aGeUabnykj-v2slw" /></figure><p>or, in matrix notation,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/75/0*AF8-cMzukGJf2_ms" /></figure><p>In modern linear-algebra language, the problem is solved by diagonalizing A. If its eigenvalues are g_1, g_2, ..., each eigenvector represents a collective secular mode evolving as</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/72/0*y6fishYJtq7gf4aK" /></figure><p>and the motion of any individual planet is a superposition of these modes,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/188/0*PQIYcN2uJvNk1mPI" /></figure><p>with coefficients determined by the initial state of the system.</p><p>This result shows a planet does not possess an independent secular oscillation of its own; its long-term eccentricity and perihelion motion contain contributions from collective modes of the planetary system. The same construction applies to inclinations and nodal longitudes, producing another family of secular frequencies.</p><p>For stability, the relevant feature is that the linear solutions are oscillatory. In the Laplace–Lagrange approximation, conservation of angular momentum implies that the secular frequencies are real, provided the planets revolve around the Sun in the same direction. The factors exp(i g_p t) remain bounded: eccentricities and orbital orientations can vary continually without containing a term that simply grows without limit.</p><p>A striking historical example of how a very slow oscillation could masquerade as a secular drift was already visible in the motions of <strong>Jupiter and Saturn.</strong></p><h3>Jupiter and Saturn: Explaining the Great Inequality</h3><p>The absence of a secular drift in the planetary semimajor axes found in the calculations of Lagrange and Laplace seemed to conflict with a problem astronomers had known for generations: the slow, unexplained variations in the motions of Jupiter and Saturn that would later become known as the <strong>Great Inequality of Jupiter and Saturn.</strong></p><p>By comparing ancient observations with those of his own time, <a href="https://play.google.com/store/books/details/Edmond_Halley_Edmundi_Hallei_Tabul%C3%A6_astronomic%C3%A6_Ac?id=c5UXfSDsYDoC"><strong>Edmond Halley</strong></a> concluded that Jupiter’s mean motion appeared to be gradually increasing while Saturn’s appeared to be decreasing. He incorporated empirical secular corrections into his planetary tables. Later calculations by <a href="https://scholarlycommons.pacific.edu/euler-works/120/"><strong>Leonhard Euler</strong></a> and <a href="https://archive.org/details/uvresdelagrange01natigoog"><strong>Lagrange</strong></a> attempted to derive these variations from the mutual gravitational interaction of the two planets, but their results did not resolve the discrepancy. In 1773, <a href="https://digilib.bbaw.de/digitallibrary/digilib.html?fn=/silo10/Bibliothek.tiff/03-nouv/1773/tif/&amp;pn=251"><strong>Johann Heinrich Lambert</strong></a> also found that more recent observations seemed to show the trend reversing, strengthening the possibility that the apparent drift belonged to a much longer periodic variation rather than an indefinitely growing secular one.</p><p>This was the problem <strong>Laplace</strong> returned to in the mid-1780s. His work with the secular perturbation equations had given him a reason to suspect that the observed drift was not secular at all. If the known first-order secular terms could not explain it, perhaps an extremely slow periodic perturbation could.</p><p>The clue was the orbital periods of Jupiter and Saturn. They lie close to a 5:2 commensurability: Jupiter completes almost five revolutions while Saturn completes two. Let λ_J and λ_S denote their mean longitudes, angular variables that track the planets’ average progress around their orbits. The combination</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/110/0*-q_CjMQUSTfF8gWN" /></figure><p>is therefore a slow angular variable measuring the gradual phase mismatch associated with the near 5:2 commensurability.</p><figure><img alt="The Great Inequality of Jupiter and Saturn: near 5:2 mean-motion resonance and long-period orbital modulation." src="https://cdn-images-1.medium.com/max/1024/1*I7yWPH6m4ktgyrTMSbHoxA.png" /><figcaption><em>The Great Inequality of Jupiter and Saturn. Their orbital periods lie close to a 5:2 commensurability, so the combination 2n_J − 5n_S is small and the corresponding orbital geometry evolves only slowly. Perturbative terms associated with this near commensurability can therefore remain coherent for centuries, producing a long-period modulation of roughly nine centuries. Over a much shorter observational interval, part of that cycle can resemble a secular drift. Image by author.</em></figcaption></figure><p>If n_J and n_Sdenote the planets’ mean motions (their mean orbital angular frequencies), then, to leading Keplerian order,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/149/0*fu4BUWMQlDgLcRqe" /></figure><p>and hence</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/111/0*MFOd0Xw6UOE-kDDP" /></figure><p>Had the orbital periods been in an exact 5:2 ratio, this combination would vanish. Because the commensurability is only approximate, 2n_J − 5n_S is small but non-zero. The angle φ therefore evolves on a timescale far longer than either orbital period, allowing associated perturbative terms to remain coherent for centuries before reversing.</p><p>The result resolved the apparent contradiction. Observations separated by centuries had sampled only portions of a very long oscillation, making a bounded periodic variation look like a persistent acceleration or deceleration. Laplace could account for ancient and modern observations within Newtonian gravity without introducing an irreversible secular drift.</p><p>This analysis also exposed an important limitation of simple orbital averaging. Most rapidly varying angular combinations disappear when averaged over many revolutions, but near a resonance some combinations evolve slowly enough to survive. <strong>A perturbation need not be large to have an important long-term effect; it may instead vary extremely slowly.</strong></p><p>The Great Inequality strengthened the case for long-term order in the Solar System, while also showing that resonances could complicate the simple secular picture. <strong>Explaining the apparent drift of Jupiter and Saturn was not the same as proving that the planetary system as a whole was stable.</strong></p><h3>Had Lagrange and Laplace Proved the Solar System Stable?</h3><p>The linear secular approximation yielded a decomposition of the slow evolution of eccentricities, inclinations and orbital orientations into regular modes after averaging over the rapid orbital motion. The semimajor axes showed no secular drift, while the remaining elements underwent bounded oscillations rather than simple runaway growth.</p><p>But <strong>this did not prove that the real Solar System would remain stable indefinitely</strong>. It showed stability only within the simplified, lowest-order model used by Lagrange and Laplace.</p><p>Linear Lagrange–Laplace theory assumes that the planetary masses are small compared with the Sun and retains only the lowest relevant orders in eccentricity and inclination. Higher-order terms introduce additional couplings, while near-resonant combinations of frequencies can generate small denominators and effects absent from the linearized system. Nor does the success of a finite-order approximation guarantee that the full perturbation series converges indefinitely.</p><p>The word <strong>stable</strong> also hides several different questions. Do the semimajor axes remain close to their present values? Do the eccentricities remain bounded? Do the planets avoid close encounters? Or do nearby initial conditions continue to produce nearby trajectories? These properties are related, but they are not equivalent. A planetary system may remain physically intact while its detailed evolution is chaotic.</p><figure><img alt="Comparison of quasiperiodic, secularly growing, and chaotic orbital evolution in planetary stability." src="https://cdn-images-1.medium.com/max/1024/1*1toS_yl1to8KKnQpx9oskg.png" /><figcaption><em>Different forms of long-term orbital evolution. Quasiperiodic motion remains confined within finite bounds, whereas secular growth carries an orbital variable progressively beyond its initial range. Chaotic motion is different again: trajectories starting from nearly identical initial conditions can separate and lose phase coherence even while remaining bounded. These distinct behaviours illustrate why “stability” can refer to different mathematical properties. Image by author.</em></figcaption></figure><p>Lagrange–Laplace theory established an important but limited form of stability. Within its approximation, planetary perturbations do not simply accumulate without bound; much of the long-term evolution can instead be understood as a superposition of regular secular modes. That theory remains fundamental to modern celestial mechanics, even though accurate descriptions of the Solar System must also account for nonlinear interactions and resonances.</p><p>During the nineteenth century, attempts to push perturbation theory to higher orders made those limitations increasingly difficult to ignore. The calculations became more intricate, and the question shifted from finding the next correction to asking whether the method itself could establish the long-term stability of the planetary system.</p><p>By the end of the century, <strong>Henri Poincaré</strong> would show that the problem was more fundamental. In studying the three-body problem, he found that nonlinear gravitational dynamics could possess an intrinsic complexity and sensitivity that no finite collection of corrected Keplerian ellipses could fully capture.</p><p><strong>Lagrange–Laplace was only an approximation to the full nonlinear dynamics of the planetary system.</strong></p><p><strong>Further Reading on Related Topics<br></strong><a href="https://medium.com/the-quantastic-journal/from-newton-to-hamilton-the-road-to-modern-dynamics-e9151ddabf50"><em>From Newton to Hamilton: The Road to Modern Dynamics</em></a><strong><br></strong><a href="https://medium.com/stellar-priors/dynamical-systems-from-equations-to-geometry-09ce8e80585d"><em>Dynamical Systems: The Geometry Behind Differential Equations</em></a></p><p><em>The Python code used to generate all figures and diagrams in this article is open-source and available in the </em><a href="https://github.com/victorastren/medium-public/tree/main/beyond_kepler_solar_system_stability"><em>GitHub companion repository</em></a><em>.</em></p><h3>References &amp; Further Reading</h3><ol><li><strong>Halley, E. (1749).</strong> <em>Tabulae astronomicae. Accedunt de usu tabularum praecepta.</em> Edited posthumously by J. Bevis. London: William Innys. <a href="https://play.google.com/store/books/details/Edmond_Halley_Edmundi_Hallei_Tabul%C3%A6_astronomic%C3%A6_Ac?id=c5UXfSDsYDoC">Google Books</a> · Wikimedia Commons, 1752 English/Latin edition.</li><li><strong>Euler, L. (1749).</strong> <em>Recherches sur la question des inégalités du mouvement de Saturne et de Jupiter. Pièces qui ont remporté le prix de l’Académie royale des Sciences</em>, Prix de 1748, 1–123. <a href="https://scholarlycommons.pacific.edu/euler-works/120/">Euler Archive</a>.</li><li><strong>Lagrange, J.-L. (1766).</strong> <em>Solution de différents problèmes de calcul intégral.</em> Mémoires de l’Académie royale des Sciences de Turin pour les années 1762–1765, III, 179–380. Reprinted in <em>Œuvres de Lagrange</em>, Tome I, 471–668. <a href="https://archive.org/details/uvresdelagrange01natigoog">Archive.org</a>.</li><li><strong>Lagrange, J.-L. (1774).</strong> <em>Recherches sur les équations séculaires des mouvemens des nœuds, et des inclinaisons des orbites des planètes.</em> Académie Royale des Sciences, 78 pp. <a href="https://books.google.com/books?id=V1W50QEACAAJ">Google Books</a>.</li><li><strong>Lambert, J. H. (1775).</strong> <em>Résultat des recherches sur les irrégularités du mouvement de Saturne et de Jupiter.</em> Nouveaux Mémoires de l’Académie royale des Sciences et Belles-Lettres de Berlin, année 1773, 216–221. <a href="https://books.google.com/books?id=-_f75i9_fqQC">Google Books</a> · <a href="https://digilib.bbaw.de/digitallibrary/digilib.html?fn=%2Fsilo10%2FBibliothek.tiff%2F03-nouv%2F1773%2Ftif%2F&amp;pn=251">BBAW</a>.</li><li><strong>Lagrange, J.-L. (1781).</strong> <em>Théorie des variations séculaires des éléments des Planètes. Première Partie.</em> Nouveaux Mémoires de l’Académie royale des Sciences et Belles-Lettres de Berlin, 125–207. Reprinted in <em>Œuvres de Lagrange</em>, Tome V. <a href="https://fr.wikisource.org/wiki/M%C3%A9moires_extraits_des_recueils_de_l%E2%80%99Acad%C3%A9mie_royale_de_Berlin/Th%C3%A9orie_des_variations_s%C3%A9culaires_des_%C3%A9l%C3%A9ments_des_Plan%C3%A8tes/1">Wikisource</a>.</li><li><strong>Laplace, P.-S. (1787).</strong> <em>Mémoire sur les inégalités séculaires des planètes et des satellites.</em> Mémoires de l’Académie royale des Sciences de Paris, année 1784, 1–50. Reprinted in <em>Œuvres complètes de Laplace</em>, Tome XI, 49–92. <a href="https://fr.wikisource.org/wiki/%C5%92uvres_compl%C3%A8tes_de_Laplace/M%C3%A9moire_sur_les_in%C3%A9galit%C3%A9s_s%C3%A9culaires_des_plan%C3%A8tes_et_des_satellites">Wikisource</a> · <a href="https://catalogue.bnf.fr/ark:/12148/cb30739053z">BnF</a>.</li><li><strong>Laplace, P.-S. (1788).</strong> <em>Théorie de Jupiter et de Saturne.</em> Mémoires de l’Académie royale des Sciences de Paris, année 1785, 33–160; continued in année 1786, 201–234. Reprinted in <em>Œuvres complètes de Laplace</em>, Tome XI, 95–239. <a href="https://fr.wikisource.org/wiki/%C5%92uvres_compl%C3%A8tes_de_Laplace/Th%C3%A9orie_de_Jupiter_et_de_Saturne">Wikisource</a>.</li><li><strong>Laplace, P.-S. (1798).</strong> <em>Exposition du système du monde</em> (2nd ed.). Paris: Duprat. See especially Livre IV, <em>De la théorie de la pesanteur universelle</em>, and the discussion of planetary perturbations. <a href="https://fr.wikisource.org/wiki/Exposition_du_syst%C3%A8me_du_monde_%281798%29">Wikisource</a> · <a href="https://gallica.bnf.fr/ark:/12148/btv1b8615810h">Gallica</a>.</li><li><strong>Brouwer, D., &amp; Clemence, G. M. (1961).</strong> <em>Methods of Celestial Mechanics.</em> Academic Press. <a href="https://doi.org/10.1016/C2013-0-08160-1">10.1016/C2013–0–08160–1</a> · <a href="https://www.sciencedirect.com/book/9781483200750/methods-of-celestial-mechanics">ScienceDirect</a>.</li><li><strong>Murray, C. D., &amp; Dermott, S. F. (1999).</strong> <em>Solar System Dynamics.</em> Cambridge University Press. <a href="https://doi.org/10.1017/CBO9781139174817">10.1017/CBO9781139174817</a> · <a href="https://www.cambridge.org/core/books/solar-system-dynamics/108745217E4A18190CBA340ED5E477A2">Cambridge University Press</a> · <a href="https://www.solarsystemdynamics.info/">Companion site</a>.</li><li><strong>Laskar, J. (1989).</strong> <em>A numerical experiment on the chaotic behaviour of the Solar System.</em> Nature, 338, 237–238. <a href="https://doi.org/10.1038/338237a0">10.1038/338237a0</a> · <a href="https://ui.adsabs.harvard.edu/abs/1989Natur.338..237L/abstract">ADS</a>.</li><li><strong>Laskar, J. (1990).</strong> <em>The chaotic motion of the Solar System: A numerical estimate of the size of the chaotic zones.</em> Icarus, 88(2), 266–291. <a href="https://doi.org/10.1016/0019-1035%2890%2990084-M">10.1016/0019–1035(90)90084-M</a> · <a href="https://ui.adsabs.harvard.edu/abs/1990Icar...88..266L/abstract">ADS</a>.</li><li><strong>Sussman, G. J., &amp; Wisdom, J. (1992).</strong> <em>Chaotic Evolution of the Solar System.</em> Science, 257(5066), 56–62. <a href="https://doi.org/10.1126/science.257.5066.56">10.1126/science.257.5066.56</a> · <a href="https://ui.adsabs.harvard.edu/abs/1992Sci...257...56S/abstract">ADS</a>.</li><li><strong>Laskar, J. (2008).</strong> <em>Chaotic diffusion in the Solar System.</em> Icarus, 196(1), 1–15. <a href="https://doi.org/10.1016/j.icarus.2008.02.017">10.1016/j.icarus.2008.02.017</a> · <a href="https://ui.adsabs.harvard.edu/abs/2008Icar..196....1L/abstract">ADS</a> · <a href="https://arxiv.org/abs/0802.3371">arXiv:0802.3371</a>.</li><li><strong>Laskar, J., &amp; Gastineau, M. (2009).</strong> <em>Existence of collisional trajectories of Mercury, Mars and Venus with the Earth.</em> Nature, 459, 817–819. <a href="https://doi.org/10.1038/nature08096">10.1038/nature08096</a> · <a href="https://ui.adsabs.harvard.edu/abs/2009Natur.459..817L/abstract">ADS</a>.</li><li><strong>Laskar, J. (2013).</strong> <em>Is the Solar System Stable?</em> In B. Duplantier, S. Nonnenmacher &amp; V. Rivasseau (eds.), <em>Chaos: Poincaré Seminar 2010</em>, Progress in Mathematical Physics, 66, 239–270. Birkhäuser. <a href="https://doi.org/10.1007/978-3-0348-0697-8_7">10.1007/978–3–0348–0697–8_7</a> · <a href="https://arxiv.org/abs/1209.5996">arXiv:1209.5996</a>.</li><li><strong>Laskar, J. (2024).</strong> <em>Stability of the Solar System.</em> Scholarpedia, 19(4), 5216. <a href="https://doi.org/10.4249/scholarpedia.5216">10.4249/scholarpedia.5216</a> · <a href="https://www.scholarpedia.org/article/Stability_of_the_solar_system">Scholarpedia</a>.</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=060aad708540" width="1" height="1" alt=""><hr><p><a href="https://medium.com/stellar-priors/beyond-kepler-i-perturbations-and-the-stability-of-the-solar-system-060aad708540">Is the Solar System Really Stable? Lagrange and Laplace’s Discovery</a> was originally published in <a href="https://medium.com/stellar-priors">Stellar Priors</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How Two Neutron Stars Revealed Gravitational Waves Before LIGO]]></title>
            <link>https://medium.com/stellar-priors/how-two-neutron-stars-revealed-gravitational-waves-before-ligo-2796ab05df4f?source=rss----452c3ef4656b---4</link>
            <guid isPermaLink="false">https://medium.com/p/2796ab05df4f</guid>
            <category><![CDATA[physics]]></category>
            <category><![CDATA[space]]></category>
            <category><![CDATA[science]]></category>
            <category><![CDATA[astrophysics]]></category>
            <category><![CDATA[gravitational-waves]]></category>
            <dc:creator><![CDATA[Victor Astren]]></dc:creator>
            <pubDate>Mon, 14 Sep 2026 13:30:21 GMT</pubDate>
            <atom:updated>2026-10-07T16:51:32.922Z</atom:updated>
            <content:encoded><![CDATA[<h4>The Hulse–Taylor pulsar, relativistic timing, and the first compelling evidence for gravitational radiation</h4><figure><img alt="Panoramic twilight view of the Arecibo radio telescope in Puerto Rico beneath a cosmic diagram of the binary pulsar PSR B1913+16, showing sweeping lighthouse radio beams and concentric ripples of gravitational waves in curved spacetime." src="https://cdn-images-1.medium.com/max/1024/1*zwLSzZNsgqQp1yjY-g8eSQ.png" /><figcaption><em>Arecibo Observatory at twilight under the binary pulsar PSR B1913+16: as the neutron star sweeps radio pulses toward Earth, orbital decay ripples spacetime with gravitational radiation. Image by author.</em></figcaption></figure><p>In 1974, Russell Hulse discovered a pulsar with some peculiar behavior. Its apparently regular pulse period was changing in a systematic but initially puzzling way.</p><p>Over the following years, PSR B1913+16 would become one of the most important systems for testing General Relativity. Its importance came not only from the results themselves, but from how much physics could be extracted from the arrival times of its radio pulses.</p><h3>A Puzzling Pulsar</h3><p>In the summer of 1974, Russell Hulse was searching for pulsars with the 305-meter radio telescope at Arecibo Observatory in Puerto Rico. The survey formed part of his PhD work at the University of Massachusetts Amherst under the supervision of Prof. Joseph Taylor.</p><p>Hulse spent long, irregular shifts inside the frigid hum of the computer control room, sheltered from the tropical heat. The purpose of the survey was to search the Galactic plane for previously unknown pulsars and enlarge the small population then available for study.</p><p>On July 2, Hulse spotted the initial weak signal of PSR B1913+16 during a routine survey run. The source produced a radio pulse roughly every 59 ms.</p><p>Such regularity is characteristic of a pulsar. A neutron star can contain more mass than the Sun compressed into an object only tens of kilometers across. If its magnetic axis is tilted relative to its rotation axis, radiation emitted near the magnetic poles sweeps through space like the beam of a lighthouse. Whenever that beam crosses Earth, a radio telescope records a pulse. This makes pulsars behave like cosmic clocks.</p><figure><img alt="Illustration of the pulsar lighthouse mechanism: A rapidly spinning neutron star with a magnetic axis misaligned with its rotation axis emits collimated radio beams from its magnetic poles, which sweep past Earth’s line of sight once per rotation period to produce periodic pulses." src="https://cdn-images-1.medium.com/max/1024/1*MMifsXmi7fU10bHc3p3Ncg.png" /><figcaption><em>Illustration of the Pulsar mechanism: A rapidly spinning neutron star with a tilted magnetic axis emits narrow beams of radio waves from its magnetic poles. As the star rotates, the sweeping beam crosses Earth’s line of sight once per revolution, registering a periodic radio pulse (P = 59 ms for PSR B1913+16). Image from author.</em></figcaption></figure><p>On August 25, Hulse attempted to obtain a more accurate period for PSR B1913+16. Instead, two measurements taken during the same observing session differed by 27 μs, far too much to dismiss as experimental uncertainty.</p><p>His first reaction was to suspect a bug in his software or an equipment error. A second attempt two days later produced an even worse disagreement. Hulse then checked his code, probed the equipment for possible faults, and developed a special observing procedure for PSR B1913+16.</p><p>But the problem persisted. Sometimes the pulses arrived a little sooner than expected; at other times they arrived a little later. The changes were too large and too systematic to dismiss as irregularities in the neutron star’s rotation.</p><p>Comparing observations from September 1 and 2, Hulse noticed a pattern. When he plotted the measured pulse period as a function of time, the two curves nearly overlapped if one was shifted by about 45 minutes. <br>And then the explanation came to him: the variations in the observed pulse period were <strong>Doppler shifts</strong> produced by the pulsar’s orbital motion around a companion star.</p><figure><img alt="Illustration of the orbital Doppler effect in PSR B1913+16: As the pulsar orbits its unseen companion, its line-of-sight motion compresses wavefronts when moving toward Earth and stretches them when receding, causing the observed pulse period to modulate periodically." src="https://cdn-images-1.medium.com/max/1024/1*otrsKXMIiK8csxFMS9sgaA.png" /><figcaption><em>Illustration of the Orbital Doppler Effect in PSR B1913+16: As the pulsar orbits its unseen companion, its motion alternately compresses and stretches the arrival times of radio pulses along Earth’s line of sight. When moving toward Earth, pulses arrive closer together (shorter observed period); when moving away, they arrive farther apart (longer observed period). Image from author.</em></figcaption></figure><p>When PSR B1913+16 was moving toward Earth, successive pulses arrived slightly closer together, producing a shorter observed period. When it was moving away, they arrived farther apart, producing a longer observed period. And because the Doppler pattern repeated within only a few hours, the pulsar had to be moving in a very tight orbit.</p><p>The decisive confirmation that the system was a binary came on September 16: the period reached a clear minimum and then began increasing again, as the binary interpretation predicted.</p><figure><img alt="Discovery evidence for PSR B1913+16 from 1974 Arecibo data: Panel A shows observed pulse period versus time on September 1 and 2, demonstrating exact overlap after a 45-minute shift. Panel B displays the decisive turnaround on September 16, where the period reaches a minimum and reverses direction, confirming a closed Keplerian orbit." src="https://cdn-images-1.medium.com/max/1024/1*z-4OLfK2Oj1Vy-I15FqhHQ.png" /><figcaption><em>Discovery evidence for PSR B1913+16 reconstructed from Russell Hulse’s 1974 observing notebook and </em><a href="https://www.nobelprize.org/uploads/2018/06/hulse-lecture.pdf"><em>Nobel lecture</em></a><em>: (A) Observed pulse period across Arecibo’s daily observing window on September 1 and September 2, demonstrating that shifting the second observation by 45 minutes produces an exact overlap due to orbital commensurability with Earth’s rotation (3 orbits × 7.75 h = 23.25 h). (B) The decisive turnaround on September 16, where the period reached a minimum and reversed direction (dP/dt &gt; 0), confirming a closed 7.75-hour Keplerian orbit with orbital velocities reaching ~300 km/s. Image from author</em></figcaption></figure><p>By September 18, Hulse had completed the analysis and wrote Joseph Taylor with the news that PSR B1913+16 was in a high-velocity binary orbit with a period of about eight hours.</p><p>The discovery of the companion solved the immediate puzzle. But the changing pulse period contained much more than evidence for a binary: it carried information about the motion and geometry of the orbit itself.</p><h3>Reconstructing the Binary Orbit from Pulsar Timing</h3><p>Once the Doppler origin of the changing pulse period was understood, the timing variations could, in principle, be used to reconstruct the binary orbit.</p><p>As a first approximation, the system PSR B1913+16 can be treated as a <strong>Keplerian binary</strong>: two bodies moving under their mutual gravitational attraction according to Newtonian gravity. Each star follows an elliptical orbit around their common center of mass. Relativistic effects introduce much smaller corrections to this underlying motion, which we will consider later.</p><p>For such a Keplerian binary, the radial velocity of the observed star along our line of sight can be written as</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/217/0*ONSUOxSlyJOrr_Xm" /></figure><p>Here, e is the orbital eccentricity, with e = 0 for a circular orbit and larger values corresponding to more elongated ellipses.</p><p>The angle ν is the <strong>true anomaly</strong>, the instantaneous angular position of the pulsar measured from <strong>periastron</strong>, the point of closest approach to its companion. The angle ω, called the <strong>argument of periastron</strong>, specifies the orientation of periastron within the orbital plane, while K sets the overall scale of the radial velocity.</p><figure><img alt="Keplerian orbital geometry of the binary pulsar system: Diagram depicting the pulsar and companion orbits around the center of mass, defining the semimajor axis a_1, periastron, true anomaly ν, argument of periastron ω, inclination angle i, and line of sight toward Earth." src="https://cdn-images-1.medium.com/max/1024/1*9lydz8bIrK_J5YBEN6QmQw.png" /><figcaption><em>Geometry of the Keplerian binary orbit and the principal quantities entering the timing model: pulsar and companion stars orbiting around the center of mass, semimajor axis a_1, periastron, true anomaly ν, argument of periastron ω, inclination i to the line of sight, and the direction toward Earth. Image by author.</em></figcaption></figure><p>The first quantity to emerge directly from the repeating Doppler pattern is the orbital period:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/87/0*MR7Up86_iy8G1_Xc" /></figure><p>The shape of the observed Doppler modulation already showed that the orbit was not circular. Fitting it with the Keplerian model gives an eccentricity of</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/71/0*Kz0_8F6RfraUnYBg" /></figure><p>With this eccentricity, the pulsar spends much of each orbit relatively far from its companion, moving more slowly, before accelerating as it approaches periastron. This is Kepler’s second law made visible through radio timing: the line joining the two stars sweeps out equal areas in equal times, so the orbital motion becomes faster as the separation decreases.</p><p>Consequently, the true anomaly ν does not increase uniformly with time. Near periastron it changes rapidly, while farther away it changes more slowly. This produces the characteristic asymmetry of the observed Doppler curve, with line-of-sight velocities reaching roughly 300 km/s.</p><figure><img alt="Radial velocity curve of PSR B1913+16 over its 7.75-hour orbital period: Comparison between the highly asymmetric eccentric Keplerian curve (eccentricity e = 0.617) with peak velocity near periastron, and a symmetric sinusoidal curve for a circular orbit (e = 0)." src="https://cdn-images-1.medium.com/max/1024/1*eBXiSyCytUyH19E2PbleAA.png" /><figcaption><em>Radial velocity of PSR B1913+16 across one 7.75-hour orbit. The asymmetric Keplerian curve for e = 0.617, compared with the sinusoidal curve of a circular orbit, reflects the rapid motion through periastron and slower motion farther away. Image by author</em></figcaption></figure><p>The amplitude of the Doppler curve contains information about the size of the pulsar’s orbit. The velocity scale K is</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/120/0*kPgZh4fbQBEHNXDG" /></figure><p>where P_b is the orbital period, a₁ the semimajor axis of the pulsar’s orbit around the center of mass, and i the inclination of the orbital plane to our line of sight.</p><p>The Doppler effect measures only motion along the line of sight, thus a₁ and i cannot be determined separately. Timing measures their combination</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/48/0*1aRdpX_sOZRrKSLy" /></figure><p>known as the <strong>projected semimajor axis</strong>. It is conventionally expressed as a light-travel time,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/85/0*498hF69EiO0n4ihY" /></figure><p>and for PSR B1913+16,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/86/0*tQkM8pRt6cXvhRMH" /></figure><p>Thus the projected semimajor axis corresponds to about 2.342 light-seconds, or roughly 700,000 km. The changing orbital position shifts the pulse arrival times by amounts of order seconds, making the orbital motion readily measurable.</p><p>One final parameter, T₀, specifies the reference time at which the pulsar passes through periastron.</p><p>The Keplerian timing orbit can be summarized by five measured parameters:</p><figure><img alt="Table 1: Keplerian orbital parameters describing the binary pulsar PSR B1913+16" src="https://cdn-images-1.medium.com/max/1024/1*WsYRHRNZ6-wYOJ4aD_u7TA.png" /><figcaption><em>Keplerian orbital parameters describing the binary pulsar PSR B1913+16. Table by author.</em></figcaption></figure><p>Together, P_b, e, x, ω, and T₀ reconstruct the ordinary Keplerian orbit from the arrival times of the pulsar’s radio pulses, even though the two stars cannot be spatially resolved.</p><h3>Relativistic Timing and the Neutron-Star Masses</h3><p>The Keplerian solution described the dominant orbital motion of PSR B1913+16 very well. But as the pulse arrival times were measured with increasing precision, small systematic departures from that model became detectable.</p><p>The Keplerian description remained the underlying orbit, with General Relativity predicting additional, much smaller effects superimposed on that motion.</p><p>In pulsar timing, these are described by <strong>Post-Keplerian parameters</strong>, directly measurable quantities that characterize departures from the ordinary Keplerian orbit. In General Relativity, once the Keplerian parameters are known, their values depend on the masses of the two stars, m₁ and m₂.</p><p>The relativistic information did not emerge from a single observing run. After the 1974 discovery, Hulse and Taylor continued timing PSR B1913+16 at Arecibo. By 1976, after more than a year of observations spanning about 390 days, <a href="https://doi.org/10.1086/182131">Taylor, Hulse and collaborators</a> had already detected a slow change in the orientation of the orbit.</p><p>Hulse then moved on to other work, while Taylor and collaborators continued regular precision timing of the system at Arecibo. Over the following several years, the longer observational baseline made progressively weaker deviations from the Keplerian orbit measurable. By the early 1980s, the accumulated timing data were precise enough to use these relativistic effects to constrain the masses of the two neutron stars.</p><p>The first of these effects to become clearly measurable was a slow change in the orientation of the orbit.</p><h4>Periastron Advance</h4><p>In Newtonian two-body gravity, an isolated elliptical orbit retains the same orientation from one revolution to the next.</p><p>For PSR B1913+16, however, the point of closest approach, the periastron, slowly moves forward around the orbit. This relativistic effect is known as the advance of periastron. The measured rate is</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/111/0*qbfMS3D0he8V9iRk" /></figure><p>The expression obtained from General Relativity is,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/264/0*4y8o8Gj18E6ilfNI" /></figure><p>where</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/185/0*193lwe6j4CzFEqcB" /></figure><p>is the solar mass expressed in convenient time units.</p><p>With the orbital period P_b and eccentricity e already known from the Keplerian timing solution, the remaining mass dependence is essentially through the sum m₁ + m₂.</p><p>The measured periastron advance thus determines the total mass of the binary:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/177/0*4M6MtZ7MwcfLJVvr" /></figure><p>But many different pairs of values for m₁ and m₂ could produce the same total mass. Therefore, a second relativistic effect is needed to separate them, one that depends on m₁ and m₂ differently.</p><h4>The Einstein Delay</h4><p>In the highly eccentric orbit of PSR B1913+16, both the pulsar’s speed and its distance from the companion vary significantly during each revolution. Near periastron, it moves faster and lies deeper in the companion’s gravitational field.</p><p>Both effects alter the rate at which the pulsar’s clock appears to run. Special-relativistic time dilation increases with orbital speed, while gravitational redshift changes as the pulsar moves through the companion’s gravitational potential.</p><p>In pulsar timing, these two periodic contributions are combined into the <strong>Einstein delay</strong>, whose amplitude is denoted by γ. Here, γ is a timing parameter measured in seconds; it should not be confused with the Lorentz factor of special relativity.</p><p>In General Relativity,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/371/0*AOA9hU7kmEuZfB-l" /></figure><p>which gives for PSR B1913+16</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/92/0*Tt8ES_kiaLqBWnF4" /></figure><p>An amplitude of `4.29 ms` is readily measurable against a pulsar period of only `59 ms`, particularly when the signal is accumulated over many years of observations.</p><p>The different dependence of the Einstein delay γ on m₁ and m₂ supplies the second independent mass constraint.</p><h4>Determining the Component Masses</h4><p>The resulting mass constraints can be represented geometrically in the m₁ — m₂ plane: the measured periastron advance defines one curve containing all pairs of masses compatible with ω̇. The Einstein delay defines another.</p><p>If General Relativity describes the system correctly, the actual neutron-star masses must lie at their intersection.</p><figure><img alt="Mass-mass constraint diagram for PSR B1913+16 in the m1 — m2 plane: Curves corresponding to the relativistic periastron advance and Einstein delay intersect at a unique point, precisely determining the pulsar and companion masses near 1.4 solar masses." src="https://cdn-images-1.medium.com/max/1024/1*CzhJb0-c8NXGBnY4nfrDdw.png" /><figcaption>Each relativistic timing parameter defines a permitted curve in the m_1 — m_2 plane. The intersection of the periastron advance and Einstein-delay constraints determines the component masses. Image by author</figcaption></figure><p>By 1982, using pulse-arrival measurements extending from 1974 to 1981, <a href="https://doi.org/10.1086/159690">Joseph Taylor and Joel Weisberg</a> had accumulated enough data to solve for the two component masses, obtaining values of roughly 1.42 M☉ and 1.41 M☉ with the precision then available. Continued Arecibo observations over the following decades refined those values to much higher precision.</p><p>A later thirty-year timing solution gives</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/294/0*_Ht7Xk6OaHEoInoR" /></figure><p>That analysis used arrival times accumulated over decades; by then individual five-minute observations could yield pulse arrival times at the level of tens of microseconds.</p><p>The first two relativistic measurements had already determined m₁ and m₂. This meant that any additional observable became a genuine test of General Relativity: its value had to be predicted from those already measured masses.</p><h3>Orbital Decay as a Test of General Relativity</h3><p>Over successive observations, a small but systematic trend emerged. The interval between successive orbits was becoming shorter: the 7.75-hour orbital period was gradually decreasing.</p><h4>Measuring a Changing Orbital Period</h4><p>If the orbital period were perfectly constant, then after measuring one periastron passage at time T₀, the subsequent passages would occur at</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/118/0*1s8GX39HzCvLr9h5" /></figure><p>After N revolutions, the pulsar would therefore be expected to return to periastron at these predicted times.</p><p>Over time, however, the observed periastron passages began to occur slightly earlier than this constant-period model predicted.</p><p>As years of timing measurements accumulated, PSR B1913+16 was found to reach periastron progressively earlier than predicted by a constant-period orbit. The effect is extremely small from one revolution to the next, but the binary completes more than a thousand orbits every year. In timing terms, this systematic drift corresponds to a negative orbital-period derivative,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/49/0*snYUuB-Nvlgo-SyD" /></figure><p>meaning that the orbital period is gradually becoming shorter.</p><p>This tiny change becomes measurable because it accumulates. To leading order, the difference between the observed periastron time and that expected for a constant-period orbit grows approximately as</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/130/0*bxkwl-TDLdJXOB99" /></figure><p>The displacement scales as N², making even a very small change from one orbit to the next measurable after thousands of revolutions.</p><figure><img alt="Cumulative orbital decay of PSR B1913+16: Plot showing the parabolic accumulation in periastron time shift over decades of observations, comparing observational data points with the General Relativity prediction from gravitational radiation." src="https://cdn-images-1.medium.com/max/1024/1*wDdWJ-UHrgpc_EzGihM3Ow.png" /><figcaption><em>Accumulated shift in the time of periastron passage relative to an orbit with constant period. The change from one revolution to the next is tiny, but builds into a measurable displacement over years of timing observations. Image by author.</em></figcaption></figure><h4>A Prediction with the Masses Already Fixed</h4><p>General Relativity predicts a specific value of dP_b/dt once the properties of the binary are known.</p><p>The Keplerian timing solution has already provided P_b and e, while the periastron advance and Einstein delay have independently fixed m₁ and m₂. General Relativity therefore makes a definite prediction:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/166/0*r9LJigOSXQ2Bdm2b" /></figure><p>The measured orbital decay can then be compared directly with this prediction.<br><strong>Unlike the first two Post-Keplerian parameters, </strong><strong>dP_b/dt is no longer needed to determine the masses: it provides an independent test of the theory.</strong></p><p>The observed decrease in orbital period thus requires a mechanism for removing energy from the orbit.</p><h3>Gravitational Radiation and Orbital Energy Loss</h3><p>In Newtonian gravity, an isolated two-body orbit can continue indefinitely while conserving its mechanical energy. General Relativity changes this picture because gravity is not an instantaneous force acting at a distance: it is a dynamical field whose disturbances propagate through spacetime.</p><p>Far from the binary, where the gravitational field is weak, the spacetime geometry can be written as a small perturbation of flat spacetime,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/122/0*g0QmVpGRQ4izLg8i" /></figure><p>where η_μν is the Minkowski metric of flat spacetime and h_μν is a small perturbation produced by the gravitational field.</p><p>A time-dependent perturbation h_μν can propagate outward as a gravitational wave.</p><h4>Why a Binary Radiates</h4><p>Gravitational radiation does not begin with a changing mass monopole or dipole. Conservation of mass-energy and momentum removes those possibilities, so the first radiative contribution is the mass quadrupole moment.</p><p>For a binary, the quadrupole tensor I_ij describes how the two masses are distributed around their common centre of mass. As the stars orbit one another, this mass distribution changes with time.</p><p>Far from the system, the gravitational-wave perturbation is proportional to the second time derivative of that quadrupole:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/225/0*kUbK87GK9etvgHa8" /></figure><p>Here, I_ij denotes the mass quadrupole tensor in a normalization that absorbs the conventional factor of 2, R is the distance to the source, and t − R/c is the retarded time. The superscript TT denotes the transverse-traceless part of the perturbation.</p><p>As the stars orbit, the quadrupole moment changes continuously, generating gravitational waves that carry energy away from the system.</p><h4>The Role of the Eccentric Orbit</h4><p>The highly eccentric orbit of PSR B1913+16 significantly enhances its gravitational-wave emission.</p><p>During each revolution, the stars spend much of their time relatively far apart before sweeping rapidly through periastron. The rapid motion near periastron produces the strongest time variation of the quadrupole moment, concentrating much of the gravitational-wave emission into that part of the orbit.</p><p>For an eccentric binary, the <a href="https://journals.aps.org/pr/abstract/10.1103/PhysRev.131.435">Peters–Mathews</a> calculation introduces the enhancement factor</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/299/0*zhfTMn228xzIzfUM" /></figure><p>For PSR B1913+16, with e ≃ 0.617,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/86/0*_Ti2e3vpPyw8ZCFJ" /></figure><p>This corresponds to a gravitational-wave energy loss about 12 times greater than for a circular binary with otherwise comparable orbital parameters.</p><p>Combining the gravitational radiation calculation with the orbital dynamics gives the predicted secular period change,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/451/0*wDq6_2hYajyOceB6" /></figure><p>The period change measured from Earth also includes small contributions from the binary’s motion within the Galaxy. Correcting for these gives the intrinsic orbital decay.<br>Arecibo did not directly detect the gravitational waves from PSR B1913+16 passing through Earth. Instead, it measured what their emission was doing to the binary that produced them.</p><p>As gravitational waves carried energy away, the orbit gradually changed, yielding the cumulative shifts in pulse arrival times measured at Arecibo. That indirect chain provided the first compelling observational evidence that gravitational radiation carries energy in accordance with General Relativity.</p><h3>From Indirect Evidence to Gravitational-Wave Astronomy</h3><p>The Hulse–Taylor observations inferred gravitational radiation from its effect on the binary orbit. Arecibo did not detect a gravitational wave passing through Earth. Instead, it measured the gradual orbital changes produced as the system lost energy:</p><p>gravitational radiation → orbital energy loss → orbital decay → pulse timing</p><p>After correcting for Galactic and kinematic effects, decades of observations showed that the measured decay followed the relativistic prediction to high precision. Hulse and Taylor were awarded the 1993 Nobel Prize in Physics for the discovery of the binary pulsar, which opened this new way of testing relativistic gravity.</p><h4>From the Source to the Detector</h4><p>More than forty years after the discovery of PSR B1913+16, gravitational-wave astronomy entered a different regime.</p><p>In 2015, LIGO observed GW150914, produced by the merger of two black holes. This time, the gravitational wave itself was detected directly, through the extremely small differential change in the lengths of the interferometer arms as the wave passed through the detector.</p><p>The two experiments probed different parts of the same process: Hulse–Taylor measured the effect of gravitational radiation on the source, whereas LIGO measured the effect of the propagating wave on a distant detector.</p><p>binary source → gravitational waves → distant detector</p><h4>Beyond Hulse–Taylor</h4><p>Binary-pulsar timing also continued to develop.</p><p>The Double Pulsar PSR J0737−3039A/B, discovered in 2003, provided a still richer relativistic laboratory. Its orbital period is only about 2.45 h, both neutron stars were detectable as pulsars, and <a href="https://www.science.org/doi/10.1126/science.1132305">several independent Post-Keplerian effects could be measured with substantially greater precision</a>.</p><p>Pulsar timing has since been extended on an entirely different scale. Pulsar Timing Arrays monitor many stable millisecond pulsars spread across the sky, looking for correlated variations in their pulse arrival times produced by very-low-frequency gravitational waves.</p><p>In 2023, several collaborations reported evidence for a common nanohertz gravitational-wave signal consistent with the expected gravitational-wave background.</p><p>The techniques are very different, but they share the same basic resource that made PSR B1913+16 so powerful: extremely regular astronomical clocks whose arrival times can be measured over long periods.</p><p>The Hulse–Taylor binary therefore occupies an important place between classical pulsar astronomy and modern gravitational-wave astronomy. Long before an interferometer directly measured spacetime strain, the changing orbit of two neutron stars had already shown that gravitational radiation was carrying energy away from an astrophysical system.</p><p><em>The Python code used to generate all figures and diagrams in this article is open-source and available in the </em><a href="https://github.com/victorastren/medium-public/tree/main/hulse_taylor_pulsar_discovery"><em>GitHub companion repository</em></a><em>.</em></p><h3>References &amp; Further Reading</h3><ol><li><strong>Peters, P. C., &amp; Mathews, J. (1963).</strong> <em>Gravitational Radiation from Point Masses in a Keplerian Orbit.</em> Physical Review, 131(1), 435–440. <a href="https://doi.org/10.1103/PhysRev.131.435">10.1103/PhysRev.131.435</a> · <a href="https://ui.adsabs.harvard.edu/abs/1963PhRv..131..435P/abstract">ADS</a>.</li><li><strong>Peters, P. C. (1964).</strong> <em>Gravitational Radiation and the Motion of Two Point Masses.</em> Physical Review, 136(4B), B1224–B1232. <a href="https://doi.org/10.1103/PhysRev.136.B1224">10.1103/PhysRev.136.B1224</a> · <a href="https://ui.adsabs.harvard.edu/abs/1964PhRv..136.1224P/abstract">ADS</a> · <a href="https://thesis.caltech.edu/4296/01/Peters_pc_1964.pdf">CaltechTHESIS (PDF)</a>.</li><li><strong>Hulse, R. A., &amp; Taylor, J. H. (1975).</strong> <em>Discovery of a pulsar in a binary system.</em> The Astrophysical Journal, 195, L51–L53. <a href="https://doi.org/10.1086/181708">10.1086/181708</a> · <a href="https://ui.adsabs.harvard.edu/abs/1975ApJ...195L..51H/abstract">ADS</a>.</li><li><strong>Taylor, J. H., Hulse, R. A., Fowler, L. A., Gullahorn, G. E., &amp; Rankin, J. M. (1976).</strong> <em>Further observations of the binary pulsar PSR 1913+16.</em> The Astrophysical Journal, 206, L53–L58. <a href="https://doi.org/10.1086/182131">10.1086/182131</a> · <a href="https://ui.adsabs.harvard.edu/abs/1976ApJ...206L..53T/abstract">ADS</a>.</li><li><strong>Taylor, J. H., &amp; Weisberg, J. M. (1982).</strong> <em>A new test of general relativity — Gravitational radiation and the binary pulsar PSR 1913+16.</em> The Astrophysical Journal, 253, 908–920. <a href="https://doi.org/10.1086/159690">10.1086/159690</a> · <a href="https://ui.adsabs.harvard.edu/abs/1982ApJ...253..908T/abstract">ADS</a>.</li><li><strong>Damour, T., &amp; Deruelle, N. (1985).</strong> <em>General relativistic celestial mechanics of binary systems. I. The post-Newtonian motion.</em> Annales de l’I.H.P. Physique théorique, 43(1), 107–132. <a href="https://ui.adsabs.harvard.edu/abs/1985AIHS...43..107D/abstract">ADS</a> · <a href="http://www.numdam.org/item/AIHPA_1985__43_1_107_0/">Numdam</a>.</li><li><strong>Hulse, R. A. (1994).</strong> <em>The discovery of the binary pulsar.</em> Reviews of Modern Physics, 66(3), 699–710. <a href="https://doi.org/10.1103/RevModPhys.66.699">10.1103/RevModPhys.66.699</a> · <a href="https://ui.adsabs.harvard.edu/abs/1994RvMP...66..699H/abstract">ADS</a> · <a href="https://www.nobelprize.org/uploads/2018/06/hulse-lecture.pdf">Nobel Lecture (PDF)</a>.</li><li><strong>Taylor, J. H. (1994).</strong> <em>Binary Pulsars and Relativistic Gravity.</em> Reviews of Modern Physics, 66(3), 711–719. <a href="https://doi.org/10.1103/RevModPhys.66.711">10.1103/RevModPhys.66.711</a> · <a href="https://ui.adsabs.harvard.edu/abs/1994RvMP...66..711T/abstract">ADS</a> · <a href="https://www.nobelprize.org/uploads/2018/06/taylor-lecture-1.pdf">Nobel Lecture (PDF)</a>.</li><li><strong>Weisberg, J. M., &amp; Taylor, J. H. (2005).</strong> <em>The Relativistic Binary Pulsar B1913+16: Thirty Years of Observations and Analysis.</em> Binary Radio Pulsars, ASP Conference Series, 328, 25–31. <a href="https://ui.adsabs.harvard.edu/abs/2005ASPC..328...25W/abstract">ADS</a> · <a href="https://arxiv.org/abs/astro-ph/0407149">arXiv:astro-ph/0407149</a>.</li><li><strong>Kramer, M., et al. (2006).</strong> <em>Tests of General Relativity from Timing the Double Pulsar PSR J0737–3039A/B.</em> Science, 314(5796), 97–102. <a href="https://doi.org/10.1126/science.1132305">10.1126/science.1132305</a> · <a href="https://ui.adsabs.harvard.edu/abs/2006Sci...314...97K/abstract">ADS</a> · <a href="https://arxiv.org/abs/astro-ph/0609417">arXiv:astro-ph/0609417</a>.</li><li><strong>Damour, T. (2007).</strong> <em>Binary Systems as Test-Beds of Gravity Theories.</em> IHES Lecture Series. <a href="https://ui.adsabs.harvard.edu/abs/2007arXiv0704.0749D/abstract">ADS</a> · <a href="https://arxiv.org/abs/0704.0749">arXiv:0704.0749</a>.</li><li><strong>Abbott, B. P., et al. (LIGO Scientific Collaboration and Virgo Collaboration) (2016).</strong> <em>Observation of Gravitational Waves from a Binary Black Hole Merger.</em> Physical Review Letters, 116(6), 061102. <a href="https://doi.org/10.1103/PhysRevLett.116.061102">10.1103/PhysRevLett.116.061102</a> · <a href="https://ui.adsabs.harvard.edu/abs/2016PhRvL.116f1102A/abstract">ADS</a> · <a href="https://arxiv.org/abs/1602.03837">arXiv:1602.03837</a>.</li><li><strong>Agazie, G., et al. (NANOGrav Collaboration) (2023).</strong> <em>The NANOGrav 15 yr Data Release: Evidence for a Gravitational-wave Background.</em> The Astrophysical Journal Letters, 951(1), L8. <a href="https://doi.org/10.3847/2041-8213/acdac6">10.3847/2041–8213/acdac6</a> · <a href="https://ui.adsabs.harvard.edu/abs/2023ApJ...951L...8A/abstract">ADS</a> · <a href="https://arxiv.org/abs/2306.16213">arXiv:2306.16213</a>.</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2796ab05df4f" width="1" height="1" alt=""><hr><p><a href="https://medium.com/stellar-priors/how-two-neutron-stars-revealed-gravitational-waves-before-ligo-2796ab05df4f">How Two Neutron Stars Revealed Gravitational Waves Before LIGO</a> was originally published in <a href="https://medium.com/stellar-priors">Stellar Priors</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Mastering Spatial Interpolation: Geostatistics & Kriging]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/stellar-priors/mastering-spatial-interpolation-geostatistics-kriging-53e0d26f19e8?source=rss----452c3ef4656b---4"><img src="https://cdn-images-1.medium.com/max/1408/1*RgzMGzGd_KN2bs_2Jj_ZiQ.png" width="1408"></a></p><p class="medium-feed-snippet">Part 3 &#x2014; Deriving and Implementing Variograms, BLUE, and Uncertainty Mapping</p><p class="medium-feed-link"><a href="https://medium.com/stellar-priors/mastering-spatial-interpolation-geostatistics-kriging-53e0d26f19e8?source=rss----452c3ef4656b---4">Continue reading on Stellar Priors »</a></p></div>]]></description>
            <link>https://medium.com/stellar-priors/mastering-spatial-interpolation-geostatistics-kriging-53e0d26f19e8?source=rss----452c3ef4656b---4</link>
            <guid isPermaLink="false">https://medium.com/p/53e0d26f19e8</guid>
            <category><![CDATA[geostatistics]]></category>
            <category><![CDATA[statistics]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[geospatial]]></category>
            <dc:creator><![CDATA[Victor Astren]]></dc:creator>
            <pubDate>Sun, 13 Sep 2026 12:12:33 GMT</pubDate>
            <atom:updated>2026-10-09T13:03:43.686Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Mastering Spatial Interpolation: Spatial Machine Learning]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/stellar-priors/mastering-spatial-interpolation-spatial-machine-learning-201adbba0a09?source=rss----452c3ef4656b---4"><img src="https://cdn-images-1.medium.com/max/1408/1*ZBZu2ebGMxXq1WapIbRcVA.png" width="1408"></a></p><p class="medium-feed-snippet">Part 4 &#x2014; Spatial Machine Learning</p><p class="medium-feed-link"><a href="https://medium.com/stellar-priors/mastering-spatial-interpolation-spatial-machine-learning-201adbba0a09?source=rss----452c3ef4656b---4">Continue reading on Stellar Priors »</a></p></div>]]></description>
            <link>https://medium.com/stellar-priors/mastering-spatial-interpolation-spatial-machine-learning-201adbba0a09?source=rss----452c3ef4656b---4</link>
            <guid isPermaLink="false">https://medium.com/p/201adbba0a09</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[geospatial]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[neural-networks]]></category>
            <dc:creator><![CDATA[Victor Astren]]></dc:creator>
            <pubDate>Sun, 13 Sep 2026 11:49:27 GMT</pubDate>
            <atom:updated>2026-09-13T12:00:32.705Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Mastering Spatial Interpolation: Nearest Neighbor, IDW & RBF]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/stellar-priors/mastering-spatial-interpolation-nearest-neighbor-idw-rbf-6957f62fdc24?source=rss----452c3ef4656b---4"><img src="https://cdn-images-1.medium.com/max/1408/1*Lk6B-6Nwj2mCXKGPs2iSJg.png" width="1408"></a></p><p class="medium-feed-snippet">Part 2 &#x2014; Applying local interpolation models</p><p class="medium-feed-link"><a href="https://medium.com/stellar-priors/mastering-spatial-interpolation-nearest-neighbor-idw-rbf-6957f62fdc24?source=rss----452c3ef4656b---4">Continue reading on Stellar Priors »</a></p></div>]]></description>
            <link>https://medium.com/stellar-priors/mastering-spatial-interpolation-nearest-neighbor-idw-rbf-6957f62fdc24?source=rss----452c3ef4656b---4</link>
            <guid isPermaLink="false">https://medium.com/p/6957f62fdc24</guid>
            <category><![CDATA[geospatial]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[math]]></category>
            <dc:creator><![CDATA[Victor Astren]]></dc:creator>
            <pubDate>Tue, 08 Sep 2026 16:24:50 GMT</pubDate>
            <atom:updated>2026-09-19T08:23:37.470Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Mastering Spatial Interpolation: Polynomials & Splines]]></title>
            <link>https://medium.com/stellar-priors/mastering-spatial-interpolation-polynomials-splines-70fdffe28853?source=rss----452c3ef4656b---4</link>
            <guid isPermaLink="false">https://medium.com/p/70fdffe28853</guid>
            <category><![CDATA[data-visualization]]></category>
            <category><![CDATA[geospatial]]></category>
            <category><![CDATA[math]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[data-science]]></category>
            <dc:creator><![CDATA[Victor Astren]]></dc:creator>
            <pubDate>Tue, 08 Sep 2026 13:01:04 GMT</pubDate>
            <atom:updated>2026-09-19T08:19:24.763Z</atom:updated>
            <content:encoded><![CDATA[<h3>Part 1 — Using Polynomials and Splines</h3><blockquote>📌 <a href="https://medium.com/@victor.astren/list/spatial-interpolation-geostatistics-series-7d9543033a5c"><em>Spatial Interpolation &amp; Geostatistics Series</em></a><em>:</em><br>• <strong>Part 1 (Here):</strong> Polynomials &amp; B-Splines<br>• <strong>Part 2:</strong> <a href="https://medium.com/stellar-priors/mastering-spatial-interpolation-nearest-neighbor-idw-rbf-6957f62fdc24?postPublishedType=initial">Local Interpolation Models (NN, IDW &amp; RBF)</a><br>• <strong>Part 3:</strong> <a href="https://medium.com/stellar-priors/mastering-spatial-interpolation-geostatistics-kriging-53e0d26f19e8">Geostatistics &amp; Kriging</a><br>• <strong>Part 4:</strong> <a href="https://medium.com/@victor.astren/201adbba0a09">Spatial Machine Learning</a></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IFo9qox_kVqklB1JjB5VTw.png" /><figcaption><em>Illustration of spatial polynomial collapse vs continuous terrain surface fitting in Geneva. Image by author.</em></figcaption></figure><p>It’s mid-summer and a heatwave has struck Switzerland.</p><p>Weather sensors in Geneva record significant spatial variation. Official regional forecasts report a uniform 32°C (90°F), but local microclimates vary substantially across the basin. Urban center stations register 33°C (91°F) from urban heat retention. Atmospheric lapse rates drive lower temperatures across Mont Salève and the Jura foothills, and shoreline sensors along Lac Léman record 29°C (84°F).</p><p><strong>So, imagine you live in Geneva and want to know the temperature at your home. How would you proceed?</strong></p><p>You might start by looking at the weather map, which shows temperature readings from various weather stations across the region. Then, you would estimate the temperature at your home based on the surrounding weather stations.</p><p>This is an example of <strong>spatial interpolation</strong>, the process of estimating the values of a variable at unsampled locations based on the values of the variable at sampled locations. From everyday tasks like mapping regional weather, geological layers, and hydrological flows to specialized fields like optical engineering and astronomy, the underlying mathematical challenge remains the same.</p><p>In this 4-part series, we <strong>rigorously benchmark classical spatial interpolation methods alongside modern spatial machine learning models</strong> using a single, consistent test case: a simulated spatial model of Geneva, Switzerland.</p><p><em>All algorithms in this article are implemented from first principles using </em><em>NumPy and benchmarked against production routines in </em><em>SciPy. All Python code, datasets, and visualizations are open-source and available in the </em><a href="https://github.com/victorastren/medium-public/tree/main/geneva_spatial_interpolation"><em>GitHub companion repository</em></a><em>.</em></p><p><em>Note on Notation: To ensure clean, responsive rendering across all mobile and web browsers, this series represents inline variables and multi-indices using clean subscript typography (e.g., </em><em>z_obs, </em><em>z_pred) instead of heavy equation blocks.</em></p><h3>A Spatial Interpolation Taxonomy</h3><p>With decades of development spanning diverse mathematical paradigms, spatial interpolation offers a vast array of methods. To avoid getting lost, we classify them across three key properties:</p><ol><li><strong>Range (Global vs. Local):</strong> Do all data points influence every prediction (Global), or only the nearest neighbors (Local)?</li><li><strong>Exactness (Exact vs. Approximate):</strong> Does the surface pass exactly through every observed sensor point (Exact), or does it smooth out noise (Approximate)?</li><li><strong>Paradigm (Deterministic, Stochastic, or Data-Driven ML):</strong> Is the surface built on pure geometric calculations (<strong>Deterministic</strong>), statistical uncertainty and spatial random processes (<strong>Stochastic</strong>), or empirical feature mappings (<strong>Data-Driven ML</strong>)?</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/783/1*AivQaCfVWqMTv5GbECPKtg.png" /><figcaption><em>Spatial interpolation properties: Range (Global vs. Local), Exactness (Exact vs. Approximate), and Paradigm (Deterministic, Stochastic, and ML). Image by author.</em></figcaption></figure><p>In fact, every spatial interpolation method is defined by a specific combination of these three properties.<em> </em>In this series, we cover eleven of the most widely used algorithms, grouping them by shared properties across each part.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1023/1*w7Wjy9YmwML-7DWl5vfEVg.png" /><figcaption><em>Classification matrix of the spatial interpolation methods covered across the 4-part series. Image by author.</em></figcaption></figure><p>In this article, we focus exclusively on the <strong>Part 1 interpolation methods</strong>. We evaluate how these global coordinate equations model the Geneva simulation. Our goal is to create a reference baseline before exploring local neighborhood methods in <a href="https://medium.com/stellar-priors/mastering-spatial-interpolation-nearest-neighbor-idw-rbf-6957f62fdc24?postPublishedType=initial">Part 2</a>, geostatistics in Part 3, and spatial machine learning in Part 4.</p><h3>Defining the Baseline: Geneva’s Geography</h3><p>To get started, we generate a synthetic City Sensor Grid of 100 sensors normalized between coordinate boundaries -1 and 1. The geography contains:</p><ul><li><strong>Lac Léman:</strong> A curved crescent-shaped lake where no land-based weather sensors are located. Nearby land experiences lake cooling.</li><li><strong>Jura Mountains &amp; Mont Salève:</strong> High elevation zones where temperature decays linearly (the standard temperature lapse rate of -0.0065°C/meter).</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IGEbX1bDcaMHC1QL6IqBLA.png" /><figcaption><em>Geneva benchmark domain showing elevation contours, Lake Geneva, Mont Salève, Jura Mountains, and 100 weather sensor stations. Image by author.</em></figcaption></figure><blockquote>📌 <strong>Why use Synthetic Data?</strong><br>In a real-world application, temperatures are only measured at a limited number of scattered weather stations; the exact temperature at unmonitored locations remains unknown. By using a synthetic dataset, we have access to the exact, noiseless generating equation (the <strong>Ground Truth</strong>) at every point in space. This allows us to calculate absolute errors across the entire 10,000-point grid, verify our interpolation algorithms with complete mathematical accuracy, and visualize exactly where they underperform (e.g. at boundaries or sharp gradients).</blockquote><h3>Synthetic Field Formulation</h3><p>We model the thermal structure of the Geneva basin via spatial superposition of three additive physical processes:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/379/0*uJ5WiPwt8M37uHaN" /></figure><ol><li><strong>Regional Macroclimate Gradient (</strong><strong>T_macro = 32.0 - 2.0x + 1.2y):</strong> Prevailing regional weather trend across the basin.</li><li><a href="https://en.wikipedia.org/wiki/Lapse_rate"><strong>Environmental Lapse Rate</strong></a><strong> (</strong><strong>T_lapse = -0.0065 × (Elevation - 375)):</strong> Standard thermodynamic cooling of -6.5°C per 1,000m elevation gain over the Jura Mountains (1,175m) and Mont Salève (1,275m).</li><li><strong>Lac Léman Thermal Buffer (</strong><strong>T_lake = -2.5 exp(-d_lake / 0.15)):</strong> Microclimate lake breeze cooling at the shoreline that decays exponentially inland.</li></ol><p>Synthetic sensor measurements are generated at N = 100 land stations by adding Gaussian noise to the true temperature: z_obs = T_true + ε, where ε ~ N(0, 0.25°C) represents measurement noise.</p><p>The map below illustrates the spatial setup, showing discrete noisy temperature readings across the 100 weather stations and the underlying ground truth temperature field:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZtrLTEoTW2cvbXph5EuEgA.png" /><figcaption><em>Geneva Temperature Observations and Ground Truth Field (°C): Comparing the discrete sensor station readings (left) to the continuous synthetic ground truth field (right). Image by author.</em></figcaption></figure><pre># (Extracts land points excluding Lake Geneva)<br># Computes elevation based on coordinates:<br># elevation = 375m (base) + Jura Peak (NW) + Saleve Peak (SE)<br># Temp = T_macro_gradient + T_elevation_lapse + T_lake_cooling + noise</pre><p><em>(See </em><em>code/data_generator.py in the GitHub repository).</em></p><p>Now that we have created the synthetic data and mapped the ground-truth temperatures across the Geneva basin, we are in a position to evaluate our first interpolation method.</p><h3>Bivariate Polynomial Fitting (Trend Surface Analysis)</h3><p>We start with <a href="https://en.wikipedia.org/wiki/Trend_surface_analysis"><strong>Bivariate Polynomial Fitting</strong></a> (a process often called <em>Trend Surface Analysis</em>). Because a polynomial fits a single equation to the entire canvas, it is a <strong>Global, Approximate, Deterministic</strong> method.</p><p>We fit a model of the form:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/173/0*5E3ijccvtovW09JR" /></figure><p>where d is the polynomial degree. The implementation in Python using NumPy is shown below:</p><pre>def fit_bivariate_polynomial(x, y, z, degree=2):<br>    columns = []<br>    for r in range(degree + 1):<br>        for s in range(degree + 1 - r):<br>            columns.append((x**r) * (y**s))<br>    A = np.column_stack(columns)<br>    coefficients, _, _, _ = np.linalg.lstsq(A, z, rcond=None)<br>    return coefficients</pre><p>This method relies on solving the <a href="https://en.wikipedia.org/wiki/Normal_equations">normal equations</a> via Ordinary Least Squares (OLS) to find the coefficients c_{r,s} that minimize the sum of squared errors at our sensor locations.</p><p>Before evaluating the performance of global polynomial fitting on the Geneva grid, we consider the second of the global, approximate and deterministic interpolation methods mentioned earlier.</p><h3>Bivariate B-Splines (Piecewise Polynomials)</h3><p><a href="https://en.wikipedia.org/wiki/B-spline">Bivariate Basis Splines</a> (commonly called <strong>B-Splines</strong>) constitute a more flexible alternative to global polynomials. They divide the coordinate grid into smaller rectangular patches (defined by a grid of <em>knots</em>) and fit local low-degree polynomials (typically cubic, p = 3) to each patch, maintaining smooth derivatives across patch borders.</p><p>In Python, we fit and predict bivariate splines using SciPy’s bisplrep and bisplev:</p><pre>from scipy.interpolate import bisplrep, bisplev<br><br># Fit a cubic bivariate B-spline (kx=ky=3)<br># &#39;s&#39; is the smoothing factor. If s=0.0, it interpolates exactly (unstable in gaps).<br>tck = bisplrep(x_obs, y_obs, z_obs, kx=3, ky=3, s=1.0)<br><br># Evaluate on a 1D vector grid<br>grid_z = bisplev(x_vec, y_vec, tck).T</pre><p>Unlike global polynomials, B-splines possess local support, meaning that changes in one sensor’s value won’t drastically swing predictions on the opposite side of the map. However, they introduce two additional parameters (hyper-parameters): the knot grid placement and the smoothing factor s. The impact of these parameters will become clear in the next sections.</p><h3>Visualizing Polynomial and B-Spline Fitted Surfaces</h3><p>Let’s now look at the results. The side-by-side 2×3 grid below shows the reconstructed temperature fields across global polynomial and B-spline configurations:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8N59JnGc-aDiM0mS_XuWww.png" /><figcaption><em>Reconstructed spatial temperature fields (°C) comparing global bivariate polynomials (Degrees 2, 3, and 5) and B-splines (auto-smoothed s=None, tuned s=1.0, and unregularized exact s=0.0). Image by author.</em></figcaption></figure><p>If we compare the predicted surfaces above against the ground truth field, we notice several patterns:</p><ul><li><strong>Global Polynomial Smoothness (Degrees 2 &amp; 3):</strong> Quadratic and cubic surfaces produce overly simplified, parabolic temperature contours. They capture the broad regional decline from north to south, yet remain far too rigid to depict localized features like Lac Léman’s cool shoreline boundary or mountain peak microclimates.</li><li><strong>Degree 5 Border Oscillations:</strong> Increasing the polynomial degree to 5 induces boundary instability along the domain edges. Artificial temperature contours (reaching as low as 15.4°C or spiking unrealistically) wrap around outer coordinates. This illustrates <a href="https://en.wikipedia.org/wiki/Runge%27s_phenomenon">Runge’s phenomenon</a>, where fitting high-degree polynomials over sparse sample points leads to runaway oscillations near domain boundaries.</li><li><strong>B-Spline Local Flexibility &amp; Tuning (</strong><strong>s = None vs. </strong><strong>s = 1.0 vs. </strong><strong>s = 0.0):</strong> Piecewise B-splines adapt much better to local curvature. Auto-smoothing (s = None) introduces slight boundary artifacts in data gaps, whereas tuned smoothing (s = 1.0) produces a realistic, continuous temperature gradient. Unregularized exact splines (s = 0.0) become <a href="https://en.wikipedia.org/wiki/Condition_number">ill-conditioned</a>, generating spike artifacts across unmonitored coordinate gaps.</li></ul><p>Let’s now analyze the spatial error distribution of each estimator across the coordinate grid. To this end, we examine their pointwise residual error maps (ẑ - z) below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*35Uylcj9PNLQ3oez3_aitA.png" /><figcaption><em>Pointwise residual error maps </em>(ẑ - z) <em>across all six fitted surface models. Blue indicates underprediction (&lt;0°C), white represents zero error, and red indicates overprediction (&gt;0°C). Subplot headers report domain Grid RMSE and MAE. Image by author.</em></figcaption></figure><ul><li><strong>Degree 2 &amp; 3 (Shoreline &amp; Peak Underfitting):</strong> Displays dark blue patches over Lac Léman (lake cooling underpredicted by up to -1.4°C) and bright red patches over mountain peaks (overpredicted by +1.9°C), because low-degree polynomials flatten localized temperature features into broad regional averages.</li><li><strong>Degree 5 (Boundary Runge Oscillation):</strong> Reduces errors near central sensors close to zero, but introduces concentric residual ring oscillations along outer borders, reaching a -7.58°C underprediction at data-sparse grid corners.</li><li><strong>B-Spline Lake Gap Fluctuations (</strong><strong>s = None):</strong> Unregularized splines exhibit spurious oscillations in data-sparse regions, yielding an unphysically cold 19.3°C lake prediction.</li><li><strong>B-Spline Regularized Surface (</strong><strong>s = 1.0):</strong> Suppresses boundary oscillations and reduces domain-wide residual errors to a nearly uniform field (Grid RMSE = 0.322°C).</li></ul><h3>Performance Comparison: Global Polynomials vs. B-Splines</h3><p>Looking at the previous maps, you likely guessed that B-splines have an edge over polynomials. Now, let’s confirm this quantitatively across two complementary error metrics:</p><ol><li><strong>Sensor </strong><a href="https://en.wikipedia.org/wiki/Root_mean_square_deviation"><strong>RMSE</strong></a><strong> (In-Sample):</strong> The root mean square error calculated only at the 100 weather station locations.</li><li><strong>Grid </strong><a href="https://en.wikipedia.org/wiki/Root_mean_square_deviation"><strong>RMSE</strong></a><strong>/</strong><a href="https://en.wikipedia.org/wiki/Mean_absolute_error"><strong>MAE</strong></a><strong> (Ground Truth):</strong> The root mean square and mean absolute errors calculated across all 10,000 coordinates of the continuous map compared to the simulator’s true underlying temperature equations (where the actual temperature range is [22.95°C, 33.05°C</li></ol><p>The results are shown below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LJU4dQZKVtPS4MdlSqyNAg.png" /><figcaption><em>In-sample sensor RMSE, domain-wide Grid RMSE (MAE), predicted temperature ranges, error ranges, and spatial diagnoses across global bivariate polynomial and B-spline models. Table by author.</em></figcaption></figure><h4>1. Degree 2 Bivariate Fit (Spatial Underfitting)</h4><p>This model demonstrates spatial <a href="https://en.wikipedia.org/wiki/Overfitting">underfitting</a>, a condition where a model is too structurally simple to capture the underlying spatial patterns of the data. The small number of parameters in a quadratic surface prevents it from representing the true complexity of the temperature field. It captures the broad regional trend but fails to model localized shoreline cooling and peak microclimates. Mathematically, this high model bias compresses the predicted temperature range ([22.36°C, 33.77°C]), under-representing spatial variance.</p><h4>2. Degree 3 Bivariate Fit (Persistent Underfitting)</h4><p>Even with a cubic degree, the model still suffers from underfitting. It yields a very minor improvement over the quadratic baseline, but because a cubic surface is still globally smooth, it cannot model sharp boundaries and localized thermal features (like the crescent lake cooling gradient).</p><h4>3. Degree 5 Bivariate Fit (Spatial Overfitting &amp; Runge’s Phenomenon)</h4><p>At degree 5, the model enters a regime of spatial <a href="https://en.wikipedia.org/wiki/Overfitting">overfitting</a>, where a model fits noisy sample points so closely that it fails to generalize to unsampled areas. While in-sample sensor error decreases from 0.43°C to 0.30°C, the reconstructed surface shows notable spatial degradation. To accommodate localized hotspots, the polynomial oscillates erratically across coordinate gaps. Along data-sparse domain borders, the maximum absolute error reaches 7.58°C, expanding the predicted range down to an unphysical minimum of 15.37°C (compared to true basin minimums near 22.1°C). As noted before, this is the 2D spatial manifestation of Runge’s phenomenon: reducing in-sample error comes at the cost of boundary instability.</p><h4>4. Bivariate B-Splines (Smoothing Regularization &amp; Tradeoffs)</h4><p>Unlike rigid global polynomials, mi B-Splines can adapt to localized variations because they are piecewise cubic equations. However, their performance depends entirely on the smoothing factor s:</p><ul><li><strong>Automatic Smoothing (</strong><strong>s = None):</strong> SciPy’s default routine produces a conservative fit. The surface captures regional trends but introduces localized artifacts near data-sparse boundaries, where temperature estimates decrease to 19.28°C (Grid RMSE = 0.532°C).</li><li><strong>Tuned Smoothing (</strong><strong>s = 1.0):</strong> Regularization with s = 1.0 provides optimal surface fidelity. Grid RMSE reduces to 0.322°C, accurately modeling lake cooling and terrain lapse rates alongside numerical stability.</li><li><strong>Exact Interpolation (</strong><strong>s = 0.0):</strong> Zero-smoothing exact fitting (s = 0.0) leads to ill-conditioned system matrices. Across sensor-free regions, basis functions generate runaway oscillations (Grid RMSE &gt; 5,000,000°C), exemplifying multi-dimensional Runge instability.</li></ul><h3>Bias-Variance Decomposition</h3><p>We just saw that B-Splines with a <strong>s = 1.0 </strong>achieved the lowest total prediction error RMSE/MAE. But what actually causes those errors? To find out, we can decompose that error into directional <a href="https://en.wikipedia.org/wiki/Bias_of_an_estimator">bias</a> and spatial error <a href="https://en.wikipedia.org/wiki/Variance">variance</a>. This breakdown helps isolate the mechanisms governing polynomial and spline performance.</p><p>The Mean Squared Error (<a href="https://en.wikipedia.org/wiki/Mean_squared_error">MSE</a>) of any estimator ẑ(x, y) over a continuous domain decomposes into squared <a href="https://en.wikipedia.org/wiki/Bias_of_an_estimator">bias</a> and residual spatial error <a href="https://en.wikipedia.org/wiki/Variance">variance</a>:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/339/0*3vqug8S_U84s7JUH" /></figure><p>where the bias is defined as:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/202/0*2RwuyztHxEuSGLK9" /></figure><p>which measures the overall mean directional offset, and the spatial variance of residual errors is defined as:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/184/0*maSYjoJx4DEMUsAx" /></figure><p>where e_i represents the error at sensor i and e_bar is the mean error.</p><p>The results of the bias-variance decomposition are summarized in the table below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5X3jCR0RhYlJ7Twgu7i9HQ.png" /><figcaption><em>Error decomposition into Squared Bias and Spatial Error Variance across global polynomial and B-spline models on the Geneva domain. Table by author.</em></figcaption></figure><h4>Insights from the Decomposition:</h4><ol><li><strong>Low Global Squared Bias (</strong><strong>Bias² ≤ 0.0095) vs. Spatial Underfitting:</strong> Global squared bias remains minimal for low-degree polynomials despite spatial underfitting because domain-wide errors cancel out. A Degree 2 surface captures Geneva’s mean temperature (≈ 27.5°C), but localized overpredictions over Lac Léman (+1.8°C) offset underpredictions on mountain slopes (-1.4°C), yielding a near-zero mean bias (MBE = +0.097°C). Structural underfitting is instead reflected by high Spatial Error Variance (Var(e) = 0.3475), as rigid equations generate large, spatially varying residuals across distinct terrain zones.</li><li><strong>Spatial Error Variance Dominates Total Error:</strong> The primary contributor to grid error is spatial error variance (Var(e)). The inability of rigid coordinate functions to adapt to localized microclimates (such as shoreline breezes and mountain lapse rates) causes residual errors to vary substantially across space, elevating spatial error variance despite a small global mean bias.</li><li><strong>Degree 5 Tradeoff:</strong> Increasing the polynomial to degree 5 reduces squared bias to its minimum value in Part 1 (0.0015) but spatial variance increases to 0.3565 due to Runge boundary oscillations.</li><li><strong>Regularization via Spline Tuning (</strong><strong>s = 1.0):</strong> Piecewise B-splines reduce squared bias by nearly 50% relative to quadratic polynomials (from 0.0094 to 0.0049) through localized knot adaptation. Setting the smoothing factor to s = 1.0 acts as a spatial regularizer, maintaining low squared bias (0.0049) while achieving a <strong>71.5% reduction in spatial error variance</strong> (from 0.3475 to 0.0988) and establishing a balanced bias-variance tradeoff.</li></ol><h3>Summary: Pros &amp; Cons of Bivariate Surface Models</h3><p>Drawing from the analyses of the previous sections, we are finally in a position to synthesize their key architectural trade-offs below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZZXnwO9fyBbzNKLcqnGhuw.png" /><figcaption><em>Comparative summary of advantages, limitations, and fitting characteristics of bivariate polynomial and B-spline estimators. Table by author.</em></figcaption></figure><h3>Conclusion: The Limits of Coordinate-Based Equations</h3><p>Global and piecewise polynomial formulations have fundamental limitations in spatial interpolation applications:</p><ol><li><strong>Global Polynomials (High Bias vs. Boundary Instability):</strong> Low-order polynomials are too spatially rigid to capture localized microclimates (such as shoreline cooling breezes or mountain lapse rates). In contrast, high-order polynomials develop spurious oscillations near grid boundaries resulting from Runge’s phenomenon.</li><li><strong>Piecewise Splines (Regularization Sensitivity):</strong> B-Splines address global rigidity by utilizing localized knots. But they exhibit significant sensitivity to the smoothing factor s. Unregularized exact fits (s = 0) induce numerical ill-conditioning across unmonitored areas, whereas default auto-smoothing produces generalized trends rather than precise local predictions.</li></ol><p>Ultimately, the problem is that these coordinate-based mathematical functions f(x, y) treat space as a passive coordinate grid rather than a physical continuum of connected neighborhoods.</p><p>To map complex, real-world geographies like Geneva, we must shift our paradigm. Instead of fitting global or piecewise equations to the entire grid, we should look at <strong>distance-based local neighborhood methods</strong>.</p><h3>In Part 2: Nearest Neighbor, IDW &amp; RBF Splines</h3><p>To map complex, real-world geographies like Geneva, we must shift our paradigm. Instead of fitting global or piecewise equations to the entire grid, we should look at distance-based local neighborhood methods.</p><p>In the next installment, we evaluate Nearest Neighbor, Inverse Distance Weighting (IDW), and Radial Basis Function (RBF) splines.</p><p>👉 <em>Continue with</em> <a href="https://medium.com/stellar-priors/mastering-spatial-interpolation-nearest-neighbor-idw-rbf-6957f62fdc24"><em>Part 2: Nearest Neighbor, IDW &amp; RBF</em></a><em>.</em></p><h3>References &amp; Further Reading</h3><ol><li><strong>Chorley, R. J., &amp; Haggett, P. (1965).</strong> <em>Trend-surface mapping in geographical research.</em> Transactions of the Institute of British Geographers, (37), 47–67. <a href="https://doi.org/10.2307/621689">DOI: 10.2307/621689</a></li><li><strong>Unwin, D. J. (1975).</strong> <em>An Introduction to Trend Surface Analysis.</em> Concepts and Techniques in Modern Geography (CATMOG №5), Geo Abstracts, University of East Anglia. ISBN: 0-902246-51-8</li><li><strong>Dierckx, P. (1993).</strong> <em>Curve and Surface Fitting with Splines.</em> Oxford University Press. ISBN: 978-0198534402. <a href="https://doi.org/10.1093/oso/9780198534419.001.0001">DOI: 10.1093/oso/9780198534419.001.0001</a></li><li><strong>Hastie, T., Tibshirani, R., &amp; Friedman, J. (2009).</strong> <em>The Elements of Statistical Learning: Data Mining, Inference, and Prediction</em> (2nd ed.). Springer. ISBN: 978-0387848570. <a href="https://hastie.su.domains/ElemStatLearn/">Free Online PDF</a></li><li><strong>Burden, R. L., Faires, J. D., &amp; Burden, A. M. (2016).</strong> <em>Numerical Analysis</em> (10th ed.). Cengage Learning. ISBN: 978-1305253667.</li><li><strong>Cressie, N. (1993).</strong> <em>Statistics for Spatial Data</em> (Revised ed.). John Wiley &amp; Sons. ISBN: 978-0471002550. <a href="https://onlinelibrary.wiley.com/doi/book/10.1002/9781119115151">Wiley Library</a></li><li><strong>NumPy &amp; </strong><strong>SciPy Documentation:</strong> <a href="https://numpy.org/doc/stable/reference/generated/numpy.linalg.lstsq.html">np.linalg.lstsq</a> &amp; <a href="https://docs.scipy.org/doc/scipy/reference/generated/scipy.interpolate.bisplrep.html">scipy.interpolate.bisplrep</a> — <em>Python implementations for OLS polynomial regression and bivariate B-splines (</em><em>bisplev)</em></li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=70fdffe28853" width="1" height="1" alt=""><hr><p><a href="https://medium.com/stellar-priors/mastering-spatial-interpolation-polynomials-splines-70fdffe28853">Mastering Spatial Interpolation: Polynomials &amp; Splines</a> was originally published in <a href="https://medium.com/stellar-priors">Stellar Priors</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>