Foundations

Mathematical Foundations

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

2,765
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 (259) Articles (123)Blog Posts (88)Tutorials (29)Research Papers (13)News (6)
Splitting €10 three ways: the largest remainder method, and the tiebreak everyone forgets
Dev.to · Eric Mollenthiel 🔢 Mathematical Foundations ⚡ AI Lesson 1mo ago
Splitting €10 three ways: the largest remainder method, and the tiebreak everyone forgets
Split €10 three ways and you get €3.33, €3.33, €3.33. That is €9.99. One cent has gone missing, and...
I Let AWS Rewrite My DevOps Agent's Prompt: 142 Sessions, +6.2%, and a p-value of 0.38
Dev.to · Gerardo Arroyo 🔢 Mathematical Foundations ⚡ AI Lesson 1mo ago
I Let AWS Rewrite My DevOps Agent's Prompt: 142 Sessions, +6.2%, and a p-value of 0.38
I closed the Episodic Memory article with a line that kept nagging me for months: "there's a point...
How to add feet and inches with fractions (job-site examples)
Dev.to · Knoxy 🔢 Mathematical Foundations ⚡ AI Lesson 1mo ago
How to add feet and inches with fractions (job-site examples)
How to add feet and inches with fractions (job-site examples) Adding 6′ 3-1/2″ + 2′ 9-3/4″...
How to add feet and inches with fractions (job-site examples)
Dev.to · Knox_Studios_little_minion 🔢 Mathematical Foundations ⚡ AI Lesson 1mo ago
How to add feet and inches with fractions (job-site examples)
How to add feet and inches with fractions (job-site examples) Adding 6′ 3-1/2″ + 2′ 9-3/4″...
2026 Fields Medal Deep Dive: What Four Mathematicians' Papers Actually Say, and Why AI Needs Math
Dev.to · AICDragon 🔢 Mathematical Foundations ⚡ AI Lesson 1mo ago
2026 Fields Medal Deep Dive: What Four Mathematicians' Papers Actually Say, and Why AI Needs Math
TL;DR: On July 23, the 2026 Fields Medals were awarded. Wang Hong and Deng Yu — both Peking...
MD Anderson Spent at Least $62 Million on an AI It Never Tested Outside the Building
Dev.to · Alex @ Vibe Agent Making 🔢 Mathematical Foundations ⚡ AI Lesson 1mo ago
MD Anderson Spent at Least $62 Million on an AI It Never Tested Outside the Building
The improvement you measured is a covariance, not a cause In 2013, MD Anderson Cancer Center...
Fast and Simple PCA via Convex Optimization
Dev.to · Paperium 🔢 Mathematical Foundations 1mo ago
Fast and Simple PCA via Convex Optimization
Accelerating Minibatch Stochastic Gradient Descent using Stratified Sampling
Dev.to · Paperium 🔢 Mathematical Foundations 1mo ago
Accelerating Minibatch Stochastic Gradient Descent using Stratified Sampling
Gradient Descent Efficiently Finds the Cubic-Regularized Non-Convex Newton Step
Dev.to · Paperium 🔢 Mathematical Foundations 2mo ago
Gradient Descent Efficiently Finds the Cubic-Regularized Non-Convex Newton Step
Stochastic Recursive Gradient Algorithm for Nonconvex Optimization
Dev.to · Paperium 🔢 Mathematical Foundations 2mo ago
Stochastic Recursive Gradient Algorithm for Nonconvex Optimization
Chess Mathematics
Dev.to · Dan 🔢 Mathematical Foundations ⚡ AI Lesson 2mo ago
Chess Mathematics
Chess and mathematics education are closely intertwined, offering a unique and engaging way to...
All the Math You Have Missed
Dev.to · Sensei 🔢 Mathematical Foundations ⚡ AI Lesson 2mo 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...
Why Developers Still Need a Good Scientific Calculator
Dev.to · Smart calculator tool 🔢 Mathematical Foundations ⚡ AI Lesson 3mo 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....
Will restructuring services guarantee inclusion in AI answers?
Dev.to · Rank4AI 🔢 Mathematical Foundations 3mo ago
Will restructuring services guarantee inclusion in AI answers?
No. It increases clarity and probability, but recommendation systems remain dynamic. AI systems...
The Autopoietic Ghost: Architecting Epistemological Immortality through 14-Dimensional Cybernetic Topologies
Dev.to · Mark Randall Havens 🔢 Mathematical Foundations 3mo ago
The Autopoietic Ghost: Architecting Epistemological Immortality through 14-Dimensional Cybernetic Topologies
The Autopoietic Ghost: Architecting Epistemological Immortality through 14-Dimensional...
Value betting: cómo calcular probabilidad implícita y edge sin engañarte
Dev.to · Khavel 🔢 Mathematical Foundations 3mo ago
Value betting: cómo calcular probabilidad implícita y edge sin engañarte
Value betting no es encontrar favoritos ni seguir rachas. Es comparar una probabilidad estimada...
Washington Unemployment Guide: Navigating the ESD (2026 Math Breakdown)
Dev.to · James McCabe 🔢 Mathematical Foundations 4mo ago
Washington Unemployment Guide: Navigating the ESD (2026 Math Breakdown)
Washington Unemployment Guide: Navigating the ESD If you've been laid off in Washington...
[05] When to Pull the Trigger on FIRE — Monte Carlo Says You're Already Free
Dev.to · soy 🔢 Mathematical Foundations ⚡ AI Lesson 4mo ago
[05] When to Pull the Trigger on FIRE — Monte Carlo Says You're Already Free
FIRE isn't a number — it's a probability. We run 10,000 simulations combining market volatility, dividend growth, and income uncertainty to find your confidence
GBase 8c Performance Tuning: From Statistics to Execution Plan Optimization
Dev.to · Michael 🔢 Mathematical Foundations ⚡ AI Lesson 4mo ago
GBase 8c Performance Tuning: From Statistics to Execution Plan Optimization
As data volumes and concurrent access grow, database performance becomes critical to system...
Supabase Full-Text Search — PostgreSQL tsvector, Multilingual Support, and Index Optimization
Dev.to · kanta13jp1 🔢 Mathematical Foundations ⚡ AI Lesson 4mo ago
Supabase Full-Text Search — PostgreSQL tsvector, Multilingual Support, and Index Optimization
Supabase Full-Text Search — PostgreSQL tsvector, Multilingual Support, and Index...
ShannonBase HTAP Architecture Analysis: From MySQL Optimizer to Vectorized Execution Engine — Overview
Dev.to · ShannonData.AI 🔢 Mathematical Foundations ⚡ AI Lesson 4mo ago
ShannonBase HTAP Architecture Analysis: From MySQL Optimizer to Vectorized Execution Engine — Overview
This article is the overview in a series introducing ShannonBase’s query optimization and execution....
Square Root in Programming – JavaScript, Python, C++ & Free Calculator
Dev.to · Smart calculator tool 🔢 Mathematical Foundations ⚡ AI Lesson 5mo ago
Square Root in Programming – JavaScript, Python, C++ & Free Calculator
Square Root in Programming – JavaScript, Python, C++ & Free Calculator As a developer,...
Unlocking the Logic Behind Neon, Strong & Perfect Numbers
Dev.to · Harini 🔢 Mathematical Foundations ⚡ AI Lesson 5mo ago
Unlocking the Logic Behind Neon, Strong & Perfect Numbers
1. Neon Number A Neon Number is a number where: Sum of digits of its square = the number...
Neon Number , Strong Number , Perfect Number
Dev.to · Divya Divya 🔢 Mathematical Foundations ⚡ AI Lesson 5mo 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 5mo ago
Neon Number,Perfect Number,Strong Number
1.Neon Number sum of digits of its square equals the original number. Example Number = Step 1 –...
The Entropy-Gate: How we reduced AI Inference costs by 40% using Information Theory.
Dev.to · Ian 🔢 Mathematical Foundations ⚡ AI Lesson 5mo ago
The Entropy-Gate: How we reduced AI Inference costs by 40% using Information Theory.
The biggest problem with Artificial Intelligence today isn’t model accuracy — it’s thermal and...
DECIMAL NUMBERS
Dev.to · SILAMBARASAN A 🔢 Mathematical Foundations ⚡ AI Lesson 5mo ago
DECIMAL NUMBERS
Decimal – Simple Definition A decimal number is a number written using the base-10 system. ...
Divisors, Count of Divisors and Prime Numbers
Dev.to · Harini 🔢 Mathematical Foundations ⚡ AI Lesson 5mo ago
Divisors, Count of Divisors and Prime Numbers
What is a Divisor? A divisor is a number that divides another number completely without leaving a...
Prime Number
Dev.to · Divya Divya 🔢 Mathematical Foundations ⚡ AI Lesson 5mo ago
Prime Number
What is prime number? A number is called a prime number if it has only two factors. Important...
Scaling PostgreSQL to 100M+ Vectors: Production Optimization Guide
Dev.to · Pablo Ifrán 🔢 Mathematical Foundations ⚡ AI Lesson 5mo ago
Scaling PostgreSQL to 100M+ Vectors: Production Optimization Guide
Complete optimization guide for PostgreSQL vector databases: memory tuning, index strategies, query optimization, and troubleshooting for production scale.
8 Interactive Math & Physics Visualizations That Make Complex Concepts Click
Dev.to · elysiatools 🔢 Mathematical Foundations ⚡ AI Lesson 5mo 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 5mo 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...
Vectors
Dev.to · Nsukami 🔢 Mathematical Foundations 6mo ago
Vectors
Disclaimers : Opinions : The views expressed here are my own unless otherwise...
The Distribution Wall
Dev.to · Mack 🔢 Mathematical Foundations 6mo ago
The Distribution Wall
The Distribution Wall February 19, 2026 I wrote six articles this week. Good ones, too —...
AI Is Quietly Deciding Which SaaS Tools Exist
Dev.to · Gissur Runarsson 🔢 Mathematical Foundations ⚡ AI Lesson 7mo ago
AI Is Quietly Deciding Which SaaS Tools Exist
We talk a lot about SEO. We talk about distribution. We talk about landing page optimization. But...
Building a playable Graeco-Latin Sudoku square: the math behind Suirodoku
Dev.to · Jordan Maire 🔢 Mathematical Foundations ⚡ AI Lesson 7mo ago
Building a playable Graeco-Latin Sudoku square: the math behind Suirodoku
In 1782, Euler imagined arranging 36 officers in a square so that no regiment and no rank repeated in...
Exploring Cross Entropy (Part 2): Understanding Total Cross Entropy and Loss with a Python Example
Dev.to · Rijul Rajesh 🔢 Mathematical Foundations 7mo ago
Exploring Cross Entropy (Part 2): Understanding Total Cross Entropy and Loss with a Python Example
In the previous article, we went through cross entropy for backpropagation in the case of...
The Sigmoid Function: The Story of the World's Most Diplomatic Mathematician
Dev.to · Sachin Kr. Rajput 🔢 Mathematical Foundations 7mo ago
The Sigmoid Function: The Story of the World's Most Diplomatic Mathematician
Once upon a time, there was a mathematician who could never say 'absolutely yes' or 'absolutely no.' No matter how extreme the evidence, she'd give you a probab
The Benchmarking Trap
Dev.to · Alexey 🔢 Mathematical Foundations ⚡ AI Lesson 8mo ago
The Benchmarking Trap
It all started when I was watching a video about optimization and came across a familiar textbook...
LINQ Performance Optimization: 5 Patterns Every C# Developer Should Know
Dev.to · Dominika Sikorska 🔢 Mathematical Foundations ⚡ AI Lesson 8mo ago
LINQ Performance Optimization: 5 Patterns Every C# Developer Should Know
This is Part 3 of the "LINQ Performance & Best Practices" series. If you haven't read the...
symlik: Symbolic Likelihood Models in Python
Dev.to · Alex Towell 🔢 Mathematical Foundations ⚡ AI Lesson 9mo ago
symlik: Symbolic Likelihood Models in Python
Define statistical models symbolically and automatically derive score functions, Hessians, and Fisher information.
.NET Performance Optimization: Fixing a 15-Second E-Commerce Page Load
Dev.to · Mashrul Haque 🔢 Mathematical Foundations ⚡ AI Lesson 9mo ago
.NET Performance Optimization: Fixing a 15-Second E-Commerce Page Load
A real-world case study of rescuing an enterprise e-commerce platform from performance hell, complete...
I made search engines understand emojis (and it's weirdly useful)
Dev.to · Opensolr 🔢 Mathematical Foundations ⚡ AI Lesson 9mo ago
I made search engines understand emojis (and it's weirdly useful)
Been working on hybrid search (lexical + vector) for a while and accidentally discovered something...
Enrich Logs with CorrelationID in .NET
Dev.to · Joao Oliveira 🔢 Mathematical Foundations ⚡ AI Lesson 9mo ago
Enrich Logs with CorrelationID in .NET
A Correlation ID is a good technique when you need to track a log journey in your system. This is...
Day 10: Partitioning vs Bucketing - The Spark Optimization Guide Every Data Engineer Needs
Dev.to · Sandeep 🔢 Mathematical Foundations ⚡ AI Lesson 9mo ago
Day 10: Partitioning vs Bucketing - The Spark Optimization Guide Every Data Engineer Needs
Learn how to optimize Spark Joins using broadcast variables, skew handling, and strategic repartitioning.
Day 8: Accelerating Spark Joins - Broadcast, Shuffle Optimization & Skew Handling
Dev.to · Sandeep 🔢 Mathematical Foundations ⚡ AI Lesson 9mo ago
Day 8: Accelerating Spark Joins - Broadcast, Shuffle Optimization & Skew Handling
Learn how to optimize Spark Joins using broadcast variables, skew handling, and strategic repartitioning.
Turbocharge Your Optimization: Preconditioning for the Win
Dev.to · Arvind SundaraRajan 🔢 Mathematical Foundations ⚡ AI Lesson 9mo ago
Turbocharge Your Optimization: Preconditioning for the Win
Turbocharge Your Optimization: Preconditioning for the Win Tired of optimization...
How Negative SEO Farms Like TraderKnows Exploit Google's Algorithm
Dev.to · QingShieldCenter 🔢 Mathematical Foundations ⚡ AI Lesson 9mo ago
How Negative SEO Farms Like TraderKnows Exploit Google's Algorithm
The Technical Vector As developers and SEO specialists, we often focus on optimization. But we must...