📘 CodingMarble Learn

Lines and Planes in Space

Two points fix a line; three points not on one line fix a plane. Two lines in space meet, are parallel or are skew. A line lies in a plane, is parallel to it or cuts it at one point; two planes are parallel or meet in a line. A line is perpendicular to a plane if it is perpendicular to two crossing lines of the plane. With normal vector n = (a, b, c) the plane is ax + by + cz = d, a line is r = a + t·u, and the distance from (x₀, y₀, z₀) to the plane is |ax₀ + by₀ + cz₀ − d| ÷ √(a² + b² + c²).

🎬 Step-by-step story

  1. Two points fix one line. Three points that are not on one line fix one plane, a flat sheet without end.
  2. Two lines in space can meet, be parallel, or be skew: not parallel and still never meeting.
  3. A line can lie in a plane, be parallel to it, or cut it at one point. Two planes are parallel or meet in a line.
  4. A line standing at 90° to a plane is its normal. The normal (a, b, c) gives the plane equation ax + by + cz = d.
  5. The shortest way from a point to a plane is the perpendicular. The angle of a line with a plane is measured to its shadow.
  6. Free play: tilt the plane and move the point. Watch the perpendicular and the distance change.

Tip: drag the 3D scene to turn it. Use two fingers to zoom.

🤔 Common doubts, cleared

If two lines do not meet, why are they not always parallel?

In a flat page, yes. In space one line can pass above the other in a different direction. Such skew lines are not in any common plane.

Why does a 3-legged stool never wobble?

Three points not on one line always fix exactly one plane, so all three feet touch the floor. Four feet may not lie in one plane.

Why are the numbers a, b, c in ax + by + cz = d the normal?

For two points P and Q on the plane, a(x₂ − x₁) + b(y₂ − y₁) + c(z₂ − z₁) = 0, so (a, b, c) is at 90° to every direction inside the plane.

Why do we use sin, not cos, for the angle between a line and a plane?

The formula with the dot product gives the angle with the normal. The normal is 90° from the plane, so the angle with the plane is 90° minus that; cos(90° − φ) = sin φ.

Why is one perpendicular line enough for the distance?

Any other path from the point is the slanted side of a right triangle, so it is longer. Move the slider and watch the red segment.

Points, lines and planes: the basic rules

A plane is a flat surface that goes on for ever in every direction. Some simple rules (axioms) are true in space:

A plane is also fixed by a line and a point not on it, by two crossing lines, or by two parallel lines.

Relative position of lines and planes (parallelism)

Two lines

They intersect (one common point), are parallel (same direction, in one plane, no common point), or are skew (not in any one plane, so they never meet and are not parallel).

A line and a plane

The line lies in the plane, is parallel to it (no common point), or cuts it at exactly one point. Test: a line is parallel to a plane if it is parallel to some line inside the plane.

Two planes

They are parallel or they meet in a line. Test: two planes are parallel if two crossing lines of one are parallel to the other.

Perpendicular lines and planes; the normal vector

A line is perpendicular to a plane if it is at 90° to every line in the plane. To check, it is enough to be at 90° to two crossing lines of the plane.

The direction of such a line is the normal vector n = (a, b, c). If P₀ = (x₀, y₀, z₀) is on the plane, every point (x, y, z) of the plane satisfies a(x − x₀) + b(y − y₀) + c(z − z₀) = 0, that is ax + by + cz = d.

Three perpendiculars theorem: if a slanted line meets a plane and its shadow (projection) on the plane is perpendicular to a line in the plane, then the slanted line is also perpendicular to that line.

Two planes are perpendicular when their normals are perpendicular: a₁a₂ + b₁b₂ + c₁c₂ = 0.

Describing lines and planes with equations

A line through point A with direction vector u: r = A + t·u (vector form). In coordinates (parametric form): x = x₁ + t·u₁, y = y₁ + t·u₂, z = z₁ + t·u₃. Removing t gives the symmetric form (x − x₁)/u₁ = (y − y₁)/u₂ = (z − z₁)/u₃.

A plane through A with two direction vectors u and v: r = A + s·u + t·v. Its normal is n = u × v, which gives ax + by + cz = d.

Where a line meets a plane: put the parametric x, y, z into the plane equation and solve for t.

Angles and distances in space

Key formulas and definitions

Worked examples

1. Find the equation of the plane through (1, 2, 3) with normal (2, −1, 4).

2(x − 1) − 1(y − 2) + 4(z − 3) = 0 → 2x − y + 4z − 2 + 2 − 12 = 0 → 2x − y + 4z = 12.

2. Write parametric equations of the line through A(1, 0, 2) and B(3, 4, 1).

Direction u = B − A = (2, 4, −1). So x = 1 + 2t, y = 4t, z = 2 − t.

3. Find the distance from P(1, 2, 3) to the plane 2x + 2y + z = 3.

D = |2·1 + 2·2 + 1·3 − 3| ÷ √(4 + 4 + 1) = |6| ÷ 3 = 2 units.

4. Where does the line x = 1 + t, y = 2t, z = 3 − t meet the plane x + y + z = 10?

(1 + t) + 2t + (3 − t) = 10 → 4 + 2t = 10 → t = 3. Point: (4, 6, 0).

5. Are the planes x + 2y − z = 4 and 2x − y = 7 perpendicular?

n₁·n₂ = 1·2 + 2·(−1) + (−1)·0 = 0. Yes, the normals are at 90°, so the planes are perpendicular.

6. Find the angle between the line with direction (1, 1, 0) and the plane z = 0.

Normal n = (0, 0, 1). u·n = 0, so sin φ = 0 and φ = 0°: the line is parallel to the plane (or lies in it).

7. Show that the lines L₁: (t, 0, 0) and L₂: (0, s, 1) are skew.

Directions (1, 0, 0) and (0, 1, 0) are not parallel. A common point needs z = 0 and z = 1 at once: impossible. Not parallel and no common point, so they are skew.

Common mistakes

Practice quiz

1. How many points not on one line fix a plane?
2. Two lines that are not parallel and never meet are called:
3. The normal vector of the plane 3x − y + 2z = 5 is:
4. Two different planes that are not parallel meet in:
5. Distance from the origin to the plane x + y + z = 3 is:

Practice: answer these yourself

Type or choose your answer, then press Check. Use a hint if you are stuck; the full solution appears after you answer.

Frequently asked questions

What are skew lines?

Lines in space that are not parallel and do not meet. No single plane contains both of them.

How do you find the equation of a plane?

Find a normal vector (a, b, c) and one point (x₀, y₀, z₀) on the plane. Then a(x − x₀) + b(y − y₀) + c(z − z₀) = 0.

What is the formula for the distance from a point to a plane?

D = |ax₀ + by₀ + cz₀ − d| ÷ √(a² + b² + c²) for the plane ax + by + cz = d and point (x₀, y₀, z₀).

Where this is taught

Canada (Ontario)Grade 12C. Geometry and Algebra of Vectors
NetherlandsHAVO 4 (bovenbouw, 2e fase)Solid geometry
Ukraine10 класGeometry: parallelism in space
Ukraine10 класGeometry: perpendicularity in space
Ukraine10 класGeometry: parallelism in space (24 h)
Ukraine10 класGeometry: perpendicularity in space (26 h)
Ukraine10 класGeometry: parallel lines and planes in space (17 h)
Ukraine10 класGeometry: perpendicular lines and planes (17 h)

Learn first

Learn next

Related lessons

All Maths lessons