MHB Angle between line and the axis

  • Thread starter Thread starter karthikS
  • Start date Start date
  • Tags Tags
    Angle Axis Line
AI Thread Summary
The discussion revolves around calculating the true angle of a 3D line with the z-axis, given its angles with the z-axis in both the X-Z and Y-Z planes. The formula provided for determining this angle involves trigonometric functions, specifically using sine and cosine relationships. A user expressed confusion regarding the application of the formula, particularly when the angles in the projections yield unexpected results, such as 90 degrees for a space diagonal in a cube where both angles should be 45 degrees. Clarification was sought on the correct interpretation of the angles and the formula's components. The conversation emphasizes the importance of accurately applying trigonometric principles to resolve geometric relationships in three-dimensional space.
karthikS
Messages
3
Reaction score
0
Consider a 3D straight line passing through z-axis. Following two angles are given (available):

(1) Angle of the line with the z-axis in X-Z plane
(2) Angle of the line with the z-axis in Y-Z plane

I want to know the true angle of the line with the z-axis, i.e.,the angle of the line with z-axis in the plane passing through the line and z-axis.View attachment 7971
 

Attachments

  • cuboid1.png
    cuboid1.png
    9.8 KB · Views: 126
Last edited:
Mathematics news on Phys.org
karthikS said:
Consider a 3D straight line passing through z-axis. Following two angles are given (available):

(1) Angle of the line with the z-axis in X-Z plane
(2) Angle of the line with the z-axis in Y-Z plane

I want to know the true angle of the line with the z-axis, i.e.,the angle of the line with z-axis in the plane passing through the line and z-axis.

Hi karthikS, welcome to MHB!

Can it be that you mean the angle of the line with the X-Z plane?
Respectively the angle with the Y-Z plane?
Because we can take an angle of a line either with respect to another line, or with respect to a plane.

If so, then let $\angle X\text-Z$ and $\angle Y\text-Z$ be those angles.
And let $\angle Z$ be the angle with the z-axis.

Then:
$$\angle Z = \arccos \sqrt{1-\sin(\angle Y\text-Z)^2-\sin(\angle X\text-Z)^2} \tag 1$$

This follows from the vector project formula, and how angles of lines and planes are defined.
That is, let $\mathbf{\hat a}$ be a direction vector along the line with length 1.
And let $\mathbf{\hat x}$, $\mathbf{\hat y}$, and $\mathbf{\hat z}$ be the standard coordinate vectors (of length 1).
Then:
\begin{cases}
\sin\angle Y\text-Z = \mathbf{\hat a}\cdot \mathbf{\hat x} = a_x \\
\sin\angle X\text-Z = \mathbf{\hat a}\cdot \mathbf{\hat y} = a_y \\
\cos\angle Z = \mathbf{\hat a}\cdot \mathbf{\hat z} = a_z \\
\sqrt{a_x^2+a_y^2+a_z^2} = 1 \tag 2
\end{cases}
From (2) we can find (1).

Since I do not know how familiar you are with these kind of manipulations, please let us know if any step is unclear.
 
Last edited:
I like Serena said:
Hi karthikS, welcome to MHB!

Can it be that you mean the angle of the line with the X-Z plane?
Respectively the angle with the Y-Z plane?
Because we can take an angle of a line either with respect to another line, or with respect to a plane.

If so, then let $\angle X\text-Z$ and $\angle Y\text-Z$ be those angles.
And let $\angle Z$ be the angle with the z-axis.

Then:
$$\angle Z = \arccos \sqrt{1-\arcsin(\angle Y\text-Z)^2-\arcsin(\angle X\text-Z)^2} \tag 1$$

This follows from the vector project formula, and how angles of lines and planes are defined.
That is, let $\mathbf{\hat a}$ be a direction vector along the line with length 1.
And let $\mathbf{\hat x}$, $\mathbf{\hat y}$, and $\mathbf{\hat z}$ be the standard coordinate vectors (of length 1).
Then:
\begin{cases}
\sin\angle Y\text-Z = \mathbf{\hat a}\cdot \mathbf{\hat x} = a_x \\
\sin\angle X\text-Z = \mathbf{\hat a}\cdot \mathbf{\hat y} = a_y \\
\cos\angle Z = \mathbf{\hat a}\cdot \mathbf{\hat z} = a_z \\
\sqrt{a_x^2+a_y^2+a_z^2} = 1 \tag 2
\end{cases}
From (2) we can find (1).

Since I do not know how familiar you are with these kind of manipulations, please let us know if any step is unclear.

Have you meant 'arcsin' inside the square root, or it is simply 'sin'?
 
karthikS said:
Have you meant 'arcsin' inside the square root, or it is simply 'sin'?

Yes. Sorry. I meant sine.
Fixed in my previous post.
 
I like Serena said:
Yes. Sorry. I meant sine.
Fixed in my previous post.

Can you confirm that you have meant the angle marked with a '?' in the diagram as angle Z?View attachment 7981

'h' is the space diagonal in the cube shown above. When the space diagonal is projected onto the XZ plane, projected line is at an angle Ø1 with the Z-axis. Similarly, when the space diagonal is projected onto the YZ plane, projected line is at angle Ø2 with the Z-axis.

Now, look at the right angled triangle formed by the sides 'a', 'd' and 'h'. What is the the true angle of the space diagonal with the Z-axis in the plane of the right angled triangle?

When I use the above formula, I am not getting correct results. In a cube, when the space diagonal is projected on to the two planes, I have the 45 degrees on both Ø1 and Ø2. With the formula, I am getting 90 degrees, which is not true.
View attachment 7982View attachment 7983
 

Attachments

  • cube_45.PNG
    cube_45.PNG
    2.3 KB · Views: 100
  • download.png
    download.png
    2.6 KB · Views: 113
  • WNt8J.png
    WNt8J.png
    2.6 KB · Views: 109
Thread 'Video on imaginary numbers and some queries'
Hi, I was watching the following video. I found some points confusing. Could you please help me to understand the gaps? Thanks, in advance! Question 1: Around 4:22, the video says the following. So for those mathematicians, negative numbers didn't exist. You could subtract, that is find the difference between two positive quantities, but you couldn't have a negative answer or negative coefficients. Mathematicians were so averse to negative numbers that there was no single quadratic...
Thread 'Unit Circle Double Angle Derivations'
Here I made a terrible mistake of assuming this to be an equilateral triangle and set 2sinx=1 => x=pi/6. Although this did derive the double angle formulas it also led into a terrible mess trying to find all the combinations of sides. I must have been tired and just assumed 6x=180 and 2sinx=1. By that time, I was so mindset that I nearly scolded a person for even saying 90-x. I wonder if this is a case of biased observation that seeks to dis credit me like Jesus of Nazareth since in reality...
Fermat's Last Theorem has long been one of the most famous mathematical problems, and is now one of the most famous theorems. It simply states that the equation $$ a^n+b^n=c^n $$ has no solutions with positive integers if ##n>2.## It was named after Pierre de Fermat (1607-1665). The problem itself stems from the book Arithmetica by Diophantus of Alexandria. It gained popularity because Fermat noted in his copy "Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos, et...
Back
Top