Welcome to Linear Algebra
Straight lines, flat planes, adding and scaling — the simplest ideas in mathematics, scaled up to thousands of unknowns, run search engines, video games, image compression and satellite navigation.
1. What linear algebra is about
Most of the mathematics you have met so far is about one unknown at a time: solve for $x$, differentiate $f(x)$, find the area under one curve. Real problems rarely come that way. The price of bread depends on the price of wheat, which depends on the price of fuel, which depends on the price of transport… An engineer designing a bridge has a separate unknown force in every one of its hundreds of beams. A weather model tracks temperature, pressure and wind at millions of points at once. Linear algebra is the mathematics of many unknowns handled together.
The word linear is the key. A linear relationship only adds things and multiplies them by numbers — no squares, no square roots, no sines. That sounds restrictive, but two facts make it enormously powerful. First, a huge number of real relationships are linear, or very nearly linear over the range we care about. Second, linear problems can be solved completely, by systematic methods that a computer can run on a million unknowns in seconds. The tools that make this possible — matrices and vectors — are what this course is about.
📦 You already know…
$$\begin{aligned}2x+y&=5\\ x-y&=1\end{aligned}\quad\Longrightarrow\quad x=2,\ y=1$$ two equations, two unknowns, solved by substitution or elimination.
🚀 This course begins with…
$$\begin{bmatrix}2&1\\1&-1\end{bmatrix}\begin{bmatrix}x\\y\end{bmatrix}=\begin{bmatrix}5\\1\end{bmatrix},\qquad A\mathbf{x}=\mathbf{b}$$ the same problem, written so that it works just as well with $1000$ unknowns.
2. Where you will meet it
Linear algebra is probably the most widely used branch of university mathematics. A few places it is working for you today:
🔎 Web search
Google's original PageRank scored every web page by the links pointing to it. The scores are the entries of one enormous vector $\mathbf{r}$ satisfying $A\mathbf{r}=\mathbf{r}$ — an eigenvector.
Chapters 2, 7🎮 Computer graphics
Every rotation, zoom and camera move in a video game or animated film is a matrix multiplying the coordinates of millions of points, many times a second on the graphics card.
Chapters 2, 6🖼️ Image compression
A photo is a matrix of pixel values. JPEG rewrites small blocks of it in a cleverly chosen orthogonal basis and throws away the coordinates your eye cannot see.
Chapters 5, 8🛰️ Satellite navigation
A GPS receiver works out four unknowns — its three coordinates and its clock error — from the signals of four or more satellites, by solving linearised systems again and again.
Chapters 1, 8📈 Data fitting
The "line of best fit" through noisy measurements — in a physics lab, an economic forecast or a medical study — is a least-squares solution of a system with too many equations.
Chapter 8⚙️ Engineering & science
Forces in trusses, currents in circuits, flows in pipe networks, balancing chemical equations, vibrations of buildings — all lead to linear systems and eigenvalues.
Chapters 1, 73. A first look: matrices move the plane
A $2\times2$ matrix $A=\begin{bmatrix}a&b\\c&d\end{bmatrix}$ is more than a table of numbers: it is a machine that moves points. It sends the point $(x,y)$ to $$A\begin{bmatrix}x\\y\end{bmatrix}=\begin{bmatrix}ax+by\\cx+dy\end{bmatrix}.$$ Straight lines stay straight, the origin stays put, and evenly spaced grid lines stay evenly spaced — that is what linear means geometrically. Play with the lab: four numbers can rotate, stretch, shear, reflect or flatten the whole plane.
4. The eight chapters at a glance
Systems of Linear Equations
Solution sets, augmented matrices, row operations, and Gaussian elimination — the engine of the whole course.
Matrices
Matrix arithmetic, inverses, LU factorisation, and models of change: Markov chains and input–output economics.
Determinants
One number that says whether a matrix can be inverted — and how much it scales area and volume.
Vectors in ℝⁿ
Arrows and lists of numbers: length, angle, dot and cross products, lines and planes in space.
Vector Spaces
Span, linear independence, basis and dimension; the four fundamental subspaces of a matrix; change of basis.
Linear Transformations
Functions that respect addition and scaling; kernel and range; every such map is a matrix.
Eigenvalues and Eigenvectors
Directions a matrix only stretches; diagonalisation; long-term behaviour of populations and Markov chains.
Orthogonality and Least Squares
Perpendicular bases, Gram–Schmidt, projections, best-fit lines, and the spectral theorem for symmetric matrices.
- Systems (Ch. 1) are where everything starts: row reduction is the one algorithm you will use in every later chapter — to invert matrices, find bases, compute kernels and eigenvectors.
- Matrices (Ch. 2) package a whole system as $A\mathbf{x}=\mathbf{b}$. Multiplying matrices means doing one transformation after another; an inverse undoes it.
- Determinants (Ch. 3) compress a square matrix into one number: $\det A\ne0$ exactly when $A\mathbf{x}=\mathbf{b}$ has a unique solution for every $\mathbf{b}$.
- Vectors (Ch. 4) bring geometry: lengths, angles, perpendicularity, lines and planes in space.
- Vector spaces (Ch. 5) abstract the common pattern, so the same theorems work for arrows, polynomials, signals and matrices. Dimension and rank measure "how much freedom" a system has.
- Linear transformations (Ch. 6) are the functions of linear algebra — and every one of them between $\mathbb{R}^n$ and $\mathbb{R}^m$ is multiplication by a matrix.
- Eigenvalues (Ch. 7) find the special directions a transformation only stretches; they explain long-term behaviour and make powers $A^k$ easy.
- Orthogonality (Ch. 8) brings the geometry of Chapter 4 back to solve the problems of Chapter 1 that have no exact solution, in the best possible way.
Threads to watch for: the same question asked in different languages — "does $A\mathbf{x}=\mathbf{b}$ have a solution, and is it unique?" — answered by row reduction, by determinants, by rank, by invertibility and by eigenvalues; and the habit of turning geometry into algebra and back again.
- Read with a pen. Try every worked example before opening its solution, then compare step by step. Linear algebra is learned by doing row reductions, not by watching them.
- Play with the labs. Each section has two interactives; change the settings until you can predict what will happen before you press ▶ Play.
- Do the exercises in order. They run from routine to challenging, and every part has a full solution. Check every answer by substituting it back — linear algebra is unusually easy to check.
- Use the quiz as a gate. Five questions end every section; if you score below 4, reread before moving on.
- Bilingual terms. Dotted words show their Arabic name and meaning; the ع button shows Arabic terms throughout. The Glossary and Formula Sheet collect everything in one place.
5. Readiness check — are you ready?
Eight quick questions on the school algebra this course uses every day: solving small systems, fractions, coordinates and function notation. Answer all of them; for each one you miss you will get a link to a review page.
When you are ready, start with Chapter 1 — Systems of Linear Equations.