The distance formula is a direct application of Pythagoras' Theorem () to the coordinate plane.
By drawing a horizontal line from one point and a vertical line from the other, a right-angled triangle is formed where the line segment is the hypotenuse.
The lengths of the two legs are the absolute differences between the x-coordinates () and the y-coordinates ().
Squaring these differences ensures that the result is always positive, effectively removing the need for absolute value signs.
Step 1: Identify Coordinates: Clearly label the two points as and . The choice of which point is '1' or '2' does not affect the final result.
Step 2: Calculate Differences: Find the change in x () and the change in y ().
Step 3: Apply the Formula: Substitute the values into the distance formula:
Step 4: Simplify: Square the differences, sum them together, and then take the square root of the total. If the result is not a perfect square, leave it in surd form for exactness or round to the required decimal places.
| Feature | Distance (Length) | Gradient (Slope) | Midpoint |
|---|---|---|---|
| Purpose | Measures the total length between points | Measures the steepness of the line | Finds the center point of the segment |
| Formula Type | Square root of sum of squares | Ratio of differences | Average of coordinates |
| Result Type | Scalar (Magnitude) | Ratio (Rate of change) | Coordinate (Location) |
| Sign | Always positive | Positive, negative, or zero | Can be any coordinate |
Handle Negatives with Care: When subtracting a negative coordinate, remember that . Use brackets in your working to avoid sign errors.
Check for Pythagorean Triples: Many exam questions use integer distances based on common triples like or . Recognizing these can help verify your arithmetic.
Sanity Check: The distance must always be longer than either the horizontal or vertical change individually, but shorter than their sum (the Triangle Inequality).
Exact vs. Approximate: Unless specified otherwise, provide the answer as a simplified surd (e.g., ) to maintain mathematical precision.
Forgetting to Square: A common error is adding the differences without squaring them first, which violates the Pythagorean principle.
Incorrect Sign Handling: Students often mistakenly calculate as instead of . Remember that squaring any real number results in a positive value.
Mixing Coordinates: Ensure you subtract the x-coordinates from each other and the y-coordinates from each other; do not subtract an x-value from a y-value.