Below are the formulae for finding:
- the distance between two points (i.e. the length of the line segment that joins them);
- The midpoint of two points; and
- The gradient of the line segment between two points.
In each of the formulae, the two points are (x1,y1) and (x2,y2) (each of these letters with a subscript refers to a specific number which will be in the question).
Length:
Midpoint:
Gradient: .
We can also find the equation of the line, using the formula y-y1=m(x-x1), where the letters x and y are variables, i.e. they stay as letters in our final equation, and all of the other letters are constants, i.e. we put a specific number into them for each of our questions.
If two lines are perpendicular, we can find the gradient of the perpendicular line using the formula m x n= -1, where m is the formula of one line and n is the formula of the perpendicular line.
Exercise
Now let’s use the equations with the following points to answer the following questions:
A: (2,4), B: (1,3), C: (-1,5), D: (8,-1), E: (-2,-4), F: (-9,3), G: (-8,-8)
Find the length, midpoint, gradient and equation of the following lines. All “square roots” answers can be left as surds (e.g. ) and all equations should be put into the form y=mx+c (note that the exercise will be more beneficial in helping you learn the formula if you do the questions one at a time (i.e. not calculating the lengths for all of the questions first, etc.):
(1.) AB, (2.) AC, (3.) AD, (4.) AE, (5.) AF, (6.) AG, (7.) BC, (8.) BD, (9.) BE, (10.) BF, (11.) BG, (12.) CD, (13.) CE, (14.) CF, (15.) CG, (16.) DE, (17.) DF, (18.) DG, (19.) EF, (20.) EG
Answers
- AB: Length:
, Midpoint: (1.5,3.5), Gradient: 1, Equation: y=x+2
- AC: Length:
, Midpoint: (0.5,4.5), Gradient: -1/3, Equation: y=-⅓x+4⅔
- AD: Length:
, Midpoint: (5,1.5), Gradient: -5/6, Equation:
- AE: Length:
, Midpoint: (0,), Gradient: 2, Equation: y=2x
- AF: Length:
, Midpoint: (-3.5,3.5), Gradient: 1/11, Equation:
- AG: Length:
, Midpoint: (-3,-2), Gradient:
, Equation:
- BC: Length:
, Midpoint: (0,4), Gradient: -1, Equation: y=-x+4
- BD: Length:
, Midpoint: (4.5,1), Gradient: -4/7, Equation:
- BE: Length:
, Midpoint: (-0.5,-0.5), Gradient:
, Equation:
- BF: Length: 10, Midpoint: (-4,3), Gradient: 0, Equation: y=3
- BG: Length:
, Midpoint: (-3.5,-2.5), Gradient:
, Equation:
- CD: Length:
, Midpoint: (3.5,2), Gradient: -⅔, Equation:
- CE: Length:
, Midpoint: (-1.5,0.5), Gradient: 9, Equation: y=9x+14
- CF: Length:
, Midpoint: (-5,4), Gradient: 1/4, Equation:
- CG: Length:
, Midpoint: (-4.5,1.5), Gradient:
, Equation:
- DE: Length:
, Midpoint: (3,-2.5), Gradient: 3/10, Equation:
- DF: Length:
, Midpoint: (-0.5,1), Gradient: -4/17, Equation:
- DG: Length:
, Midpoint: (0, -4.5), Gradient: 7/16, Equation:
- EF: Length:
, Midpoint: (-5.5,-0.5), Gradient: -1, Equation: y=-x-6
- EG: Length:
, Midpoint: (-5,-6), Gradient: 2/3, Equation:
As an additional exercise, please find the perpendicular bisector for each of the line segments specified about (ask your teacher how to do this if you are not sure).
The answers are below:
1.) y = -x + 5
2.) y = 3x + 3
3.) y = 1.2x – 4.5
4.) y = -0.5x
5.) y = 11x + 42
6.) y = (-5/6)x – 4.5