How do I find the intersection of 4D lines?

  • Context: Graduate 
  • Thread starter Thread starter adoado
  • Start date Start date
  • Tags Tags
    4d Intersection Line
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
2 replies · 5K views
adoado
Messages
71
Reaction score
0
Hello all,

Given two 3D lines described by the general equation
[tex]\vec{L(t)}=\vec{p}+\vec{d}t[/tex]

I found a way to find their intersection point, but it uses the cross product in the derivation. I am assuming a 4D line is a valid thing? And can be described the same way? (except with 4 element vectors). If so, how can I find their intersection, as I read the cross product is undefined in 4 dimensions?

Cheers,
Adrian
 
Physics news on Phys.org
First, of course, two lines in four dimensions, just as in three dimensions, generally don't intersect. Now, because, as you say, the cross product is undefined in 4 dimensions, HOW did you "find a way to find their intersection point, but it uses the cross product in the derivation"?

I certainly see no reason to use a cross product. Given a line defined by [itex]\vec{p}+ \vec{d}t[/itex] and another defined by [itex]\vec{q}+ \vec{c}s[/itex], set them equal: [itex]\vec{p}+ \vec{d}t= \vec{q}+ \vec{c}s[/itex]. Setting corresponding components equal, that gives four equations to solve for t and s.
 
To find the intersection of the lines

p(s) = a+bs
q(t) = c+dt

where a,b,c,d are vectors in any number of dimensions, and b is normalized,

(q(t) - a) = ((q(t)-a).b)b
(c+dt - a) = ((c+dt-a).b)b
(d-d.bb)t = (c-a).bb+a-c

Thus, the point of intersection is at c + d * {[(c-a).bb+a-c]/[d-d.bb]}, or if the vector in the numerator isn't a scalar multiple of the vector in the denominator, then there is no solution. If both numerator and denominator are zero vectors, then the lines coincide and c+dt is a point of intersection for any real value of t.

Note that this is an algebra and not a calculus problem.
 
Last edited: