10/01 - Vectors & Functions: Difference between revisions

From Class Wiki
Jump to navigation Jump to search
Fonggr (talk | contribs)
Fonggr (talk | contribs)
Line 32: Line 32:
==Questions==
==Questions==
*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>?
**<math> \hat b_m </math> is a unit vector in the direction we're interested in finding the new coefficient for the new basis set
**<math> \hat b_m </math> is a unit vector in the direction we're interested in finding the new coefficient for the new basis set -- rewrite this
**<math> \hat b_j </math> is
*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  <math>k_m \,\!</math> instead of <math>k_j\,\!</math>?
*Why did you decide to make it  <math>k_m \,\!</math> instead of <math>k_j\,\!</math>?
**Completely arbitrary, the end result is the same either way
**Completely arbitrary, the end result is the same either way
*<math> \hat x </math> is a unit vector and <math> \vec x </math> is a vector
*<math> \hat x </math> is a unit vector and <math> \vec x </math> is a vector

Revision as of 16:10, 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=0N−1f(iT)⏟coefficients⋅p(t−iT)⏟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,x≠0
  • ∫−∞∞δ(x)dx=1.

By using the Dirac Delta function the summation becomes an integral

f(t)=∫−∞∞f(u)⋅δ(t−u)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^j⋅b^m=∑j=13vj(a^j⋅b^m)⏟projofa^jonb^m
  • Working from the b^ basis set:
v^⋅b^m=∑j=13bjb^j⋅b^m=∑j=13bj(b^j⋅b^m)⏟projofb^jonb^m=∑j=13bjkmδmj=km∑j=13bjδmj=bmkm∑j=13=bmkm
  • Now taking the v^⋅b^m that was derived from both basis sets and equating them:
bmkm=∑j=13vja^j⋅b^m⟹bm=1km∑j=13vj(a^j⋅b^m)

Defining km

Taking km from the previous section:

b^j⋅b^m=kmδmj⟹b^m⋅b^m=km⟹|b^m|2=km

Thus km is the length of b^m squared

Questions

  • What does the b^m represent, say compared to b^j?
    • b^m is a unit vector in the direction we're interested in finding the new coefficient for the new basis set -- rewrite this
    • b^j is
  • 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 km instead of kj?
    • Completely arbitrary, the end result is the same either way
  • x^ is a unit vector and x→ is a vector