Linear Algebra
2.68 min read

Applications: Physics, Graphics, Audio, Images

Vectors appear in every quantitative field. The power of the vector concept is that the same mathematics — addition, scalar multiplication, span — applies regardless of what the entries represent.

Physics: Velocity, force, momentum, and electric fields are all vectors in R3\mathbb{R}^3. Newton's second law F=maF = ma becomes F=ma\mathbf{F} = m\mathbf{a} in vector form.

Graphics: A 3D point has coordinates (x,y,z)(x, y, z), transformations are matrix operations on these vectors. Colors are vectors (r,g,b)(r, g, b) in [0,1]3[0,1]^3.

Audio: A digital audio clip at 44,100 samples/second for 1 second is a vector in R44100\mathbb{R}^{44100}. Filters are linear operations on this vector.

Images: A grayscale image of height hh and width ww is a vector in Rhw\mathbb{R}^{hw}. Convolution filters are linear operations.

Formal View

Example 2.6 — Image as a Vector
A 100×100100 \times 100 grayscale image has 10,00010{,}000 pixels. It can be stored as a vector xR10000\mathbf{x} \in \mathbb{R}^{10000} where xix_i is the brightness of pixel ii. Blurring corresponds to computing AxA\mathbf{x} for an appropriate matrix AA.

Why This Matters

The unifying power of vector notation is that one set of mathematical tools solves problems across all these domains.

  • Image compression (JPEG) uses linear algebra on image vectors
  • Audio equalization applies linear filters (matrix operations) to sound vectors
  • Computer vision represents images as vectors and applies linear transformations to classify them

Quiz

Question 1

A 50×5050 \times 50 grayscale image stored as a vector lives in Rn\mathbb{R}^n where nn is:

Common Mistakes

  • Thinking vectors must be 2D or 3D — high-dimensional vectors are equally fundamental.
  • Treating images/audio as "special" objects rather than vectors subject to linear algebra.