Points, Straight Lines and Shapes in 2D
Senior 5 · Mathematics
Points, Straight Lines and Shapes in 2D
Lesson 2 of 4
25 min
On a town plan, two straight roads are given by their equations. Do they cross, and if so where, and at what angle? Two lines in a plane can meet in exactly one point, never meet, or be the same line. The coefficients of their equations decide which, without any drawing. This lesson gives the tests, finds intersection points, and measures the angle between two lines with the scalar product of S4 and the tangent formula of Unit 1.
Definition
Parallel lines: lines with parallel (collinear) direction vectors. Two parallel lines are either distinct (no common point) or coincident (the same line).
Perpendicular lines: lines whose direction vectors are orthogonal, .
Angle between two lines: the acute (or right) angle , , between them where they meet; parallel lines make the angle .
Example: and are distinct parallel lines; and are perpendicular.
Important
Relative position of and
| Condition | Position |
|---|---|
| intersecting in exactly one point | |
| , but not proportional to | parallel and distinct |
| proportional to | coincident |
| perpendicular |
Why: is the determinant of the system of the two equations (S4); it is zero exactly when the normals and are parallel. The last line is : perpendicular normals mean perpendicular lines. When both gradients exist, these become (parallel) and (perpendicular).
With direction vectors and , the scalar product gives the angle between the vectors; the absolute value makes it acute:
If the lines have gradients and , the angle between them is (or its supplement), and the subtraction formula for the tangent (Unit 1) gives
Worked example 1: meet, where and at what angle
Show that and intersect. Find the point and the angle between them.
Solution : they intersect. From , ; then , , so , : the point is .
Angle by gradients: , : , .
Check by vectors: , : , . ✓
Worked example 2: a parametric line meets a Cartesian line
Where does the line , meet ?
Solution Substitute the parametric equations: , so and . The point is . Check: . ✓
Worked example 3: parallel and perpendicular through a point
Find the lines through that are (a) parallel (b) perpendicular to .
Solution
Worked example 4: a line with a parameter
For which values of are and parallel? For which are they perpendicular?
Solution Parallel: , so and or . In both cases the constants are not in the same ratio (for : but ), so the lines are distinct. Perpendicular: , so .
Warning
Gradients have limits. The formula fails for a vertical line (no gradient) and when (the lines are perpendicular). Direction vectors always work. And the angle between two lines is never obtuse: if the scalar product gives between the vectors, the lines make .
Tip
Parallel or perpendicular through a point, in one line: to be parallel to , keep and and choose a new constant; to be perpendicular, use . Then put in the point to find the constant.
Khan Academy India: Angle between two lines. Watch how the formula for the acute angle comes from the angles the lines make with the x-axis and the formula for tan(A − B).
Practice
The last two are harder.
Sources and credits