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: 125
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: 96
  • download.png
    download.png
    2.6 KB · Views: 112
  • WNt8J.png
    WNt8J.png
    2.6 KB · Views: 105
Suppose ,instead of the usual x,y coordinate system with an I basis vector along the x -axis and a corresponding j basis vector along the y-axis we instead have a different pair of basis vectors ,call them e and f along their respective axes. I have seen that this is an important subject in maths My question is what physical applications does such a model apply to? I am asking here because I have devoted quite a lot of time in the past to understanding convectors and the dual...
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...
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...
Back
Top