---
title: "Westlake University's Free RL Textbook Hits 14,000 Stars by Fixing Math Nobody Taught"
subtitle: "Shiyu Zhao's free, math-first RL textbook hits 16K GitHub stars and 2.1M video views, making it the clearest on-ramp to reinforcement learning theory"
url: "https://alphasignal.ai/news/westlake-university-s-free-rl-textbook-hits-14-000-stars-by-fixing-math-nobody"
author: "AlphaSignal Newsroom"
author_url: "https://alphasignal.ai/editorial-team"
company: "AlphaSignal"
company_url: "https://alphasignal.ai/company/alphasignal"
published: "2026-05-26T11:38:24.000Z"
updated: "2026-07-09T01:12:35.712Z"
type: "Repo"
topics:
  - "Reasoning"
  - "Open Source"
subtopics:
  - "Math Reasoning"
upvotes: 184
source_url: "https://github.com/MathFoundationRL/Book-Mathematical-Foundation-of-Reinforcement-Learning"
comments: 0
truncated: true
---

# Westlake University's Free RL Textbook Hits 14,000 Stars by Fixing Math Nobody Taught

> Shiyu Zhao's free, math-first RL textbook hits 16K GitHub stars and 2.1M video views, making it the clearest on-ramp to reinforcement learning theory

Reinforcement learning has a textbook problem. Sutton & Barto's classic is thorough but sprawling at 500+ pages. Most online courses skip the math entirely and jump straight to code. [Mathematical Foundations of Reinforcement Learning](https://github.com/MathFoundationRL/Book-Mathematical-Foundation-of-Reinforcement-Learning) by Shiyu Zhao threads the needle: a tight, 275-page treatment that builds every algorithm from first principles without losing the reader in abstraction.

The book has quietly become one of the most-starred educational resources in the AI space. The lecture videos accompanying the book have received over 2,100,000 views across the internet. The textbook has sold over 15,000 copies, with its GitHub repository receiving over 14,000 stars. That kind of traction for a math-heavy RL textbook is unusual, and it signals something real about the gap it fills.

## Who built it and why

Shiyu Zhao is an Associate Professor and Director of the Intelligent Unmanned Systems Laboratory in the School of Engineering at Westlake University, Hangzhou, China. He has been teaching a graduate-level course on reinforcement learning since 2019, and prepared this book as the lecture notes for his students. The result is a textbook that reads like a well-organized course rather than a reference manual.

Before joining Westlake University in 2019, he was a Lecturer in the Department of Automatic Control and Systems Engineering at the University of Sheffield, UK. His background in control systems shows in the book's structure: it is precise, sequential, and obsessed with explaining

_Preview only. Full text requires an AlphaSignal Pro account._

## Sources

- [GitHub - MathFoundationRL/Book-Mathematical-Foundation-of-Reinforcement-Learning](https://github.com/MathFoundationRL/Book-Mathematical-Foundation-of-Reinforcement-Learning)
- [Mathematical Foundations of Reinforcement Learning - Amazon](https://www.amazon.com/Mathematical-Foundations-Reinforcement-Learning-Shiyu/dp/9819739438)
- [Mathematical Foundations of Reinforcement Learning - Springer](https://link.springer.com/book/10.1007/978-981-97-3944-8)
- [Shiyu Zhao's Homepage](https://www.shiyuzhao.net/)
- [Top Reinforcement Learning Textbooks: Sutton & Barto vs Alternatives](https://medium.com/@digitalconsumer777/top-reinforcement-learning-textbooks-sutton-barto-vs-alternatives-c0cf5db29efe)
