π Math for Computing
Linear algebra, probability, numerics. 51 topics, from beginner to advanced.
Mathematics is the language of computing. This area covers linear algebra, probability and statistics, numerical methods and the precision limits of floating-point arithmetic. These tools power graphics, machine learning, simulation and data analysis, and they explain why some computed results are only approximately right.
Who this area is for
Students who need the mathematics behind algorithms, machine learning and graphics, and programmers who want a refresher before a technical course.
Real-world use cases
- Rotating and scaling 3D objects with matrix multiplication.
- Estimating the uncertainty of an A/B test result with probability.
- Recognizing why summing many floating-point numbers can drift from the exact answer.
- Using a confidence interval to decide whether an A/B test result is real or noise.
- Solving a small linear system to balance flows in a network.
Topics in Math for Computing
Beginner (17)
- Number Systems β Naturals, integers, rationals and reals.
- Algebra Review β Manipulating expressions and solving equations.
- Exponents and Logarithms β Powers and their inverses, central to complexity.
- Summations and Series β Adding sequences of terms.
- Functions and Graphs β Visualizing relationships between quantities.
- Vectors β Quantities with magnitude and direction.
- Dot Product β Scalar measuring alignment between two vectors.
- Matrices β Rectangular arrays representing linear maps.
- Matrix Multiplication β Combining matrices by row-column products.
- Determinants β Scalar indicating invertibility and volume scaling.
- Probability Basics β Measuring the likelihood of events.
- Random Variables β Numeric outcomes of random processes.
- Expected Value β Probability-weighted average outcome.
- Mean, Median and Mode β Common measures of central tendency.
- Variance and Standard Deviation β Measures of spread around the mean.
- Combinatorial Probability β Computing odds using counting.
- Conditional Probability β Probability of an event given another occurred.
Intermediate (17)
- Bayes' Theorem β Updating beliefs using evidence.
- Probability Distributions β Functions describing how values are spread.
- Normal Distribution β Bell-shaped distribution common in nature.
- Binomial and Poisson Distributions β Models for counts of successes and rare events.
- Law of Large Numbers β Sample averages converge to expectation.
- Central Limit Theorem β Sums of many variables tend toward the bell curve.
- Hypothesis Testing β Deciding whether data contradict a claim.
- Confidence Intervals β Ranges likely containing a true parameter.
- Linear Systems β Sets of linear equations solved together.
- Gaussian Elimination β Row operations solving linear systems.
- Eigenvalues and Eigenvectors β Directions a matrix only stretches.
- Singular Value Decomposition β Factorization revealing matrix structure.
- Orthogonality and Projections β Perpendicular vectors and closest-point maps.
- Derivatives β Rate of change of a function.
- Partial Derivatives and Gradients β Multivariable slopes pointing uphill.
- Integrals β Accumulated area under a curve.
- Taylor Series β Approximating functions by polynomials.
Advanced (17)
- Optimization β Finding inputs minimizing or maximizing a function.
- Convex Optimization β Optimizing convex functions with guaranteed global optima.
- Lagrange Multipliers β Optimizing subject to equality constraints.
- Linear Programming β Optimizing a linear objective under linear constraints.
- Simplex Method β Classic algorithm for linear programs.
- Numerical Methods β Approximate computation of mathematical problems.
- Floating Point Error β Rounding and precision limits in machine arithmetic.
- Root Finding β Methods like Newton's to solve f(x)=0.
- Numerical Integration β Approximating integrals by sampling.
- Interpolation β Estimating values between known points.
- Markov Chains β Processes where the next state depends only on the current one.
- Monte Carlo Methods β Estimating quantities by random sampling.
- Stochastic Processes β Collections of random variables evolving over time.
- Maximum Likelihood Estimation β Choosing parameters that make data most probable.
- Bayesian Inference β Updating parameter distributions with data.
- Information Entropy Math β Entropy and KL divergence formulas.
- Fourier and Laplace Transforms β Transforms converting signals between domains.
How to study Math for Computing
Do the calculations by hand first, then check them with a short program. Connect each concept to a computing use, such as using matrices for transforms or probability for randomized algorithms.
Frequently asked questions
How much math do I need for computer science?
Why is 0.1 + 0.2 not exactly 0.3 in code?
What is a matrix used for in programming?
Which math topic matters most for programming?
Can I skip the proofs and still apply the math?
Open the interactive Math for Computing area Take the Math for Computing quiz
Other areas
- π» Programming Fundamentals
- π§± Data Structures
- βοΈ Algorithms
- π Computer Architecture & Logic
- π₯οΈ Operating Systems
- π Computer Networks
- ποΈ Databases
- ποΈ Software Engineering
- πΈοΈ Web Development
- π Security & Cryptography
- β Theory & Discrete Math
- 𧬠Languages & Compilers
- π€ AI & Machine Learning
- βοΈ Distributed Systems & Cloud
- π¨ Graphics, Vision & Media
- π Concurrency & Parallelism
- π± Mobile, Embedded & IoT
- π οΈ DevOps & Tooling
- π Emerging & Frontier Topics