Find in vector form as well as in Cartesian form, the equation of the line passing through the points A(1, 2, –1) and B(2, 1, 1).

the vector of point A can be written as and that of point B can be written as

vector equation of line AB is given by



Here and




Here x = 1 +



Hence the cartesian equation of the line is



6