Mathematical Background
- Vector space
-
A vector space over a field is a set with operations and , where :
Axiom Formula Associativity of addition
Commutativity
Neutral element wrt. addition
Inverse element wrt. addition
—
—
Distributivity of multiplying a vector by a scalar wrt. to vector addition
Distributivity of multiplying a vector by a scalar wrt. to scalar addition
Associativity of multiplication
Neutral element wrt. multiplication
- Vector
-
Vectors are elements of a vector space .
- Dot product (inner product)
-
Geometrically, it’s a projection of into . A number that describes the similarity of and .
-
Two vectors are orthogonal iff .
-
With complex numbers, we have to conjugate (hence the overline).
-
(length of vector ).
-
A vector is normalized (or unit) if .
-
- Basis
-
A Euclidian vector space can be generated using a finite set of vectors that form the basis . For every , , where .
-
A basis is orthonormal if all of its vectors are both normalized and orthogonal to each other.
-
Each orthonormal basis can be expressed as a square matrix.
-
Cartesian coordinate system (standard basis) is, for example in 3D, where:
-
- Projecting vectors to a different basis
-
Projection is a change of coordinate system. A vector can be projected into basis :
-
Projection can be realized using matrix multiplication .
-
Transform from one basis to another is a linear mapping.
-
An orthonormal transform matrix is unitary: (conjugate transpose).
-
If is forward transform, then is inverse transform.
-
-
"A vector is projected into a basis." is the same as "A vector is expanded into linear combination of basis vectors.".
-
An -dimensional vector is the same as a discrete function with length .
-
- Function space
-
A set of functions between two sets.
- Inner product (in function spaces)
-
-
Discerete:
-
Continuous:
-
Both products perform projection of one function into another.
-
Orthogonal has the same meaning as in vector spaces.
-
For and , we use and .
-
and are orthogonal to one another, but neither is "normalized".
-
- Expansion of discrete functions
-
-
Each discrete function can be decomposed into a linear combination of some simpler, well-known functions.
-
Any discrete 1D function of samples can be uniquely expressed as a linear combination of mutually orthogonal functions :
-
Where is a scalar and is found using inner product .
-
-
The set of functions is predefined.
-
We want the decomposition to be unique, fast, and numerically stable.
-
It’s very similar to decomposition of vectors, except we have an orthogonal basis of functions instead of vectors.
-
Ideally we want a perfect decomposition, so that we can go back, but sometimes approximation is enough (e.g., compression).
-
- Expansion of continuous functions
-
Any continous function can be uniquely expanded into mutually orthogonal functions :
where scalar coefficients .
- Even and odd functions
-
-
For even functions (e.g., ).
-
For odd functions (e.g., ).
-
Any function can be split into an even and odd function:
-
- Sinc
-
- Kronecker delta
-
- Dirac delta
-
Contiguous equivalent to the Kronecker delta. Also known as the unit impulse:
- Euler’s formula (Euler-Moivre equation)
-
Questions
- What is a vector space generated by the given basis?
-
A set of all linear combinations of the basis vectors.
- What are orthogonal vectors?
-
Geometrically, vectors that are perpendicular. Mathematically, those whose inner product is zero.
- What is the orthonormal basis?
-
Basis formed of unit vectors that are orthogonal to one another.
- How can we simply convert a vector from one basis to another basis?
-
Simply by multiplying it with a transform matrix (possibly going through the standard basis in the middle).
- What is the unitary/orthogonal matrix?
-
A matrix whose inversion is the same as its conjugate transpose.
- What is the difference between basis vector and basis function?
-
A discrete function is a N-dimensional vector. A continous function is a (possibly) (uncountably) infinite vector.
- Explain the meaning of expansion coefficients.
-
They measure the "significance" of the respective basis function used in the expansion.