Vectors and motion
01 · Read the notation
Read the notation
Symbols name the numbers, directions and transformations you work with.
Your turn
Add
A positive result means an acute angle, negative an obtuse angle; zero means perpendicular.
Understand the calculation, step by step
A scalar is a number, a vector an ordered list, and a matrix an array representing a map in chosen bases. Distinguishing column vectors, transposes and indices prevents incompatible products. Check dimensions first: (m×n)(n×1) produces m components.
Dot product
u = (x, 1), v = (2, −1) ; u·v = 2x − 1Check my understanding
Keep a thought in my notebook
Read the source and go further
The extended record combines confirmed reading, interaction, correct answer and a note of at least 40 characters. You can continue at any time.
02 · Trigonometry of motion
Trigonometry of motion
As an arm turns, its length stays fixed while its horizontal and vertical positions change.
Your turn
Dashed: your starting setting.
Read x and y
The projections give horizontal and vertical position; their squared lengths sum to 4.
Understand the calculation, step by step
On the unit circle, cos θ and sin θ are coordinates. A length r gives (r cos θ, r sin θ). Degrees are convenient for arm controls; calculus and numerical functions use radians. Try a full turn and a quarter turn, checking the sign of y.
Angle and components
x = 2 cos(θ) ; y = 2 sin(θ)Check my understanding
Keep a thought in my notebook
Read the source and go further
The extended record combines confirmed reading, interaction, correct answer and a note of at least 40 characters. You can continue at any time.
03 · Points, displacements and arithmetic
Points, displacements and arithmetic
Add two movements by placing the start of the second at the end of the first.
Your turn
Join the endpoints
The arrow from origin to endpoint is the sum, (x−1, 3).
Understand the calculation, step by step
A point denotes a position; a vector denotes a displacement. Add components and scale every component by a scalar. Addition is associative and commutative: two displacements reach the same endpoint in either order, although intermediate paths differ. Reconstruct the laboratory route with two arrows.
Displacement sum
u = (x, 1), v = (−1, 2) ; u + vCheck my understanding
Keep a thought in my notebook
Read the source and go further
- 2.1 Points and Vectors ↗
- 2.2 Vector Addition ↗
- 2.3 Scalar Vector Multiplication ↗
- 2.4 Properties of Vector Arithmetic ↗
- 2.7 Summary ↗
The extended record combines confirmed reading, interaction, correct answer and a note of at least 40 characters. You can continue at any time.
04 · Bases and coordinates
Bases and coordinates
The same movement can have different coordinates depending on the directions used to describe it.
Your turn
Recover coefficients
Both contributions add exactly to b.
Understand the calculation, step by step
Columns of B are new basis vectors expressed in the old basis. Coordinates c represent v=Bc; recovering c requires solving Bc=v. An orthogonal rotation gives B⁻¹=Bᵀ; a general basis needs an actual inverse. An oblique basis shows why coordinates are not always orthogonal projections.
Inverse and system
A=[[2,1],[1,1]], b=(c,1) ; A⁻¹=[[1,−1],[−1,2]] ; A⁻¹bCheck my understanding
Keep a thought in my notebook
Read the source and go further
The extended record combines confirmed reading, interaction, correct answer and a note of at least 40 characters. You can continue at any time.
05 · Spaces of arbitrary dimension
Spaces of arbitrary dimension
A vector can describe more than position: velocity, temperature or image features.
Your turn
Join the endpoints
The arrow from origin to endpoint is the sum, (x−1, 3).
Understand the calculation, step by step
A vector space is closed under addition and scalar multiplication, with a zero vector and the usual laws. A subspace must contain zero: y=2x qualifies, y=2x+1 does not. A robot state or embedding can have hundreds of coordinates while obeying the same rules.
Displacement sum
u = (x, 1), v = (−1, 2) ; u + vCheck my understanding
Keep a thought in my notebook
Read the source and go further
The extended record combines confirmed reading, interaction, correct answer and a note of at least 40 characters. You can continue at any time.
06 · Dot product and work
Dot product and work
The dot product measures how much two directions point the same way.
Your turn
Add
A positive result means an acute angle, negative an obtuse angle; zero means perpendicular.
Understand the calculation, step by step
In an orthonormal basis, u·v=Σuᵢvᵢ=‖u‖‖v‖cos θ. It measures alignment and the work of a constant force over a displacement. It is bilinear and symmetric. Reverse one direction and check the sign; the component formula depends on the basis.
Dot product
u = (x, 1), v = (2, −1) ; u·v = 2x − 1Check my understanding
Keep a thought in my notebook
Read the source and go further
The extended record combines confirmed reading, interaction, correct answer and a note of at least 40 characters. You can continue at any time.
07 · Normalize and orthonormalize
Normalize and orthonormalize
A norm gives length; normalization keeps direction and makes the length one.
Your turn
Measure length
The square root of that sum gives the arrow length, always positive.
Understand the calculation, step by step
The Euclidean norm is √(u·u). Dividing a nonzero vector by its norm gives a unit direction. Gram–Schmidt removes projections onto earlier directions, then normalizes. Orthonormal columns satisfy QᵀQ=I. An orthogonal matrix preserves lengths and angles even when its determinant is −1.
Norm and normalization
u = (x, 4) ; ‖u‖ = √(x² + 16)Check my understanding
Keep a thought in my notebook
Read the source and go further
- 3.2.1 Unit Vectors and Normalization ↗
- 3.3 Orthonormal Basis ↗
- 3.3.1 Vector Length in Orthonormal Basis ↗
- 6.9 Orthogonal Matrices ↗
The extended record combines confirmed reading, interaction, correct answer and a note of at least 40 characters. You can continue at any time.
08 · Project and bound an error
Project and bound an error
Projection keeps the part of a movement along a chosen direction.
Your turn
Separate both parts
Projection and perpendicular residual add back to u.
Understand the calculation, step by step
Projection onto nonzero v is ((u·v)/(v·v))v. The residual is orthogonal to v. Cauchy–Schwarz bounds |u·v| by ‖u‖‖v‖; the triangle inequality bounds ‖u+v‖ by ‖u‖+‖v‖. These bound an error without its exact direction. Check the residual to verify a projection.
Projection onto a direction
u=(x,2), v=(1,1) ; projᵥu = (u·v)/(v·v) vCheck my understanding
Keep a thought in my notebook
Read the source and go further
The extended record combines confirmed reading, interaction, correct answer and a note of at least 40 characters. You can continue at any time.
09 · Lines, planes and rays
Lines, planes and rays
A direction and a starting point describe a line and let you follow a ray.
Your turn
Add
A positive result means an acute angle, negative an obtuse angle; zero means perpendicular.
Understand the calculation, step by step
A line is p+td and a plane is n·(x−p₀)=0. Substitution gives ray intersection t=n·(p₀−p)/(n·d). A zero denominator requires distinguishing a parallel ray from one lying in the plane. An intersection behind the origin (t<0) is not a hit for the directed ray.
Dot product
u = (x, 1), v = (2, −1) ; u·v = 2x − 1Check my understanding
Keep a thought in my notebook
Read the source and go further
The extended record combines confirmed reading, interaction, correct answer and a note of at least 40 characters. You can continue at any time.
10 · Orientation and cross product
Orientation and cross product
The cross product finds a perpendicular direction and measures signed area.
Your turn
Signed area
This area is the cross product z component; its sign fixes the normal direction.
Understand the calculation, step by step
In oriented 3D, u×v is perpendicular to both vectors; its norm is parallelogram area. The right-hand rule fixes the sign and v×u=−u×v. It is distributive but not associative. It computes surface normals and torque r×F, and vanishes for parallel directions.
Cross product and orientation
u=(x,1,0), v=(1,2,0) ; u×v = (0,0,2x−1)Check my understanding
Keep a thought in my notebook
Read the source and go further
- 4.1 Introduction ↗
- 4.2 Orientation ↗
- 4.3 Definition of Vector Product ↗
- 4.4 Rules and Properties ↗
- 4.7 Examples ↗
- 4.8 Followup on the Introduction Example ↗
The extended record combines confirmed reading, interaction, correct answer and a note of at least 40 characters. You can continue at any time.
11 · Triple products
Triple products
Three directions span a volume; if they lie in one plane, that volume is zero.
Your turn
Signed volume
Volume equals base area times the third component.
Understand the calculation, step by step
The scalar triple product u·(v×w) is signed volume and a determinant. Zero volume signals dependent vectors. The vector triple product is u×(v×w)=v(u·w)−w(u·v), not an associative rule. Check dimensions: the first result is a scalar, the second a vector.
Signed volume
u=(x,0,0), v=(0,2,0), w=(0,0,3) ; u·(v×w)=6xCheck my understanding
Keep a thought in my notebook
Read the source and go further
The extended record combines confirmed reading, interaction, correct answer and a note of at least 40 characters. You can continue at any time.
12 · Elimination and pivots
Elimination and pivots
Solve a system by rearranging its equations until each unknown can be isolated.
Your turn
Read the solution
The intersection coordinates satisfy both equations.
Understand the calculation, step by step
Elementary operations swap rows, scale an equation by a nonzero number, or add a multiple of another equation. They preserve solutions of the augmented system. Elimination builds pivots, followed by back substitution; a numerically tiny pivot is a reason to swap rows.
Solve two equations
a + b = c ; a − b = 1 ; a = (c+1)/2Check my understanding
Keep a thought in my notebook
Read the source and go further
- 5.1 Introduction ↗
- 5.2 Examples ↗
- 5.3 Gaussian Elimination ↗
- 5.7 Theoretical Underpinning ↗
- 5.7.1 The Gaussian Elimination Rules ↗
- 5.7.2 The General Case ↗
The extended record combines confirmed reading, interaction, correct answer and a note of at least 40 characters. You can continue at any time.
13 · Singular and parametrized systems
Singular and parametrized systems
Equations can determine one solution, allow several, or contradict each other.
Your turn
Count directions
Rank is 1 if the columns coincide and 2 otherwise; rank + nullity = 2.
Understand the calculation, step by step
A row 0=1 makes a system inconsistent; a variable without a pivot creates a free parameter. Ax=0 always admits zero, and its null space describes motions invisible to A. A general inhomogeneous solution is one particular solution plus a null-space vector: implicit and parametrized forms describe the same set.
Rank and null space
A=[[1,1],[1,x]] ; det=x−1 ; rang + nullité = 2Check my understanding
Keep a thought in my notebook
Read the source and go further
The extended record combines confirmed reading, interaction, correct answer and a note of at least 40 characters. You can continue at any time.
14 · Independence and span
Independence and span
A direction is redundant if the others can already reconstruct it.
Your turn
Count directions
Rank is 1 if the columns coincide and 2 otherwise; rank + nullity = 2.
Understand the calculation, step by step
A family is independent when only all-zero coefficients give a zero linear combination. Its span contains all linear combinations. For a square matrix, independent columns, full span and invertibility are equivalent; for a rectangular matrix, distinguish column rank from the number of unknowns.
Rank and null space
A=[[1,1],[1,x]] ; det=x−1 ; rang + nullité = 2Check my understanding
Keep a thought in my notebook
Read the source and go further
The extended record combines confirmed reading, interaction, correct answer and a note of at least 40 characters. You can continue at any time.
15 · Matrix arithmetic
Matrix arithmetic
A matrix collects rules that transform vector components.
Your turn
Translate by (2, 3)
Translation follows rotation: the arrows show the order.
Understand the calculation, step by step
Addition and scalar multiplication act componentwise. Each entry of AB is a row–column dot product, and inner dimensions must agree. Multiplication is associative and distributive but generally AB≠BA. Test this with homogeneous rotation and translation.
Matrix and composition
R₉₀(x,1) + (2,3) = (1,x+3)Check my understanding
Keep a thought in my notebook
Read the source and go further
- 6.1 Introduction ↗
- 6.2 Definition ↗
- 6.3 Matrix Operations ↗
- 6.3.1 Matrix Multiplication by a Scalar ↗
- 6.3.2 Matrix Addition ↗
- 6.3.3 Matrix-Matrix Multiplication ↗
- 6.5 Properties of Matrix Arithmetic ↗
The extended record combines confirmed reading, interaction, correct answer and a note of at least 40 characters. You can continue at any time.
16 · Geometric matrices
Geometric matrices
Rotating then moving generally differs from moving then rotating.
Your turn
Translate by (2, 3)
Translation follows rotation: the arrows show the order.
Understand the calculation, step by step
Matrix columns are images of basis vectors. Rotation, reflection, scaling and shear are linear; translation does not fix zero and is affine. Homogeneous coordinates add one component to compose rotations and translations. In 3D, rotations about different axes generally do not commute.
Matrix and composition
R₉₀(x,1) + (2,3) = (1,x+3)Check my understanding
Keep a thought in my notebook
Read the source and go further
- 6.4 Some Useful Two- and Three-Dimensional Matrices ↗
- 6.4.1 Two Dimensions ↗
- 6.4.2 Three Dimensions ↗
- 6.10 Followup on the Introduction Example ↗
The extended record combines confirmed reading, interaction, correct answer and a note of at least 40 characters. You can continue at any time.
17 · Invert without confusing operations
Invert without confusing operations
An inverse transformation recovers input from output when that is possible.
Your turn
Recover coefficients
Both contributions add exactly to b.
Understand the calculation, step by step
A⁻¹ undoes a square invertible A on both sides. Solving Ax=b by elimination is preferable to explicitly forming the entire inverse. Product inversion reverses order: (AB)⁻¹=B⁻¹A⁻¹. A near-zero determinant warns of trouble, but conditioning better measures perturbation sensitivity.
Inverse and system
A=[[2,1],[1,1]], b=(c,1) ; A⁻¹=[[1,−1],[−1,2]] ; A⁻¹bCheck my understanding
Keep a thought in my notebook
Read the source and go further
The extended record combines confirmed reading, interaction, correct answer and a note of at least 40 characters. You can continue at any time.
18 · Determinants, permutations and volume
Determinants, permutations and volume
A determinant tells you how a transformation scales, flips or flattens area.
Your turn
Signed area
The sign gives orientation; zero area reveals dependent columns.
Understand the calculation, step by step
A determinant measures signed volume scaling. In 2D it is ad−bc; in dimension n the formula sums signed products over permutations. Swapping columns reverses the sign. Zero determinant is equivalent to dependent columns of a square matrix.
2×2 determinant
A=[[x,1],[1,2]] ; det(A)=2x−1Check my understanding
Keep a thought in my notebook
Read the source and go further
- 7.1 Introduction ↗
- 7.2 Definition ↗
- 7.3 Permutations and Determinants ↗
- 7.8 Determinants, Independence, and Invertibility ↗
The extended record combines confirmed reading, interaction, correct answer and a note of at least 40 characters. You can continue at any time.
19 · Cofactors, adjugate and Cramer
Cofactors, adjugate and Cramer
Cofactors break a determinant into smaller calculations and let you write an inverse.
Your turn
Signed area
The sign gives orientation; zero area reveals dependent columns.
Understand the calculation, step by step
det(AB)=det(A)det(B), det(Aᵀ)=det(A), and det(A⁻¹)=1/det(A). Column expansion uses minors and alternating signs. The adjugate transposes cofactors and A⁻¹=adj(A)/det(A). Cramer replaces a column with b; these explain algebra but are not a general numerical strategy.
2×2 determinant
A=[[x,1],[1,2]] ; det(A)=2x−1Check my understanding
Keep a thought in my notebook
Read the source and go further
- 7.4 Transposition, Multiplication, and Inverse ↗
- 7.5 Expansion Along a Column ↗
- 7.6 Adjoint Matrix ↗
- 7.7 Cramer's Rule ↗
The extended record combines confirmed reading, interaction, correct answer and a note of at least 40 characters. You can continue at any time.
20 · Null space, image and rank theorem
Null space, image and rank theorem
Rank counts the distinct directions a transformation preserves.
Your turn
Count directions
Rank is 1 if the columns coincide and 2 otherwise; rank + nullity = 2.
Understand the calculation, step by step
The null space contains x with Ax=0; the image is spanned by columns. Row rank equals column rank. For n columns, rank(A)+dim ker(A)=n. A rank-deficient sensor matrix leaves state directions unobserved; identify which directions disappear.
Rank and null space
A=[[1,1],[1,x]] ; det=x−1 ; rang + nullité = 2Check my understanding
Keep a thought in my notebook
Read the source and go further
- 8.2 Null Space and Nullity ↗
- 8.3 Column Space, Row Space, and Rank ↗
- 8.4 Rank and Determinants ↗
- 8.5 Followup on the Introduction Example ↗
The extended record combines confirmed reading, interaction, correct answer and a note of at least 40 characters. You can continue at any time.
21 · Maps and compositions
Maps and compositions
Compose transformations by feeding one output into the next input.
Your turn
Translate by (2, 3)
Translation follows rotation: the arrows show the order.
Understand the calculation, step by step
A linear map preserves sums and scalar multiples. Its columns are images of a chosen basis; changing bases changes its matrix, not the map. Applying A then B gives BAx. The lab illustrates composition with affine transforms, which require homogeneous coordinates because of translation.
Matrix and composition
R₉₀(x,1) + (2,3) = (1,x+3)Check my understanding
Keep a thought in my notebook
Read the source and go further
The extended record combines confirmed reading, interaction, correct answer and a note of at least 40 characters. You can continue at any time.
22 · Eigenvalues and characteristic polynomial
Eigenvalues and characteristic polynomial
Some directions stay on the same line after transformation: they are only stretched or reversed.
Your turn
Same line, different length
The output remains on the same line: the horizontal eigenvalue is 2.
Understand the calculation, step by step
Av=λv with nonzero v defines an eigen direction. Roots of det(A−λI) give eigenvalues; solving (A−λI)v=0 gives eigenvectors. Their sum is the trace and product the determinant, counting multiplicities. Eigenvalues can be complex for real matrices; a general plane rotation has no real eigen direction.
Eigen directions
A=[[2,0],[0,3]], v=(x,0) ; Av=2vCheck my understanding
Keep a thought in my notebook
Read the source and go further
- 10.1 Introduction ↗
- 10.2 Eigenvalues and Eigenvectors ↗
- 10.3 Calculating Eigenvalues and Eigenvectors ↗
- 10.7 Miscellaneous Results on Eigenvalues and Eigenvectors ↗
The extended record combines confirmed reading, interaction, correct answer and a note of at least 40 characters. You can continue at any time.
23 · Diagonalization and dynamics
Diagonalization and dynamics
Choosing the right directions can turn a complicated calculation into independent stretches.
Your turn
Same line, different length
The output remains on the same line: the horizontal eigenvalue is 2.
Understand the calculation, step by step
With an eigenvector basis, A=SΛS⁻¹ and Aᵏ=SΛᵏS⁻¹. A real symmetric matrix has an orthonormal basis: A=QΛQᵀ, with maximum stretch max|λ|. General matrices require singular values for maximum stretch. Eigenmodes explain stability, Markov chains and optimization; not every matrix is diagonalizable.
Eigen directions
A=[[2,0],[0,3]], v=(x,0) ; Av=2vCheck my understanding
Keep a thought in my notebook
Read the source and go further
- 10.4 Diagonalization ↗
- 10.5 Diagonalization of symmetric matrices ↗
- 10.6 Max Elongation of a Vector During Linear Mapping ↗
- 10.8 Eigenvalues and Eigenvectors are Useful ↗
- 10.9 Outlook ↗
The extended record combines confirmed reading, interaction, correct answer and a note of at least 40 characters. You can continue at any time.
Take this further
atomsh / lab