RatMath ShelfCourse guide

University: first two years

Linear algebra

Use the left and right arrow keys to turn pages.

Course summary

Where RatMath helps

87.5%

35 of 40 focal problems use RatMath for a calculation or a substantive step.

Direct calculation
32 · 80%
Assisted
3 · 7.5%
Worked by hand
5 · 12.5%

Using the packages

Exact matrices make pivots, null spaces and repeated eigenvalues dependable worked examples. Students still need to specify the field, distinguish vectors from coordinates and interpret inconsistent systems.

Calculator interface

Use a row-operation ledger with undo and fraction display. Provide tabs for exact solution, residual, null space and the numerical preview, with labels for basis and coefficient field.

Packages used in the lessons

@ratmath/linalg (26 days) · @ratmath/core (4 days) · @ratmath/algebraic (4 days) · @ratmath/symbolic (2 days) · @ratmath/analytic (1 days) · @ratmath/stats (1 days) · @ratmath/structures (1 days)

How to read the percentages

Each of the 40 focal problems has equal weight. Direct means the displayed package calculation answers the computational question after the inputs are set up. Assisted means it contributes a step and the worked solution supplies essential reasoning, interpretation or selection. Worked by hand means the guide relies on a construction, argument or judgment for that task. The helpful share combines direct and assisted days. Courses and instructors assign different mixes of problems. The percentages describe this syllabus.

Classroom inputs and practical limits

35 of 40 days include a checked executable example. On 10 days the measured size sweep exercises a named API used in the lesson. Each day identifies its tested inputs and the mathematical property checked. Hand-worked days give the input scale and the argument to verify.

Ranges across the five units

Days 1–8 · Equations and pivots. About two to six equations or unknowns by hand, and up to about ten in small exact computational examples.

Unit benchmark · linalg.solve.exact, unknowns. Largest passing sample 128 (64.25 ms, 90.7 MiB peak process RSS). The runs did not locate a ceiling for this family.

Days 9–16 · Linear maps. Linear maps on dimensions 2–6, usually integer or small rational entries; include singular as well as invertible maps.

Unit benchmark · linalg.det.exact, square matrix side. Largest passing sample 200 (383 ms, 131.8 MiB peak process RSS). The first sampled passing call above 100 ms used 200 (383 ms). The runs did not locate a ceiling for this family.

Days 17–24 · Eigenstructure. Eigenvalues and Jordan forms mainly for 2×2 to 4×4 matrices. Repeated roots can matter more than the matrix side.

Unit benchmark · linalg.eigenvalues.exact, matrix side. Largest passing sample 18 (18.30 ms, 87.1 MiB peak process RSS). The runs did not locate a ceiling for this family.

Days 25–32 · Inner products. Two to six basis vectors, simple exact inner products, or tens of observations with two to four fitted coefficients.

Unit benchmark · linalg.leastSquares.exact, observations. Largest passing sample 2,000 (68.14 ms, 92.5 MiB peak process RSS). The runs did not locate a ceiling for this family.

Days 33–40 · Decompositions and applications. Small square or rectangular matrices, usually 2×2 to 6×6; track rank, coefficient bit length and conditioning separately.

Unit benchmark · structures.smithForm, square matrix side. Largest passing sample 50 (7.52 ms, 81.2 MiB peak process RSS). The runs did not locate a ceiling for this family.

Measurement method, runtime limits and complete workload results

Lecture and problem-set sequence

Days 1–8 Equations and pivots

Row-reduce, compare ranks and classify affine solution sets.

7 direct calculation · 0 assisted · 1 worked by hand

  1. Day 1 Reduced row echelon form
  2. Day 2 Solving a system
  3. Day 3 Null space
  4. Day 4 Rank and nullity
  5. Day 5 Linear independence
  6. Day 6 System by elimination
  7. Day 7 Contradictory rows
  8. Day 8 Free variables
Days 9–16 Linear maps

Compute determinants, invert maps, change bases and describe images.

6 direct calculation · 2 assisted · 0 worked by hand

  1. Day 9 Determinant
  2. Day 10 Inverse
  3. Day 11 Change of basis
  4. Day 12 Kernel and image
  5. Day 13 System in three unknowns
  6. Day 14 Matrix inverse
  7. Day 15 Determinant under row operations
  8. Day 16 Testing linearity
Days 17–24 Eigenstructure

Find invariant directions, characteristic polynomials and powers.

5 direct calculation · 1 assisted · 2 worked by hand

  1. Day 17 Eigenvalues and eigenvectors
  2. Day 18 Irrational eigenvalues
  3. Day 19 Characteristic polynomial
  4. Day 20 Matrix powers
  5. Day 21 Jordan form
  6. Day 22 Linear system
  7. Day 23 A defective matrix
  8. Day 24 Cayley–Hamilton
Days 25–32 Inner products

Construct orthogonal bases, project, fit data and classify quadratic forms.

7 direct calculation · 0 assisted · 1 worked by hand

  1. Day 25 Gram–Schmidt
  2. Day 26 Projection
  3. Day 27 Least squares line
  4. Day 28 Orthogonal diagonalisation
  5. Day 29 Definiteness
  6. Day 30 Least squares
  7. Day 31 Orthogonality in a subspace
  8. Day 32 Least-squares residual
Days 33–40 Decompositions and applications

Read singular values, condition estimates and matrix dynamics.

7 direct calculation · 0 assisted · 1 worked by hand

  1. Day 33 Singular values
  2. Day 34 LU factorisation
  3. Day 35 Condition number
  4. Day 36 Iterative methods and eigenvalues
  5. Day 37 Stationary distribution
  6. Day 38 Smith normal form
  7. Day 39 Rank under composition
  8. Day 40 Singular values and scaling

Start day 1 →