How to calculate the angles that define the position your arm is in

Click For Summary
To calculate the angles defining the position of your arm using points S, E, and W, first construct vectors for the lines SE and EW. The azimuth and polar angles can be determined by converting these vectors into spherical coordinates. It is important to clarify that E, as a point, does not have angles to other points but can have angles relative to the vertical. Using the dot product of vectors can also simplify finding the angle between lines. The discussion emphasizes the need for precision in mathematical definitions to avoid confusion.
CraigH
Messages
221
Reaction score
1
I have 3 points ##S##, ##E##, and ##W## each with ##x##, ##y##, and ##z## positions.

##S## is always at ##[1,1,1]##

##S## is connected to ##E##, and ##E## is connected to ##W## by a line.

I want to calculate the azimuth and polar angles between ##E## and the vertical, and the azimuth and polar angles between ##E## and ##W##, using the coordiantes I have for all of them. How would I do this?
 
Last edited:
Mathematics news on Phys.org
construct vectors for the lines, convert to spherical, polar coordinates.
note. E us a point, it cannot have an angle to anything.
 
Thanks for your reply :)
Simon Bridge said:
note. E us a point, it cannot have an angle to anything.
E is a point however it will have angles between itself and the vertical
 
No - a point cannot have angles between itself and anything else.
You can see this easily by drawing a point, and drawing a "vertical", but do not draw in an origin.
What is the angle between the point and the line you just drew? Doesn't make sense does it?

The vector pointing from the origin to E will have angles between itself and the vertical, as will any line passing through the origin and E. However, any line passing through E, any vector pointing from any point to E, will have an angle to the vertical, so you have to specify. Just saying "the angle of E" is too vague. We may be able to infer something from the context but, in maths at least, it is often a good idea to make implicit things explicit: it helps you cut through common confusions.

The way to tackle your problem is to construct the lines you want the angles between and use geometry.
One approach is the shift the axes so the z-axis lies along one line, and the origin is at the corner, then represent the point you are interested in with spherical coordinates. The azimuthal angle that results will also be the angle between the two lines.

If you have three points A B C and you want to find the angle ABC, then you can get that from the dot product of vector BA with vector BC. That may be easier for you.
 
Last edited:
Ah okay I see what you mean, in my case ##S## is the origin. So I am looking for the angle between the line ##S E## and the vertical. I'll edit the original post and clarify this.
 
Please don't edit the original post, it makes the resulting conversation into nonsense and makes it useless for helping others with the same problem as you.
You have supplied with two ways to find the angle between the line SE and the k unit vector.
 
Here is a little puzzle from the book 100 Geometric Games by Pierre Berloquin. The side of a small square is one meter long and the side of a larger square one and a half meters long. One vertex of the large square is at the center of the small square. The side of the large square cuts two sides of the small square into one- third parts and two-thirds parts. What is the area where the squares overlap?

Similar threads

  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 12 ·
Replies
12
Views
4K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 21 ·
Replies
21
Views
2K