<< Chapter < Page | Chapter >> Page > |
In the figure, it can be seen that the length of the line is 3 units and the length of the line is four units. However, the , has a right angle at . Therefore, the length of the side can be obtained by using the Theorem of Pythagoras:
The length of is the distance between the points and .
In order to generalise the idea, assume is any point with co-ordinates and is any other point with co-ordinates .
The formula for calculating the distance between two points is derived as follows. The distance between the points and is the length of the line . According to the Theorem of Pythagoras, the length of is given by:
However,
Therefore,
Therefore, for any two points, and , the formula is:
Distance=
Using the formula, distance between the points and with co-ordinates (2;1) and (-2;-2) is then found as follows. Let the co-ordinates of point be and the co-ordinates of point be . Then the distance is:
The following video provides a summary of the distance formula.
The gradient of a line describes how steep the line is. In the figure, line is the steepest. Line is less steep than but is steeper than , and line is steeper than .
The gradient of a line is defined as the ratio of the vertical distance to the horizontal distance. This can be understood by looking at the line as the hypotenuse of a right-angled triangle. Then the gradient is the ratio of the length of the vertical side of the triangle to the horizontal side of the triangle. Consider a line between a point with co-ordinates and a point with co-ordinates .
Gradient
We can use the gradient of a line to determine if two lines are parallel or perpendicular. If the lines are parallel ( [link] a) then they will have the same gradient, i.e. m AB m CD . If the lines are perpendicular ( [link] b) than we have:
For example the gradient of the line between the points and , with co-ordinates (2;1) and (-2;-2) ( [link] ) is:
The following video provides a summary of the gradient of a line.
Sometimes, knowing the co-ordinates of the middle point or midpoint of a line is useful. For example, what is the midpoint of the line between point with co-ordinates and point with co-ordinates .
The co-ordinates of the midpoint of any line between any two points and with co-ordinates and , is generally calculated as follows. Let the midpoint of be at point with co-ordinates . The aim is to calculate and in terms of and .
Then the co-ordinates of the midpoint ( ) of the line between point with co-ordinates and point with co-ordinates is:
It can be confirmed that the distance from each end point to the midpoint is equal. The co-ordinate of the midpoint is .
Notification Switch
Would you like to follow the 'Contemporary math applications' conversation and receive update notifications?