3D Rotations using complex numbers

Click For Summary
The discussion explores the use of complex numbers for 3D rotations, drawing parallels to quaternion algebra. It highlights that while quaternion rotations can be complex, they may outperform matrix operations in certain scenarios. The algorithm presented successfully rotates a vector while preserving its magnitude, but raises questions about the nature of the rotation, specifically regarding the axis of rotation and the behavior of angles. The conversation suggests that complex numbers are effective for 2D rotations, while quaternions are more suitable for 3D. Ultimately, understanding the axis of rotation is crucial for interpreting the results of the complex number-based rotation.
Septimra
Messages
27
Reaction score
0
I was thinking that if you could use quaternions to rotate an object using quaternion algebra that there might be a way to rotate an object using complex numbers in some fashion. I was looking at quaternion rotation of a vector and the amount of operations seemed to be a lot. Of course it levels out or even out performs matrices with linear interpolation and concatenation of rotations. But anyhow what i decided to do was rotate a vector (x ,y , z) = x + yi + zj

with the rotation complex numbers
(a + bi)
(a + bj)

a = cos

b = sin

Following this algorithm
(a + bi)(x + yi) = x' + y'i
(a + bj)(y' + zj) = y'' + z'j

the new rotated vector is x' + y''i + z'j;
This works, it rotates the object and preserves the magnitude of the vector.

What I don't understand is how it is rotating the object.

When I put in 90 degrees v(1,0,0) goes to v(0,0,1) to (0,-1,0) back to (1,0,0)

When I put in 90 degrees v(1,1,1) goes to v(-1,-1,1) to (1, -1, -1) to (1,1,1)

My question is: Is it rotating around an axis? Can it be changed? Is it Euler angles in disguise?

Why is it the first time it rotates by 90 degrees when I put in 90?

Then it rotates 180 when I still have 90 degrees in?
 
Physics news on Phys.org
Sure ... complex numbers are natural for 2D rotations, just as quaternions are natural for 3D rotations.

But you can also do rotations with matrices; see SO(3).

The question which you have found, what is the axis of rotation, is to be found in the construction of the above systems.
 
Thread 'How to define a vector field?'
Hello! In one book I saw that function ##V## of 3 variables ##V_x, V_y, V_z## (vector field in 3D) can be decomposed in a Taylor series without higher-order terms (partial derivative of second power and higher) at point ##(0,0,0)## such way: I think so: higher-order terms can be neglected because partial derivative of second power and higher are equal to 0. Is this true? And how to define vector field correctly for this case? (In the book I found nothing and my attempt was wrong...

Similar threads

  • · Replies 21 ·
Replies
21
Views
4K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 14 ·
Replies
14
Views
6K
  • · Replies 13 ·
Replies
13
Views
3K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K