Algebra
Sums, products, systems and relationships between coordinates.
Mathematics · Structures and transformations
Linear algebra studies objects that can be added and scaled, and transformations that preserve those operations. Matrices are their numerical representation: they describe data, equation systems and geometric motion in one language.
A vector is more than an arrow: it is an element of a space where addition and scalar multiplication make sense. A transformation is linear when it preserves both operations.
Sums, products, systems and relationships between coordinates.
Directions, projections, rotations, areas and changes of basis.
Algorithms that turn matrices into useful information.
A linear combination of vectors v₁,…,vₖ has the form
The set of all linear combinations generated by the vectors.
No vector is a combination of the others; only all-zero coefficients produce zero.
An independent set spanning the whole space. Every vector has unique coordinates in that basis.
The number of vectors in a basis; it measures the space’s independent directions.
An m × n matrix A takes vectors with n coordinates and produces vectors with m coordinates. Column j of A is the image of the j-th standard basis vector.
Addition and scalar multiplication act entry by entry. Matrix multiplication instead represents composition of transformations: in ABx = A(Bx), B acts first, then A.
Edit values and dimensions, then step through: for every cell cᵢⱼ the lab highlights row i of A, column j of B and adds one product at a time.
The matrix columns show where basis vectors e₁ and e₂ land. Edit A or drag the blue point: grid, unit square, area and image vector update together.
The blue point is draggable. The purple polygon is the image of the unit square.
Measures the oriented area or volume scale factor. Its sign tells whether orientation is reversed.
For a square matrix, det(A) ≠ 0 is equivalent to full rank, independent columns and a unique Ax = b solution for every b.
The number of independent directions preserved by the transformation: the dimension of its column space.
Contains vectors mapped to zero. The rank-nullity theorem says rank(A) + nullity(A) = n.
The augmented matrix [A|b] contains every equation. Elementary row operations preserve the solution set; step through pivots, swaps, normalization and elimination.
| Operation | Dimensions | Classical time | Result space |
|---|---|---|---|
| Addition | m × n | Θ(mn) | Θ(mn) |
| Matrix-vector | (m × n)(n × 1) | Θ(mn) | Θ(m) |
| Matrix product | (m × n)(n × p) | Θ(mnp) | Θ(mp) |
| Gaussian elimination, square | n × n | Θ(n³) | Θ(n²), or in place |
| Determinant by elimination | n × n | Θ(n³) | Θ(n²) |
For large matrices there are asymptotically faster algorithms and implementations exploiting caches and parallelism; the classical triple-loop product remains the fundamental model to understand.