Finding the vector projection of one vector onto another

  • Level: Undergrad 
  • Thread starter baby_1
  • Start date
  • Tags Tags
    Image Vector
6 replies · 2K views · last reply
baby_1
Messages
159
Reaction score
16
Hello
I want to demonstrate a equation of Vector image on another vector (A on B)
Formula for the vector projection of A onto B: A_B = ((A·B)·B) / |B|^2, with the dot product A·B multiplied by vector B and divided by the squared magnitude of B.

So i go this steps
Handwritten-style equation A_B = A Cos Θ_AB, with a subscript B on A and subscript AB on Theta.

and as we know
Handwritten-style equation: unit vector of B, written as a hat over the vector B with magnitude |â_B| = 1.

so change the equation
Handwritten-style equation chain for the projection of vector A onto B: A_B = A cos θ_AB = |A||â_B| cos θ_AB = A·â_B = |A|.â_B.â_B = (A.B).B / |B|^2.

but in my equation A is (vector scale) not a (Vector)!
what is my problem?
 
You have [itex]\overline{A}[/itex], [itex]A[/itex], and [itex]\left|\overline{A}\right|[/itex]. I understand that [itex]\overline{A}[/itex] is a vector and that [itex]\left|\overline{A}\right|[/itex] is its length but what is [itex]A[/itex]?
 
Thanks for your replay
A and |A| both of them are length of A vector (in electromagnetic books we assume that A=|A| for easy to write)
 
Then pick one and stick with it. Similarly, don't swap between upper and lower case.
 
I rewrite the Steps.
main formula:
Formula for the vector projection A_B equals the dot product of A and B, times B, divided by the squared length of B, written as ((A·B)·B) over |B|^2.


steps:
Handwritten-style formula A_B = |A| Cos Θ_AB, with the magnitude bars around A and the angle symbol Θ subscripted AB.

as we know
Equation: |â_B| = 1, the magnitude of the unit vector a-hat sub B equals 1.

and
Handwritten dot product formula: A·Â = |Ā||â_B|·Cos Θ_AB, with the dot product on the left and the cosine term on the right.

so
Handwritten-style typeset derivation: A_B = |A|CosΘ_AB = |A||â_B|CosΘ_AB = A.â_B = |A|.â_B.â_B = (|A|.B).B / |B|^2


but in my equation |A| is (vector length) not a (Vector)!
what is my problem?
 
Oh Baby,

What are you doing? You are taking the dot product of vector A and vector B which results in a scalar. Then you are taking the dot product of that scalar with vector B. That makes no sense.

I think you want the dot product of vector A and vector B/|B|. B/|B| is the unit vector in the B direction.

Ratch
 
Thanks friends
i found my probelm
Image of Vector of A on B is a Vector and we should define the direct of it when write the image equation
Equation A_B = A Cos Θ_AB · â_B, where A_B is the vector projection of A onto B, A is a magnitude, Θ_AB is the angle between A and B, and â_B is the unit vector along B.