Lines in 3D Formula

Lines in three-dimensional space described using parametric equations x = x_0 + at, y = y_0 + bt, z = z_0 + ct, or symmetric form (x - x_0)/a = (y - y_0)/b = (z - z_0)/c, where (x_0, y_0, z_0) is a point on the line and ⟨ a, b, c ⟩ is the direction vector.

The Formula

Parametric: x=x0+at, y=y0+bt, z=z0+ct
Vector: r(t)=r0+tv, where v=⟨a,b,c⟩
Symmetric: x−x0a=y−y0b=z−z0c

Ask yourself: Does the line live in x,y,z space and need a direction vector rather than a single slope?

Quick example

Line through (1,2,3) in direction ⟨2,−1,4⟩:
Parametric: x=1+2t,  y=2−t,  z=3+4t
Symmetric: x−12=y−2−1=z−34

Notation

r0=⟨x0,y0,z0⟩ is the position vector of a known point, v=⟨a,b,c⟩ is the direction vector, and t is the parameter.

What this formula means

Lines in three-dimensional space described using parametric equations x=x0+at, y=y0+bt, z=z0+ct, or symmetric form x−x0a=y−y0b=z−z0c, where (x0,y0,z0) is a point on the line and ⟨a,b,c⟩ is the direction vector.

A line in 3D is a laser beam: where the laser sits is the point (x0,y0,z0), the way it is aimed is the direction vector, and t measures how far along the beam you are. A real beam starts at the laser, though, while the mathematical line runs both ways, for negative t too.

Formal view

ℓ(t)=r0+tv=⟨x0+at, y0+bt, z0+ct⟩ for t∈R; symmetric: x−x0a=y−y0b=z−z0c

Worked examples

Example 1

easy
Write parametric equations for the line through the point (2,−1,3) in the direction of the vector ⟨4,1,−2⟩.
Show solution

Answer

x=2+4t,y=−1+t,z=3−2t

First step

1.
The parametric equations for a line through (x0,y0,z0) with direction vector ⟨a,b,c⟩ are: x=x0+at, y=y0+bt, z=z0+ct.

Full solution

  1. 2.
    Substitute: x=2+4t, y=−1+t, z=3−2t.
  2. 3.
    Verify: at t=0, the point is (2,−1,3) ✓, and the direction is ⟨4,1,−2⟩ ✓.
A line in 3D is determined by a point and a direction vector. Parametric form represents each coordinate as a linear function of the parameter t. As t varies over all real numbers, the equations trace the entire line.

Example 2

medium
Find parametric equations for the line through (1,0,−2) and (3,4,1).

Example 3

medium
Convert the parametric line x=1−2t, y=3+t, z=5+4t to symmetric form.

Common mistakes

  • Confusing the point with the direction vector - (x0,y0,z0) is where the line is, ⟨a,b,c⟩ is which way it goes; they play different roles.
  • Writing symmetric form when a direction component is zero - if a=0 you cannot divide by it, so keep that coordinate as a separate equation like x=x0.
  • Assuming two lines with different direction vectors must cross - in 3D they can be skew (never meet and never parallel).

Why this formula matters

In space a single slope cannot say which way a line goes, because there are three directions to account for. A point plus a direction vector can, and that is how flight paths, robot motions and the rays in 3D computer graphics are written. It also reveals something new in 3D: two lines can be neither parallel nor crossing, so "not parallel" no longer means "they meet".

Frequently asked questions

What is the Lines in 3D formula?

Lines in three-dimensional space described using parametric equations x=x0+at, y=y0+bt, z=z0+ct, or symmetric form x−x0a=y−y0b=z−z0c, where (x0,y0,z0) is a point on the line and ⟨a,b,c⟩ is the direction vector.

How do you use the Lines in 3D formula?

Use the point-and-direction form when a problem gives a point and a direction in x,y,z space, gives two points to join, or describes straight motion in 3D, such as a flight path, a drill line or a beam of light. It also settles whether a point lies on a line and whether two lines intersect, are parallel, or are skew. If there is only one equation ax+by+cz=d, the object is a plane, not a line. In a flat xy problem, y=mx+b is simpler.

What do the symbols mean in the Lines in 3D formula?

r0=⟨x0,y0,z0⟩ is the position vector of a known point, v=⟨a,b,c⟩ is the direction vector, and t is the parameter.

Why is the Lines in 3D formula important in Math?

In space a single slope cannot say which way a line goes, because there are three directions to account for. A point plus a direction vector can, and that is how flight paths, robot motions and the rays in 3D computer graphics are written. It also reveals something new in 3D: two lines can be neither parallel nor crossing, so "not parallel" no longer means "they meet".

What do students get wrong about Lines in 3D?

The procedure for lines in 3d is the easy part; the trap is confusing the point with the direction vector. Asking "Does the line live in x,y,z space and need a direction vector rather than a single slope?" first is what keeps a correct-looking calculation from being attached to the wrong concept.

What should I learn before the Lines in 3D formula?

Before studying the Lines in 3D formula, you should understand: parametric equations.