Foundations

Mathematical Foundations

Linear algebra, calculus, probability, statistics and optimisation — the maths behind ML

2,168
lessons
Skills in this topic
View full skill map →
Maths for ML
beginner
Multiply matrices and compute dot products
Probability & Statistics
beginner
Calculate conditional probability and Bayes' theorem
Optimisation
intermediate
Implement gradient descent from scratch
Information Theory
intermediate
Calculate Shannon entropy and cross-entropy loss
All Reads (261) Articles (16)Blog Posts (231)Tutorials (11)Research Papers (3)
All the Math You Have Missed
Dev.to · Sensei 🔢 Mathematical Foundations ⚡ AI Lesson 1d ago
All the Math You Have Missed
The receipt stared back at me: $47.32 for groceries. The "10% off" coupon in my hand required a $50...
Super Mario is mathier than you think
MIT Technology Review 🔢 Mathematical Foundations ⚡ AI Lesson 1w ago
Super Mario is mathier than you think
Here’s a problem you probably didn’t solve in school: You’re an ambitious young plumber from Brooklyn in a world inhabited by violent human-size mushrooms calle
A Geometry Puzzle With 3 Circles
Medium · Data Science 🔢 Mathematical Foundations ⚡ AI Lesson 1w ago
A Geometry Puzzle With 3 Circles
Two circles of radius 5 are externally tangent to each other and are internally tangent to a circle of radius 13 at points A and B, as… Continue reading on Math
The Consecutive Integers Divisibility Trick
Medium · Programming 🔢 Mathematical Foundations ⚡ AI Lesson 2w ago
The Consecutive Integers Divisibility Trick
The elegant idea behind seemingly difficult proofs. Continue reading on ThinkArt »
Reddit r/learnprogramming 🔢 Mathematical Foundations ⚡ AI Lesson 2w ago
Advice
I’m not trying to get into FAANG, I’m just someone who loves math and is using this as a tool to be a better business analyst. I won an award at work for creati
When Mathematics Meets Its Mirror: Structural Resistance and the Two-Pole Problem in Claude Sonnet…
Medium · Data Science 🔢 Mathematical Foundations ⚡ AI Lesson 2w ago
When Mathematics Meets Its Mirror: Structural Resistance and the Two-Pole Problem in Claude Sonnet…
Author: Supat Charoensappuech, in collaboration with Claude Sonnet 4.6 Continue reading on Medium »
Math solves your problem’s
Medium · JavaScript 🔢 Mathematical Foundations ⚡ AI Lesson 3w ago
Math solves your problem’s
the built-in Math object already has you covered. Continue reading on solo devs »
The Mayans Invented Zero Before Most of the World — Here Is Their Number System in Python
Medium · Python 🔢 Mathematical Foundations ⚡ AI Lesson 3w ago
The Mayans Invented Zero Before Most of the World — Here Is Their Number System in Python
Long before Europe discovered zero, the Maya were using it in a sophisticated base-20 system. Here is how it works. Continue reading on Medium »
Euler’s equation
Medium · AI 🔢 Mathematical Foundations ⚡ AI Lesson 3w ago
Euler’s equation
Euler’s equation is one of the most important achievements in the history of mathematics, establishing a deep connection between seemingly… Continue reading on
Why Developers Still Need a Good Scientific Calculator
Dev.to · Smart calculator tool 🔢 Mathematical Foundations ⚡ AI Lesson 3w ago
Why Developers Still Need a Good Scientific Calculator
We write code every day. We have IDEs, REPLs, notebooks, and terminal sessions within arm's reach....
Reddit r/learnprogramming 🔢 Mathematical Foundations ⚡ AI Lesson 1mo ago
Should I do a pre-math block (pre-algebra to pre-calc) before starting OSSU CS?
Hello everyone, I'm planning to start the OSSU Computer Science curriculum soon to formalize my self-taught journey. Before diving into the official program, I'
Will restructuring services guarantee inclusion in AI answers?
Dev.to · Rank4AI 🔢 Mathematical Foundations 1mo ago
Will restructuring services guarantee inclusion in AI answers?
No. It increases clarity and probability, but recommendation systems remain dynamic. AI systems...
Factorial Equations and One Surprising Solution
Medium · Data Science 🔢 Mathematical Foundations ⚡ AI Lesson 1mo ago
Factorial Equations and One Surprising Solution
Eliminating Every Solution but One Continue reading on ThinkArt »
Do NOT Solve This With Calculus!
Medium · Data Science 🔢 Mathematical Foundations ⚡ AI Lesson 1mo ago
Do NOT Solve This With Calculus!
At first glance, this maths puzzle appears to require multivariable calculus. Continue reading on Math Games »
Solving the Austrian Olympiad System (1997)
Medium · Programming 🔢 Mathematical Foundations ⚡ AI Lesson 1mo ago
Solving the Austrian Olympiad System (1997)
A Hidden Ratio Trick Continue reading on ThinkArt »
MIT Integration Bee 2025 Problem
Medium · AI 🔢 Mathematical Foundations ⚡ AI Lesson 1mo ago
MIT Integration Bee 2025 Problem
A Golden Ratio Integral Continue reading on ThinkArt »
MIT Integration Bee 2025 Problem
Medium · Data Science 🔢 Mathematical Foundations ⚡ AI Lesson 1mo ago
MIT Integration Bee 2025 Problem
A Golden Ratio Integral Continue reading on ThinkArt »
How To Solve The Pythagoras Pie Puzzle?
Medium · AI 🔢 Mathematical Foundations ⚡ AI Lesson 1mo ago
How To Solve The Pythagoras Pie Puzzle?
This is A mathematically delicious mystery Continue reading on Math Games »
How To Solve The Pythagoras Pie Puzzle?
Medium · Data Science 🔢 Mathematical Foundations ⚡ AI Lesson 1mo ago
How To Solve The Pythagoras Pie Puzzle?
This is A mathematically delicious mystery Continue reading on Math Games »
ArXiv cs.AI 🔢 Mathematical Foundations 📄 Paper ⚡ AI Lesson 1mo ago
Every finite group admits a just finite presentation
arXiv:2605.10402v1 Announce Type: cross Abstract: A finite presentation of a finite group is called `just finite' if removing any relation from R results in a p
The Mathematics of Pulley Systems
Medium · Data Science 🔢 Mathematical Foundations ⚡ AI Lesson 1mo ago
The Mathematics of Pulley Systems
Modeling pulley systems like elevators and weight machines make great use of a mathematician’s toolkit Continue reading on Medium »
The 2002 Harvard-MIT Math Problem
Medium · Data Science 🔢 Mathematical Foundations ⚡ AI Lesson 1mo ago
The 2002 Harvard-MIT Math Problem
Solving an integral using structure instead of formulas. Continue reading on ThinkArt »
The 2002 Harvard-MIT Math Problem
Medium · Programming 🔢 Mathematical Foundations ⚡ AI Lesson 1mo ago
The 2002 Harvard-MIT Math Problem
Solving an integral using structure instead of formulas. Continue reading on ThinkArt »
The Theory of Boundary Essentialism
The Core Statement
Medium · Data Science 🔢 Mathematical Foundations ⚡ AI Lesson 2mo ago
The Theory of Boundary Essentialism The Core Statement
“A circle without its circumference is nothing.” Continue reading on Medium »
ArXiv cs.AI 🔢 Mathematical Foundations 📄 Paper ⚡ AI Lesson 2mo ago
A Milestone in Formalization: The Sphere Packing Problem in Dimension 8
arXiv:2604.23468v2 Announce Type: cross Abstract: In 2016, Viazovska famously solved the sphere packing problem in dimension $8$, using modular forms to constru
Hidden Symmetry in a Tangent Integral
Medium · Data Science 🔢 Mathematical Foundations ⚡ AI Lesson 2mo ago
Hidden Symmetry in a Tangent Integral
Flip the variable, unlock the structure Continue reading on ThinkArt »
Hidden Symmetry in a Tangent Integral
Medium · Programming 🔢 Mathematical Foundations ⚡ AI Lesson 2mo ago
Hidden Symmetry in a Tangent Integral
Flip the variable, unlock the structure Continue reading on ThinkArt »
How Do Mathematicians Comprehend Infinity?
Medium · Data Science 🔢 Mathematical Foundations ⚡ AI Lesson 2mo ago
How Do Mathematicians Comprehend Infinity?
Non-Finite sets are a great introduction to the nature of abstract reasoning Continue reading on Medium »
I Spent 5 Years Making Math Animations. Here’s Everything I Wish I Knew on Day One.
Medium · Programming 🔢 Mathematical Foundations ⚡ AI Lesson 2mo ago
I Spent 5 Years Making Math Animations. Here’s Everything I Wish I Knew on Day One.
The first time I tried to make a math animation, I spent four hours staring at an error message I did not understand. Continue reading on Medium »
I Spent 5 Years Making Math Animations. Here’s Everything I Wish I Knew on Day One.
Medium · Python 🔢 Mathematical Foundations ⚡ AI Lesson 2mo ago
I Spent 5 Years Making Math Animations. Here’s Everything I Wish I Knew on Day One.
The first time I tried to make a math animation, I spent four hours staring at an error message I did not understand. Continue reading on Medium »
Mathematics Does Not Define The World
Forbes Innovation 🔢 Mathematical Foundations ⚡ AI Lesson 2mo ago
Mathematics Does Not Define The World
Mathematics is not defining the world. It is the world that we define with mathematics.
The Ellipse Has Two Personalities
Medium · Programming 🔢 Mathematical Foundations ⚡ AI Lesson 2mo ago
The Ellipse Has Two Personalities
Same shape. One formula a child can memorize. The other broke mathematicians for two thousand years. Continue reading on Medium »
Beyond the Number Line From Integers to Infrastructure Completing Chapter 1 of the Math-to-Code…
Medium · Cybersecurity 🔢 Mathematical Foundations ⚡ AI Lesson 2mo ago
Beyond the Number Line From Integers to Infrastructure Completing Chapter 1 of the Math-to-Code…
“I am proud to announce the completion of the first major chapter in my technical journey: Numbers and Negative Numbers From Krista King’s… Continue reading on
Square Root in Programming – JavaScript, Python, C++ & Free Calculator
Dev.to · Smart calculator tool 🔢 Mathematical Foundations ⚡ AI Lesson 2mo ago
Square Root in Programming – JavaScript, Python, C++ & Free Calculator
Square Root in Programming – JavaScript, Python, C++ & Free Calculator As a developer,...
Neon Number , Strong Number , Perfect Number
Dev.to · Divya Divya 🔢 Mathematical Foundations ⚡ AI Lesson 2mo ago
Neon Number , Strong Number , Perfect Number
Neon The sum of the digits of its square is equal to the original number Take a...
Neon Number,Perfect Number,Strong Number
Dev.to · PRIYA K 🔢 Mathematical Foundations ⚡ AI Lesson 2mo ago
Neon Number,Perfect Number,Strong Number
1.Neon Number sum of digits of its square equals the original number. Example Number = Step 1 –...
Prime Number
Dev.to · Divya Divya 🔢 Mathematical Foundations ⚡ AI Lesson 3mo ago
Prime Number
What is prime number? A number is called a prime number if it has only two factors. Important...
AI and Machine Learning for Schedule Prediction: Science, Not Guessing
Dev.to · 전규현 (Jeon gyuhyeon) 🔢 Mathematical Foundations 3mo ago
AI and Machine Learning for Schedule Prediction: Science, Not Guessing
"The project will take 3 months" What's the probability this prediction is correct? Statistics...
8 Interactive Math & Physics Visualizations That Make Complex Concepts Click
Dev.to · elysiatools 🔢 Mathematical Foundations ⚡ AI Lesson 3mo ago
8 Interactive Math & Physics Visualizations That Make Complex Concepts Click
Explore 8 interactive math and physics visualizations — from chaos theory to entropy — that turn abstract textbook concepts into something you can actually feel
The maths behind how long a planet stays in your sign
Dev.to · Sammii 🔢 Mathematical Foundations ⚡ AI Lesson 3mo ago
The maths behind how long a planet stays in your sign
Most astrology content rounds the numbers. Saturn spends "about 2.5 years" in each sign. Jupiter...
Secure Ransomware Development 101 ~ understanding compiler optimizations
Dev.to · 7mo 🔢 Mathematical Foundations 3mo ago
Secure Ransomware Development 101 ~ understanding compiler optimizations
PLEASE NOTE: Despite the provocative title, this article is strictly an educational...
2.78 TFLOPS on a Fanless MacBook Air? Benchmarking Apple's M4 with MLX
Dev.to · lwgena 🔢 Mathematical Foundations 3mo ago
2.78 TFLOPS on a Fanless MacBook Air? Benchmarking Apple's M4 with MLX
Can a fanless M4 MacBook Air really hit 2.78 TFLOPS? Let's benchmark matrix multiplications using Apple's MLX framework and dive into the math, thermal manageme
Underrated Postgres: Extended Statistics for Better Execution Plans
Dev.to · Ameer Hamza 🔢 Mathematical Foundations 3mo ago
Underrated Postgres: Extended Statistics for Better Execution Plans
A deep dive into PostgreSQL extended statistics, how they solve bad execution plans, and why you should use them instead of just adding more indexes.
Benchmarks, Zero Guesswork: Why OpenPawz measures every hot path in the AI engine
Dev.to · Gotham64 🔢 Mathematical Foundations 3mo ago
Benchmarks, Zero Guesswork: Why OpenPawz measures every hot path in the AI engine
Most AI platforms ship with no performance guarantees. OpenPawz benchmarks critical operations across sessions, memory, vector search, cryptography, audit, and
Progressive Checkout Optimization: Breaking Your Purchase Flow Into Convertible Micro Experiences
Dev.to · Jason Biondo 🔢 Mathematical Foundations 3mo ago
Progressive Checkout Optimization: Breaking Your Purchase Flow Into Convertible Micro Experiences
Progressive checkout optimization breaks purchase flows into modular micro experiences. Learn how headless commerce enables component based conversion
5 More Advanced Python Patterns for High-Scale Engineering
Dev.to · Dimitris Kyrkos 🔢 Mathematical Foundations 3mo ago
5 More Advanced Python Patterns for High-Scale Engineering
Intro Following up on our previous deep dive, we’re moving from data-model optimizations to...
Beyond the Buffer: Optimizing HLS and Reducing Packet Loss at Scale
Dev.to · KATHLEN JOY VIREL 🔢 Mathematical Foundations 3mo ago
Beyond the Buffer: Optimizing HLS and Reducing Packet Loss at Scale
Reducing Packet Loss and HLS Optimization in High-Concurrency Environments When handling...
I Generate $50 Stock Videos With One Command. Here's the Open-Source Tool.
Dev.to · Lakshmi Sravya Vedantham 🔢 Mathematical Foundations 3mo ago
I Generate $50 Stock Videos With One Command. Here's the Open-Source Tool.
Stock footage sites charge $15–50 for a single looping background video. Gradient flows. Plasma...