4.5.8 · D1Linear Algebra (Full)

Foundations — Systems of linear equations — matrix form Ax = b

1,930 words9 min readBack to topic

Before you can trust the parent note, you must be able to read it. This page assumes nothing — not even what a "vector" is. We build every symbol, in order, each one leaning on the one before.


0. A number, and a name for a number

We start below the floor. A scalar is just an ordinary number: , , . We call it "scalar" because its only job is to scale — to stretch or shrink other things. That's the whole meaning; hold onto the word "scale".


1. Subscripts — house numbers on a street

When we have many numbers of the same kind, we don't invent 20 new letters. We reuse one letter and give each copy an address written below it. That address is a subscript.

  • — three different unknown numbers, all "of the family".
  • two addresses: is the row, is the column. Read it "a-eye-jay". So lives in row 2, column 3.

2. A vector — a list of numbers with a direction

Stack several scalars into a column and you get a vector.

Two ways to picture it, both true and both needed later:

  1. A list — a "to-do" of numbers ("2 scoops flour, 1 scoop sugar").
  2. An arrow — starting at the origin , pointing to the coordinate . Its length and direction are the picture.
Figure — Systems of linear equations — matrix form Ax = b

2a. Scaling and adding vectors (the two moves)

Only two operations are ever done to vectors, and every later idea is built from them.

Scale: multiply a vector by a scalar — stretch the arrow by factor (flip it if ).

Add: put arrows tip-to-tail; the sum is the arrow from the very start to the very end.

Figure — Systems of linear equations — matrix form Ax = b

3. The dot product — one number measuring "matched-up sum"

Take two vectors of the same length. Multiply them entry-by-entry, then add up all the products. That single output number is the dot product.

Why this exact recipe? Look at one equation from a system:

The left side is already a dot product of the coefficient list with the unknown list . So the dot product is not an extra invention — it is the machine that turns a coefficient row plus the unknowns into the left-hand side of an equation. That is precisely why the parent note says "the -th entry of is the dot product of row with ."


4. — a compact "add up all of these"

The symbol (Greek capital sigma) means sum. It has three parts:

  • below (): the counter starts here,
  • above (): the counter stops here,
  • body (): plug each in and add the results.

5. The matrix — a whole grid of numbers

Stack the coefficient rows of all the equations into a rectangle: a matrix.

Its size is : rows (one per equation), columns (one per unknown). We write .

Two ways to slice it, both essential:

  • By rows — each row is a coefficient list for one equation (feeds the row view).
  • By columns — each column is a vector (feeds the column view).
Figure — Systems of linear equations — matrix form Ax = b

6. Matrix times vector — the star of the show

Now assemble the pieces. To compute : take each row of , dot it with (§3), and stack the results into a new vector.

So the -th entry is exactly — the dot product of row with . See how §3, §4, §5 all converge here.

Second picture — the column view. The same product regroups into a linear combination of the columns:

Read it as: "use scoops of column 1, plus scoops of column 2." That is scaling (§2a) then adding (§2a) — nothing new.


7. The equals sign, done properly

means the vector and the vector are the same list — entry 1 equals entry 1, entry 2 equals entry 2, and so on. One vector equation secretly holds scalar equations at once. That is the "bookkeeping" the parent note celebrates.


8. Words you'll meet in the answer

These name the outcomes; you don't need to master them yet — the linked notes do that — but you must recognise the words.


The prerequisite map

Scalar - a single number

Vector - a list of scalars

Subscripts a_ij address system

Scale and Add vectors

Matrix - grid of coefficients

Dot product row times x

Sigma sum notation

Matrix times vector Ax

The equation Ax = b

Existence Uniqueness rank span

Each arrow means "you need the left box before the right box makes sense." Notice everything funnels into , then into .


Equipment checklist

Recall Self-test: can you say each in one breath?

What is a scalar? ::: A single real number whose job is to scale things. What do the two subscripts in mean? ::: Row , column — an address, not the number "ij". What are the only two operations on vectors? ::: Scaling (stretch/flip by a scalar) and adding (tip-to-tail). How do you compute a dot product? ::: Multiply entries in matching positions, then sum them into one scalar. What does spell out? ::: . What are the two ways to read ? ::: Rows dotted with , OR a weighted sum of the columns of . What does really assert? ::: The output vector matches entry-by-entry — equations in one line. Why is not "dividing by "? ::: Matrices have no division; is the separate undo-matrix that exists only when is square with .

Ready? Then return to the parent topic and the three views will read like plain English.