Spherical Harmonic
A spherical harmonic is a mathematical function defined on the surface of a sphere that is a solution to Laplace's equation (the partial differential equation nabla^2 f = 0) when expressed in spherical coordinates (r, theta, phi), forming a complete orthogonal basis set that can represent any sufficiently smooth function defined on a spherical surface as an infinite sum of weighted spherical harmonic functions (analogous to how Fourier series represent functions on a circle as sums of sines and cosines); spherical harmonics are characterized by two integer indices -- the degree l (also called the order n) that determines the spatial wavelength of the harmonic (higher degree corresponds to shorter wavelength or finer spatial detail, analogous to higher frequency in Fourier analysis) and the order m (ranging from -l to +l) that determines the angular pattern in the azimuthal direction; in petroleum geoscience, spherical harmonics are used to represent the Earth's gravitational field (as coefficients in the International Earth Rotation and Reference Systems Service gravity model), the Earth's geomagnetic field (as coefficients in the International Geomagnetic Reference Field), the normal mode vibrations of the whole Earth following large earthquakes (free oscillations or toroidal and spheroidal modes of the Earth's seismic response), and the large-scale topographic and crustal structure of the Earth in global geophysical models.
Key Takeaways
- The International Geomagnetic Reference Field (IGRF) represents the Earth's main geomagnetic field as a truncated spherical harmonic expansion with degree and order up to 13 (13 x 15 = 195 Gauss coefficients), updated every 5 years by the International Association of Geomagnetism and Aeronomy (IAGA); in oil and gas directional drilling, MWD magnetic tools measure the three components of the Earth's magnetic field (Bx, By, Bz in the tool coordinate frame) and use the IGRF model to compare the measured field with the model prediction to compute borehole azimuth, inclination, and tool face; the accuracy of the azimuth determination depends critically on the accuracy of the IGRF model at the survey location and time, and the IGRF model error (which is larger in regions with strong local crustal magnetic anomalies or near the geomagnetic poles) is the primary uncertainty in MWD magnetic survey azimuth; for wells in areas with significant local crustal magnetic anomalies (volcanic rocks, magnetized basement outcrops, or mineral deposits), the IGRF model must be supplemented by a local geomagnetic field model derived from ground or aeromagnetic survey data to achieve the azimuth accuracy required for precision directional drilling.
- Normal modes of the Earth (free oscillations) are the whole-Earth resonance frequencies that are excited by large earthquakes (moment magnitude above approximately 7.5 to 8.0) and that can be observed for hours to days after the event on long-period seismographs as the Earth "rings" at its natural frequencies; the normal modes are indexed as spheroidal modes (nSl, which involve radial and horizontal motion of the Earth's surface with a spherical harmonic degree l spatial pattern) and toroidal modes (nTl, which involve horizontal shear motion of the Earth's surface with a twisting pattern); the frequencies of the normal modes (which range from approximately 0.3 millihertz for the gravest modes with the simplest spatial pattern to tens of millihertz for higher overtones) are sensitive to the density, rigidity, and compressibility of the Earth's interior, making normal mode analysis one of the key constraints on Earth structure models used in global seismology; in the petroleum geoscience context, knowledge of Earth's normal modes is important for understanding the long-period background noise (the "Earth hum") observed on broadband seismometers that limits the sensitivity of ultra-long-period surface wave and ambient noise methods used in regional and global seismic tomography.
- Spherical harmonic analysis of the gravity field provides the fundamental model of the Earth's shape and density structure: the geoid (the equipotential surface of Earth's gravity field that defines mean sea level) is described by its spherical harmonic expansion, with the lower-degree harmonics (l = 2 to 10) representing large-scale density variations in the deep mantle and the higher-degree harmonics (l = 10 to several hundred) representing crustal density variations and topographic effects; modern high-degree gravity field models (EGM2008, EIGEN-6C, the GRACE and GRACE-FO satellite gravity models) include spherical harmonic coefficients up to degree and order 2190 (EGM2008), corresponding to a spatial resolution of approximately 10 kilometers; in oil and gas gravity surveys, the regional gravity field (obtained by removing the lower-degree spherical harmonic contribution, the "normal gravity field," from the observed gravity) reveals the residual Bouguer anomaly field caused by subsurface density contrasts in the exploration target zone, with the depth and density contrast of the anomalous mass controlling the amplitude and wavelength of the Bouguer anomaly; spherical harmonic gravity models also provide the reference for geodetic datum definitions (WGS84, GRS80) used in GPS positioning and well location reporting.
- Seismic tomography reconstructs the three-dimensional velocity structure of the Earth's interior by inverting large datasets of seismic travel time residuals (the difference between the observed traveltime and the prediction of a reference 1D Earth model) from earthquakes recorded by global seismograph networks; the velocity perturbation field (the three-dimensional variation of seismic velocity relative to the reference model) is parameterized as a linear combination of spherical harmonic basis functions in the horizontal direction and depth-dependent functions in the vertical direction, and the amplitudes of each basis function (the model parameters) are found by least-squares inversion of the travel time residuals; higher-degree spherical harmonics are needed to resolve finer-scale features of the mantle velocity structure (subducting slabs, plumes, heterogeneous lower mantle), but more model parameters require more data and more computation; global seismic tomography has imaged subducting oceanic slabs (which appear as high-velocity anomalies in the mantle), plumes of hot upwelling material (which appear as low-velocity anomalies), and the thermal and compositional structure of the mantle at wavelengths of 1,000 to 10,000 kilometers that are relevant for understanding the long-term tectonic framework of sedimentary basins.
- Practical applications of spherical harmonics in petroleum engineering beyond geomagnetics include the representation of acoustic emission (microseismic) radiation patterns from hydraulic fractures: the seismic moment tensor (which describes the forces acting at a microseismic source) can be decomposed into its spherical harmonic components (isotropic component representing volume change, double-couple component representing shear on a fault, and compensated linear vector dipole component representing tensile crack opening), enabling the type of fracture mechanism to be inferred from the observed radiation pattern; the spherical harmonic representation of the radiation pattern allows automated inversion of microseismic data for moment tensor components that distinguish shear fracturing (double-couple) from tensile hydraulic fracture opening (isotropic + CLVD), providing information on the hydraulic fracture geometry and stimulated rock volume that is valuable for completion design optimization and well spacing decisions in unconventional plays.
Fast Facts
The mathematical theory of spherical harmonics was developed by Pierre-Simon Laplace in his 1782 work on the potential theory of gravitational attraction (as part of his multi-volume "Mecanique Celeste"), where the harmonic functions that solve Laplace's equation in spherical coordinates first appeared in the study of the Earth's gravitational potential; Adrien-Marie Legendre independently developed the associated Legendre polynomials (the angular part of the spherical harmonics) in 1785; Carl Friedrich Gauss applied the spherical harmonic expansion to the Earth's magnetic field in 1839, introducing the concept of Gauss coefficients for the geomagnetic potential that remains the standard representation of the International Geomagnetic Reference Field to this day. The application of spherical harmonic analysis to the Earth's normal modes was pioneered by Hugo Benioff in 1954, who observed long-period oscillations of the Earth on strain seismographs after the 1952 Kamchatka earthquake, and by Benioff, Press, and Smith following the 1960 Chilean earthquake (the largest instrumentally recorded earthquake) whose normal mode oscillations were clearly observed on the newly installed World Wide Standardized Seismograph Network.
What Is a Spherical Harmonic?
A spherical harmonic is a function defined on the surface of a sphere that solves Laplace's equation in spherical coordinates, forming a complete orthogonal basis set (analogous to sines and cosines in Fourier analysis) for representing any smooth function on a sphere. Indexed by degree l and order m, higher-degree harmonics represent finer spatial detail. In petroleum geoscience, spherical harmonics model the Earth's geomagnetic field (IGRF, used in MWD directional surveying), the gravitational field (used in geoid models and Bouguer anomaly computation), and the whole-Earth seismic normal modes excited by large earthquakes. In microseismic analysis, spherical harmonic decomposition of moment tensors distinguishes shear fracturing from tensile hydraulic fracture opening.
Synonyms and Related Terminology
Spherical harmonics are also called surface spherical harmonics, Laplace spherical harmonics, or (informally) spherical modes. The associated radial functions are called solid spherical harmonics. Related terms include Laplace equation (the second-order partial differential equation nabla^2 f = 0 governing potential fields (gravitational, magnetic, electrostatic) in free space; spherical harmonics are the natural solutions in spherical coordinates; solutions represent fields that satisfy both physical and mathematical regularity conditions at the origin and at infinity), International Geomagnetic Reference Field (IGRF, the standard spherical harmonic model of the Earth's large-scale geomagnetic field, updated every 5 years; coefficients up to degree and order 13 are provided; used in MWD magnetic survey calculations to determine the reference field for azimuth computation; local crustal anomalies not captured by the IGRF require additional correction in precision directional drilling), Gauss coefficient (a spherical harmonic expansion coefficient for the Earth's magnetic potential, named after Carl Friedrich Gauss who first applied spherical harmonic analysis to the geomagnetic field in 1839; the internal Gauss coefficients (g_l^m, h_l^m) represent the geomagnetic potential from sources inside the Earth; the external coefficients represent ionospheric and magnetospheric fields), normal mode (a free oscillation of the Earth as a whole body, excited by large earthquakes and observable as periodic resonance at characteristic frequencies on long-period seismographs; normal modes are indexed by spherical harmonic degree l and the overtone number n; frequencies of normal modes constrain the density and elastic structure of the Earth's deep interior), and gravity field model (a mathematical representation of the Earth's gravitational potential as a spherical harmonic expansion; modern models (EGM2008, GRACE) extend to high degree and order (l = 2190 for EGM2008); used in geodesy, geophysics, navigation, and satellite orbit determination; the Bouguer anomaly used in gravity exploration is derived by removing the low-degree spherical harmonic reference field from the observed field).
Why Spherical Harmonics Are the Universal Language of Global Geophysics
Any physical quantity that varies continuously over the Earth's surface -- gravity, magnetic field, temperature, seismic velocity, topography -- can be written as an infinite sum of spherical harmonics. The coefficient at each degree and order tells you how much of that spatial scale and angular pattern is present. Strip away the first 10 degrees and you remove the deep mantle structure from the gravity field. Strip away the first 3 degrees and you remove the geomagnetic dipole and quadrupole, leaving the crustal anomaly field that a magnetometer survey is actually trying to map. This decomposition into scale-dependent components is what makes spherical harmonics so powerful: it is a mathematically rigorous way of asking "what is happening at this scale?" and getting a definitive answer. For the MWD engineer trying to compute azimuth in a well near a volcanic province, knowing that the IGRF accounts for the large-scale field but not the crustal anomaly at degree 50 and above is the knowledge that tells them to go get a local magnetic correction model. The mathematics tells them exactly what is missing and why the uncorrected azimuth is wrong.