* * * This page will be archived in May 2023, after which I am not planning to write any more books. * * *
I used to write math books for fun as a way to consolidate and clarify my quantitative intuition. The goal was to provide deep intuition for the core concepts and connections, along with plenty of practice exercises, while remaining as concise as possible.
A special thanks to Sanjana Kulkarni for her thoughtful suggestions and diligent proofreading of these books.
- 1. Hello World - Some Short Introductory Coding Exercises; Converting Between Binary, Decimal, and Hexadecimal; Recursive Sequences; Simulating Coin Flips; Roulette Wheel Selection; Cartesian Product.
- 2. Searching and Sorting - Brute Force Search with Linear-Encoding Cryptography; Solving Magic Squares via Backtracking; Estimating Roots via Bisection Search and Newton-Raphson Method; Single-Variable Gradient Descent; Multivariable Gradient Descent; Selection, Bubble, Insertion, and Counting Sort; Merge Sort and Quicksort.
- 3. Objects - Basic Matrix Arithmetic; Reduced Row Echelon Form and Applications to Matrix Arithmetic; K-Means Clustering; Tic-Tac-Toe and Connect Four; Euler Estimation; SIR Model for the Spread of Disease; Hodgkin-Huxley Model of Action Potentials in Neurons; Hash Tables; Simplex Method.
- 4. Regression and Classification - Linear, Polynomial, and Multiple Linear Regression via Pseudoinverse; Regressing a Linear Combination of Nonlinear Functions via Pseudoinverse; Power, Exponential, and Logistic Regression via Pseudoinverse; Overfitting, Underfitting, Cross-Validation, and the Bias-Variance Tradeoff; Regression via Gradient Descent; Multiple Regression and Interaction Terms; K-Nearest Neighbors; Naive Bayes.
- 5. Graphs - Breadth-First and Depth-First Traversals; Distance and Shortest Paths in Unweighted Graphs; Dijkstra's Algorithm for Distance and Shortest Paths in Weighted Graphs; Decision Trees; Introduction to Neural Network Regressors; Backpropagation.
- 6. Games - Canonical and Reduced Game Trees for Tic-Tac-Toe; Minimax Strategy; Reduced Search Depth and Heuristic Evaluation for Connect Four; Introduction to Blondie24 and Neuroevolution; Reimplementing Fogel's Tic-Tac-Toe Paper; Reimplementing Blondie24; Reimplementing Blondie24: Convolutional Version.
- 1. Vectors - N-Dimensional Space; Dot Product and Cross Product; Lines and Planes; Span, Subspaces, and Reduction; Elimination as Vector Reduction.
- 2. Volume - N-Dimensional Volume Formula; Volume as the Determinant of a Square Linear System; Shearing, Cramer’s Rule, and Volume by Reduction; Higher-Order Variation of Parameters.
- 3. Matrices - Linear Systems as Transformations of Vectors by Matrices; Matrix Multiplication; Rescaling, Shearing, and the Determinant; Inverse Matrices.
- 4. Eigenspace - Eigenvalues, Eigenvectors, and Diagonalization; Recursive Sequence Formulas via Diagonalization; Generalized Eigenvectors and Jordan Form; Matrix Exponential and Systems of Linear Differential Equations.
- 1. Limits and Derivatives - Evaluating Limits; Limits by Logarithms, Squeeze Theorem, and Euler's Consant; Derivatives and the Difference Quotient; Power Rule; Chain Rule; Properties of Derivatives; Derivatives of Non-Polynomial Functions; Finding Local Extrema; Differentials and Approximation; L'Hôpital's Rule.
- 2. Integrals - Antiderivatives; Finding Area; Substitution; Integration by Parts; Improper Integrals.
- 3. Differential Equations - Separation of Variables; Slope Fields and Euler Approximation; Substitution; Characteristic Polynomial; Undetermined Coefficients; Integrating Factors; Variation of Parameters.
- 4. Series - Geometric Series; Tests for Convergence; Taylor Series; Manipulating Taylor Series; Solving Differential Equations with Taylor Series.
- 1. Linear Equations and Systems - Solving Linear Equations; Slope-Intercept Form; Point-Slope Form; Standard Form; Linear Systems.
- 2. Quadratic Equations - Standard Form; Factoring; Quadratic Formula; Completing the Square; Vertex Form; Quadratic Systems.
- 3. Inequalities - Linear Inequalities in the Number Line; Linear Inequalities in the Plane; Quadratic Inequalities; Systems of Inequalities.
- 4. Polynomials - Standard Form and End Behavior; Zeros; Rational Roots and Synthetic Division; Sketching Graphs.
- 5. Rational Functions - Polynomial Long Division; Horizontal Asymptotes; Vertical Asymptotes; Graphing with Horizontal and Vertical Asymptotes; Graphing with Slant and Polynomial Asymptotes.
- 6. Non-Polynomial Functions - Radical Functions; Exponential and Logarithmic Functions; Absolute Value; Trigonometric Functions; Piecewise Functions.
- 7. Transformations of Functions - Shifts; Rescalings; Reflections; Inverse Functions; Compositions.
Below are some shorter manuscripts that I feel are interesting enough to share.
Graphing Calculator Drawing Exercises (2019)
- 1. Lines - Horizontal and Vertical Lines; Slanted Lines; Absolute Value.
- 2. Open Curves - Parabolas; Sine Waves; Roots.
- 3. Closed Curves - Shading with Sine; Euclidean Ellipses, Non-Euclidean Ellipses.
- 4. Trigonometry - Rotation; Lissajous Curves; Composition Waves and Implicit Trig Patterns.
Intuiting Predictive Algorithms (2018)
Naive Bayes; MAP and MLE; Linear Regression; Support Vector Machines; Neural Networks; Decision Trees; Ensemble Models.
The Data Scientist's Guide to Topological Data Analysis (2017)
- 1. Mapper - Algorithm; Software; Use-Cases.
- 2. Persistent Homology - Homotopy; Approximation; Homology; Persistence; Software.
The Physics Behind an Egg Drop: A Lively Story (2014)
Velocity; Momentum; Changes in Momentum; Force; Pressure; Troll Egg Drop.