Straight LinesSlope of a Line
Riya cycles to college every morning, and her route has two climbs: the long, gentle ramp up to the flyover and the short, brutal lane up to the temple. Both are straight, both go up, and her legs can tell at once which one is steeper. Mathematics needs a number for that feeling.
A line in the coordinate plane makes two angles with the x-axis, one on each side of it, and the two always add up to — they are
Fig 9.2 is live. The blue line turns about the point , and the purple wedge is its inclination .
Turn the line and complete all three missions.
Inclination
A line parallel to the x-axis, or lying on it, has inclination
Definition 1: If is the inclination of a line , then is called the
A vertical line has no slope, because is not defined. So the slope of the x-axis is 0, and the slope of the y-axis is not defined.
Reading a slope at a glance
The orange steps in Fig 9.2 show what the number means: move 1 unit to the right along the line and it rises by m units. A gentle line has a small slope and a steep one a large slope. A line that rises to the right has a
Rise Over Run
Measuring the angle with a protractor is slow and imprecise. In coordinate geometry a line usually comes with two points on it — and two points fix a line completely. So let's get the slope straight from their coordinates.
Drag P and Q (a press grabs whichever is nearer) and complete the three missions. Watch the run and the rise between the two points.
Why does rise ÷ run give ? Take two points and on a non-vertical line with inclination . As the line is not vertical, — otherwise the line would be
Both cases are below — switch between the tabs.
Case 1: θ acute
PM is parallel to the x-axis, so . In the right triangle MPQ,
so .
Case 2: θ obtuse
Now , so and
In both cases the slope comes out the same way.
Slope from two points. For any two points and on a non-vertical line,
It does not matter which point you call the first: swapping them changes the sign of both the top and the bottom, so stays the
Twins and Crossroads
Chandigarh was planned on a grid: its main roads either run side by side and never meet, or cross each other at right angles. Slopes tell these two situations apart at a glance.
In the plane below, the blue line is fixed: it passes through and , so its slope is . The green line always passes through A; you move its second point B. Drag B and complete both missions.
Here is why the slopes behave that way. Let non-vertical lines and have slopes and and inclinations and .
Parallel lines. If is parallel to (Fig 9.4 — your first mission), they make the same angle with the x-axis, so and , i.e. . Conversely, if then ; between and the tangent never takes the same value twice, so and the lines are parallel. So two non-vertical lines are parallel if and only if their slopes are
Perpendicular lines. If (Fig 9.5 — your second mission), then , so
, i.e. , or
Conversely, if , then , so and differ by and the lines are perpendicular. So two non-vertical lines are perpendicular if and only if their slopes are negative reciprocals of each other.
Two quick tests
- Parallel: equal slopes, .
- Perpendicular: slopes that multiply to −1, . In practice: flip the fraction and change its sign, so becomes .
Both tests need slopes, so neither works for a vertical line. A vertical line and a horizontal line are still perpendicular — the picture says so, even though cannot be checked.
Example 1 : Find the slope of the line
(a) through the points and ,
(b) through the points and ,
(c) through the points and ,
(d) making an inclination of with the positive direction of the x-axis.
Solution : (a)
(b)
(c) , which is
(d)
Where Two Lines Cross
Two lines in a plane either never meet — they are parallel — or they cross. When they cross they make two pairs of vertically opposite angles, and any two neighbouring angles add up to . Can the two slopes alone tell us the
Fig 9.6 below is live, and both of its lines pass through the origin.
Set the two slopes and complete both missions.
The blue line has slope and the green line has slope ; the purple wedge is the acute angle between them.
Here is where the formula comes from. Let and be non-vertical lines with inclinations and , so that and . If and are the two neighbouring angles between the lines, then and . The formula for the tangent of a difference gives
, provided ,
and .
So and always have opposite signs. If is positive, is
Angle between two lines. The acute angle between two lines with slopes and is given by
The obtuse angle is
Example 2 : If the angle between two lines is
Solution : Put
An absolute value equal to 1 means that the number inside is 1 or
If
If
So the other line has slope
Starting from the blue line of slope ½, one of the green lines is turned 45° anticlockwise and the other 45° clockwise. Both make the same 45° angle with it.
Example 3 : The line through the points
Solution : The slope of the first line is
The slope of the second line is
The lines are perpendicular, so
Speed Round: Parallel, Perpendicular or Neither?
Two slopes appear. Equal means parallel; a product of −1 means perpendicular; anything else means neither. Careful — some slopes are not in lowest terms, and some are only nearly negative reciprocals.
Get five right to move on.