Cursarium logoCursarium
intermediateFree

Linear Algebra

by Gilbert Strang · MIT OpenCourseWare

4.9
(5,200 reviews)
500K+ enrolled14 weeksUpdated 2023-06

Our Verdict

Worth it — with caveats

MIT 18.06 Linear Algebra (OCW, Spring 2010 listing), taught by Professor Gilbert Strang, is widely regarded as the single best free resource for learning the linear algebra that underpins machine learning, and it earns that reputation: the lectures move from matrix elimination to the Singular Value Decomposition with unusual clarity, and the OCW package includes 34 full lecture videos, problem sets with solutions, and past exams with solutions (the companion 18.06SC 'OCW Scholar' listing adds 36 short TA-led problem-solving videos). It is completely free and openly Creative-Commons licensed with no signup, but MIT OpenCourseWare offers no certificate, no grading, and no instructor support for self-learners. The course is genuinely rigorous undergraduate material (prerequisite: multivariable calculus, 18.02), not a quick ML-math primer, and several lectures near the end lean on differential equations (18.03) that the listed prerequisites under-disclose. It is the right pick if you want deep conceptual mastery and are willing to self-discipline; it is the wrong pick if you want a fast, applied, ML-specific path with a shareable credential.

Outstanding, free, authoritative teaching of the exact math ML depends on, but it is full undergraduate rigor with no certificate, no support, and no ML-specific framing, so it fits self-disciplined learners who want depth rather than people who need a fast applied credential.

Best for: Self-motivated learners who want a deep, durable understanding of linear algebra for machine learning, data science, or engineering, and who are comfortable studying from video lectures and problem sets without grading or support. Ideal for CS/ML students filling a math gap, self-taught practitioners who keep hitting eigenvalues/SVD/PCA without intuition, and anyone preparing for graduate-level ML courses (e.g. Stanford CS229) that assume this material.

Skip if: People who want a short, applied, ML-only crash course, a structured cohort with deadlines, or a shareable certificate. Also not ideal for true beginners weak in algebra/calculus (multivariable calculus is assumed), or for anyone who needs hands-on coding labs rather than chalkboard proofs and intuition (the course uses MATLAB only lightly on some problem sets).

About This Course

MIT's classic linear algebra course covering vector spaces, matrix operations, eigenvalues, and SVD — essential math for ML.

What You'll Learn

Solving systems of linear equations by elimination and LU factorization
Vector spaces, the four fundamental subspaces (column space, nullspace, row space, left nullspace), rank, and complete solutions to Ax = b
Bases, dimension, orthogonality, projections, and least-squares fitting
Gram-Schmidt orthogonalization and QR factorization
Determinants, eigenvalues, and eigenvectors, including diagonalization
Symmetric and positive-definite matrices and the Singular Value Decomposition (SVD) — the foundation of PCA and dimensionality reduction in ML
Applied topics including Markov matrices, networks, Fourier transforms, and linear transformations

Curriculum

Elimination and factorization (Ax = b)

Solving linear systems by elimination, matrix operations, and LU factorization.

Vector spaces and the four subspaces

Column space, nullspace, rank, complete solutions, bases and dimension.

Orthogonality, projections, and least squares

Orthogonal subspaces, projection matrices, least-squares fitting, Gram-Schmidt and QR.

Determinants

Properties of determinants, cofactors, and formulas for inverses and volumes.

Eigenvalues and eigenvectors

Diagonalization, powers of matrices, and applications to difference and differential equations.

Symmetric, positive-definite matrices, and SVD

Spectral theorem, positive-definiteness, similar matrices, and the Singular Value Decomposition.

Applications

Markov matrices, networks/graphs, Fourier series, linear transformations, and a left/right introduction to numerical and applied topics.

Prerequisites

  • Multivariable Calculus (MIT 18.02) is the listed prerequisite
  • Comfort with algebra and mathematical notation/proof-style reasoning
  • Differential Equations (18.03) is effectively needed for the later lectures (~lecture 23 onward), though it is not clearly listed as a prerequisite
  • Optional: basic MATLAB for a few problem sets (no prior experience required)

Instructor

Gilbert Strang

Instructor · MIT OpenCourseWare

Pros & Cons

Pros

  • Exceptional, intuition-first teaching by Gilbert Strang — lectures explain the 'why' behind vector spaces, eigenvalues, and SVD and are repeatedly described by learners as so clear concepts 'just click'
  • Complete free package: 34 full lecture videos, problem sets WITH solutions, and past exams with solutions, all openly Creative-Commons licensed (the companion 18.06SC 'OCW Scholar' version adds 36 short TA-led problem-solving videos)
  • Covers exactly the linear algebra ML needs (rank, projections, eigenvalues, positive-definite matrices, and SVD/PCA) with genuine mathematical depth, not surface-level formulas
  • Battle-tested and trusted: one of the most popular courses ever on MIT OpenCourseWare with 20M+ video views and consistently top-rated learner sentiment
  • Pairs cleanly with Strang's textbook 'Introduction to Linear Algebra', giving a coherent video-plus-book study path for self-learners

Cons

  • No certificate, no credit, no grading, and no instructor/community support — MIT OCW explicitly offers no credential, so it carries no signaling value on a resume
  • Prerequisites are under-disclosed: later lectures (around lecture 23) rely on differential equations (18.03) that are not clearly listed, forcing self-learners to fill gaps elsewhere
  • Not ML-specific or hands-on — it is chalkboard-and-proof undergraduate math with only light MATLAB; there are no Python/NumPy coding labs or direct ML projects
  • The lectures were recorded live in Fall 1999 (despite the 'Spring 2010' OCW listing) and are dated in production, and in the companion 18.06SC version the TA-led problem-solving videos occasionally reference concepts before the lectures introduce them, which can confuse beginners

Alternatives To Consider

Frequently Asked Questions

Is Linear Algebra free?

Yes — Linear Algebra is free to access. Completely free and openly Creative-Commons licensed, with no enrollment or account required. There is no paid tier and no certificate. The only optional cost is Strang's textbook 'Introduction to Linear Algebra' (4th/5th ed.), which is recommended but not required since lecture notes and problem-set solutions are provided.

Who is Linear Algebra for?

Self-motivated learners who want a deep, durable understanding of linear algebra for machine learning, data science, or engineering, and who are comfortable studying from video lectures and problem sets without grading or support. Ideal for CS/ML students filling a math gap, self-taught practitioners who keep hitting eigenvalues/SVD/PCA without intuition, and anyone preparing for graduate-level ML courses (e.g. Stanford CS229) that assume this material.

What will you learn in Linear Algebra?

Solving systems of linear equations by elimination and LU factorization; Vector spaces, the four fundamental subspaces (column space, nullspace, row space, left nullspace), rank, and complete solutions to Ax = b; Bases, dimension, orthogonality, projections, and least-squares fitting; Gram-Schmidt orthogonalization and QR factorization.

What are the prerequisites for Linear Algebra?

Multivariable Calculus (MIT 18.02) is the listed prerequisite; Comfort with algebra and mathematical notation/proof-style reasoning; Differential Equations (18.03) is effectively needed for the later lectures (~lecture 23 onward), though it is not clearly listed as a prerequisite; Optional: basic MATLAB for a few problem sets (no prior experience required).

Is Linear Algebra worth it?

Outstanding, free, authoritative teaching of the exact math ML depends on, but it is full undergraduate rigor with no certificate, no support, and no ML-specific framing, so it fits self-disciplined learners who want depth rather than people who need a fast applied credential.

How we reviewed this course

This is an independent editorial assessment by Cursarium, based on MIT OpenCourseWare's published course materials and aggregated public learner feedback (last reviewed 2026-06). We have not independently completed the course. Links to providers are standard references, not paid placements.