LINEAR-ALGEBRA Β· Interactive Practice | Unit 30 Β· Video 3
| Formula | Name | Description |
|---|---|---|
| Change of basis | Signal as combination of basis columns of with coefficients | |
| Inverse transform | Recover coefficients from the signal | |
| Orthonormal property | Inverse is just the transpose β blazing fast | |
| Normalization | Turns an orthogonal basis into an orthonormal one |
The same coefficients build a different vector once the basis changes.
Keep only the largest few coefficients in each basis, reconstruct, and compare the error.
Standard (pixel) basis
Haar wavelet basis
π‘ Packing a signal's energy into a few large coefficients β sparsification β is exactly what JPEG and JPEG 2000 exploit to compress images.
Distinct Haar columns dot to zero β yet a column dotted with itself is its squared length, not .
π‘ Dividing each column by its length normalizes into an orthonormal matrix, where .
Question 1
Let and .
Using , what is ?
β Correct! .
β Not quite. Remember: is the linear combination where are the columns of .
Solution:
Compute column by column:
Question 2
A matrix has columns that are mutually orthogonal, but each column has length (not 1).
Is it true that ?
β Correct! Orthogonal is not enough β you also need unit length (orthonormal). Here , so .
β Not quite. Orthogonality gives diagonal, but only orthonormal columns (unit length) make it the identity.
Solution:
Orthogonal columns alone are not enough. If column has length , then , so
This gives , not itself. You need columns of unit length β i.e., orthonormal β for . Normalize each column by dividing by its length.
Question 3
Two competing strategies, both keep only 10% of the data:
Why does Strategy B produce a far better image than Strategy A?
β Correct! Sparsification is the key β wavelets pack the signal's energy into a few coefficients.
β Not quite. Re-read the answer about energy concentration.
Solution:
This is the sparsification criterion. A good basis should express the signal as where most entries of are tiny and only a few are large. Then we keep the big ones and discard the rest β losing almost nothing.
This is the core idea behind JPEG (DCT) and JPEG 2000 (wavelets).
Question 4
For a megapixel image, is roughly . Computing from scratch takes about operations β infeasible.
Which property of rescues us by making as cheap as one matrix-vector multiplication?
β Correct! Orthonormality turns the inverse into a transpose β and a transpose is essentially free.
β Not quite. Think about which property makes , so that .
Solution:
When is orthonormal, , so . Transposing a matrix is essentially free β you just reinterpret the indices. So becomes , a single matrix-vector multiplication.
This is exactly why the FFT, DCT, and wavelet transforms all use orthonormal bases: speed.
(Note: being diagonal would also be fast, but then it wouldn't mix coordinates at all β useless for compression. Square and integer-valued don't help with inversion cost.)
Solved: 0 / 4