About WideMargin
WideMargin is a set of beautiful, interactive textbooks for undergraduate pure math, and we’re making them self-improving. The first one is a full course in abstract algebra, and more are on the way.
Our philosophy
Most math resources are hard to learn from
A PDF of a textbook is a printed page on a screen. You can’t open a proof halfway, try an example with your own numbers, or find out why your answer to an exercise was wrong. Definitions and theorems sit in long paragraphs that you have to pick apart yourself, and a subject as visual as group actions might get two diagrams in a whole chapter.
Textbooks assume you’re taking the course
Most upper-level textbooks are written to go with a lecture course. The author expects an instructor to explain why a definition is set up the way it is, to fill in the steps marked “clearly,” and to pick which of the forty exercises to do. If you’re studying on your own, nobody does those things for you. It’s a big reason so many people give up on teaching themselves algebra or analysis.
Chatbots answer questions, one at a time
AI models are good at explaining a single idea. Ask one for a full course in abstract algebra and you get a sketch: results used before they’re proved, proofs with gaps, and nothing checked. We think AI can do far better as part of a larger process, so we built one. Our pipeline uses AI behind the scenes at every stage of making a book, from planning the curriculum to designing the pages and interactive figures.
Books that improve with use
A book made this way can also be revised this way. We’re building books that take in what readers report, like a step that lost them or a mistake they found, and get rewritten and rechecked. A printed textbook gets a new edition every few years. Ours will keep improving, and the more people read one, the faster it will improve. As far as we know, no textbook has had network effects before.
What we do about it
Each result gets its own space
Every definition and theorem is set apart from the text around it. Under it is a row of tabs for the proof, examples, practice questions and background. The statement stays on screen while you read the proof, so you can check a hypothesis without scrolling back. Proofs start with a sentence or two on the main idea. Worked examples have figures you can step through, and a practice question you get wrong tells you why. More on what’s on a page.
Written for someone studying alone
We don’t skip steps. A script checks the whole book so that no result is used before it’s proved. Each chapter opens with a problem you can try on paper, and its last page solves it. Exercises have hints and full solutions, and you can type or handwrite a proof in the answer box and get comments on the lines you wrote. If you’re still stuck, the reading assistant will answer questions about the page you’re on.
Many small AI steps, each checked
The pipeline splits the work into stages. First comes a plan: who the book is for and what it builds up to, compared against standard textbooks and university syllabi. Next, every definition and theorem goes into a map along with the results it depends on. Pages are written from that map, and a separate reviewer checks each one. A person signs off on the plan, the map and the first chapter, and anything that hasn’t been reviewed yet is marked on the page. More on how the books are made.
Feedback changes the page
A book’s structure lives in its map, so one page can be rewritten and checked again without disturbing the rest. When a reader flags a confusing step or an error, the fix goes through the same writing and review as the original page, and everyone who reads it afterward gets the corrected version.
The name
Around 1637, Pierre de Fermat wrote in his copy of Diophantus’ Arithmetica that he had a marvelous proof of a theorem, but the margin was too small to hold it.
Nobody ever found his proof, if there was one. Andrew Wiles proved the theorem in 1994, and his paper runs to over a hundred pages.
The site is named after that margin. Our books don’t skip steps to save space.
What’s on a page
Tabs
Under each theorem there’s a row of tabs for the proof, examples, practice and background. The statement stays on screen, so you can check the hypotheses while you read.
Proofs
Each proof opens with a sentence or two on the main idea, then goes step by step. You can collapse it to just the steps if you want the outline.
Chapter questions
Every chapter starts with a problem you can try on paper. The last page of the chapter solves it.
Practice
Get a practice question wrong and it tells you why. Every exercise has an answer box: type or handwrite your proof, and get feedback on your own lines.
How the books are made
Planning
We decide who a book is for and what it should build up to, then check that against the usual textbooks and university courses.
Mapping
Every definition and theorem goes into a map along with the results it relies on. A script checks the map, so nothing is used before it’s proved. The chapter and theorem numbers come from it too.
Writing and review
Pages are written from the map and then reviewed separately. Anything that hasn’t been reviewed yet is labeled on the page.
Improving
We’re working on making the books self-improving, so they get better the more they’re read.
Some numbers
Introduction to Modern Algebra
- chapters
- 16
- pages
- 77
- definitions, theorems and examples
- 311
- items reviewed
- 459
710 problems were flagged in review, 20 of them real mathematical mistakes. 10 are still open.
As of the last update to this site.