MathorynMathematical Formula Database

Vectors

Vector Equation of a Line

A line in space is described by a point r0\mathbf r_0 on it and a direction vector d\mathbf d; each value of the parameter tt gives one point. It is used to describe lines in 3D, intersections and paths of points moving in a straight line.

r=r0+t d,t∈R\mathbf r=\mathbf r_0+t\,\mathbf d,\qquad t\in\mathbb R
LaTeX\mathbf r=\mathbf r_0+t\,\mathbf d,\qquad t\in\mathbb R

Variables

r0\mathbf r_0
position vector of a known point
d\mathbf d
direction vector
tt
real parameter

Example

Find the point at t=2t=2 on the line through (1,2,3)(1,2,3) with direction (2,−1,4)(2,-1,4).

  1. r=(1,2,3)+2(2,−1,4)\mathbf r=(1,2,3)+2(2,-1,4).
  2. =(1+4, 2−2, 3+8)=(1+4,\ 2-2,\ 3+8).

Answer: (5, 0, 11)(5,\ 0,\ 11).

Related formulas