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.

Overview: Foundations of Discrete Computing

Numerical Methods Module 1 | ASTR 596: Modeling the Universe

San Diego State University

The Big Picture: When Computers Meet Calculus

A Story That Changes Everything

In 1922, Lewis Fry Richardson attempted something audacious: predict tomorrow’s weather using mathematics. Armed with differential equations that governed atmospheric flow, he organized human “computers” into a calculating factory. Each person computed derivatives and changes for their assigned atmospheric cell. After six weeks of calculations, Richardson proudly announced his prediction: the atmospheric pressure would change by 145 millibars in 6 hours.

Reality delivered a crushing blow: the actual change was 1 millibar. Richardson’s prediction was wrong by a factor of 145.

But here’s the twist: Richardson’s equations were correct. His mathematics was sound. The catastrophic failure came from something more fundamental – he was taking finite differences with steps that were too large, and his human computers were rounding numbers to save time. The errors in numerical approximation completely overwhelmed the physics.

Richardson’s failure revealed a profound truth that shapes all computational physics: when we move from the continuous mathematics of calculus to the discrete world of computers, we enter a realm where h0h \to 0 is impossible, where 0.1+0.20.30.1 + 0.2 \neq 0.3, and where tiny errors can avalanche into disasters.

Your Mission: Master the Art of Approximation

You’re about to discover how to navigate the fundamental paradox of computational physics:

The resolution of this paradox – understanding exactly what errors we introduce and how to control them – is the foundation of all computational astrophysics.

Why This Matters Now More Than Ever

Modern astrophysics pushes computational limits like never before:

You NEED to understand numerical methods at a fundamental level – not just which buttons to push, but why algorithms succeed or fail.

Learning Philosophy

This module embodies our “glass-box modeling” approach:

Module Learning Objectives

By completing this module, you will be able to:

Quick Navigation Guide

🎯 Choose Your Learning Path

🚶 Standard Path

Full conceptual understanding

Everything in Fast Track, plus:

🧗 Complete Path

Deep dive with all details

Complete module including:

  • All mathematical derivations

  • Custom method design

  • Automatic differentiation

  • All worked examples

  • Historical context

🎯 Navigation by Project Needs

Mathematical Foundations

Module Contents

Part 1: The Fundamental Paradox - Calculus on Computers

Part 2: Numbers Aren’t Real - Computer Arithmetic & Cosmic Consequences

Part 3: Taylor Series - The Bridge from Continuous to Discrete

Part 4: Module Synthesis

Prerequisites Check


Ready to begin? Let’s start with Part 1 and discover why taking derivatives on a computer is fundamentally different from the calculus you learned.