Mathematics and Statistics · Ch 5 — Locus and Straight Line
Slope (Gradient) of a Line
Slope (Gradient) of a Line
The slope (or gradient) of a straight line measures its steepness and direction of rise. It is denoted by and defined through the angle the line makes with the positive direction of the x-axis.
The inclination of a line is the angle, measured anticlockwise, from the positive x-axis to the line, with . The slope is then
Slope from Inclination
Because is positive for acute and negative for obtuse , a line rising left-to-right has positive slope, and a line falling left-to-right has negative slope. A horizontal line has , so . A vertical line has , where is undefined — a vertical line has no slope (its slope does not exist).
When two points on the line are known, the slope can be found without the angle at all. If and are any two distinct points on the line,
Slope from Two Points
This is the rise (change in ) divided by the run (change in ). The order of the two points does not matter, provided the same order is used in the numerator and the denominator: computing gives exactly the same value. If the line is vertical and the slope is undefined, consistent with the inclination view above. …
The angle a line makes with the positive x-axis, measured anticlockwise, $0^\circ \le \the …
, equivalently for two points on the line. Positive if the line rises, negative if it falls, zero if horizo …