What's an algorithm?

Category: Math

An algorithm is a method of solving problems both big and small. Though computers run algorithms constantly, humans can also solve problems with algorithms. David J. Malan explains how algorithms can be used in seemingly simple situations and also complex ones.

You might also like

The Secret Life of Chaos

Professor Jim Al-Khalili shows how chaos theory can answer a question that mankind has asked for millennia - how does a universe that starts off as dust end up with intelligent life? It's a mindbending, counterintuitive and for many people a troubling idea.



Marcus du Sautoy uncovers the patterns that explain the shape of the world around us. Starting at the hexagonal columns of Northern Ireland's Giant's Causeway, he discovers the code underpinning the extraordinary order found in nature - from rock formations to honeycomb and from salt crystals to soap bubbles.

58m • The Code

To Infinity and Beyond

Professor Marcus du Sautoy concludes his investigation into the history of mathematics with a look at some of the great unsolved problems that confronted mathematicians in the 20th century. After exploring Georg Cantor's work on infinity and Henri Poincare's work on chaos theory, he sees how mathematics was itself thrown into chaos by the discoveries of Kurt Godel and Paul Cohen, before completing his journey by considering some unsolved problems of maths today, including the Riemann Hypothesis.

58m • The Story of Maths

The last banana: A thought experiment in probability

Imagine a game of dice: if the biggest number rolled is one, two, three, or four, player 1 wins. If the biggest number rolled is five or six, player 2 wins. Who has the best probability of winning the game? Leonardo Barichello explains how probability holds the answer to this seemingly counterintuitive puzzle.

4m • TED-Ed


Marcus du Sautoy continues his exploration of the hidden numerical code that underpins all nature. This time it's the strange world of what happens next. Professor du Sautoy's odyssey starts with the lunar eclipse - once thought supernatural, now routinely predicted through the power of the code. But more intriguing is what the code can say about our future.

58m • The Code

Why are manhole covers round?

Why are most manhole covers round? Sure it makes them easy to roll, and slide into place in any alignment. But there’s another, more compelling reason, involving a peculiar geometric property of circles and other shapes. Marc Chamberland explains curves of constant width and Barbier’s theorem.

3m • TED-Ed