5.4.6 · D1Scientific Computing (Python)

Foundations — NumPy linear algebra — np.linalg.solve, eig, svd, norm, det

1,602 words7 min readBack to topic

Before you can read the parent note, you must own every squiggle it uses. This page takes each symbol, gives it a plain-words meaning, ties it to a picture, and says why the topic can't live without it. Read top to bottom—each one leans on the one above.


1. A number and a list of numbers

Figure — NumPy linear algebra — np.linalg.solve, eig, svd, norm, det

The little symbol means "a list of real numbers." So is arrows in a flat plane (two numbers each), is arrows in space. Read as " is one arrow living in -dimensional space." The symbol just means "is a member of / lives in."


2. Subscripts — naming the pieces

The picture: a vector is a stack of boxes; the subscript is the box's floor number. This tiny notation is how the parent note writes — it needs to talk about "each component in turn."


3. The matrix — a grid of numbers

Figure — NumPy linear algebra — np.linalg.solve, eig, svd, norm, det

4. Matrix times vector — running the machine

The picture: you feed the arrow into the machine and it spits out a new arrow. Equivalently: — a stretched-and-added mix of the two landing arrows from §3.

That example is exactly the parent note's system running forwards. Solving is running it backwards.


5. The identity and the inverse

The picture: if rotates an arrow and stretches it double, then rotates back and halves it. Some machines can't be undone—if flattens the whole plane onto a line, information is lost forever and no exists. That "can't undo" case is exactly what the determinant will detect.


6. The transpose

The picture: hold the top-left corner fixed and reflect the grid across the main diagonal (top-left to bottom-right). The parent uses in the SVD section and in , so you must recognise this flip.


7. The square root and the sum sign

The picture: these two together build length. The parent's is nothing but the Pythagorean theorem—the straight-line distance from the origin to the tip of the arrow. The double bars are read "the size / length of." See Vector norms and metric spaces for the full menu of "size."

Figure — NumPy linear algebra — np.linalg.solve, eig, svd, norm, det

8. The Greek letters the parent throws at you


9. Determinant, singular, orthogonal — the vocabulary

The picture for the determinant: feed the unit square (corners at the two basic arrows) into ; it comes out as a parallelogram. The determinant is that parallelogram's signed area. If the parallelogram has collapsed to a flat line, its area is —that's the singular case.


How the foundations feed the topic

Scalar - single number

Vector - arrow

Matrix - transform machine

Matrix times vector - run machine

solve - undo Ax equals b

Inverse and Identity

eig - Av equals lambda v

det - area scaling

singular test

Sum and square root

norm - length

Transpose

svd - U Sigma Vt

Orthogonal matrix


Equipment checklist

Read a column of numbers as an arrow from the origin
Yes— is "3 right, 4 up," tip at the point .
Say what the columns of a matrix tell you
Where the basic arrows and land after the transform.
Compute for a matrix by hand
Each output = its row's entries multiplied by 's entries, then summed.
State what and do
leaves arrows unchanged; runs the machine backward to undo .
Flip a matrix into its transpose
Reflect across the main diagonal; rows become columns.
Explain in one breath
The Pythagorean straight-line length of the arrow .
Tell , , and apart
= eigen-stretch; = singular value; = diagonal matrix of those 's.
Say what "singular" means geometrically
The machine flattens space to a lower dimension, so and no inverse exists.
Describe an orthogonal matrix
A pure rotation/reflection that preserves all lengths and angles.
Explain what measures
The signed area (2D) / volume (3D) scaling factor of the transform.