10/01 - Vectors & Functions: Difference between revisions

From Class Wiki
Jump to navigation Jump to search
Fonggr (talk | contribs)
Fonggr (talk | contribs)
Line 15: Line 15:
<math> f(t) = \int_{-\infty}^{\infty} f(u) \cdot \delta (t - u)\, du </math>
<math> f(t) = \int_{-\infty}^{\infty} f(u) \cdot \delta (t - u)\, du </math>


==Changing from one orthogonal Basis Functions to another==
==Changing from one orthogonal basis set to another==
If you have a vector <math> \hat v = \sum_{j=1}^3 a_j \hat a_j </math> and wish to change it to <math> \hat v = \sum_{j=1}^3 b_j \hat b_j</math>
We have a vector <math> \hat v = \sum_{j=1}^3 a_j \hat a_j </math> and wish to change it to <math> \hat v = \sum_{j=1}^3 b_j \hat b_j </math>. We know each basis set, and their relationship to each other. We are trying to find the coefficients, (the <math> b_j \,\!</math>) that go with the new basis set.
*Working from the <math> \hat a </math> basis set:
*Working from the <math> \hat a </math> basis set:
:<math>\hat v \cdot \hat b_m= \sum_{j=1}^3 a_j \hat a_j \cdot \hat b_m = \sum_{j=1}^3 a_j \underbrace{\left (\hat a_j \cdot \hat b_m \right )}_{proj of \hat a_j on \hat b_m} </math>
:<math>\hat v \cdot \hat b_m= \sum_{j=1}^3 v_j \hat a_j \cdot \hat b_m = \sum_{j=1}^3 v_j \underbrace{\left (\hat a_j \cdot \hat b_m \right )}_{proj of \hat a_j on \hat b_m} </math>
*Working from the <math> \hat b </math> basis set:
*Working from the <math> \hat b </math> basis set:
<math> \hat v \cdot \hat b_m= \sum_{j=1}^3 b_j \hat b_j \cdot \hat b_m = \sum_{j=1}^3 b_j \underbrace{\left (\hat b_j \cdot \hat b_m \right )}_{proj of \hat b_j on \hat b_m}= \sum_{j=1}^3 a_j k_m \delta mj = k_m \sum_{j=1}^3 a_j \delta mj= \sum_{j=1}^3 a_m k_m</math>
:<math> \hat v \cdot \hat b_m= \sum_{j=1}^3 b_j \hat b_j \cdot \hat b_m = \sum_{j=1}^3 b_j \underbrace{\left (\hat b_j \cdot \hat b_m \right )}_{proj of \hat b_j on \hat b_m}= \sum_{j=1}^3 b_j k_m \delta mj = k_m \sum_{j=1}^3 b_j \delta mj= b_m k_m \sum_{j=1}^3 = b_m k_m </math>
*Now taking the <math> \hat v \cdot \hat b_m </math> that was derived from both basis sets and equating them:
:<math> b_m k_m = \sum_{j=1}^3 v_j \hat a_j \cdot \hat b_m \Longrightarrow b_m = \frac{1}{k_m} \sum_{j=1}^3 v_j \left (\hat a_j \cdot \hat b_m \right ) </math>
 
==Defining <math> k_m \c\! </math>
Define <math> k_m = \left | \hat a_m \right |^2 </math>
Define <math> k_m = \left | \hat a_m \right |^2 </math>
*Why?
*How did you get the last two lines of the last page?
*How did you get the last two lines of the last page?
*What does the <math> \hat b_m </math> represent, say compared to <math> \hat b_j</math>?
*What does the <math> \hat b_m </math> represent, say compared to <math> \hat b_j</math>?
*When you do the dot product of say A \cdot B, is it always the projection of A onto B and not the opposite way around?
*When you do the dot product of say A \cdot B, is it always the projection of A onto B and not the opposite way around?
*Why did you decide to make it k_m instead of k_j?

Revision as of 15:32, 10 November 2008

Vectors & Functions

  • How to related the vector v to the sampling?

We could sample a continuous function every T seconds, creating a "bar graph".

f(t)=i=0N1f(iT)coefficientsp(tiT)basisfunctions

  • Where p(t) is a rectangle 1 unit high and T units wide

In an effort to make this more exact, will will continue to shrink the rectangle down to the Dirac Delta function, δ

  • δ(x)={+,x=00,x0
  • δ(x)dx=1.

By using the Dirac Delta function the summation becomes an integral

f(t)=f(u)δ(tu)du

Changing from one orthogonal basis set to another

We have a vector v^=j=13aja^j and wish to change it to v^=j=13bjb^j. We know each basis set, and their relationship to each other. We are trying to find the coefficients, (the bj) that go with the new basis set.

  • Working from the a^ basis set:
v^b^m=j=13vja^jb^m=j=13vj(a^jb^m)projofa^jonb^m
  • Working from the b^ basis set:
v^b^m=j=13bjb^jb^m=j=13bj(b^jb^m)projofb^jonb^m=j=13bjkmδmj=kmj=13bjδmj=bmkmj=13=bmkm
  • Now taking the v^b^m that was derived from both basis sets and equating them:
bmkm=j=13vja^jb^mbm=1kmj=13vj(a^jb^m)

==Defining Failed to parse (unknown function "\c"): {\displaystyle k_m \c\! } Define km=|a^m|2

  • How did you get the last two lines of the last page?
  • What does the b^m represent, say compared to b^j?
  • When you do the dot product of say A \cdot B, is it always the projection of A onto B and not the opposite way around?
  • Why did you decide to make it k_m instead of k_j?