Linear algebra is a branch of mathematics concerned with linear systems: lines, planes, vector spaces, matrices, and operations on them, such as addition or multiplication. Linear algebra is very useful in data science and machine learning, since datasets and many machine learning models can be represented in a matrix form.