The Big Picture: Learning Equilibrium Through Mathematics¶
A motivating physical problem¶
Lagrange’s 1772 analysis identified five equilibrium configurations in the restricted three-body problem. A spacecraft near follows an orbit around that configuration rather than remaining at a static point; the calculation uses a model, a coordinate convention, and numerical solution procedures.
That example separates two tasks that recur in computational physics:
solve for an equilibrium or event location;
approximate for an accumulated quantity.
They use some shared ideas—contracts, convergence evidence, and sensitivity—but they are different numerical problems.
What this module provides¶
You’re about to discover that the cosmos is filled with equilibrium points and measurable quantities:
Where does a stellar model reach its surface? Root finding locates the boundary of a pressure-supported model
How much energy does a galaxy radiate? Integration across the spectrum
Where can spacecraft orbit with minimal fuel? Finding Lagrange points
What’s the total mass of a dark matter halo? Integrating density profiles
Root finding and quadrature recur in many models. Correct use depends on the regularity of the function, available information, required error measure, and the cost of evaluating the model.
Why the distinction matters¶
Examples include integrating a luminosity density, evaluating a transit flux, and solving an equilibrium condition. A library call does not remove the need to define a method’s inputs, assumptions, and verification test.
Quick Navigation Guide¶
Choose your learning path¶
🏃 Fast Track¶
Essential concepts only
🚶 Standard Path¶
Full conceptual understanding
Everything in Fast Track, plus:
All “Check Your Understanding” boxes
🧗 Complete Path¶
Deep dive with all details
Complete module including:
All mathematical derivations
An integral inside a root problem, after both topics
All worked examples
Navigation by Project Needs¶
Quick Jump to What You Need by Project
For Project 2 (numerical integration):
Optional conceptual enrichment: Monte Carlo RMS error
For Project 3 (root finding and classes):
Method-selection rule
Do not choose a numerical method by its name or nominal order. State the quantity, the function contract or data model, the error measure, and a test. A result needs investigation when:
Their root finder diverges on a “simple” equation
Integration gives wildly different answers with different methods
Monte Carlo takes forever to converge
A bracket gives bisection a convergence guarantee for a continuous function with a sign change. Newton’s method uses a local linear model; it is not gradient descent. Monte Carlo has a root-mean-square rate proportional to under independent, finite-variance sampling, but whether it is the best method depends on variance, dimension, structure, and cost.
Mathematical Foundations¶
Module Contents¶
Part 1: Root Finding¶
Learn three fundamental approaches to finding zeros: bracketing (bisection), tangent following (Newton), and interpolation (secant). Discover why different methods excel in different situations and how to combine them for robustness. Apply these to Kepler’s equation, Lagrange points, and stellar structure.
Part 2: Quadrature — Discrete Sums, Error, and Adaptation¶
Build composite rules from panels, measure their convergence, and implement a tested module. Compare deterministic and Monte Carlo estimators using their actual assumptions and cost.
Part 3: Synthesis and Method Selection¶
Separate root-finding and integration contracts, then compare their convergence claims and failure modes.
For Block 2, begin with Part 2. Return to Part 1 when Block 3 introduces root finding.