Points and Lines on the Axes
Every point on the x-axis has a y-coordinate of 0, and every point on the y-axis has an x-coordinate of 0. On the grid below, P, Q and R lie on the x-axis, so they are P(1, 0), Q(4, 0) and R(-3, 0). A, B and C lie on the y-axis, so they are A(0, 6), B(0, 4) and C(0, -2). We will use this fact again when we find where a line cuts the axes.

A line parallel to the x-axis keeps the same height all the way along. If it cuts the y-axis at M with OM = b, every point on it has y = b, so its equation is \( y - b = 0 \). It does not rise or fall at all.

A line parallel to the y-axis stands straight up. If it cuts the x-axis at N with ON = a, every point on it has x = a, so its equation is \( x - a = 0 \). These two kinds of line are the easiest place to start thinking about how steep a line is: one is flat and the other is as steep as a line can be.

Inclination of a Line
Suppose a straight line cuts the x-axis at A and the y-axis at B. Together with the origin O, the two points make the right angled triangle AOB, with the right angle at O. The angle BAO sits at A, between the line and the positive direction of the x-axis.

Inclination: the angle that a straight line makes with the positive direction of the x-axis, measured in the anticlockwise direction. It is usually written θ.
Always start measuring from the part of the x-axis that points to the right, and turn anticlockwise until you reach the line. A line that climbs as you move to the right has an inclination between 0° and 90°. A line that falls as you move to the right has an inclination between 90° and 180°.
When a line falls to the right, the small angle you see beside the x-axis is not the inclination. If that angle is 30°, the inclination is 180° - 30° = 150°, because the inclination is measured from the positive x-axis, anticlockwise.
Slope of a Line
Two roads can both go uphill while one is much steeper than the other. In coordinate geometry we measure this steepness with one number, called the slope or gradient of the line. It is found from the inclination using the tangent ratio.
Slope (gradient): the tangent of the inclination of a straight line. It is denoted by m.
\[ m = \tan\theta \]
Here \( \theta \) is the angle the line makes with the positive x-axis. A line with a bigger slope is steeper. A slope of 0 means the line is flat, parallel to the x-axis, because \( \tan 0^\circ = 0 \). A line parallel to the y-axis has inclination 90°, and \( \tan 90^\circ \) is not a number (it is shown as ∞), so the slope of such a line is not defined.
Reading Slope from the Inclination
Look at the three lines below. In each one, read the inclination first, then take its tangent.



- (i) The inclination is 135°, so \( m = \tan 135^\circ = -1 \).
- (ii) The inclination is 45°, so \( m = \tan 45^\circ = 1 \).
- (iii) The angle shown is 30° on the far side, so the inclination is \( 180^\circ - 30^\circ = 150^\circ \) and \( m = \tan 150^\circ = -\frac{1}{\sqrt{3}} \).
A line that rises to the right has a positive slope. A line that falls to the right has a negative slope. A flat line has slope 0.
Values of tan to Know by Heart
To change an inclination into a slope, or a slope back into an inclination, you need the tangents of the standard angles. Learn this table.

For a line that falls to the right, the inclination is more than 90°. Its tangent has the same size as the tangent of the angle it makes with the negative x-axis, but a minus sign, since \( \tan(180^\circ - \alpha) = -\tan\alpha \).
| Inclination θ | Worked out as | Slope tan θ |
| 120° | - tan 60° | \( -\sqrt{3} \) |
| 135° | - tan 45° | -1 |
| 150° | - tan 30° | \( -\frac{1}{\sqrt{3}} \) |
Slope of the Line Joining Two Points
Often we do not know the angle a line makes, but we know two points on it. Let \( P(x_1, y_1) \) and \( Q(x_2, y_2) \) be two points, and let θ be the angle PQ makes with the positive x-axis. Draw PM and QN perpendicular to the x-axis, and draw PL perpendicular to QN.

Step 1: The run PL equals MN, which is the difference of the x-coordinates:
\[ PL = MN = ON - OM = x_2 - x_1 \]
Step 2: The rise QL is QN take away LN, and LN = PM, so it is the difference of the y-coordinates:
\[ QL = QN - LN = y_2 - y_1 \]
Step 3: Since PL is parallel to the x-axis, the corresponding angles are equal:
\[ \angle QPL = \angle QAN = \theta \]
Step 4: Using the tangent ratio in the right angled triangle QPL, opposite over adjacent:
\[ \tan\theta = \frac{QL}{PL} = \frac{y_2 - y_1}{x_2 - x_1} \]
So the slope of the line joining \( (x_1, y_1) \) and \( (x_2, y_2) \) is:
\[ m = \frac{y_2 - y_1}{x_2 - x_1} \]
Slope is rise over run: the change in y divided by the change in x.
Take the two points in the same order on top and on the bottom. If the top is \( y_2 - y_1 \), the bottom must be \( x_2 - x_1 \), never \( x_1 - x_2 \). Mixing the order changes the sign of the answer.
Worked Examples on Slope
Example 1: Find the slope of a straight line whose inclination is 30°.
Step 1: Write what is given. The inclination is θ = 30° and we need the slope m. The slope is the tangent of the inclination:
\[ m = \tan\theta = \tan 30^\circ \]
Step 2: Putting in the standard value of tan 30°:
\[ m = \frac{1}{\sqrt{3}} \]
Example 2: What is the inclination of a line whose slope is 1?
Step 1: The slope is the tangent of the inclination, so we set tan θ equal to 1:
\[ \tan\theta = 1 \]
Step 2: From the table, the angle whose tangent is 1 is 45°:
\[ \tan\theta = \tan 45^\circ \]
Step 3: Comparing the angles, the inclination is:
\[ \theta = 45^\circ \]
Example 3: Find the slope of the line joining P(4, 7) and Q(3, 4).
Step 1: Name the coordinates. Take \( (x_1, y_1) = (4, 7) \) and \( (x_2, y_2) = (3, 4) \), and write the formula:
\[ m = \frac{y_2 - y_1}{x_2 - x_1} \]
Step 2: Substituting the values:
\[ m = \frac{4 - 7}{3 - 4} \]
Step 3: Simplifying the top and the bottom. A negative divided by a negative is positive:
\[ m = \frac{-3}{-1} = 3 \]
The slope is 3. The slope is positive, so the line rises to the right.
Finding an Unknown Coordinate from the Slope
The same formula works backwards. If the slope is known and one coordinate is missing, put everything into the formula and solve for the missing value.
Example: The slope of the line joining (1, k) and (3, 7) is 2. Find k.
Step 1: Putting the points and the slope into the formula:
\[ \frac{7 - k}{3 - 1} = 2 \]
Step 2: The bottom is 2, so multiplying both sides by 2:
\[ 7 - k = 4 \]
Step 3: Subtracting 4 from 7 to find k:
\[ k = 3 \]
Check: with k = 3 the slope is \( \frac{7 - 3}{3 - 1} = \frac{4}{2} = 2 \). It agrees.
Collinear Points
Points that lie on one straight line are called collinear. Slope gives us a quick test. If the line from A to B has the same slope as the line from B to C, the two pieces lean at the same angle. They also share the point B, so they cannot be two separate parallel lines. They must be one straight line.
Collinear points: three points A, B and C are collinear if the slope of AB equals the slope of BC, or the slope of AB equals the slope of AC.
Example 4: Show that A(3, 4), B(7, 8) and C(11, 12) are collinear.

Step 1: Finding the slope of AB, from A(3, 4) to B(7, 8):
\[ m_{AB} = \frac{8 - 4}{7 - 3} = \frac{4}{4} = 1 \]
Step 2: Finding the slope of BC, from B(7, 8) to C(11, 12):
\[ m_{BC} = \frac{12 - 8}{11 - 7} = \frac{4}{4} = 1 \]
Step 3: The two slopes are equal, both 1, and B is common to AB and BC. So A, B and C are collinear.
Equal slopes alone only show that two lines are parallel. The test works because the two lines share a point. Always compare AB with BC or AB with AC, never AB with a line that has no point in common with it.
Intercepts on the Axes
Let a line PQ cut the x-axis at A and the y-axis at B. The distances of these two points from the origin tell us where the line crosses each axis.

x-intercept: the distance OA from the origin to the point where the line cuts the x-axis. It is usually written a.
y-intercept: the distance OB from the origin to the point where the line cuts the y-axis. It is usually written b.
Since a point on the x-axis has y = 0, the line crosses the x-axis at (a, 0). Since a point on the y-axis has x = 0, it crosses the y-axis at (0, b). An intercept keeps its sign: if the line cuts the x-axis to the left of the origin, the x-intercept is negative, and if it cuts the y-axis below the origin, the y-intercept is negative.
Example 5: Three lines BQ, RC and PC are drawn on the grid. Read off the intercepts of each.

For each line, find where it meets the x-axis and read the x-coordinate, then find where it meets the y-axis and read the y-coordinate. Line BQ cuts the x-axis at Q(4, 0) and the y-axis at B(0, 4). Line RC cuts the x-axis at R(-3, 0) and the y-axis at C(0, -2). Line PC cuts the x-axis at P(1, 0) and the y-axis at C(0, -2).

Finding Intercepts by Plotting
When a line is given by two points, plot the points, join them with a ruler and extend the line in both directions until it meets both axes. The slope helps you check where it lands.
Example: Find the intercepts of the line joining (1, 4) and (2, 2).
- Step 1: Find the slope: \( m = \frac{2 - 4}{2 - 1} = -2 \). So for every 1 step to the right, the line goes 2 steps down.
- Step 2: Move right from (2, 2): one step right and two down gives (3, 0). This point is on the x-axis, so the x-intercept is a = 3.
- Step 3: Move left from (1, 4): one step left and two up gives (0, 6). This point is on the y-axis, so the y-intercept is b = 6.
- Step 4: Check on the graph paper that the extended line really passes through (3, 0) and (0, 6).
The full lesson is waiting for you
The notes are free to read in full. A free account opens the rest of the practice, and tracks your progress and confidence score for every subject. Presentations and videos need approval from Learn Yeti.