Determining the line intersecting two planes

In summary, to determine the line of intersection L between two planes P1 and P2, given three points on each plane, you can express the planes as equations and use basic linear algebra to find the set of solutions. This will result in a direction vector and a point, which will define L. Alternatively, you can find the direction of L by taking the cross product of the normal vectors of P1 and P2, but you will still need to find a point on the line.
  • #1
doonzy
2
0
Hello,

Given two planes, P1 and P2, I would like to determine their line of intersection L. I know three points that lie on each plane: (p1, p2, p3) for P1, and (q1, q2, q3) for P2.

Based on what I am doing (triangle collision detection in 3D) it would be convenient to have L defined as a direction vector and a point.

Thank you.
 
Physics news on Phys.org
  • #2
If you rewrite your planes as equations
P1: a1x + b1y + c1z = d1
P2: a2x + b2y + c2z = d2
then using basic linear algebra you can find the set of solutions, which will have one parameter if the two planes intersect in a line (that is, the matrix
[tex]\begin{pmatrix} a_1 & b_1 & c_1 \\ a_2 & b_2 & c_2 \end{pmatrix}[/tex]
has rank 2).

Alternatively: Two planes intersect in a line if and only if the cross product of their normal vectors is nonzero. In this case, the cross product gives the direction of the line. You are still left with the problem of finding a point on the line, though.
 

Related to Determining the line intersecting two planes

1. What is the formula for determining the line intersecting two planes?

The formula for determining the line intersecting two planes is to find the cross product of the normal vectors of the two planes. This will give you the direction of the line. Then, choose a point on one of the planes and plug it into the equation of the other plane to solve for the other coordinate. The resulting equation will give you the specific line that intersects the two planes.

2. How do you find the normal vectors of two planes?

To find the normal vectors of two planes, you must first identify the coefficients of each variable in the equation of the plane. These coefficients will form the components of the normal vector. For example, if the equation of a plane is 2x + 3y + 4z = 5, the normal vector would be [2, 3, 4]. Repeat this process for the second plane and use the cross product formula to find the direction of the intersecting line.

3. Can two parallel planes intersect?

No, two parallel planes cannot intersect. If two planes are parallel, their normal vectors will be parallel as well, meaning they will never intersect. In this case, there is no solution for determining the line that intersects the two planes.

4. How many solutions are possible when determining the line intersecting two planes?

There are three possible outcomes when determining the line intersecting two planes: no solution, one solution, or infinitely many solutions. If the planes are parallel, there is no solution. If the planes are not parallel but do not intersect, there is one solution. If the planes intersect, there are infinitely many solutions since any point on the line of intersection can be used to represent the intersecting line.

5. Can the line intersecting two planes be horizontal or vertical?

Yes, the line intersecting two planes can be horizontal or vertical. This depends on the orientation of the planes and the direction of their normal vectors. If both normal vectors are parallel to the x-axis, the intersecting line will be horizontal. Similarly, if they are parallel to the y-axis, the intersecting line will be vertical. In other cases, the line may be at an angle or in a different orientation.

Similar threads

  • Calculus and Beyond Homework Help
Replies
2
Views
1K
  • General Math
Replies
3
Views
925
  • Precalculus Mathematics Homework Help
Replies
5
Views
2K
Replies
26
Views
2K
  • Calculus and Beyond Homework Help
Replies
5
Views
2K
Replies
36
Views
4K
  • Linear and Abstract Algebra
Replies
2
Views
3K
  • Precalculus Mathematics Homework Help
Replies
10
Views
5K
Replies
1
Views
3K
Replies
19
Views
2K
Back
Top