Skip to lesson content

Lesson 2 of 5

Three Dimensional Geometry · Lesson 2 of 5

Representing a Line in Space

“Build line equations from a point and a direction, then move confidently between vector and coordinate forms.”

Learning Objectives

• Explain why one point and a nonzero direction determine a line. • Derive vector, parametric, and Cartesian equations of a line. • Construct a line through two distinct points. • Convert between forms and test whether a point lies on a line. • Handle zero direction components without dividing by zero.

A location and a direction

A direction alone describes many parallel lines. To choose one of them, fix a point that the line must pass through. You can then reach every point on the line by moving forwards or backwards from this anchor in the chosen direction. This is the geometric meaning of a line equation.

Let be the fixed point with position vector , and let be a vector parallel to the line. If is any point on that line, then is parallel to . Therefore for some real number . The number is called a parameter: changing it selects a different point.

The anchor locates the line; the direction moves along itOAParλbliner = a + λb; different values of λ give different points.
An anchor and a variable displacement— The position vector of P is the anchor vector plus a displacement parallel to the line.

Vector addition gives . Calling the variable vector , we obtain the equation below. Conversely, every real choice of gives a point along the same direction from , so the equation describes the whole infinite line.

Vector equation of a lineLaTeX
The vector fixes a point, while fixes a direction. At we are at the anchor; positive and negative values move in opposite directions.

The parameter is not automatically a distance. The displacement has length . It equals only if the direction vector has unit length. Likewise, the anchor vector and the direction vector do different jobs: replacing one by the other usually changes the line.

The line extends in both directions

The full line requires . Restricting gives a ray from the anchor. Restricting gives only one segment when the direction is the displacement between its endpoints. Do not add such restrictions unless the question asks for them.

Separate the three coordinates

A vector equation packages three coordinate equations into one statement. Expanding it makes each coordinate change visible. This form is particularly useful for finding points and for cases in which a direction component is zero.

Write and . A general point has . Equate the coefficients of the three unit vectors; equality of vectors requires equality of every component.

Parametric equationsLaTeX
The same parameter must be used in all three equations. The numbers are the direction ratios, while locate the anchor.

If all three direction ratios are nonzero, solve each equation for and equate the results. This eliminates the parameter and gives the symmetric Cartesian form. Its three fractions do not have to equal one; they equal the same freely varying parameter.

Cartesian form with nonzero denominatorsLaTeX
This displayed form assumes . Direction cosines may replace the direction ratios in the denominators, with the same care about zero components.
Example — Build both forms from a parallel vector

Problem
Find the line through parallel to .

  1. 1.Use the given point as the anchor and the given parallel vector as the direction: . In unit-vector notation this is .
  2. 2.The coordinate equations are , , and .
  3. 3.Eliminate the parameter: . Setting the common value to zero recovers the given anchor.
Example — A new anchor with the same direction

Problem
Write an equation of the line through parallel to .

  1. 1.The direction ratios are ; they are not the coordinates of the anchor.
  2. 2.The vector equation is , where is real.
  3. 3.Equivalently, , , , or .
Example — Read a position vector carefully

Problem
A line passes through the point with position vector and has direction . Find vector and Cartesian equations.

  1. 1.The point is and a direction vector is .
  2. 2.Thus . Expanding gives , , .
  3. 3.Eliminating gives . The plus sign in comes from subtracting the negative anchor coordinate.

Read a line equation in reverse

When a line is already written in Cartesian form, recover its anchor and direction rather than trying to memorise separate conversion rules. Give the common fraction a name, then solve for the coordinates. This also exposes signs that can otherwise be misread.

Example — Convert Cartesian form to vector form

Problem
Convert to a vector equation.

  1. 1.Set all three fractions equal to . Then , , and .
  2. 2.At the anchor is , and the parameter coefficients give direction .
  3. 3.The equation is . In particular, corresponds to an anchor coordinate of , not .

Equivalent equations can look different. For instance, starting at instead of produces the same line because this new anchor already lies on it. Replacing by , where , also keeps the line: a change of parameter absorbs the scale. To show two equations represent the same line, check both a shared direction and a shared point.

Use two distinct points

Two distinct points determine a direction as well as a location. Choose the first as the anchor and use the displacement to the second as the direction vector. This connects the two-point direction formula from the previous lesson to the vector line equation.

Line through two pointsLaTeX
Here and are the position vectors of two points, so is their displacement. This use of as a position vector differs from its role as a direction vector in the earlier formula.
Example — A line determined by two points

Problem
Find a line through and , and check that it contains both points.

  1. 1.Subtract: . A vector equation is .
  2. 2.At this gives ; at it gives . At it gives , showing that the unrestricted equation continues beyond the segment.
  3. 3.The symmetric form is . We could divide the direction vector by two to use instead; the point parameter would then be rescaled.

Zero components and point checks

A zero direction component means that one coordinate stays fixed. It does not make the line invalid. Return to the parametric equations to describe this directly, and remember that a point belongs to a line only when all coordinate conditions can hold at the same parameter value.

Example — Avoid a zero denominator

Problem
Write a line through with direction .

  1. 1.Its vector equation is .
  2. 2.The coordinate equations are , , and . Thus a Cartesian description is together with .
  3. 3.There is no need to write . The fixed coordinate states the missing condition accurately.
Example — One parameter must satisfy every coordinate

Problem
Does lie on ? What about ?

  1. 1.The equation gives , so . The equation then gives , as required.
  2. 2.At , the coordinate must be . Hence lies on the line.
  3. 3.The point has the same and coordinates but the wrong coordinate. No single value of produces it, so it is not on the line.
Do not divide by a hidden coefficient

The expression gives , so its direction component is . Similarly, gives . Rewrite unusual numerators into coordinate equations before reading a direction. If a denominator vanishes for a parameter value, use the parametric description to discuss that limiting direction instead of an undefined fraction.

Check your understanding

Read anchors, directions, and parameters as separate pieces of information. The following questions test whether you can move between the geometric picture and an equation without relying on its appearance alone.

Quiz

Quick check

Which vector fixes an anchor in ?

Quick check

Which is a correct Cartesian description of ?

Quick check

Which direction vector joins to ?

Quick check

For with , which change always preserves the whole line?

Quick check

What anchor and direction follow from ?

Quick check

On , which point corresponds to ?

Quick check

Why can two identical anchor points not be used alone to determine a unique line?

Practice Problems

Practice Problems
  1. Find a line through parallel to , in vector and Cartesian forms.
  2. Find vector and Cartesian equations through with direction .
  3. Convert to a vector equation and identify its anchor.
  4. Find a line through and .
  5. Write a Cartesian description of the line through parallel to .
  6. Test whether and lie on .
  7. Explain why and represent the same line.
  8. If a direction vector is , what distance is travelled when the parameter increases from to ?

The parallel line supplies direction . Use and . Its anchor need not match the anchor of the given parallel line.

Key Takeaways

Key Takeaways

• A fixed anchor and a nonzero direction determine . • Vector, parametric, and Cartesian equations describe the same line in different forms. • Two distinct points supply the direction . • All three coordinates must correspond to the same parameter value. • A zero direction component gives a constant coordinate; it does not permit division by zero.