Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Part 1: The Philosophy of Measuring the Universe

What Does It Mean to Measure Something We Cannot Touch? | Inferential Thinking Module 5 | ASTR 596

San Diego State University

“Measure what is measurable, and make measurable what is not so.”

Galileo Galilei

Learning Objectives

By the end of Part 1, you will be able to:



1.1 The Fundamental Problem: What Does It Mean to Measure Reality?

Priority: 🔴 Essential

What Is a Model? A Philosophical Foundation

A model is humanity’s attempt to compress the infinite complexity of reality into comprehensible patterns. It’s not reality itself — it’s a map that helps us navigate reality. Every model is a story we tell about how the Universe works, written in the language of mathematics.

But here’s the profound question: Are we discovering truth or creating useful fiction? When Newton wrote F=maF = ma, did he uncover a fundamental law written into the fabric of spacetime, or did he invent a remarkably successful description that happens to work? This isn’t just philosophy—it affects how we interpret our measurements.

Consider two perspectives:

The Platonic View: Mathematical laws exist independently of human minds. We discover them like explorers finding new continents. The Universe IS mathematical at its deepest level. When we measure the mass of an electron, we’re uncovering an actual property of reality. Our models converge toward absolute truth.

The Instrumentalist View: Models are tools, not truth. They’re human constructs that happen to predict observations. “All models are wrong, but some are useful” (George Box). The electron doesn’t “have” a mass—rather, our model assigns it a parameter we call mass that makes predictions work. Different models might use completely different parameters and still predict the same observations.

The remarkable fact is that both views lead to the same practical approach: We build models, test them against observations, and refine our understanding. But your philosophical stance affects how you interpret uncertainty. Are we uncertain because we haven’t measured precisely enough (Platonic), or because uncertainty is fundamental to the modeling process (Instrumentalist)?

The Role of Belief in Scientific Measurement

Here’s something they don’t tell you in introductory physics: Every measurement carries beliefs. When you point a telescope at a Cepheid variable and measure its brightness, you’re not just recording photons. You’re bringing an entire framework of assumptions, prior knowledge, and beliefs about how the Universe works.

Beliefs embedded in a “simple” brightness measurement:

Each of these beliefs affects how we interpret the measurement. If we believed space was filled with invisible absorbing material (as some 19th-century astronomers did), we’d interpret the same brightness measurement as indicating a different distance. Our conclusions depend not just on data but on the entire framework of prior understanding we bring to the problem.

This is why astronomy progresses through successive refinements of our belief framework. Hipparcos satellite measurements updated our beliefs about stellar distances. Gaia refined them further. Each generation doesn’t start from scratch—it inherits the accumulated wisdom (and biases) of previous generations. This inherited knowledge shapes what we look for and how we interpret what we find.

<! ALR Note: Should we add Occam’s Razor discussion here? Or in 1.2 instead?>

From Patterns to Mathematics: The Language of Inference

The journey from observation to understanding always follows the same arc. Early astronomers noticed patterns: certain stars brighten and dim regularly. But noticing isn’t understanding. The breakthrough comes when we can describe the pattern mathematically, because only then can we:

  1. Predict precisely: Not just “the star will brighten sometime soon” but “maximum brightness at 2:31:17 UTC”

  2. Connect to physics: The period-luminosity relation reveals stellar structure

  3. Measure the unmeasurable: Use the pattern to determine distance

But here’s where inference becomes essential: The mathematical model gives us the forward direction (if we know the star’s intrinsic luminosity and distance, we can predict its apparent brightness). But we need the reverse: given the observed brightness, what’s the distance? This reverse direction is fundamentally uncertain because multiple combinations of intrinsic brightness and distance could produce the same observation.

Models as Compression Algorithms for Reality

Think of a model as a compression algorithm for the Universe. Reality has essentially infinite information — every particle’s position and momentum at every instant. A model compresses this to a manageable set of parameters.

The ΛCDM cosmological model is perhaps the ultimate example. The entire history and future of the Universe — the position and velocity of every galaxy, the formation of every structure, 13.8 billion years of evolution — is compressed into just six numbers (Planck 2018 results):

From these six numbers, we can predict:

This is almost miraculous compression — infinite complexity reduced to six parameters! But the compression is lossy. We can’t predict which specific stars will form where, only statistical properties. This is why inference must be probabilistic.

This is the scientific method in action: theories are provisional models, always open to revision by better data. This exemplifies the scientific mindset — hold your conclusions tentatively, update them honestly.

The Measurement Chain: Where Information Is Lost

Every astronomical measurement involves a chain of transformations, and each link loses information:

Reality → The actual physical state (infinite information) ↓ Physics filters what’s observable

Electromagnetic radiation → Only photons escape (no direct mass measurement)

Propagation effects Altered radiation → Dust absorption, gravitational lensing, redshift

Telescope aperture Collected photons → Only a tiny fraction captured

Detector quantum efficiency Recorded counts → Only some photons trigger detection

Calibration uncertainty Calibrated measurement → Systematic errors in flux scale

Model assumptions Physical parameters → Extracted using imperfect models

At each step, we lose information and add uncertainty. By the time we get to “the distance to this galaxy is 25.3±0.525.3 ± 0.5 Mpc,” we’ve compressed an enormous amount of physics, assumptions, and prior knowledge into that simple statement.

This is why forward modeling (parameters → observations) is straightforward but inference (observations → parameters) is hard. In the forward direction, physics tells us exactly what to expect. In the reverse direction (reverse model), multiple parameter combinations could explain the same observation. We need prior knowledge to break these degeneracies.

The Cepheid Variable: A Case Study in Inference

Let’s make this concrete with Cepheid variables, the stars that revealed the true scale of the Universe. Henrietta Leavitt discovered that their pulsation period correlates with luminosity. But transforming this pattern into distance measurements requires navigating the full complexity of astronomical inference.

import numpy as np

def cepheid_inference_chain():
    """
    Shows how beliefs and prior knowledge enter at every step.
    All calculations use CGS units as astronomers do.
    """

    # Step 1: Raw observation
    observed_flux = 3.7e-10  # erg/s/cm² (CGS units!)
    observed_period = 5.366341  # days
    
    # Step 2: Apply prior belief about detector calibration
    # Vega magnitude system: m = -2.5*log10(F/F_0)
    # For V-band: zero_point ≈ 21.10 when F in erg/s/cm²
    zero_point = 21.10  # From Vega calibration
    calibrated_magnitude = -2.5 * np.log10(observed_flux) + zero_point
    
    # Step 3: Apply prior knowledge about extinction
    # We believe dust follows Cardelli et al. (1989) extinction law
    A_V = 0.15  # Visual extinction in magnitudes (from dust maps)
    intrinsic_magnitude = calibrated_magnitude - A_V
    
    # Step 4: Apply model (Leavitt Law)
    # We believe P-L relation is universal: M_V = -2.43(log P - 1) - 4.05
    # (Madore & Freedman 1991)
    absolute_magnitude = -2.43 * (np.log10(observed_period) - 1) - 4.05
    
    # Step 5: Infer distance
    # We believe inverse square law + flat space geometry
    distance_modulus = intrinsic_magnitude - absolute_magnitude
    distance_pc = 10 ** (distance_modulus / 5 + 1)  # parsecs
    distance_kpc = distance_pc / 1000  # kiloparsecs
    
    return {
        'distance_kpc': distance_kpc,
        'distance_modulus': distance_modulus,
        'apparent_mag': calibrated_magnitude,
        'absolute_mag': absolute_magnitude
    }

# Example usage shows a typical LMC Cepheid
result = cepheid_inference_chain()
print(f"Inferred distance: {result['distance_kpc']:.1f} kpc")
# Output: Inferred distance: ~50 kpc (consistent with LMC!)

Notice how beliefs enter at every step. If any of these beliefs are wrong, our distance is wrong. But here’s the key insight: we don’t have to be certain about our beliefs. We can assign probabilities to different possibilities and propagate uncertainty through the entire chain. This probabilistic propagation is Bayesian inference.

Prior Knowledge: The Foundation We Build Upon

Science never starts from nothing. When Edwin Hubble first pointed the 100-inch Hooker telescope at Andromeda in 1923, he brought centuries of accumulated astronomical knowledge:

This prior knowledge shaped what he looked for (Cepheid variables), how he interpreted observations (as distance indicators), and what conclusions he drew (Andromeda is far outside our galaxy). Without this foundation, the same observations would have been meaningless patterns of light.

In modern inference, we make this prior knowledge explicit and mathematical. When we say “the Hubble constant is probably between 67 and 74 km/s/Mpc,” we’re encoding decades of measurements into a probability distribution. This isn’t arbitrary—it’s the mathematical representation of our accumulated understanding.

Prior knowledge also tells us what’s impossible or highly unlikely:

These constraints dramatically reduce the space of possible explanations for our observations. Without them, inference would be impossible—there would be infinite ways to explain any observation.

Why Every Measurement Is Actually Inference

Here’s the profound realization: There’s no such thing as a direct measurement in astronomy. Every number in every paper—mass, distance, temperature, composition—is the result of inference. We never measure mass; we measure orbital periods and infer mass using Kepler’s laws. We never measure temperature; we measure colors and infer temperature using blackbody physics.

Consider “measuring” a star’s temperature:

  1. What we actually measure: Flux through different filters

  2. The model we apply: Blackbody radiation (modified by atmospheric opacity)

  3. Prior knowledge we use: Stellar atmospheres behave approximately as blackbodies

  4. What we infer: Effective temperature

But it goes deeper. Even “flux through a filter” isn’t directly measured:

  1. What we actually measure: Electron counts in CCD pixels

  2. The model we apply: Linear detector response

  3. Prior knowledge we use: Calibration from standard stars

  4. What we infer: Incident flux

This regression continues all the way down to raw voltage readings from the detector. At every level, we’re using models and prior knowledge to infer what we actually want from what we can actually measure.

The Fundamental Problem, Restated

We can now state the fundamental problem of astronomical measurement precisely:

Given:

Find:

This is the inference problem. It’s not about finding the “right” answer — it’s about quantifying what we can know given what we’ve observed. It requires combining observations with prior knowledge through the framework of probability theory.

The solution to this problem — Bayesian inference — doesn’t give us truth. It gives us the most honest assessment of our knowledge given our observations, our models, and our prior understanding. It’s a framework for learning from data while acknowledging uncertainty.


1.2 Beliefs Shape What We Can Discover

Priority: 🔴 Essential

The Parallax Problem: A Case Study in Belief-Limited Discovery

For two thousand years, astronomers looked for stellar parallax — the apparent shift in a star’s position as Earth orbits the Sun. They couldn’t find it. This wasn’t due to bad instruments or poor observing conditions. The problem was their beliefs about the universe’s scale.

The logic seemed airtight:

  1. If Earth orbits the Sun, nearby stars should show parallax

  2. We observe no parallax (even with best instruments)

  3. Therefore, either Earth doesn’t move OR stars are unimaginably distant

Most chose option 1: Earth doesn’t move. This was used as evidence against Copernican heliocentrism. But here’s the subtle trap: they assumed stars were relatively nearby (perhaps 1000 Earth-Sun distances). With that belief, parallax should have been observable.

The breakthrough came only when astronomers updated their beliefs about cosmic scale. Friedrich Bessel, in 1838, finally measured stellar parallax — 0.314 arcseconds for 61 Cygni. This tiny angle revealed the star was 600,000 times farther than the Sun! Only by accepting that stars could be at almost incomprehensible distances could astronomers design instruments sensitive enough to detect parallax.

The lesson: Our beliefs about what’s possible determine what we look for and whether we can find it. The data was always there; the limiting factor was belief.

The Great Debate: Same Data, Different Conclusions

This illustrates a profound challenge: observations alone never uniquely determine conclusions. Your interpretation always depends on what you believed before seeing the data. In modern inference, we make these priors explicit so others can see how our beliefs shaped our conclusions.

The Underdetermination Problem: Infinite Theories, Finite Data

The philosopher Pierre Duhem articulated a troubling fact: Any finite set of observations can be explained by infinitely many theories. This isn’t pedantic philosophy — it’s a practical problem every astronomer faces.

Example: A galaxy’s rotation curve

You observe that stars at a galaxy’s edge orbit faster than Newtonian gravity predicts (given the visible matter). What’s the explanation?

  1. Dark matter halos: Add invisible matter with standard gravity

  2. Modified Newtonian Dynamics (MOND): Modify gravity at low accelerations

  3. Measurement errors: Our velocity measurements are systematically wrong

  4. Selection bias: We preferentially study unusual galaxies

  5. Something else: New physics we haven’t imagined yet

The observations alone don’t tell you which is correct. You need additional beliefs:

Most astronomers favor dark matter because:

But notice: these are reasons for belief, not logical proofs. MOND advocates have their own compelling reasons. The point isn’t who’s right—it’s that choosing requires prior beliefs about what kinds of explanations are more plausible.

How Leavitt’s Belief Enabled Her Discovery

Henrietta Swan Leavitt’s period-luminosity discovery (1908) provides a perfect example of how the right belief enables discovery that was impossible before.

The setup:

The crucial belief: All stars in the SMC are at approximately the same distance.

If true, then differences in apparent brightness reflect differences in intrinsic luminosity. The period-luminosity relation must be real, not an artifact of geometry.

Why was this belief justified?

But notice: Leavitt couldn’t prove this. She believed it based on:

Her belief wasn’t arbitrary—it was an informed judgment based on accumulated knowledge. And it was correct! But had she believed the SMC was a chance superposition of stars at wildly different distances, she couldn’t have discovered the period-luminosity relation. The right belief enabled the discovery.

From Implicit to Explicit: The Bayesian Solution

Historically, astronomers carried their beliefs implicitly. Curtis and Shapley disagreed without explicitly quantifying their priors. Modern inference makes beliefs explicit through prior distributions—mathematical representations of what we believe before seeing data.

The Bayesian framework (which we’ll formalize in Part 2) provides:

  1. Explicit priors: State your beliefs mathematically

  2. Likelihood functions: Connect parameters to observations via physics

  3. Bayes’ theorem: Update beliefs systematically with data

  4. Posterior distributions: Quantify remaining uncertainty

This doesn’t eliminate the role of belief—it makes beliefs transparent and updatable. Other scientists can see your priors, question them, and reanalyze with different assumptions. This is more honest than pretending beliefs don’t exist.

The profound insight: By making beliefs explicit, we transform arguments about “who’s right” into quantitative questions about how much different priors affect conclusions. If conclusions barely change with reasonable prior variations, we’re on solid ground. If conclusions are extremely prior-dependent, we know we need better data.

Why This Matters for Your Career

Whether you pursue academia or industry, you’ll face the underdetermination problem:

The Bayesian framework you’ll learn in this module isn’t just for astronomy — it’s a systematic way to combine evidence with judgment while honestly acknowledging uncertainty. This is the core of scientific thinking.


1.3 The Inverse Problem in Astronomy

Priority: 🔴 Essential

The Fundamental Asymmetry: Forward is Easy, Inverse is Hard

Every model in physics naturally runs forward — from causes to effects, from parameters to observations, from theory to prediction (forward problem). But in astronomy, we need to run backward: from effects to causes, from observations to parameters, from data to theory. This reversal is the inverse problem, and it’s fundamentally harder than the forward direction.

Forward Problem (Easy):

ParametersPhysicsObservations\text{Parameters} \xrightarrow{\text{Physics}} \text{Observations}

Given:

Calculate: What brightness will we observe?

This is straightforward. Apply the Leavitt law to get absolute magnitude, calculate distance modulus, add extinction, done. One calculation, one answer.

Inverse Problem (Hard):

ObservationsInferenceParameters\text{Observations} \xrightarrow{\text{Inference}} \text{Parameters}

Given:

Infer: What is the distance?

This is ambiguous! Multiple combinations of distance and extinction produce the same observed brightness:

The observations alone don’t uniquely specify the parameters. This is degeneracy.

Why Information Is Lost in the Forward Direction

Consider the measurement chain we discussed in Section 1.1. Each step loses information:

Reality → Photons:

Photons → Detection:

Detection → Parameters:

This is why forward modeling is a many-to-one function. Many parameter combinations map to similar observations. When you try to invert a many-to-one function, you face ambiguity: which of the many inputs produced this output?

Breaking Degeneracies with Prior Knowledge

How do we resolve the ambiguity? We bring additional information—prior knowledge.

Example: The Cepheid distance-extinction degeneracy

Observations alone don’t separate distance and extinction. But we have additional knowledge:

  1. Physical constraints:

    • Extinction can’t be negative (dust absorbs, doesn’t emit)

    • Distance must be positive and finite

  2. From other observations:

    • Dust maps (from other wavelengths) constrain AVA_V

    • Galaxy membership suggests distance range

  3. From theory:

    • Period-luminosity relation has known scatter (~0.3 mag)

    • Cepheid absolute magnitudes have physical limits

Each piece of prior knowledge shrinks the parameter space where solutions live. With enough constraints, we can break degeneracies and obtain unique (or nearly unique) solutions.

Multiple Parameters, Exponential Complexity

The inverse problem becomes exponentially harder as dimensions increase. With one parameter, you might search a line. With two parameters, you search a plane. With ten parameters, you search a 10-dimensional space.

Example: Supernova Cosmology (Project 4 preview)

To infer cosmological parameters from supernova observations, you need to determine:

That’s a multi-dimensional parameter space. Observations constrain combinations of parameters but leave degeneracies. For instance, you can trade ΩM\Omega_M against ΩΛ\Omega_\Lambda and get similar distance-redshift relations—until you add other constraints (like CMB data).

This is the curse of dimensionality: the volume of parameter space grows exponentially with dimensions. Exhaustive search becomes impossible. We need smart sampling strategies (MCMC!) to explore efficiently.

The Likelihood Function: Connecting Parameters to Data

To solve inverse problems, we need a mathematical bridge between parameters and observations. This bridge is the likelihood function:

L(θD)=P(Dθ)\mathcal{L}(\theta|D) = P(D|\theta)

Read this carefully: “The likelihood of parameters θ\theta given data DD equals the probability of observing data DD if parameters were θ\theta.”

Crucially: This is NOT the probability that parameters are θ\theta! It’s a function of θ\theta that tells us how probable our actual observations would be for each possible parameter value.

Example: Measuring a Cepheid’s distance

Let’s say we observe mobs=19.5±0.2m_{\text{obs}} = 19.5 \pm 0.2 mag. The likelihood function is:

L(d)=12πσ2exp([mobsmpred(d)]22σ2)\mathcal{L}(d) = \frac{1}{\sqrt{2\pi\sigma^2}} \exp\left(-\frac{[m_{\text{obs}} - m_{\text{pred}}(d)]^2}{2\sigma^2}\right)

where mpred(d)m_{\text{pred}}(d) is the predicted magnitude given distance dd (using period-luminosity relation).

This function peaks at the distance where predicted magnitude matches observed magnitude. But it doesn’t tell us “the probability that dd is correct”—for that, we need Bayes’ theorem (Part 2).

Why the Inverse Problem is Ill-Posed

Mathematicians classify problems as:

The inverse problem in astronomy is typically ill-posed because:

  1. Multiple solutions (degeneracies)

  2. Sensitivity to noise (small data changes → large parameter changes)

  3. Incompleteness (we never observe everything)

Example of instability: Imagine inferring a galaxy’s dark matter profile from rotation curve data. If measurements have small errors in the outer regions, the inferred halo mass might swing wildly. Small observational changes produce large parameter changes—instability.

The Bayesian solution: Prior information regularizes ill-posed problems. Priors favor certain parameter regions, providing stability and uniqueness where the data alone doesn’t. This is why priors aren’t arbitrary—they’re necessary to make inference tractable.

Forward vs. Inverse: A Visual Summary

The asymmetry is fundamental: Going from parameters to observations is physics. Going from observations to parameters is inference — requiring probability theory, statistical methods, and computational algorithms.

The Promise of What’s Ahead

This module equips you to solve inverse problems systematically:

By the end, you’ll understand not just what astronomical measurements are, but how they’re made—and why uncertainty isn’t a limitation but an honest acknowledgment of the inverse problem’s fundamental nature.


Part 1 Synthesis: The Foundation for Inference