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
Click For Summary
SUMMARY

This discussion addresses the mathematical challenge of finding the intersection of 4D lines, specifically focusing on the limitations of the cross product in higher dimensions. Adrian initially questions the validity of using the cross product for 4D lines, while the response clarifies that intersections can be determined by equating the parametric equations of the lines. The solution involves setting corresponding components equal to derive four equations for the parameters t and s, ultimately leading to a formula for the intersection point, if it exists.

PREREQUISITES
  • Understanding of parametric equations for lines in vector form
  • Familiarity with vector operations, specifically in higher dimensions
  • Knowledge of algebraic methods for solving systems of equations
  • Basic concepts of linear algebra, including vector normalization
NEXT STEPS
  • Study the derivation of intersection points for lines in higher dimensions
  • Learn about vector normalization techniques in multi-dimensional spaces
  • Explore algebraic methods for solving systems of equations in multiple variables
  • Investigate the implications of non-intersecting lines in higher-dimensional geometry
USEFUL FOR

Mathematicians, computer graphics developers, and anyone involved in higher-dimensional geometry or vector calculus will benefit from this discussion.

adoado
Messages
71
Reaction score
0
Hello all,

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

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 \vec{p}+ \vec{d}t and another defined by \vec{q}+ \vec{c}s, set them equal: \vec{p}+ \vec{d}t= \vec{q}+ \vec{c}s. 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:

Similar threads

  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
9
Views
4K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
2
Views
2K
Replies
33
Views
5K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 16 ·
Replies
16
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 14 ·
Replies
14
Views
4K