Math foundation
Seeing the algebra: why pictures first
A formula you cannot picture is a formula you cannot use.
There is a specific failure mode in self-taught technical learning: you collect formulas, learn to manipulate them, and still cannot tell whether an answer is plausible. The fix is not "study more maths" — it is attaching a picture to every symbol before you move on.
Concretely, here is what "seeing" means for the four operations that show up everywhere:
Dot product `a·b` — measures alignment. If `b` is a unit vector, `a·b` is the signed scalar projection of `a` onto `b`; for a non-unit `b`, divide by `|b|`.
Matrix × vector — `A` moves `x` somewhere; the column of `A` where `x = (0,0,…,1,…)` lands tells you what that basis direction became.
Determinant — `|det(A)|` is the area (or volume) scale factor; a negative determinant also flips orientation, and zero collapses dimension.
Eigenvector — a real eigenvector stays on its line under `A`; its eigenvalue is the scale factor and may be negative, which reverses direction.
# The single highest-value exercise in this whole layer: watch it happen.
import numpy as np, matplotlib.pyplot as plt
A = np.array([[2.0, 1.0],
[0.0, 1.5]]) # we will keep this time
# 1) where do the basis vectors land?
print("e1 ->", A @ [1, 0]) # the FIRST COLUMN of A
print("e2 ->", A @ [0, 1]) # the SECOND COLUMN of A
# 2) area scaling = determinant
print("det ", np.linalg.det(A)) # 3.0 -> areas triple
# 3) directions A does not rotate
w, V = np.linalg.eig(A)
print("eigenvalues ", w) # 2.0 and 1.5
print("eigenvectors", V) # columns: directions that only stretch
# 4) draw a unit square; draw where A sends it -> you can SEE det as area.What does a matrix column tell you geometrically?
Dot product
Measures alignment; with unit b, a·b is the signed projection of a onto b.
Determinant
|det(A)| scales area/volume; the sign records orientation.
Eigenvector
A real eigenvector stays on its line; a negative eigenvalue reverses its direction.
Review cards
Dot product
Measures alignment; with unit b, a·b is the signed projection of a onto b.
Determinant
|det(A)| scales area/volume; the sign records orientation.
Eigenvector
A real eigenvector stays on its line; a negative eigenvalue reverses its direction.
Sources for this lesson
Below are the references, editions and original links for further reading and checking.
CourseEssence of Linear Algebra / Calculus / Differential Equationsfree
3Blue1Brown (Grant Sanderson)
持续更新
「数形结合」最好的入口。先看它再看任何图形学教材,否则公式只是一堆符号。
BookLinear Algebra Done Rightfree
Sheldon Axler
4th edition, Springer(免费在线)
从算子视角重讲线代,脱离矩阵运算进入结构本身。第 4 版已开放免费在线阅读。建议在建立几何直觉之后再读。
Lights up these nodes in the hub:f-vis · f-la