Intersection of two 3D parametric curves

Click For Summary
To find the intersection of two 3D parametric curves defined by different equations, it's essential to equate their x, y, and z components, resulting in three equations with two unknown parameters. The first curve is a parabola, while the second is a line, and at the intersection point, the coordinates must match, although the parameters do not. The approach involves solving two of the equations for the parameters t and s, then substituting these into the third equation to verify if they yield the same result. The discussion highlights the challenge of finding an analytical solution for the parameters in 3D, as opposed to the simpler 2D case, where a numerical solution for one parameter sufficed. Ultimately, the intersection can be confirmed by checking if the derived parameters satisfy all three equations.
Quaoar
Messages
184
Reaction score
0
Hi, I have two parametric curves defined in three dimensions, which are functions of a variable t, like so:

x1 = f1(t)
y1 = f2(t)
z1 = f3(t)

x2 = f4(t)
y2 = f5(t)
z2 = f6(t)

I am trying to find the intersection of these two curves, but I am having some difficulty with the mathematics. In two dimensions, I simply solve for t as a function of x, and then plug that value of t into my y function to obtain y as a function of x. With three equations, I cannot do this.

Any idea of how I should approach this problem? Thanks!
 
Mathematics news on Phys.org
In general, 3 dimensional curves won't intersect. You need more information.
 
Well, I do know that they have a single intersection, no more and no less. I'll flesh out the actual equations here:

x1 = v_e * cos(theta_e) * cos(phi_e) * t
y1 = v_e * cos(theta_e) * sin(phi_e) * t
z1 = v_e * sin(theta_e) - g/2 * t^2

x2 = x_m + v_m * cos(theta_m) * cos(phi_m) * t
y2 = y_m + v_m * cos(theta_m) * sin(phi_m) * t
z2 = v_m * sin(theta_m) * t

v_e, theta_e, phi_e, x_m, y_m, v_m, theta_m, and phi_m are all constants. The first equation is a parabola, the second equation is a line.
 
At the point of intersection, the x, y, z values for each set of parametric equations has to be equal but the values of the parameters do not. I recommend you use t for one, s for the other.

You have
x1= v_e * cos(theta_e) * cos(phi_e) * t= x_m + v_m * cos(theta_m) * cos(phi_m) * s= x2,

y1 = v_e * cos(theta_e) * sin(phi_e) * t= y_m + v_m * cos(theta_m) * sin(phi_m) * s= y2

z1= v_e * sin(theta_e) - g/2 * t^2= v_m * sin(theta_m) *s

You have three linear equations to solve for the two unknown parameters. You should be able to do that using only two of the equations. Then try putting those parameters into the third equation to see if they are the same. If so that is the point of intersection. If not, then they do not intersect.

mathman, you don't need "more information". Either they intersect or they don't!
 
Well, actually, I know that s = t at the point of intersection.

What I'm trying to do is find an analytical solution for t so that I can solve for theta_m and phi_m. In the 2D case, we just have to solve for theta_m, and I found that the solution was transcendental, requiring the solution for theta_m to be computed numerically.

So in essence, we have three unknowns: t, theta_m, phi_m. In the 2D case, I was able to find an analytical solution for t for both curves, which I then set equal to each other, and then used a numerical computation to determine the value of theta_m. It appears that in the 3D case I cannot do this?
 
Here is a little puzzle from the book 100 Geometric Games by Pierre Berloquin. The side of a small square is one meter long and the side of a larger square one and a half meters long. One vertex of the large square is at the center of the small square. The side of the large square cuts two sides of the small square into one- third parts and two-thirds parts. What is the area where the squares overlap?

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
Replies
2
Views
4K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
7
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 11 ·
Replies
11
Views
7K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K