Line Of Intersection Of Two Planes Calculator - Direction, Point, and Parametric Form
Use this line of intersection of two planes calculator to enter two planes in general form and read the direction vector, a point on the line, and the parametric equations.
Line Of Intersection Of Two Planes Calculator
Results
What Is the Line of Intersection of Two Planes Calculator?
The line of intersection of two planes calculator is the fastest way to find the straight line that lies in both planes at the same time. Enter each plane in general form a x + b y + c z + d = 0, and the calculator returns the direction vector of the shared line, a specific point on that line, and the parametric form (x, y, z) = (x₀, y₀, z₀) + t · d. Use this line of intersection of two planes calculator when a homework problem, a CAD model, or an engineering sketch hands you two flat surfaces and asks for the line where they meet.
- • Multivariable calculus homework: Verify line-of-intersection answers without re-deriving the cross product or solving the 2x2 system by hand.
- • Computer graphics and CAD: Find where two clipping planes meet so you can stitch a boundary edge or solve a 3D constraint in a mesh or model.
- • Physics and engineering constraints: Solve for the line where two flat surfaces, hinges, or supports intersect in space, like the ridge of two roof planes.
The result is always a real line in 3-space when the two plane normals are not parallel. When the normals are parallel the line of intersection of two planes calculator reports 'parallel' or 'coincident' so you do not have to guess whether a line exists.
When the follow-up question is how far a known point sits from one of the two planes, Distance From Point to Plane Calculator gives the perpendicular distance in the same general-form input style.
How the Line of Intersection of Two Planes Calculator Works
The calculator takes the cross product of the two normal vectors to find the line's direction, then solves a 2x2 system to recover a point on the line.
- a₁, b₁, c₁, d₁: Coefficients of plane 1 in a₁ x + b₁ y + c₁ z + d₁ = 0; the first three form the normal vector (a₁, b₁, c₁).
- a₂, b₂, c₂, d₂: Coefficients of plane 2 in a₂ x + b₂ y + c₂ z + d₂ = 0; the first three form the normal vector (a₂, b₂, c₂).
- d = n₁ × n₂: Direction vector of the intersection line, equal to the cross product of the two normal vectors.
- x₀, y₀, z₀: Coordinates of a specific point on the line, found by fixing one coordinate and solving the resulting 2x2 system with Cramer's rule.
The calculator picks the largest direction component as the pivot, sets that coordinate to 0, and uses Cramer's rule on the remaining 2x2 system. If the cross product is the zero vector, the calculator reports 'parallel' or 'coincident' instead of fabricating a direction.
Planes x + 2y − z − 1 = 0 and 2x − y + 3z + 2 = 0
a₁ = 1, b₁ = 2, c₁ = −1, d₁ = −1, a₂ = 2, b₂ = −1, c₂ = 3, d₂ = 2
Direction d = n₁ × n₂ = (2·3 − (−1)·(−1), (−1)·2 − 1·3, 1·(−1) − 2·2) = (5, −5, −5). Fix y = 0 and solve x − z = 1, 2x + 3z = −2, giving x = 0.2 and z = −0.8, so a point on the line is (0.2, 0, −0.8).
Direction (5, −5, −5) and a point (0.2, 0, −0.8), with the parametric line (x, y, z) = (0.2, 0, −0.8) + t · (5, −5, −5).
Substituting (0.2, 0, −0.8) into either plane gives 0, confirming it sits on the intersection line.
According to Wolfram MathWorld, the line of intersection of two planes in 3D is parallel to the cross product of the two plane normal vectors.
According to Wikipedia, every plane in 3D can be written as ax + by + cz + d = 0, where (a, b, c) is the plane's normal vector.
The direction vector of the line of intersection is the cross product of the two plane normals, which is exactly the calculation Cross Product Calculator performs on two 3D vectors.
Key Concepts Explained
These four ideas turn the line of intersection into a real line you can use.
Normal vector (a, b, c)
The coefficients a, b, c of a general-form plane ax + by + cz + d = 0 form a vector that points straight out of the plane at 90°.
Cross product n₁ × n₂
The cross product of the two normal vectors is perpendicular to both n₁ and n₂. Geometrically it points along the line where the two planes meet.
Cramer's rule for a 2x2 system
After fixing one coordinate, the line-of-intersection problem becomes a 2x2 system a₁ x + b₁ y = −d₁, a₂ x + b₂ y = −d₂. Cramer's rule solves it in one step: x = (−d₁·b₂ − (−d₂)·b₁) / (a₁·b₂ − a₂·b₁), y = (a₁·(−d₂) − a₂·(−d₁)) / (a₁·b₂ − a₂·b₁).
Parametric form of a line in 3D
A line in 3D is fully described by one point and one direction vector. Writing (x, y, z) = (x₀, y₀, z₀) + t · d makes the line a smooth function of the parameter t.
Reversing the two planes flips the sign of the direction vector but leaves the geometric line unchanged.
Once you have the two plane normals and the intersection direction, the dihedral angle between the planes is the same as the angle between the normals, which Angle Between Two Vectors Calculator computes directly.
How to Use This Calculator
Work through these steps any time you need a quick line of intersection.
- 1 Rewrite both planes in general form: If a plane is given as 2x − y + 3z = 4, move the constant to the left so it reads 2x − y + 3z − 4 = 0.
- 2 Read off the four coefficients of plane 1: Enter a₁, b₁, c₁, d₁ exactly as they appear in a₁ x + b₁ y + c₁ z + d₁ = 0. The constant d carries the sign of the moved term, so d = −4 for 2x − y + 3z = 4.
- 3 Read off the four coefficients of plane 2: Do the same for plane 2, entering a₂, b₂, c₂, d₂ into the second row of inputs.
- 4 Read the direction vector and a point on the line: The first three results are the components of d = n₁ × n₂; the next three are a specific point (x₀, y₀, z₀) on the line.
- 5 Use the relationship label to handle special cases: If the calculator reports 'parallel' or 'coincident', the two planes do not meet in a single line; if it reports 'invalid', one plane has a zero normal.
A CAD model has a tilted floor plane 0.4x + y + 0.2z − 1.2 = 0 meeting a wall plane x + 0y + 0z − 3 = 0. Enter a₁ = 0.4, b₁ = 1, c₁ = 0.2, d₁ = −1.2 and a₂ = 1, b₂ = 0, c₂ = 0, d₂ = −3 to get a direction vector of (0, 0.2, −1) and a point on the line.
For the 2D version of the same problem on the plane, Intersection Of Two Lines Calculator solves a 2x2 system for the meeting point of two standard-form lines using Cramer's rule.
Benefits of Using This Calculator
Using this line of intersection of two planes calculator gives you a faster and more reliable workflow than re-running the formula by hand.
- • Skip the algebra: Computing the cross product, solving the 2x2 system, and stitching the parametric form is three steps of error-prone arithmetic; the line of intersection of two planes calculator does them in milliseconds.
- • Catch sign and sign-convention errors: Showing the relationship label makes it obvious when the planes share a line and when they do not.
- • Works for any plane orientation: Horizontal, tilted, vertical, or planes with only one or two non-zero coefficients all use the same general form.
- • Pairs with related geometry tools: Once you have the direction and the point, the same 3D vectors feed naturally into distance, dot-product, and cross-product tools for the next step.
If your homework also asks for the angle between the two planes, the angle-between-two-vectors calculator handles that calculation.
If your next step is to project a known point onto the intersection line, the same direction vector feeds into a dot-product step, and Dot Product Calculator handles that arithmetic for you.
Factors That Affect Your Results
The line of intersection changes in predictable ways when the two plane coefficients change.
Normal vector orientation
Reversing the sign of one normal flips the direction vector but leaves the geometric line unchanged.
Scaling of the plane equations
Multiplying a plane's four coefficients by the same non-zero number describes the same geometric plane.
Constant d offset
Changing d₁ or d₂ shifts a plane along its own normal direction. The direction vector stays the same and only the point moves.
Pivot coordinate choice
When the direction has a zero component, the calculator picks a non-zero component as the pivot so the 2x2 system is well defined.
Parallel or coincident planes
If the two normal vectors are parallel, the cross product is the zero vector and the calculator reports 'parallel' or 'coincident'.
- • The calculator assumes standard Cartesian 3-space. It does not apply directly to curved surfaces, latitude-longitude coordinates, or non-orthogonal coordinate systems without a transform.
- • Numerical precision is limited by IEEE 754 double-precision arithmetic. For inputs larger than about 1e15 in magnitude, rounding error becomes visible in the last decimals of the direction and point.
Plane 1 × plane 2 is the consistent convention used here. Swap the two planes and the direction vector changes sign, but the line of intersection is the same set of points.
According to Paul's Online Math Notes, a line in 3D can be written as the parametric equations x = x₀ + a t, y = y₀ + b t, z = z₀ + c t using one point on the line and its direction vector (a, b, c).
When you have two points on the line of intersection and want the parametric form from those, Line Equation From Two Points Calculator accepts two points and returns the same direction-and-point structure this calculator produces.
Frequently Asked Questions
Q: What is the line of intersection of two planes calculator?
A: The line of intersection of two planes calculator is a tool that finds the straight line that lies in both planes at the same time. You enter each plane in general form ax + by + cz + d = 0, and the calculator returns the direction vector of the shared line, a specific point on the line, and the parametric form of the line.
Q: How do you find the line of intersection of two planes?
A: Compute the cross product of the two normal vectors to get the line's direction. Fix one coordinate (the one with the largest direction component), set it to zero, and solve the resulting 2x2 system with Cramer's rule for the other two coordinates of a point on the line. Combine the point and the direction into parametric form.
Q: What is the formula for the direction of the line of intersection?
A: The direction is d = n₁ × n₂ = (b₁c₂ − c₁b₂, c₁a₂ − a₁c₂, a₁b₂ − b₁a₂), where (a₁, b₁, c₁) and (a₂, b₂, c₂) are the normal vectors of the two planes. This is the standard cross product applied to the two normal vectors.
Q: How do you find a point on the line of intersection?
A: Pick the coordinate with the largest absolute direction component, set it to zero in both plane equations, and solve the 2x2 system for the other two coordinates with Cramer's rule. The resulting (x₀, y₀, z₀) lies on both planes and therefore on the intersection line.
Q: What happens if the two planes are parallel?
A: Parallel planes have normal vectors that are scalar multiples of each other, so the cross product is the zero vector. The calculator reports the relationship as 'parallel' and the line of intersection does not exist; pick a different second plane to get a real intersection.
Q: Can two planes coincide and share infinitely many points?
A: Yes. If the two normal vectors are parallel and the constant vectors are also proportional, the two equations describe the same geometric plane. The calculator reports the relationship as 'coincident' and the line of intersection is the entire plane, not a single line.