Show HN: Exploring Mathematics with Python

(psu.ac.th)

131 points | by Andrew2565 5 days ago

8 comments

  • Andrew2565 3 hours ago
    Joint author here.

    I plan to upload the entire book as a single PDF when I finish the next chapter (on the cycloid). That will probably be early next week.

    I used the original book by Arthur Engel for many years. He was an inspirational teacher.

    The MAA tried very hard to publish the book, but I kept adding new material, and a text consisting of math 'selections' rather than a single theme is a hard sell in today's publishing environment.

    • gostsamo 2 hours ago
      For accessibility reasons, is it possible to have the chapters in html form as well? I don't know if it is possible to have the source code of the book, but it is also an option.
  • magmostafa 43 minutes ago
    This is an excellent resource for building mathematical intuition through code. Python's combination of readable syntax and powerful libraries (NumPy, SymPy, Matplotlib) makes it ideal for exploring concepts like linear algebra, calculus, and discrete math interactively.

    One approach I've found effective: start with a conjecture, visualize it with matplotlib, then prove it formally. The instant feedback loop helps develop both computational thinking and mathematical rigor. Tools like Jupyter notebooks make this workflow seamless.

    For anyone interested in similar resources, "Mathematics for Machine Learning" by Deisenroth et al. and 3Blue1Brown's linear algebra series complement this beautifully by bridging theory and computation.

  • net_rando 1 hour ago
    Random thoughts:

    - Seems great. Added to the backlog :)

    - No colors in PDF illustrations. Is it a deliberate choice?

    - > The first six chapters (and Appendix A) are essentially that book, but with the programming language changed to Python, some rewording, reformatting in Latex, and a few additions.

      Try [typst](https://typst.app/) as an alternative to Latex.
  • efavdb 7 hours ago
    Looks like a treasure trove of knowledge.

    I just recently went to the exploratorium in SF and saw an exhibit there suggesting that the catenary made a good arch, so browsed that chapter and saw a bit of explanation here which helped. Was also interested to see that Jefferson played some part in the history here.

  • zkmon 3 hours ago
    It is painful to imagine how these fantastic works will be not be read by humans in future, as AI would digest all this and provide just-in-time code for humans.
    • T-A 2 hours ago
      The kind of people who read books like this will keep reading them no matter what AI does. The kind of people who won't are already using code written and packaged as convenient libraries by others.
  • urutom 6 hours ago
    I own the original Exploring Mathematics with Your Computer(Turbo Pascal version). It’s an excellent introduction to algorithms for people coming from a mathematics background. Really happy to see it revived in Python.
  • rramadass 6 hours ago
    Very Nice!

    However, I don't see the entire book as a single pdf?

    • fnord77 5 hours ago
      I downloaded each chapter and combined them so I could read it in apple books on my ipad

          pdfunite $(ls -tr) "Exploring Mathematics with Python".pdf
  • fnord77 5 hours ago
    Very nice. I was looking for something fun to work on over the break. Thank you for this.

    > Unfortunately, after lengthy discussions with the MAA, my hopes of publishing this (rather large) expansion have proved impossible, and so I've decided to put it online, hopefully to be of use to others.

    Too bad