|
-
Jun 29th, 2004, 10:22 PM
#1
Thread Starter
Fanatic Member
vector cross product
Could you do a cross product on two vectors in which each vector contains more than 3 elements?
"Can't" and "shouldn't" are two totally separate things.
All questions should be answered. All answers should be true. That is why I post.
-
Jun 30th, 2004, 03:30 PM
#2
Lively Member
Yes, you can. Supposing you have two 3d vectors,
(a1,a2,a3)
(b1,b2,b3)
The cross product is given by the determinant,
Code:
| i j k |
| a1 a2 a3 |
| b1 b2 b3 |
In three spatial dimensions, any point can be described by a linear combination of the vectors i, j, and k, which are defined,
i x j = k
j x k = i
k x i = j
If in four dimensions you had an extra unit vector l and defined the four of them as,
i x j = k
j x k = l
k x l = i
l x i = j
Then you could probably represent a cross product of the vectors,
(a1,a2,a3,a4)
(b1,b2,b3,b4)
(c1,c2,c3,c4)
By the determinant,
Code:
| i j k l |
| a1 a2 a3 a4 |
| b1 b2 b3 b4 |
| c1 c2 c3 c4 |
By definition the 3d cross product returns a vector orthogonal to both the vectors it's applied to. Since the four unit dimension vectors we defined are mutually orthogonal, it is necessary to apply the 4d cross product to three vectors in order to find a vector orthogonal to all three.
There you go I've just made all of that up. That's how I would imagine a 4d cross product working.
-
Jun 30th, 2004, 03:52 PM
#3
Frenzied Member
I've never done one in four, but I'll help you out with one in 3D.
Let's say you have this:
Code:
| i j k |
| a b c |
| d e f |
then the product would be:
i(bf-ec)-j(af-dc)+k(ae-db)
Have I helped you? Please Rate my posts. 
-
Jun 30th, 2004, 05:49 PM
#4
Thread Starter
Fanatic Member
So is there a defined way of handling the cross product of 4D vectors?
"Can't" and "shouldn't" are two totally separate things.
All questions should be answered. All answers should be true. That is why I post.
-
Jun 30th, 2004, 06:16 PM
#5
Thread Starter
Fanatic Member
Ok, I think I got it. The cross product of vectors is basically vector multiplication. So, I just have to multiply them as such:
http://www.ma.umist.ac.uk/servicemat...torproduct.pdf
Or is cross product something special?
"Can't" and "shouldn't" are two totally separate things.
All questions should be answered. All answers should be true. That is why I post.
-
Jul 20th, 2004, 07:50 PM
#6
New Member
Um, probably silly question, but how do you get 4d vectors?
(I just can't visualise it)
-
Jul 20th, 2004, 08:04 PM
#7
Frenzied Member
no-one can visualise 4 dimensions, but you can still calculate it in. you can calulate in 264 dimensions if you want.
Have I helped you? Please Rate my posts. 
-
Jul 21st, 2004, 11:56 AM
#8
Thread Starter
Fanatic Member
I am trying to create a general Vector class (no, not the container type.) In order to do so, I need to know how to do a cross product for an n-dimension vector.
I found something on vector multiplication, which is different from matrix multiplication. There is no real visualization involved. I am just trying to get the basic mathematical rules about vector multiplication.
"Can't" and "shouldn't" are two totally separate things.
All questions should be answered. All answers should be true. That is why I post.
-
Jul 21st, 2004, 12:43 PM
#9
Frenzied Member
well. I've never done it wit ha 4D vector. So I cant help, sorry.
Have I helped you? Please Rate my posts. 
-
Jul 23rd, 2004, 06:00 AM
#10
Fanatic Member
For a 4-d (on N-d) cross product just extend the determinant as required.
-
Jul 30th, 2004, 03:39 PM
#11
Thread Starter
Fanatic Member
So for vectors with dimensions larger than 3, we will need to do the cross product over several vectors?
"Can't" and "shouldn't" are two totally separate things.
All questions should be answered. All answers should be true. That is why I post.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|