Academy
Formulas/maths/Straight Lines/Slope from Inclination

Slope from Inclination

Slope in terms of the angle θ the line makes with the positive x-axis. θ ∈ [0°, 180°), θ ≠ 90°.
Derivation

The inclination of a line is the angle θ\theta it makes with the positive direction of the xx-axis, measured anticlockwise.

Remember
By convention $\theta \in [0°, 180°)$.

From the definition of slope as the tangent of this angle:

m=tanθ\boxed{m = \tan\theta}

Domain restriction

θ=90°\theta = 90° gives a vertical line, for which tan90°\tan 90° is undefined — consistent with vertical lines having no slope.

For θ[0°,90°)\theta \in [0°, 90°): m0m \geq 0 (line rises left to right or is horizontal).

For θ(90°,180°)\theta \in (90°, 180°): m<0m < 0 (line falls left to right).

Consistency with the two-point formula

If P(x1,y1)P(x_1,y_1) and Q(x2,y2)Q(x_2,y_2) lie on a line of inclination θ\theta, then from the right triangle formed:

tanθ=y2y1x2x1=m\tan\theta = \frac{y_2 - y_1}{x_2 - x_1} = m

Both definitions are equivalent.