Why Linear Algebra?
Diagnostic Survey due 8/21
October 9, 2026
Painful departures of colleagues, mentors, and friends who have shaped this community; we grieve
New academic structures, no departments
Questions and uncertainty; let’s meet them with patience and care
We remain committed to your success
The loss is real, as is our responsibility to care for one another and keep learning well
Illinois Tech
↓
College of Tech Futures
↓
School of Computing
↓
(Applied Mathematics)
Technical depth + collaboration across fields + experience in practice
AI can be a capable assistant that helps solve research problems
We need to understand what AI produces—and learn how to guide it
The political environment is also disruptive
AI assists; responsibility remains mine
🎬 Teaser Trailer
image and data
transformations and constraints
networks and repeated change
data and approximation
systems of constraints
machine learning
a = np.float64(22.5)x = np.array([3, 2])A = np.array([[1, .5], [0, 1]])T = np.zeros((32, 32, 3))Numerical representations are models of objects that allow us to compute with them
A vector can record
\[ \vct{x}=\begin{bmatrix}3\\2\end{bmatrix} \]
a \(4\times4\) image
sampled pixel values
Choose an order; read off brightness
\[ \vct{x}=\begin{bmatrix} 17&51&221&238&34&119&\cdots&17 \end{bmatrix}^{\mathsf T} \]
\(4\times4\) image represented by a vector in \(\reals^{16}\)
Each color channel is a matrix
\[\mat{M}=(m_{jk})_{j=1,k=1}^{m,n}\]
Once an image has been represented as a matrix, linear algebra can reveal important patterns
Singular value decomposition (SVD) decomposes a matrix into patterns ordered by their contribution
+ ···
Keep the most important patterns for compression, denoising, or discovering structure
observed pairs \((x_i,y_i)\)
Linear model
\[y_i\approx c_0+c_1x_i\]
One equation per observation
\[\begin{align*} c_0+c_1x_1&\approx y_1\\ c_0+c_1x_2&\approx y_2\\ &\ \vdots\\ c_0+c_1x_n&\approx y_n \end{align*}\]
The same system
\[ \mat{A}=\begin{bmatrix} 1&x_1\\ 1&x_2\\ \vdots&\vdots\\ 1&x_n \end{bmatrix}, \quad \vct{c}=\begin{bmatrix}c_0\\c_1\end{bmatrix}, \quad \vct{b}=\begin{bmatrix}y_1\\y_2\\\vdots\\y_n\end{bmatrix} \]
\[\mat{A}\vct{c}\approx\vct{b}\]
Oriented edges
\[e_1:1\to2,\qquad e_2:2\to3,\qquad e_3:1\to3\]
Node–edge incidence matrix
\[ \mat{B}= \begin{bmatrix} -1& 0&-1\\ 1&-1& 0\\ 0& 1& 1 \end{bmatrix} \]
\(\mat{B}\) represents the network structure
\[ \mat{R}=\begin{bmatrix}0&-1\\1&0\end{bmatrix}, \qquad \vct{x}=\begin{bmatrix}2\\1\end{bmatrix} \]
\[\vct{x}\longmapsto\mat{R}\vct{x}\]
\(\exstar\)
Before multiplying
place and orient the object in the world
express the world relative to the camera
project camera coordinates onto the screen
One composed action
\[ \vct{x}_{\text{screen}} =\mat{C}\mat{B}\mat{A}\vct{x}_{\text{object}} \]
Order of \(\left\{\begin{array}{c}\text{transformations}\\[-0.15em]\text{multiplication}\end{array}\right\}\) matters
Three sensors; unknown location \((x,y)\)
\[\begin{align*} x+y&=6 &&\text{sensor 1}\\ 2x-y&=3 &&\text{sensor 2}\\ 3x&=9 &&\text{sensor 3} \end{align*}\]
All three constraints agree
Third equation is redundant: sum of the first two
More equations \(\ne\) more information
Solving means understanding the information in a system—not only finding numbers
No line passes through every point
So \(\mat{A}\vct{x}=\vct{b}\) has no exact solution
\[ \hvx =\argmin_{\vct{x}}\;\lVert\vct{b}-\mat{A}\vct{x}\rVert^2 \]
Least squares asks for the closest possible output
Projection identifies it geometrically
A page is important if important pages link to it
A different matrix—built from the network’s links—redistributes the node scores
\[ \vct{p}_{k+1}=\mat{A}\vct{p}_k \]
Repeated redistribution may approach a steady ranking
\[\mat{A}\vct{p}=\vct{p}\]
Eigenvectors identify directions that a matrix action preserves
Linear algebra supplies representations, transformations, geometry, and scalable operations
Machine learning also needs probability, optimization, nonlinear models, data, and judgment
Hidden Figures (2016)
1957 · FORTRAN 1972 · C 1978 · TeX 1978 · WORDSTAR 1983 · INTERNET (TCP/IP) 1984 · MATLAB 1991 · Python
One measurement
\[ \begin{bmatrix}1&1\end{bmatrix}\vct{x}=4 \]
Many solutions
\[ \vct{x}=\begin{bmatrix}0\\4\end{bmatrix}, \begin{bmatrix}1\\3\end{bmatrix}, \begin{bmatrix}3\\1\end{bmatrix},\ldots \]
An ill-posed problem does not determine a unique, stable answer
Here uniqueness fails
One remedy: add a selection rule—e.g., the smallest-norm solution: \(\displaystyle\vct{x}_\star =\argmin_{[\,1\;1\,]\vct{x}=4}\lVert\vct{x}\rVert_2 =\begin{bmatrix}2\\2\end{bmatrix}\)
Each system has a unique solution
Nearly parallel constraints make that solution highly sensitive to the data
This is ill-conditioning
A tiny change in the data can cause a large change in the solution
Mathematically equivalent
\[ \sqrt{1+x^2}-1 = \frac{x^2}{\sqrt{1+x^2}+1} \]
For very small \(x>0\), direct subtraction combines nearly equal numbers
Catastrophic cancellation can discard significant digits
Python double precision:
| \(x\) | direct | rationalized |
|---|---|---|
| \(1.2346E-06\) | \(7.6206E-13\) | \(7.6208E-13\) |
| \(1.2346E-07\) | \(7.5495E-15\) | \(7.6208E-15\) |
| \(1.2346E-08\) | \(0.0000E+00\) | \(7.6208E-17\) |
The rationalized form avoids the subtraction
Numerical instability is avoidable error introduced or amplified by the computational method
For a dense \(n\times n\) matrix, \(\mA\)
Double \(n\) implies
Use reliable numerical linear algebra packages
Choose the efficient algorithm, e.g. x=np.linalg.solve(A,b), not x=np.linalg.inv(A)@b
May reduce storage and operations by exploiting structure: sparsity, symmetry, low rank, …
Unnecessary computation
Examples:
Do no unnecessary computation
For production work, use a tested numerical library
Reliable software cannot fix ill-posedness or remove sensitivity inherent in an ill-conditioned problem
Distinguish an ill-posed formulation, an ill-conditioned problem, an unstable algorithm, and excessive computational cost
Use this cumulative alphabetical index to revisit the first substantial treatment of each term
Complete Assignment 0 — Diagnostic Survey by August 21
Complete and submit this assignment individually, not as a group
Computation supports understanding
It does not replace mathematical reasoning
Jupyter/Colab notebooks support demonstrations and experiments
Use the slides for course content, the course website and repository for course materials, and Canvas for grades
Each slide deck has a list of decks and major sections after the title page
Each major section is headed by a slide that points to its minor sections
and jump to the previous and next major sections
and jump to the previous and next slides
« and » at the bottom jump to the previous and next decks
at the bottom left shows all slides, as does Esc
Lecture slides are under the Schedule
Course work appears under Assignments and Quizzes and Tests
Basic course information is on the Welcome page
All materials are in the course repository, which builds the course website
Grades are in Canvas
Roles overlap; choose deliberately. Think enough to know the problem AI should help solve
“Use Socratic questions, examples, and nonexamples to probe my understanding and connect intuition to the formal definition”
“Find the weakest step in my argument and explain why”
Prefer dialogue: strengthen your thinking before producing finished work
“Propose two approaches, their assumptions, and how I could choose”
“Implement this specification and provide tests for each requirement”
Match tool to role: the best AI for one role may not be the best for another. One AI can help you reason and specify; another execute. You inspect and revise
Better-specified tasks permit more delegation
Responsibility never transfers to AI
AI output: proposal to inspect, not authority. Expose assumptions, alternatives, reasons; verify appropriately
Verify the result and whether the right problem was solved
Afterward: Can you explain the result, modify it, solve a related problem without reproducing AI output?
Delegate execution; retain understanding, judgment, responsibility
\[\begin{align*} x+y-z&=2\\ 2x-y+3z&=5\\ x+2y+z&=4 \end{align*}\]
Everything in this course begins with questions like these
© 2026 Fred J. Hickernell · Illinois Tech · assisted by ChatGPT and Codex · Why Linear Algebra? · MATH 332 — Fall 2026 Website · \(\exstar\) = exercise