Sohaib Hasan
Mathematician  ·  Data Scientist  ·  Manim Animator

Sohaib Hasan

Mathematics Educator & Section Leader, Stanford Probability for AI

Nine years teaching advanced mathematics, and now a section leader for Stanford's Probability for AI, chosen from 2,700+ participants across 70 countries. An MPhil in Mathematics researching elliptic-curve cryptography, a top-12% finish at the AI Mathematical Olympiad, an AI tutor built for my own classroom, and PlotLab, where my animations reach 100K+ followers. Every one of them comes from the same belief: careful reasoning gets rewarded, whether it comes from a student or a machine.

01 / About

The short version

Full bio →

I teach undergraduate mathematics at Horizon Degree & Commerce College in Chakwal, Pakistan, and I'm a section leader for Stanford's Probability for AI, where I teach top tech minds, researchers, and working professionals from around the world. My own path went through an MSc in fluid dynamics and an MPhil in Mathematics researching elliptic-curve cryptography, and more recently toward AI systems that can reason mathematically.

I'm currently applying to PhD programs in Data Science, Applied Mathematics, and Statistics. Alongside teaching and research, I run PlotLab, where I build mathematical animations followed by 100K+ people on Facebook and Instagram, plus a YouTube channel, PlotLab Algorithms.

0+ yrsteaching advanced mathematics
0+undergraduate students taught
0K+PlotLab followers
02 / Teaching

In the classroom

Full page →

Nine years lecturing undergraduate mathematics at Horizon Degree & Commerce College, covering Real Analysis, Abstract Algebra, Functional Analysis, Number Theory, and more, using LaTeX-typeset notes and Manim-animated lectures. Now with an international classroom at Stanford too.

2026 · STANFORD PROBABILITY FOR AI

Section Leader

Chosen from 2,700+ participants across 70 countries to teach a section of top tech minds, researchers, and working professionals from the USA, UK, Germany, Portugal, Spain, and India.

MARCH 2017 – PRESENT

Lecturer in Mathematics

Real Analysis, Measure Theory, Abstract Algebra, Functional Analysis, Number Theory, Numerical Analysis, Statistics & ML.

03 / Research & Achievements

Recent work

Full page →
AI MATHEMATICAL OLYMPIAD · PP3

Top 12% globally

Scored 42/50 in Kaggle's AIMO3, ranking 495th out of 4,138 teams, by designing verification-driven prompting for an olympiad-reasoning pipeline.

HARVARD CS50x · PUZZLE DAY 2026

Perfect score, 10/10

Solved every puzzle, including the Metapuzzle, in Harvard's international logic and reasoning competition, which drew participants from 166+ countries.

M.PHIL THESIS · CUST ISLAMABAD

Generalized signcryption

Extended an elliptic-curve signcryption scheme into a generalized construction supporting encryption-only and signature-only modes.

M.SC THESIS · COMSATS ATTOCK

Eyring–Powell fluid flow

Solved the channel-flow equations for a non-Newtonian fluid using the Adomian Decomposition Method.

04 / Animations

Mathematics, animated

Full page →

PlotLab is where I turn abstract mathematics into Manim-built animation, followed by 100K+ people on Facebook and Instagram, with full-length lessons on YouTube and weekly animations for Stanford's Probability for AI.

85K+Facebook 15K+Instagram PlotLab AlgorithmsYouTube
05 / Notes Library

Mathematics notes

Full library →

LaTeX-typeset notes, sorted into folders: Mathematics, Statistics, Stanford's Probability for AI (weekly notes, each paired with an animation video), and IGCSE Math. Free to read and download, with premium animated IGCSE packs.

06 / Blog

Writing

Read blog →

Long-form writing on mathematics, AI reasoning, and teaching, with full LaTeX math support built in.

07 / Work With Me

Let's build something

See how →

Tutoring in mathematics, statistics, cryptography, DSA, and machine learning. Custom Manim-built animations for research, teaching, or anything else. Or something else entirely. Let's talk.

08 / Contact

Let's talk

For teaching, research collaboration, or PhD-related conversations, reach out directly.

sohaibhassan199@gmail.com