Chapter 13 Mathematical Modeling and Computation
Whether simulating physical dynamics, validating AI models, designing cryptographic guarantees, or coordinating real-time decisions, digital twins rely on mathematical models to ensure correctness, efficiency, explainability, and trust. As computation becomes more heterogeneous—spanning CPUs, GPUs, FPGAs, TPUs, distributed systems, and soon, quantum-assisted pipelines—the mathematics underlying modeling and inference must adapt as well.
This chapter lays out the mathematical foundations that engineers use when building twins that simulate, optimize, and control real-world systems—not a comprehensive treatment, not theory for its own sake. It may feel rushed, and this is intentional. For a deeper and more patient treatment, I wrote Essential Math for AI (O’Reilly, 2023)—I encourage you to read it. My hope is that mathematicians and nonmathematicians alike will appreciate the bird’s eye view: mathematics closest to engineering practice, computational implementation, and system design.
Mathematical Modeling After Moore’s Law
For decades, Moore’s law provided mathematical modeling with a stable computational foundation: steady gains in transistor density, clock speed, and cost efficiency made it reasonable to assume that tomorrow’s hardware would simply run today’s models faster. Engineers could design algorithms largely independent of underlying hardware constraints, relying on linear performance improvements to absorb the complexity ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access