For the last four years I’ve been working on a book for programmers who want to learn mathematics. It’s finally done, and you can buy it today.
The website for the book is pimbook.org, which has purchase links—paperback and ebook—and a preview of the first pages. You can see more snippets later in the book on the Amazon listing’s “Look Inside” feature.
If you’re a programmer who wants to learn math, this book is written specifically for you! Why? Because programming and math are naturally complementary, and programmers have a leg up in learning math. Many of the underlying modes of thought in mathematics are present in programming, or are otherwise easy to explain by analogies and contrasts to familiar concepts in software. I leverage that in the book so that you can internalize the insights quickly, and appreciate the nuance more deeply than most books can allow. This book is a bridge from the world of programming to the world of math from the mathematician’s perspective. As far as I know, no other book provides this.
Programs make math more interesting and applicable than otherwise. Typical math writers often hold computation and algorithms at a healthy distance. Not us. We embrace computation as a prize and a principle worth fighting for. Each chapter of the book culminates in an exciting program that applies the mathematical insights from the chapter to an interesting application. The applications include cryptographic schemes, machine learning, drawing hyperbolic tessellations, and a Nobel-prize winning algorithm from economics.
The exercises of the book also push you beyond the book itself. There’s so much math out there that you can’t learn it from a single book. Perspectives and elaborations are spread throughout books, papers, blog posts, wikis, lecture notes, math magazines, and your own scratch paper. This book will prepare you to read a variety of sources by introducing you to the standard language of math, and also push you to engage with those resources.
Finally, this book includes a healthy dose of culture. Quotes and passages from the writings of famous mathematicians, contextual explanations of cultural attitudes, and a light dose of history will provide a peek into why mathematics is the way it is today, and why at times it can seem so confounding to an outsider. Through all this, I will show what progress means for math, what attitudes and patterns will help you along the way, and how to stay sane.
Of course, I couldn’t have written the book without the encouragement and support of you, my readers. Thank you for reading, commenting, and supporting me all these years.
Order the book today! I can’t wait to hear what you think
It’s great to see that the book is finally published! Congratulations on pushing through.
LikeLike
Congratulations. Do you have plans to publish on Kindle or epub? These formats allow me to crank up the font size and read on my iPad without glasses.
LikeLike
I don’t have plans for this yet. I have to explore how Kindle will actually format the book. In my experience nobody gets math typesetting right, and most of the resources I looked into for “epub with math” couldn’t even get basic examples to format correctly. This is also difficult because I don’t own a kindle >_<
So for now, no, sorry
LikeLike
I just bought the book. It looks really exciting—and I’m always happy to support a fellow author!
BTW, I definitely think it’s worth making a Kindle version available if it’s not too much work.
It’s much better experience on a mobile device than a PDF. You don’t need to own a Kindle device to test it. You can use the Kindle app, which is available for free on all major platforms in their various app stores (e.g. Apple App Store, Google Play, Windows Store, etc.). There are various options for supporting math in Kindle (e.g. https://tex.stackexchange.com/questions/16735/latex-options-for-kindle).
LikeLiked by 1 person
I’m concerned about the formulas, tables, and some figures being inlined in the text. But I will take a look.
LikeLike
Bought it – thank you for all the work! It looks excellent.
I do also wish there was an epub format version. Or, barring that, a larger text size PDF. The text is really tiny when you’re middle-aged…
LikeLiked by 1 person
Just the book I was looking for! Question, is there an accompanying solutions manual to the book?
LikeLike
No solutions, sadly, but maybe that would be a good idea for a GitHub repo associated with the book…
LikeLike
I made https://github.com/pim-book/exercises as a starting point. Questions or suggestions for solutions can go in github issues until I figure something out for a long term solution.
LikeLike
Wow! This looks great, I’ve always wanted to see a book like this — I’m excited to read the chapter on groups. And I like the idea of explaining math culture as well.
LikeLike
Reblogged this on josephdung.
LikeLike
Absolutely Fantastic! Just bought it. Looking forward to reading this!
LikeLike
So excited for this. This is what I have been waiting for
LikeLike
Jeremy, I tried to order via PayPal and they require confirmation to “make automatic payments” to Gumroad. I haven’t seen that before. Can I pay you directly? Or should I not be concerned?
LikeLike
I haven’t heard any complaints from the few hundred people who bought the ebook on Gumroad thus far, and I chose Gumroad because a colleague of mine used it successfully to publish a few ebooks. I wouldn’t be concerned, but if you still are, shoot me an email at mathintersectprogramming@gmail.com and we can do a direct exchange.
LikeLike
No worries! I went ahead and ordered via GumRoads. Nicest intro to math I’ve ever seen! Great work!
I wish you much success.
Sincere Thanks,
Dave Huber
LikeLike
Is your book a 100% original work, or does it contain plagiarism?
LikeLike
Sample pages made no sense. There’s no math there. It’s hard to decide whether I want to buy this book.
LikeLike
The Amazon Look Inside preview has more pages, and the sample on my website has the first technical chapter.
LikeLike
Are there any mathematical prerequisites?
LikeLike
See the sibling comment to Nik’s question. (tldr: no, not really)
LikeLike
What are the pre reqs and can we see the TOC? I’ve forgotten whatever little math, or for that matter any CS theory, I knew, so it’ll be super helpful to know those.
LikeLike
The website (pimbook.org) has the first 45 pages, and the Amazon Look Inside preview has more.
Generally, if you have a serious phobia of equations and anything that sounds like math, the book is not for you. If you made it through a calculus course some time in the past (derivative rings a bell, something something rate of change), then I think you’re just the right target audience. The book contains little in the way of CS theory proper (no Turing machines, some informal discussions of complexity just for fun and variety).
That being said, the book does have a ramp. The first three technical chapters are (in my view) gradual and accessible, and then it ramps up. By the end, I think there is not that much difference between what I’m writing and what you’d see in a typical math undergraduate text, in terms of difficulty.
LikeLike
Looks very interesting. Do the code samples work on windows?
LikeLike
The code samples work in a python virtual environment, which should work fine on Windows.
LikeLike
Fantastic achievement. I am excited by this book. I have to vote strongly in the e-reader version camp. PDFs are ostensibly a electronic piece of paper, ebook formats allow for text reflow and readability. A good start would be to change the text from ebook to PDF for gumroad. This caught me off guard. Otherwise I am really looking forward to this book. Thank you
LikeLike
since a famous AI Independent media introduced your website and book, there is still a lot of developers and researchers are eager to read your book in china. But we can not buy the physical book from amazon and we are not convenient to buy the online version..
LikeLike
I’ve been reading through it, and looking at/working on the exercises. A question: Are all the exercises meant to be more or less readily solvable by the intended target readers, or are some meant more to provoke you to work on it to better understand the problem, and go look for more information on your own?
LikeLike
I’ve been going through the book bit by bit (this is really good). A question about the exercises: are they all meant to be solvable by the intended target readership; or are some meant more to provoke you to work on them to understand the problem better, and to go look for more information on your own?
LikeLike
I meant for the first few exercises to be doable, and the later exercises to be explorations outside the book.
LikeLike
I was very glad to see the book was finally out, and bought it right away – and then was a bit sad to realise I’d bought a .pdf. To be honest, I would have bought it anyway, but I echo some of your other commentors in urging to do a version Kindle or epub version. Being able to control the font size would make a world of difference to me.
LikeLike
Hello Jeremy, I’ve just ordered the printed edition of your book. I took a look at the PDF versions as well, it looks like it’s 20$. Is there any discount available for people that got the printed edition as well (if there’s any kind of discount code printed inside, disregard this comment, I’m still waiting for it to be delivered). Thanks!
LikeLike
Shoot me an email at mathintersectprogramming@gmail.com
LikeLike