Linear Algebra for Programmers with Python in 21 Days: A Hands-On Course in Vectors, Matrices, Elimination, Decompositions, Least Squares, Eigenvalues
Paperback
Series: Learn Programming in 21 Days
AlgebraGeneral MathematicsProgramming
Publisher: Independently Published
Published: Sep 13 2026
Pages: 440
Weight: 1.66
Height: 0.89 Width: 7.50 Depth: 9.25
Language: English
Day 3 - Matrices as Transformations: the matrix-vector product as rotation, scaling, and shear.
Day 4 - Matrix Multiplication and What It Costs: loop orders, naive versus NumPy, timed.
Day 5 - Solving Ax = b by Elimination: forward elimination and back substitution, coded.
Day 6 - Pivoting, Failure, and the First Warning Signs: partial pivoting and near-singularity.
Day 7 - LU Factorization: PA = LU, solving with a factorization, and the determinant from U.
Day 8 - Inverses, Determinants, and Why You Rarely Want Either: cost and accuracy, measured.
Day 9 - Vector Spaces, Span, and Independence: basis, dimension, and the column space.
Day 10 - The Four Fundamental Subspaces: the null space, and rank-nullity verified numerically.
Day 11 - Norms, Conditioning, and What Floating Point Does: the condition number and the Hilbert matrix.
Day 12 - Orthogonality and Projection: the projection matrix and Gram-Schmidt's measured failure.
Day 13 - QR Factorization: Householder reflectors, and QR's cost measured against LU.
Day 14 - Least Squares: the normal equations, least squares by QR, and polynomial fitting.
Day 15 - Eigenvalues and Eigenvectors: power iteration and the Rayleigh quotient, coded.
Day 16 - Diagonalization, Powers, and Markov Chains: A to the k, and a stationary distribution.
Day 17 - Symmetric Matrices, the Spectral Theorem, and Cholesky: positive-definite tests, timed.
Day 18 - How a Real Eigenvalue Solver Works: the unshifted QR algorithm and Hessenberg reduction.
Day 19 - The Singular Value Decomposition: rotate, stretch, rotate, and the pseudoinverse.
Day 20 - Low-Rank Approximation: Eckart-Young, image compression, and PCA from the SVD.
Day 21 - Sparse Matrices, Iterative Solvers, and the Capstone: CSR storage and conjugate gradient. WHO IT IS FOR. Developers who already write Python and have used NumPy once, whether they never took a linear algebra course or took one and came out able to invert a 3x3 matrix by hand without knowing what that was for. No prior linear algebra is assumed; every idea is built from arithmetic you can check by hand first. You need no machine learning background and no GPU; every routine here runs on a laptop CPU. Download book source code from: {GitHub}/{mohammadnsaqib} 438 pages, black and white, checked against NumPy and LAPACK throughout.
Also from
Saqib, Mohammad
Building AI Agents in 21 Days: A Hands-On Course in Agentic Systems with Python and LLMs
Saqib, Mohammad
Paperback
C23 Programming in 14 Days: Master Modern C and Systems Programming Through Daily Drills
Saqib, Mohammad
Paperback
Bash 5.3 Programming in 14 Days: Master Defensive Shell Scripting for Sysadmin Automation through Daily Drills
Saqib, Mohammad
Paperback
Fortran 2023 Programming in 14 Days: Master High-Performance Scientific Computing Through Daily Drills
Saqib, Mohammad
Paperback
Also in
Algebra
Regents Exams and Answers: Algebra I, Fifth Edition, (Barron's New York Regents)
Rubinstein, Gary M.
Paperback
Let's Review Regents: Algebra I, Fifth Edition (Barron's New York Regents)
Rubinstein, Gary M.
Paperback
Regents Exams and Answers: Algebra II, Fifth Edition (Barron's New York Regents)
Rubinstein, Gary Michael
Paperback
Pre Algebra Doodle Notes: a complete course of brain-based interactive guided visual notes for Middle School Math Concepts
Danziger, Brigid
Giraffe, Math
Paperback
Let's Review Regents: Algebra II, Fifth Edition (Barron's New York Regents)
Rubenstein, Gary M., M. S.
Paperback
Mechanical Engineering for Makers: A Hands-On Guide to Designing and Making Physical Things
Najia, Samer
Bunnell, Brian
Paperback
6th and 7th Grade Math Workbook: Math Practice Book for Grade 6 and 7 [New Edition Includes 900] Practice Questions]
Apex Test Prep
Paperback
Summit Math Algebra 1 Book 5: Factoring Polynomials and Solving Quadratic Equations
Joujan, Alex
Paperback
Basic Math & Pre-Algebra: 1001 Practice Problems for Dummies (+ Free Online Practice)
Zegarelli, Mark
Paperback
Mathematical Foundations of Quantum Computing: A Scaffolding Approach
Lee, Peter
Yu, James
Cheng, Ran
Hardcover
Basic Math Refresher for Adults - A Math Workbook with Practice Problems and Online Video Tutorials: [2nd Edition]
Bowling, Matthew
Paperback
Math Fundamentals 2 - Algebra: For Middle School - A Quickstudy Laminated Reference Guide
Wright, Susan
LLC
Warren, Peggy
Other
HSPT Full Prep Book for Catholic High Schools: Be ready and fearless! Detailed answer explanations
Johnson, Henry N.
Paperback
Math for Programmers: 3D Graphics, Machine Learning, and Simulations with Python
Orland, Paul
Paperback
Dilation and Model Theory for Pairs of Commuting Contraction Operators
Sau, Haripada
Ball, Joseph A.
Hardcover
Elementary Mathematics from an Advanced Standpoint: Arithmetic, Algebra, Analysis
Klein, Felix
Paperback
Mathematics: Its Content, Methods and Meaning
Lavrent'ev, M. a.
Aleksandrov, A. D.
Kolmogorov, A. N.
Paperback
Ideals, Varieties, and Algorithms: An Introduction to Computational Algebraic Geometry and Commutative Algebra
Little, John
O'Shea, Donal
Cox, David A.
Hardcover
Learn Calculus with Python: A Hands-On Introduction to Real-World Modeling and Simulation
McIntyre, Nick
Paperback
Pre-Algebra for Beginners: The Ultimate Step by Step Guide to Preparing for the Pre-Algebra Test
Nazari, Reza
Paperback
Mathematics for the IB Diploma: Analysis and Approaches SL: Hodder Education Group
Fannon, Paul
Ward, Stephen
Paperback
Radical Equations: Civil Rights from Mississippi to the Algebra Project
Cobb, Charles E.
Moses, Robert
Paperback
Math Geek: From Klein Bottles to Chaos Theory, a Guide to the Nerdiest Math Facts, Theorems, and Equations
Rosen, Raphael
Paperback
4th Grade Math Workbook: 1500+ Practice Questions for Daily Exercise [Math Workbooks Grade 4]
Apex Test Prep
Paperback
Mathematical Foundations of Quantum Computing: A Scaffolding Approach
Lee, Peter
Yu, James
Cheng, Ran
Paperback
Algebra II: 1001 Practice Problems for Dummies (+ Free Online Practice)
Sterling, Mary Jane
Paperback
Introduction to Applied Linear Algebra: Vectors, Matrices, and Least Squares
Boyd, Stephen
Vandenberghe, Lieven
Hardcover
No-Nonsense Algebra, 2nd Edition: Part of the Mastering Essential Math Skills Series
Fisher, Richard W.
Paperback
Algebraic Theory of Numbers: Translated from the French by Allan J. Silberger
Samuel, Pierre
Paperback
ACCUPLACER Math Prep: ACCUPLACER Math Test Study Guide with Two Practice Tests [Includes Detailed Answer Explanations]
Tpb Publishing
Paperback
Topics in Number Theory, Volumes I and II
Leveque, William Judson
Leveque, William J.
Mathematics
Paperback
Basic Mathematics for Adult Beginners: An Easy Math Refresher Guide for Adults Restarting Their Education Journey
E. Thompson, Charles
Paperback
