| Result | Formula |
|---|---|
| Distance between P(x₁, y₁) and Q(x₂, y₂) | PQ = √[(x₂ − x₁)² + (y₂ − y₁)²] |
| Point dividing PQ internally in ratio m : n | ((mx₂ + nx₁)/(m + n), (my₂ + ny₁)/(m + n)) |
| Mid-point of PQ (m = n) | ((x₁ + x₂)/2, (y₁ + y₂)/2) |
| Area of triangle with vertices (x₁, y₁), (x₂, y₂), (x₃, y₃) | ½ |x₁(y₂ − y₃) + x₂(y₃ − y₁) + x₃(y₁ − y₂)| |
If θ is the inclination of a line and θ ≠ 90°, its slope (gradient) is m = tan θ. The slope of a vertical line is not defined; the slope of a horizontal line is 0.
What the slope tells you about a line
-
m > 0
- Inclination acute (0° < θ < 90°)
- Line rises from left to right
-
m < 0
- Inclination obtuse (90° < θ < 180°)
- Line falls from left to right
-
m = 0
- Inclination 0°
- Horizontal line, y = constant
-
m not defined
- Inclination 90°
- Vertical line, x = constant
Slope of the line through (x₁, y₁) and (x₂, y₂): m = (y₂ − y₁)/(x₂ − x₁), x₁ ≠ x₂.
- Inclination θ is measured anticlockwise from the positive x-axis, 0° ≤ θ < 180°.
- Slope m = tan θ = (y₂ − y₁)/(x₂ − x₁); vertical lines have no slope.
- Positive slope rises, negative slope falls, zero slope is horizontal.
- Equal slopes of AB and BC mean A, B, C are collinear.