1. Direction cosines
If a directed line makes angles , , with the positive -, - and -axes, its direction cosines are , , . They are the components of a unit vector along the line, so . Reversing the direction changes the signs of all three.
Example: a line making with the -axis and with the -axis has , so or .
Formulas
- Identity
Key terms
- Direction cosines
, , for the angles a directed line makes with the axes.
- Direction angles
The angles , , themselves, each between and .
2. Direction ratios; line through two points
Numbers proportional to are direction ratios. Then , and similarly for , (same sign throughout).
For the line through and , direction ratios are , , ; dividing by gives the direction cosines. Example: , : ratios , , cosines .
Collinearity: , , are collinear if the ratios of and are proportional (they share ).
| Direction ratios | Length | Direction cosines |
|---|---|---|
| Pair | Direction ratios | Multiple of |
|---|---|---|
Formulas
- Direction cosines from two points
Key terms
- Direction ratios
Any three numbers proportional to the direction cosines; infinitely many sets for one line.
- Collinear points
Points on one straight line.
3. Equation of a line in space
Vector form. Through the point parallel to : . Through two points , : .
Cartesian form. Through with direction ratios : (, giving the general point ).
Standard form first: in , rewrite as : point , ratios .
| Given | Standard form | Read off |
|---|---|---|
| point , ratio | ||
| , ratio | ||
| , ratio |
Formulas
- Vector form
- Cartesian form
Key terms
- Parameter
The real number ; each value gives one point of the line.
- Standard form
Cartesian form in which , , each have coefficient .
4. Angle between two lines
The angle between two lines is the angle between their direction vectors (taken acute):
.
- Perpendicular: .
- Parallel: (then check a point: they may coincide).
Example: directions and give , .
| Condition | Meaning |
|---|---|
| acute angle between the lines | |
| perpendicular | |
| parallel (or coincident) |
| Perpendicular? | ||
|---|---|---|
| no | ||
| yes | ||
| no |
Formulas
- Angle
Key terms
- Angle between lines
The acute angle between their direction vectors; defined for skew lines too.
5. Intersecting, parallel and skew lines
Two distinct lines in space are parallel, intersecting or skew (neither parallel nor intersecting; not coplanar).
Do they meet? Write general points of both lines, equate two coordinates, solve for and , and test the third coordinate. Example: and give , and the common point .
Quick test: for non-parallel lines, exactly when they intersect.
| Equation | From | From |
|---|---|---|
| , |
Key terms
- Skew lines
Lines in space that are not parallel and do not intersect.
- Coplanar lines
Lines lying in one plane (parallel or intersecting).
6. Shortest distance between skew lines
The shortest distance is the length of the segment perpendicular to both lines (the common perpendicular). For and :
.
Example: , , , : , dot product , .
In Cartesian form, read and from the standard form first. The scalar triple product notation and planes are not in the 2026–27 syllabus; write the dot and cross products out.
| Step | For the example |
|---|---|
| , length | |
| dot product | |
Formulas
- Skew lines
Key terms
- Common perpendicular
The segment perpendicular to both skew lines; its length is the shortest distance.
7. Distance between parallel lines; foot of a perpendicular
For parallel lines and : . Example: , give .
Foot of the perpendicular from a point to a line: take the general point of the line, set , solve for . Example: and give , , distance .
| Step | For the example |
|---|---|
| , length | |
Formulas
- Parallel lines
Key terms
- Foot of the perpendicular
The point of a line closest to a given point.
Exam tips
How marks are awarded
- Direction cosines (1–2 marks): ratios from differences, the length, then each ratio divided by it.
- Equation of a line (2–3 marks): point and direction identified, vector form, Cartesian form.
- Angle / perpendicular / parallel (2–3 marks): both sets of ratios from the standard form, formula, conclusion.
- Shortest distance (3–5 marks): written, cross product, its length, dot product, final distance with units and the conclusion (skew / intersecting).
Common mistakes
- Reading ratios from a line not in standard form (e.g. has ratio ).
- Dividing direction ratios by their sum instead of by the square root of the sum of squares.
- Forgetting the minus sign in the component of a cross product.
- Using the skew-lines formula for parallel lines (division by zero).
- Forgetting the modulus, giving a negative distance or an obtuse angle.
- Collinearity proofs without naming the common point.
- Concluding "parallel and distinct" without checking whether a point of one line lies on the other.
- Bringing in planes: the plane is not in the 2026–27 syllabus.