Coordinate Geometry
The gradient is the slope of a given object in a x and y plane
« Previous Next »Example of finding the gradient of a straight line
Given that a straight line passes through the points A (5, -9) and B (3, 7), Find
(a) The gradient of a straight line passing through A and B.
(b) The equation of the line passing through the points A and B.
(c) The coordinates of a midpoint between A and B.
(d) The distance between points A and B.
Solutions:
(a)
A (5, -9) and B (3, 7)
Formula for gradient
Gradient =
Y2 = 7, Y1 = -9, X2 = 3, X1 = 5
Gradient =
Gradient =
Gradient =
Answer: Gradient/M =
(b)
Formula for the equation of a straight line
y - Y1 = m(x - X1)
A (5, -9)
X1 = 5, Y1 = -9
replace the values X1 and Y1 in the equation
y - (-9) = -8(x - 5)
y + 9 = -8(x - 5)
y + 9 = -8x + 40
Format the solution in this format y = mx + c
y = -8x + 40 - 9
Answer: y = -8x + 31
(c)
Formula for Midpoint
M.p =
A (5, -9) and B (3, 7)
Y2 = 7, Y1 = -9, X2 = 3, X1 = 5
M.p =
M.p =
Answer: M.p =
(d)
Formula for distance between points
AB =
A (5, -9) and B (3, 7)
Y2 = 7, Y1 = -9, X2 = 3, X1 = 5
AB =
AB =
AB =
AB =
AB =
Answer: AB =
How to find gradient of the straight line
Find the gradient of the line which passes through (-5, 3) and (-4, 1)
Formula:
M =Given that:
M/Gradient = ?
Y2 = 1
Y1 = 3
X2 = -4
X1 = -5
Solution:
M =M =
M =
Answer: gradient = -2
How to find the Coordinates from a gradient
The gradient of the line joining the points (-2, k) and (k, -14) is 2, Calculate the Coordinate value of k
Formula:
M =Given that:
M/Gradient = 2
Y2 = -14
Y1 = k
X2 = k
X1 = -2
Solution:
2 =Answer: k = -6
How to find the midpoint of Coordinates, its distance and equation
Given that a straight line passes through the points A(5, -9) and B(3, 7).
a) Find its midpoint
b) Find the distance of AB
c) Find the equation of a straight line AB
Formula for midpoint
M.p =
Points to note
From the given Coordinates Points A and B one can derive the following:
X1 = 5
X2 = 3
Y1 = -9
Y2 = 7
M.p =
M.p =
M.p =
Answer: Midpoint =
b)
Formula of the distance between points
AB =
AB =
AB =
AB =
AB =
AB =
AB =
Answer: distance AB =
c)
The equation of a straight line is expressed as y = mx + c , where y is the Coordinate, m is the gradient, x is the Coordinate and c is the constant
Formula to find the equation of a straight line
y - Y1 = m(x - X1)
Points to note
To find the equation of a straight line using the formula above one has to get one set of Coordinates X1 and Y1 with a known gradient m. However when the gradient is not given to you, you have to find it thats when the equation can be found.
Find gradient
M =
M =
M =
M =
M = -8
Set of Coordinates picked
B(3, 7)
X1 = 3 , Y1 = 7
y - Y1 = m(x - X1)
y - 7 = -8(x - 3)
y = -8x + 24
y = -8x + 24 + 7
y = -8x + 24 + 7
y = -8x + 31
Answer: Equation = y = -8x + 31
How to find the equation of a straight line using the straight line equation formula
straight line equation formula
y = mx + c
Points to note
using the formula above to find the equation of a straight line, the gradient must be found and with the help of a set of Coordinates find the constant c. When that is done add the gradient and constant into the straight line equation hence the equation is found
gradient = -8
sets of Coordinates picked are: B(3, 7)
x = 3 , y = 7
Find constant c
y = mx + c
7 = -8(3) + c
7 = -24 + c
7 + 24 = + c
c = 31
Add gradient and constant in the straight line equation formula
y = mx + c
y = -8x + 31
Answer: Equation = y = -8x + 31