Worked solution: vector equation of the line through (1,2,3) and (4,5,6)

Step-by-step working for this vector lines, planes and distances problem, produced and checked by the solver.

Equation of a line Answer checked
Answer
r=(123)+λ(333)\mathbf{r} = \begin{pmatrix}1 \\ 2 \\ 3\end{pmatrix} + \lambda\begin{pmatrix}3 \\ 3 \\ 3\end{pmatrix}
  1. Direction vector = difference of the two points
  2. Vector equation: a point plus a multiple of the direction
  3. Parametric form
  4. Check: λ = 1 gives the second point

Change the numbers and solve your own

The method in brief

  1. Magnitude: |a| = √(x² + y² + z²).
  2. Unit vector: divide each component by the magnitude.
  3. Line through A and B: r = a + λ(b - a).
  4. Plane through three points: find the normal with a cross product, then use n · r = n · a.

Full guide: Vectors in 3D: lines, planes, magnitude and distances.

More A-level examples on this topic