Question
Question: Find the slope of the line which passes through the points [i] (2,5) and (-4,-4) [ii] (-2,3) and ...
Find the slope of the line which passes through the points
[i] (2,5) and (-4,-4) [ii] (-2,3) and (4,-6)
Solution
Hint: Use the fact that the slope of the line joining the points A(x1,y1) and B(x2,y2) is given by m=x2−x1y2−y1 . Substitute the value of x1,x2,y1,y2 in each case and hence find the slopes of the lines.
Alternatively, assume that the equation of the line is y=mx+c. Since the line passes through the points, the points satisfy the equation of the line. Hence form two linear equations in two variables m and c. Solve for m and c. The value of m gives the slope of the line.
Complete step-by-step answer:
[i] We have A≡(2,5) and B≡(−4,−4)
We know that the slope of the line joining the points A(x1,y1) and B(x2,y2) is given by m=x2−x1y2−y1.
Here x1=2,x2=−4,y1=5 and y2=−4
Hence, we have
m=−4−2−4−5=−6−9=23
Hence the slope of the line is 23
[ii] We have A≡(−2,3) and B≡(4,−6)
We know that the slope of the line joining the points A(x1,y1) and B(x2,y2) is given by m=x2−x1y2−y1.
Here x1=−2,x2=4,y1=3 and y2=−6
Hence, we have
m=4−(−2)−6−3=6−9=2−3
Hence the slope of the line is 2−3.
Note: Alternative solution:
[i] Let the equation of the line passing through the given points be y = mx+c
Since (2,5) lies on the line, we have
2m+c=5
Also since (-4,-4) lies on the line, we have
−4m+c=−4
Hence, we have 2m+4m=5+4⇒m=69=23
[ii] Let the equation of the line passing through the given points be y = mx+c
Since (-2,3) lies on the line, we have
−2m+c=3
Also since (4,-6) lies on the line, we have
4m+c=−6
Hence, we have 4m+2m=−6−3⇒m=2−3.