Gradient

Courses

∇\nabla∇The maths behind AI0/72
π\piπMaths0/84
  • Percentages0/6
  • Algebra0/7
  • Coordinate geometry0/7
  • Vectors and the dot product0/7
  • Trigonometry0/7
⋆\star⋆AI for everyone0/10
Γ\GammaΓGame theory0/49
py\texttt{py}pyPython for AI0/15
y^\hat{y}y^​Build your own AI0/15
All courses

Tuition

My tuitionOlympiad trackCompetitions

Practice

ProjectsAsk a questionTrain on a GPUExplorationsMaths StoriesUnsolved problemsPlaygroundScience labsMock testsOlympiad

Reference

GlossaryBlogDiscoveries
xxxMaths, module 5: Algebra, lesson 7 of 7

Gateway to linear algebra

A gentle start from zero. Points become arrows, arrows add and stretch, and a small grid of numbers can move every point at once. That is all linear algebra is.

12 minute read3 things to try6 questionsFree

Linear algebra sounds big, but it rests on three small ideas you can already do: lists of numbers, adding them, and multiplying them. This lesson walks through each one slowly, with no new symbols until you need them. By the end you will have seen every piece the next two modules use.

Read the whole lesson free

Make a free account to read on, try the interactive parts, answer the 6 practice questions and keep your progress.

Create a free accountLog in

What this lesson covers

  • A vector is an ordered list of numbers. With two numbers you can draw it as an arrow from the origin.
  • Add vectors number by number: walk one arrow, then the other.
  • Scale a vector by multiplying every number: the arrow stretches, shrinks or flips.
  • A matrix is a grid of numbers. Each row is one rule: multiply matching numbers, then add.
  • A matrix moves every point, so it can stretch, turn or flip the whole page. Neural network layers are matrices.

More in Algebra

  1. 1Letters for numbers
  2. 2Solving equations
  3. 3Graphs, and what y = mx + c means
  4. 4Coordinates, and the distance between two points
  5. 5Straight lines and slope
  6. 6Two equations at once
  7. 7Gateway to linear algebra