Question
Question: Find the slope of the lines: [i] Passing through the points (3,-2) and (-1,4) [ii] Passing thro...
Find the slope of the lines:
[i] Passing through the points (3,-2) and (-1,4)
[ii] Passing through the points (3,-2) and (7,-2)
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≡(3,−2) and B≡(−1,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=3,x2=−1,y1=−2 and y2=4
Hence, we have
m=−1−34+2=−46=−23
Hence the slope of the line is −23
[ii] We have A≡(3,−2) and B≡(7,−2)
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=3,x2=7,y1=−2 and y2=−2
Hence, we have
m=7−3−2−(−2)=40=0
Hence the slope of the line is 0.
Note: Alternative solution:
[i] Let the equation of the line passing through the given points be y = mx+c
Since (3,-2) lies on the line, we have
3m+c=−2
Also since (-1,4) lies on the line, we have
−m+c=4
Hence, we have 3m+m=−2−4⇒m=4−6=−23
[ii] Let the equation of the line passing through the given points be y = mx+c
Since (3,-2) lies on the line, we have
3m+c=−2
Also since (7,-2) lies on the line, we have
7m+c=−2
Hence, we have 7m−3m=−2−(−2)⇒m=0.