CHAPTER 02 · THE MAP OF AI

Computer science, mathematics and statistics

Three key foundations of AI: the computer runs it, mathematics describes it, statistics measures the uncertainty.

What is it?

Computer science, mathematics and statistics are the foundations of AI. Computer science provides the programs and hardware, mathematics describes relationships and learning, and statistics estimates how far a result can be trusted.

An everyday example

A model forecasts the weather: a program processes the data, mathematics describes the relationships and statistics measures the errors.

Why does it matter?

Without statistics we do not know how reliable a prediction is. A number with no estimate of uncertainty can mislead more than it helps.

A common misconception

That a calculation is correct because a computer made it. A precise calculation can still rest on wrong or incomplete data.

In more detail

What does computer science contribute?

Algorithms, programming languages, data structures, systems, computational complexity and security.

What does mathematics contribute?

Linear algebra, calculus, probability, optimisation, geometry and logic. These are the tools a model uses to transform numbers.

What does statistics contribute?

It helps us judge what we can conclude from a sample, how we measure errors and how far we can trust a result.

Do I need to know all of this?

To use AI, mostly not. To understand its limits, it is enough to know that the result is not magic but a calculation with uncertainty.

Remember: A precise calculation can still rest on the wrong data.

Reliable sources

Last reviewed 1 November 2026. An explainer, not professional, legal or medical advice. For rules and figures that change, check the official version.