Straight line in three dimensions
A straight line in space is uniquely determined if
(i) It passes through a given point and has a given direction, or
(ii) It passes through two given points.
Equation of a straight line through a given point A and parallel to a given vector

Let the coordinates of A be (x1, y1, z1) and the vector






Comparing the coefficients of

x = x1 +



These are the parametric equations of line L. Eliminating the parameter


These are the Cartesian equations of the line. Equations (2) are also called the symmetrical form of the straight line, and represent a straight line through the given
point (x1, y1, z1), whose direction ratios are b1, b2 and b3.








coordinates are to be written.
Equation of a straight line through two given points
Let A (x1, y1, z1) and B (x2, y2, z2) be two given points and let their position vectors be


Let P (x, y, z) be an arbitrary point on the line L, with position vector

From the figure, we have

Hence the required line passes through A and is parallel to AB i.e.

or,


Cartesian Form:
From (4), we have

Comparing the coefficients of

(x - x1) =



or

These are the Cartesian equations of the line passing through the points (x1, y1, z1) and (x2, y2, z2).
Collinearity of three points
Let A, B, C be three given points with position vectors


If A, B, C are collinear, then C lies on AB


This represents a relation between the position vectors of the points A, B, C, which are collinear. We note that the algebraic sum of the coefficients of

1 -


Let us now assume that any three vectors


Dividing by k3 (



so that





Hence C with position vector

sum of the coefficients in it is zero.
Shortest distance between two lines
Consider two lines L1 and L2 in space.
then PQ = AB cos



Note:
1. The lines L1 and L2 will intersect if and only if the shortest distance between them is zero i.e. PQ = 0 or

or


2. If the lines L1 and L2 are respectively


the condition above for intersecting lines becomes

3. The lines L1 and L2 are skew if


4. If any straight line is given in general form then it can be transformed into symmetrical form and we can proceed further.