FourierMath : Fri Sep 12
Our first meeting.
- Defined vector addition, talked about components f vectors, representing a vector in terms of different coordinate systems : vector + vector = vector.
- Defined vector dot product: vector "dot" vector = scalar number. In a coordinate sustem, multiply corresponding coordinates and sum.
- Explained (without proof) that perpendicular (also called orthogonal) vectors have dot product zero, gave some examples and tried to build intuition.
- Showed that any vector's dot product with itself is length squared.
- Gave background on what we're trying to accomplish overall, and what this vector stuff has to do with going from time to frequency descriptions of sound.
We also looked at IPython a bit. A great platform to write about this stuff. (A simple little ipython notebook example is attached.)
assignment for next time
Read this
Google and read about
- vector addition
- vector dot product (also called "inner product")
Try some simple exercises:
Define
$$ \vec{a} = (1,-2,3) $$
$$ \vec{b} = (0, 4,1) $$
Then
- What is \( \vec{a} + \vec{b} \) ?
- What is \( \vec{a} \cdot \vec{b} \) ?
- Are these orthogonal? How do you know?
- What is the angle between these vectors?
- Find vectors that are orthogonal to each of \( \vec{a} \) and \( \vec{b} \).
- Find two vectors that are orthogonal to [1,1,1].
Consider the following two sets of four 4-component vectors.
- the "T" set : [1,0,0,0], [0,1,0,0], [0,0,1,0], [0,0,0,1].
- the "F" set : [1,1,1,1], [1,0,-1,0], [0,1,0,-1], [1,-1, 1, -1]
- Show that in each set, all four of these are orthogonal.
- "Normalize" the second set, shrinking them to all have length 1. (The first set already have length 1.)
- Make plots these vectors in IPython, thinking of them as a set of y-values where the x-value are (0,1,2,3).
Finally, let's say that we have some randomly chosen 4-component vector, say [10, 20, 3, -1].
- Can you write this as a sum of the vectors in set "T", multiplied by some constants?
- Can you write this as a sum of the vectors in set "F", multiplied by some constants?
- Can you always do this for any 4-component vector?
For a really good time, write up your answers in an IPython notebook.