Skip to main content
16-Pearl
May 28, 2015
Solved

Find angle giving highest rotated vector Z conponent (around X axis)

  • May 28, 2015
  • 2 replies
  • 1427 views

To all

trying to remember my school days and the use of derivative (if that's the tool to use). Given the following

an X,Y,Z Cartesian co-ordinate system

a vector v with components (vx, vy, vz)

a rotation matrix around x-axis Rx(theta)

Header 1Header 2Header 3
100
0cos(theta)-sin(theta)
0sin(theta)cos(theta)

Is there a way of finding at which angle theta the z component is the highest?

Thanks

Regards

JXB

Best answer by StuartBruff

J B wrote:

trying to remember my school days and the use of derivative (if that's the tool to use). Given the following

an X,Y,Z Cartesian co-ordinate system

a vector v with components (vx, vy, vz)

a rotation matrix around x-axis Rx(theta)

Header 1Header 2Header 3
1 0 0
0 cos(theta) -sin(theta)
0 sin(theta) cos(theta)

Is there a way of finding at which angle theta the z component is the highest?

Here's a starter for 10 ...

Stuart

2 replies

19-Tanzanite
May 28, 2015

The z component of the rotated vector will be  vy*sin(theta) + vz*cos(theta)

Differentiate wrt theta and set to zero to get the maximum theta as  thetamax = atan(vy/vz)

(Check that it is a maximum not a minimum!).

Alan

.

23-Emerald V
May 28, 2015

J B wrote:

trying to remember my school days and the use of derivative (if that's the tool to use). Given the following

an X,Y,Z Cartesian co-ordinate system

a vector v with components (vx, vy, vz)

a rotation matrix around x-axis Rx(theta)

Header 1Header 2Header 3
1 0 0
0 cos(theta) -sin(theta)
0 sin(theta) cos(theta)

Is there a way of finding at which angle theta the z component is the highest?

Here's a starter for 10 ...

Stuart

16-Pearl
May 29, 2015

Thanks Stuart for the input.  A lot more that I anticipated! I can see what I need I think

23-Emerald V
May 29, 2015

J B wrote:

Thanks Stuart for the input.  A lot more that I anticipated! I can see what I need I think

No worries, JXB.

Stuart