In Los Angeles, a remarkable experiment is underway; the police are trying to predict crime, before it even happens. At the heart of the city of London, one trader believes that he has found the secret of making billions with math. In South Africa, astronomers are attempting to catalogue the entire cosmos. These very different worlds are united by one thing - an extraordinary explosion in data. Meet the people at the forefront of the data revolution, and reveals the possibilities and the promise of the age of big data.

This four-part British television series outlines aspects of the history of mathematics. Written and presented by University of Oxford professor Marcus du Sautoy, it is a co-production between the Open University and the BBC. In the first episode, Marcus du Sautoy in Egypt uncovers use of a decimal system based on ten fingers of the hand and discovers that the way we tell the time is based on the Babylonian Base 60 number system. In Greece, he looks at the contributions of some of the giants of mathematics including Plato, Archimedes and Pythagoras, who is credited with beginning the transformation of mathematics from a counting tool into the analytical subject of today. A controversial figure, Pythagorasâ€™ teachings were considered suspect and his followers seen as social outcasts and a little be strange and not in the norm. There is a legend going around that one of his followers, Hippasus, was drowned when he announced his discovery of irrational numbers. As well as his work on the properties of right angled triangles, Pythagoras developed another important theory after observing musical instruments. He discovered that the intervals between harmonious musical notes are always in whole number intervals.

Predictions underlie nearly every aspect of our lives, from sports, politics, and medical decisions to the morning commute. With the explosion of digital technology, the internet, and 'big data,' the science of forecasting is flourishing. But why do some predictions succeed spectacularly while others fail abysmally? And how can we find meaningful patterns amidst chaos and uncertainty? From the glitz of casinos and TV game shows to the life-and-death stakes of storm forecasts and the flaws of opinion polls that can swing an election, 'Prediction by the Numbers' explores stories of statistics in action. Yet advances in machine learning and big data models that increasingly rule our lives are also posing big, disturbing questions. How much should we trust predictions made by algorithms when we don't understand how they arrive at them? And how far ahead can we really forecast?

Physicist Jim Al-Khalili travels through Syria, Iran, Tunisia and Spain to tell the story of the great leap in scientific knowledge that took place in the Islamic world between the 8th and 14th centuries. Its legacy is tangible, with terms like algebra, algorithm and alkali all being Arabic in origin and at the very heart of modern science - there would be no modern mathematics or physics without algebra, no computers without algorithms and no chemistry without alkalis. For Baghdad-born Al-Khalili, this is also a personal journey, and on his travels he uncovers a diverse and outward-looking culture, fascinated by learning and obsessed with science. From the great mathematician Al-Khwarizmi, who did much to establish the mathematical tradition we now know as algebra, to Ibn Sina, a pioneer of early medicine whose Canon of Medicine was still in use as recently as the 19th century, Al-Khalili pieces together a remarkable story of the often-overlooked achievements of the early medieval Islamic scientists.

Hannah then explores what maths can reveal about the fundamental building blocks of the universe - the subatomic, quantum world. The maths tells us that particles can exist in two states at once, and yet quantum physics is at the core of photosynthesis and therefore fundamental to most of life on earth - more evidence of discovering mathematical rules in nature. But if we accept that maths is part of the structure of the universe, there are two main problems: firstly, the two main theories that predict and describe the universe - quantum physics and general relativity - are actually incompatible; and secondly, most of the maths behind them suggests the likelihood of something even stranger - multiple universes.

We may just have to accept that the world really is weirder than we thought, and Hannah concludes that while we have invented the language of maths, the structure behind it all is something we discover. And beyond that, it is the debate about the origins of maths that has had the most profound consequences: it has truly transformed the human experience, giving us powerful new number systems and an understanding that now underpins the modern world.