Let P and Q be the position vectors to points P and Q, and let R be the position vector to the generic point . Then a parametric representation of the line through P and Q is given by
where is the parameter along the line. At , ; at , . For the given points, the line is