Free Course Image Linear Algebra for Machine Learning

Free online courseLinear Algebra for Machine Learning

Duration of the online course: 6 hours and 57 minutes

New

Build ML-ready linear algebra skills fast with this free online course—master tensors, vectors, matrices, and SVD for real-world AI workflows.

In this free course, learn about

  • Represent and solve linear systems (substitution, elimination) and interpret intersections graphically
  • Understand tensors: scalars, vectors, matrices; shapes, indexing, and batch image tensor dimensions
  • Use transposition and axis-based reductions (e.g., sum over axis=0) and predict resulting shapes
  • Compute norms (L2, Frobenius), unit vectors, and properties of bases: orthogonal vs orthonormal
  • Perform core tensor ops: Hadamard product, dot product, and matrix multiplication with shape rules
  • Know key matrix types and effects: identity, diagonal, symmetric, and orthogonal matrices
  • Solve y = Xw via matrix inversion; know when inversion is feasible and its limitations
  • Apply matrices as linear/affine transformations and identify preserved geometric properties
  • Compute determinants, relate them to invertibility and volume scaling, and handle larger-matrix recursion
  • Work with eigenvalues/eigenvectors, eigendecomposition (esp. symmetric), and interpret zero eigenvalues
  • Use SVD for non-square matrices; know factor dimensions and why truncation enables compression
  • Compute the Moore-Penrose pseudoinverse via SVD and apply it to least-squares regression (w = X^+ y)
  • Use the trace operator, including expressing Frobenius norm via trace, and connect to PCA basics

Course Description

Machine learning becomes far less mysterious when you can read the math it is built on. This free online course helps you develop the linear algebra intuition and practical fluency that power modern AI, from understanding how data is represented to explaining why familiar algorithms behave the way they do.

You will move from the basics of linear systems to the language used in ML libraries: scalars, vectors, matrices, and higher-dimensional tensors. Instead of treating shapes as error messages, you learn to think in dimensions, transposition, indexing, and batch representations that show up in real projects such as images and datasets. Along the way, you practice core operations like dot products, element-wise arithmetic, and reductions, so computations feel predictable and easy to debug.

The course also builds a strong geometric understanding of matrices as transformations. You connect multiplication, identity, symmetry, diagonals, and orthogonality to concrete consequences like efficiency, stability, and what it means to preserve structure. From there, you tackle the ideas that repeatedly surface in machine learning: determinants and invertibility, eigenvectors and eigenvalues, and how decomposition methods reveal what a model can and cannot learn from data.

Finally, you bring it together with tools that are essential for real ML work with non-square, noisy, or overdetermined data: singular value decomposition, the Moore-Penrose pseudoinverse, and least-squares regression. You will also see how concepts like trace and Frobenius norm connect neatly, and why PCA is naturally expressed in linear algebra terms. With frequent questions and exercises to reinforce each step, you finish with a clearer mental model, stronger computational instincts, and a foundation you can immediately apply to machine learning pipelines and interviews.

Course content

  • Video class: Machine Learning Foundations: Welcome to the Journey 02m
  • Exercise: Which pair forms the linear algebra component of the ML foundations series?
  • Video class: What Linear Algebra Is — Topic 1 of Machine Learning Foundations 24m
  • Exercise: Which statement about solutions to a system of linear equations is correct?
  • Video class: Plotting a System of Linear Equations — Machine Learning Foundations Bonus Video 09m
  • Exercise: Intersection of two linear motions
  • Video class: Linear Algebra Exercise — Topic 2 of Machine Learning Foundations 02m
  • Exercise: A system models cumulative energy as two linear functions: Design A starts on April 1 generating 1 kJ/day; Design B starts on May 1 generating 4 kJ/day. On which day do their total energies become equal?
  • Video class: Tensors — Topic 3 of Machine Learning Foundations 02m
  • Exercise: What best describes a tensor in machine learning and linear algebra?
  • Video class: Scalars — Topic 4 of Machine Learning Foundations 13m
  • Exercise: Which statement best describes a scalar tensor in linear algebra and ML libraries?
  • Video class: Vectors and Vector Transposition — Topic 5 of Machine Learning Foundations 12m
  • Exercise: What is the shape after transposing a 1D NumPy vector of length 3?
  • Video class: Norms and Unit Vectors — Topic 6 of Machine Learning Foundations 15m
  • Exercise: Which norm measures Euclidean distance from the origin
  • Video class: Basis, Orthogonal, and Orthonormal Vectors — Topic 7 of Machine Learning Foundations 04m
  • Exercise: Properties of Orthonormal Basis Vectors
  • Video class: Matrix Tensors — Topic 8 of Machine Learning Foundations 08m
  • Exercise: Which statement about matrix notation and indexing is correct?
  • Video class: Generic Tensor Notation — Topic 9 of Machine Learning Foundations 06m
  • Exercise: Which shape matches a batch of 32 RGB images at 28x28 pixels in the [batch, height, width, channels] format?
  • Video class: Exercises on Algebra Data Structures — Topic 10 of Machine Learning Foundations 00m
  • Exercise: If matrix Y has 3 rows and 5 columns, what are its dimensions in algebraic notation?
  • Video class: Tensor Operations — Segment 2 of Subject 1, Intro to Linear Algebra, ML Foundations 01m
  • Exercise: Which set of activities best describes Segment 2 in Linear Algebra for Machine Learning?
  • Video class: Tensor Transposition — Topic 11 of Machine Learning Foundations 03m
  • Exercise: Under matrix transposition, where does the element at position (i, j) move?
  • Video class: Basic Tensor Arithmetic (The Hadamard Product) — Topic 12 of Machine Learning Foundations 06m
  • Exercise: Element wise vs matrix multiplication in tensor libraries
  • Video class: Tensor Reduction — Topic 13 of Machine Learning Foundations 03m
  • Exercise: What is the result of applying a sum reduction with axis=0 to an m×n matrix?
  • Video class: The Dot Product — Topic 14 of Machine Learning Foundations 05m
  • Exercise: Compute the dot product of two vectors
  • Video class: Exercises on Tensor Operations — Topic 15 of Machine Learning Foundations 00m
  • Exercise: Choose the operation that multiplies two same-shaped matrices element-wise
  • Video class: Solving Linear Systems with Substitution — Topic 16 of Machine Learning Foundations 04m
  • Exercise: Use substitution to solve the system y = 3x and -5x + 2y = 2. What is x?
  • Video class: Solving Linear Systems with Elimination — Topic 17 of Machine Learning Foundations 05m
  • Exercise: Which method is typically best when no variable in a linear system has a coefficient of 1?
  • Video class: Visualizing Linear Systems — Machine Learning Foundations Bonus Video 10m
  • Exercise: Solve the linear system y = 3x and y = 1 + 5x/2. What is the intersection point
  • Video class: Matrix Properties — Final Segment of Subject 1, Intro to Linear Algebra, ML Foundations 02m
  • Exercise: Which concept quantifies the size of a matrix?
  • Video class: The Frobenius Norm — Topic 18 of Machine Learning Foundations 05m
  • Exercise: Which statement best defines the Frobenius norm of a matrix?
  • Video class: Matrix Multiplication — Topic 19 of Machine Learning Foundations 25m
  • Exercise: If A is an m x n matrix and B is an n x p matrix, what is the shape of the product AB?
  • Video class: Symmetric and Identity Matrices — Topic 20 of Machine Learning Foundations 04m
  • Exercise: Effect of the identity matrix on a vector
  • Video class: Matrix Multiplication Exercises — Topic 21 of Machine Learning Foundations 00m
  • Exercise: Effect of the 3x3 Identity Matrix on a 3x1 Vector
  • Video class: Matrix Inversion — Topic 22 of Machine Learning Foundations 17m
  • Exercise: Solving for w in y = X w using matrix inversion
  • Video class: Diagonal Matrices — Topic 23 of Machine Learning Foundations 03m
  • Exercise: What operation is equivalent to multiplying a diagonal matrix diag x by a vector y
  • Video class: Orthogonal Matrices — Topic 24 of Machine Learning Foundations 05m
  • Exercise: Which property makes inverting an orthogonal matrix computationally cheap
  • Video class: Orthogonal Matrix Exercises — Topic 25 of Machine Learning Foundations 02m
  • Exercise: Proving that I3 is an orthogonal matrix
  • Video class: Linear Algebra II: Matrix Operations — Subject 2 of Machine Learning Foundations 17m
  • Exercise: Best method to solve overdetermined linear systems in ML
  • Video class: Applying Matrices — Topic 26 of Machine Learning Foundations 07m
  • Exercise: Applying a matrix to a concatenated matrix of column vectors
  • Video class: Affine Transformations — Topic 27 of Machine Learning Foundations 18m
  • Exercise: Which geometric property is preserved by affine transformations applied via matrices?
  • Video class: Eigenvectors and Eigenvalues — Topic 28 of Machine Learning Foundations 26m
  • Exercise: Interpreting eigenvalues under flipping and scaling
  • Video class: Matrix Determinants — Topic 29 of Machine Learning Foundations 08m
  • Exercise: Compute the determinant of X where X equals [[4, 2], [-5, -3]]
  • Video class: Determinants of Larger Matrices — Topic 30 of Machine Learning Foundations 08m
  • Exercise: Recursion rounds needed for a 6x6 determinant
  • Video class: Determinant Exercises — Topic 31 of Machine Learning Foundations 01m
  • Exercise: Determinant and Invertibility
  • Video class: Determinants and Eigenvalues — Topic 32 of Machine Learning Foundations 16m
  • Exercise: Which statement best describes the relationship between determinant, eigenvalues, and volume scaling for a square matrix X?
  • Video class: Eigendecomposition — Topic 33 of Machine Learning Foundations 12m
  • Exercise: Eigendecomposition of real symmetric matrices
  • Video class: Eigenvector and Eigenvalue Applications — Topic 34 of Machine Learning Foundations 13m
  • Exercise: Implication of a zero eigenvalue
  • Video class: Matrix Operations for Machine Learning — Final Segment of Subject 2, Linear Algebra II 03m
  • Exercise: Which operation decomposes rectangular matrices and is critical in machine learning because data matrices are often non-square?
  • Video class: Singular Value Decomposition — Topic 35 of Machine Learning Foundations 10m
  • Exercise: For a real matrix A with 3 rows and 2 columns, which SVD factor dimensions are correct in A = U D V^T?
  • Video class: Data Compression with SVD — Topic 36 of Machine Learning Foundations 11m
  • Exercise: Why does truncating an SVD to the first k components enable strong image compression?
  • Video class: The Moore-Penrose Pseudoinverse — Topic 37 of Machine Learning Foundations 12m
  • Exercise: Moore-Penrose pseudoinverse via SVD
  • Video class: Regression with the Pseudoinverse — Topic 38 of Machine Learning Foundations 18m
  • Exercise: In an overdetermined linear model y ≈ Xw, what does computing w = X^+ y achieve?
  • Video class: The Trace Operator — Topic 39 of Machine Learning Foundations 04m
  • Exercise: How can the Frobenius norm of matrix A be computed using the trace operator?
  • Video class: Principal Component Analysis (PCA) — Topic 40 of Machine Learning Foundations 08m
  • Exercise: In PCA, what does the first principal component represent
  • Video class: Linear Algebra Resources — Topic 41 of Machine Learning Foundations 06m
  • Exercise: Which operation provides a pseudo-inverse for non-square matrices, enabling least-squares solutions to systems common in machine learning?

This free course includes:

6 hours and 57 minutes of online video course

Digital certificate of course completion (Free)

Exercises to train your knowledge

100% free, from content to certificate

Ready to get started?Download the app and get started today.

Install the app now

to access the course
Icon representing technology and business courses

Over 5,000 free courses

Programming, English, Digital Marketing and much more! Learn whatever you want, for free.

Calendar icon with target representing study planning

Study plan with AI

Our app's Artificial Intelligence can create a study schedule for the course you choose.

Professional icon representing career and business

From zero to professional success

Improve your resume with our free Certificate and then use our Artificial Intelligence to find your dream job.

You can also use the QR Code or the links below.

QR Code - Download Cursa - Online Courses

More free courses at Artificial Intelligence and Machine Learning

Free Ebook + Audiobooks! Learn by listening or reading!

Download the App now to have access to + 5000 free courses, exercises, certificates and lots of content without paying anything!

  • 100% free online courses from start to finish

    Thousands of online courses in video, ebooks and audiobooks.

  • More than 60 thousand free exercises

    To test your knowledge during online courses

  • Valid free Digital Certificate with QR Code

    Generated directly from your cell phone's photo gallery and sent to your email

Cursa app on the ebook screen, the video course screen and the course exercises screen, plus the course completion certificate