Simple vector arithmetic question

  • Thread starter Thread starter The_Engineer
  • Start date Start date
  • Tags Tags
    Arithmetic Vector
AI Thread Summary
Two vectors, a and c, are defined with a 45-degree angle between them, and the user seeks a vector b that is orthogonal to a and also 45 degrees from c. The calculation of b as the difference c - a does not yield an orthogonal vector, as the dot product of a and b is not zero. The user initially believed they had made an error in their calculations but later realized the mistake stemmed from normalizing the resultant vector. The discussion highlights the geometric relationship between the vectors, indicating they form a triangle where the angles must sum to 135 degrees. Ultimately, the confusion arose from the properties of vector addition and normalization.
The_Engineer
Messages
17
Reaction score
0
I have two vectors: a = <ax, ay, az> and c = <cx, cy, cz>

which have an angle of 45 degrees between them.


If I get another vector by b = c - a then shouldn't b be orthogonal to a? I'm assuming this since a + b = c
 
Last edited:
Physics news on Phys.org
Did you try to sketch some vectors and to come up with a counter example?
 
A.T. said:
Did you try to sketch some vectors and to come up with a counter example?

Yes I have been using MATLAB to sketch and generate random examples. Here is one...

a = <0.3814, 0.9023, 0.2010>
c = <0.3965, 0.7378, -0.5463>

The angle between these vectors is 45 degrees.

I want a vector b such that b is orthogonal to a AND 45 degrees from c. Graphically speaking, this means a + b = c

Solving for b,
b = c - a = <0.0151, -0.1645, -0.7473>.



But b dot a ≠ 0 therefore they aren't orthogonal. Why aren't a and b orthogonal?


This happens for every random sample I make, starting with 2 vectors that are 45 degrees apart.
 
Nevermind I figured it out... I made a mistake by normalizing the resultant, which in turn messed up my final answer.
 
The vectors you describe will form a triangle. With one angle at 45 deg. the other two angles could be anything that add up to 135 deg.
 
So I know that electrons are fundamental, there's no 'material' that makes them up, it's like talking about a colour itself rather than a car or a flower. Now protons and neutrons and quarks and whatever other stuff is there fundamentally, I want someone to kind of teach me these, I have a lot of questions that books might not give the answer in the way I understand. Thanks
Back
Top