Skip to content
FiftyCalc Free calculators for all 50 states

Line of Intersection of Two Planes Calculator

Test cases replayed : 2 of 2 match · Methodology · No outside source listed

Enter two planes as a₁x + b₁y + c₁z = d₁ and a₂x + b₂y + c₂z = d₂ to get the line they share.

Result

Sample figures

Point on the line: x—

Direction vector: x component —

  • Direction vector: y component—
  • Direction vector: z component—
  • Point on the line: y—
  • Point on the line: z—
  • Angle between the planes (degrees)—

Estimate for planning only, not tax, legal, financial or medical advice. This calculator uses the method explained on this page.

Line of Intersection of Two Planes Calculator

Plane 1: a₁ (coefficient of x): enter a number. Prefilled example: 1.

Plane 1: b₁ (coefficient of y): enter a number. Prefilled example: 1.

Plane 1: c₁ (coefficient of z): enter a number. Prefilled example: 1.

Plane 1: d₁ (right-hand side): enter a number. Prefilled example: 6.

Plane 2: a₂ (coefficient of x): enter a number. Prefilled example: 1.

Plane 2: b₂ (coefficient of y): enter a number. Prefilled example: -1.

Plane 2: c₂ (coefficient of z): enter a number. Prefilled example: 0.

Plane 2: d₂ (right-hand side): enter a number. Prefilled example: 0.

How to use this calculator

Fill in the fields in this order; each step takes you to its field.

  1. Plane 1: a₁ (coefficient of x): enter a number.
  2. Plane 1: b₁ (coefficient of y): enter a number.
  3. Plane 1: c₁ (coefficient of z): enter a number.
  4. Plane 1: d₁ (right-hand side): enter a number.
  5. Plane 2: a₂ (coefficient of x): enter a number.
  6. Plane 2: b₂ (coefficient of y): enter a number.
  7. Plane 2: c₂ (coefficient of z): enter a number.
  8. Plane 2: d₂ (right-hand side): enter a number.
  9. Read the result: Point on the line: x; the panel also shows Direction vector: x component, Direction vector: y component, Direction vector: z component, Point on the line: y, Point on the line: z and Angle between the planes (degrees).

How this calculator works

The line lies in both planes, so it is perpendicular to both normal vectors n₁ = (a₁, b₁, c₁) and n₂ = (a₂, b₂, c₂). Its direction is their cross product u = n₁ × n₂.

The point shown is the point of the line closest to the origin, p = αn₁ + βn₂, with α = (d₁|n₂|² − d₂ n₁·n₂) ÷ |u|² and β = (d₂|n₁|² − d₁ n₁·n₂) ÷ |u|². The line is then (x, y, z) = p + t × u.

The angle between the planes is the angle between their normals: cos θ = |n₁·n₂| ÷ (|n₁| |n₂|). If the normals are parallel, the planes are parallel or identical and there is no single line (the point shows a dash).

Worked example

Plane 1: a₁ (coefficient of x)1
Plane 1: b₁ (coefficient of y)1
Plane 1: c₁ (coefficient of z)1
Plane 1: d₁ (right-hand side)6
Plane 2: a₂ (coefficient of x)1
Plane 2: b₂ (coefficient of y)-1
Plane 2: c₂ (coefficient of z)0
Plane 2: d₂ (right-hand side)0
Direction vector: x component1
Direction vector: y component1
Direction vector: z component-2
Point on the line: x2
Point on the line: y2
Point on the line: z2
Angle between the planes (degrees)90

Frequently asked questions

Where do x + y + z = 6 and x − y = 0 meet?

Along the line through (2, 2, 2) with direction (1, 1, −2): every point is (2 + t, 2 + t, 2 − 2t). The planes are perpendicular.

What if the two planes are parallel?

Their normals are parallel, the cross product is zero and there is no line of intersection.

Questions answered

Related calculators