Skip to playerSkip to main content
  • 2 days ago
our smartphone didn't start in Silicon Valley. Every app, algorithm, and line of code rests on a foundation built long before Python or JavaScript.

In this episode of History and People, explore Baghdad in 830 AD—the House of Wisdom—where scholar Muhammad ibn Musa al-Khwarizmi laid the groundwork for software, algebra, and the very concept of the algorithm. From the death of Roman numerals to the world's first programmable robots built by Al-Jazari, see how medieval innovation paved the way for modern AI and smartphones.

Key Chapters Covered:

0:00 - The Silicon Illusion
0:41 - The House of Wisdom (Baghdad, 830 AD)
1:37 - Why Roman Numerals Failed & The Power of Zero
2:26 - The Origin of "X" and Algebra
3:13 - Geometry as Code: Girih Tiles & Loops
3:53 - The First Database & GPS Ancestors
4:38 - Medieval Robots & Early Hardware
5:26 - How Knowledge Traveled to Europe
6:05 - From Ancient Math to Modern AI
Subscribe to History and People for more historical deep dives!

Category

📚
Learning
Transcript
00:00Your smartphone, the pod, it didn't start in Silicon Valley.
00:06Every app, every search, every line of code, they all rest on one thing.
00:15The algorithm.
00:17We think computers are new.
00:19We think of chips, of code, of AI.
00:22But we skipped a chapter, a huge one.
00:26Long before Python, long before JavaScript, scholars in Baghdad were already coding the universe in the year 830.
00:41Welcome to Baghdad, 830 AD.
00:46Europe was in the Dark Ages.
00:49But here, this was the smartest city on Earth.
00:56The House of Wisdom.
00:59Inside lived a genius, Muhammad ibn Musa Al-Khwarizmi.
01:06His name sounds hard, but you say it every day.
01:12Europeans turned Al-Khwarizmi into Latin.
01:15Then, it became Algorithmi.
01:19Then it became Algorithm.
01:23And his book on math, it was called Al-Jabber.
01:28That word became Algebra.
01:32One man.
01:34Two words that run your world today.
01:40Here's why this mattered.
01:43Try multiplying this by hand.
01:46It's a nightmare.
01:48Why?
01:49Roman numerals had no zero.
01:53Al-Khwarizmi brought zero from India.
01:56He called it Sifra.
01:58Now, numbers had order.
02:01Units.
02:02Tens.
02:03Hundreds.
02:04Zero was the key.
02:06It let numbers go on forever.
02:11No zero, no binary.
02:14No binary, no computers.
02:17He also wrote the first clear steps for math.
02:21Steps so simple, even a machine could follow them.
02:29Before him, math solved one problem at a time.
02:33Split ten coins between three people.
02:36That's it.
02:38Al-Khwarizmi changed the game.
02:41He invented the variable.
02:43He called it She.
02:45It means the unknown thing.
02:48In Spanish, She became Zai.
02:52Then it shrank down to one letter.
02:55X.
02:56Now, one formula could solve endless problems.
03:00And how did he check his work?
03:02With shapes.
03:03He cut squares into pieces to prove his math was right.
03:08In today's terms, he was debugging his own code.
03:15Look at Islamic art.
03:18No portraits.
03:19Just patterns.
03:21These are called giri tiles.
03:23They look decorative.
03:25They're not.
03:27They're algorithms.
03:29Carved in stone.
03:31Just five shapes.
03:33Repeating forever.
03:35Never exactly the same.
03:37This is the same logic behind the loops in software today.
03:41And behind the graphics in your favorite video game.
03:44To these scholars, math wasn't decoration.
03:49Math was the language of the universe.
03:56Scholars needed to track the stars.
04:00For farming.
04:01For travel.
04:02For prayer times.
04:03So they built massive number tables.
04:07Called Zeech.
04:08This was the world's first database.
04:13Rows and columns of stars, angles, and time.
04:17One scholar, Albaruni, used this to find the exact direction of Mecca from anywhere on Earth.
04:25In the 10th century, he was solving 3D coordinates on paper.
04:33That's the ancestor of your GPS.
04:41Software needs hardware.
04:44In 1206, an engineer named Al Jazzari built real machines.
04:50Water clocks.
04:52Robotic musicians.
04:54How did he program them?
04:56With wooden drums.
04:58Pegs stuck into them.
05:00Move a peg.
05:01Change the beat.
05:04That drum was the world's first memory chip.
05:15He used gears and levers to build machines that reacted and adjusted.
05:22600 years before factories existed.
05:29So how did this reach us?
05:33Through Spain.
05:35In the 1100s, translators in Toledo worked day and night.
05:40They turned Arabic books into Latin.
05:42An Italian named Fibonacci studied these texts in North Africa.
05:47He brought the numbers back to Europe.
05:50In his book, Liber Opposie.
05:53Later, Leibniz took this math and built binary logic.
05:57Zeros and ones.
05:59The spark from Baghdad had finally reached Europe.
06:08Now, fast forward.
06:11To today.
06:14AI processes billions of numbers every second.
06:17Machine learning is changing our world.
06:20But strip it down.
06:22What is it really?
06:23Just massive math.
06:26Multiplying numbers again and again.
06:29It's the final form of Al-Khwarizmi's logic.
06:32The tool changed.
06:34Ink became electricity.
06:37But the code?
06:39Still the same.
06:44Al-Khwarizmi wrote his math for real problems.
06:49Land.
06:50Trade.
06:51Fair inheritance.
06:52He built code to bring order to human life.
06:56Every programmer today carries on his work.
07:00We are still living inside his algorithm.
07:04So, next time you tap your phone,
07:08remember,
07:09you're not just touching new technology.
07:12You're touching a thousand years of history.
07:23You're looking forward to it.
07:23Why is it coming to be published?
07:23You're looking forward to it.
Comments
History & People
Creator
Ever wonder who actually invented the logic behind your phone? We like to think Silicon Valley came up with modern code, but scholars in 9th-century Baghdad were already programming the foundations over a thousand years ago. In this video, we're diving into how ancient algebra, zero, and medieval clockwork robots literally built the digital world we live in today.

Recommended