Question
Question: Find the slope of the line which passes through the origin, and the mid-point of the line segment jo...
Find the slope of the line which passes through the origin, and the mid-point of the line segment joining the points A (0, -4) and B (8, 0).
Solution
Hint: We know that the slope of a line joining the two points (x1,y1) and (x2,y2) is given by as follows:
slope=tanθ=x2−x1y2−y1
We will also use the mid-point formula for the two points (x1,y1) and (x2,y2) given by as follows:
x-coordinate =2x1+x2
y-coordinate =2y1+y2
Complete step-by-step answer:
We have been asked to find the slope of a line which passes through the origin and the mid-point of the line segment joining the points A (0, -4) and B (8, 0).
We know that the mid-point formula for the two points (x1,y1) and (x2,y2) given by as follows:
x-coordinate =2x1+x2
y-coordinate =2y1+y2
We have x1=0,x2=8,y1=−4,y2=0
By using the mid-point formula, we have as follows:
x-coordinate =20+8=4
y-coordinate =2−4+0=−2
Thus the mid-point is (4, -2).
Now we have been given that the line is passing through the origin and mid-point of the line segment joining the points A (0, -4) and B (8, 0), i.e. the line passes through (0, 0) and (4, -2).
We know that if the line passes through (x1,y1) and (x2,y2) then its slope is given by as follows:
slope=tanθ=x2−x1y2−y1
So we have x1=0,x2=4,y1=0,y2=−2
⇒slope=4−0−2−0=4−2=2−1
Therefore, the required slope of the line is equal to (2−1).
Note: Just be careful while substituting the values of x1,x2,y1,y2 in the formula to find the slope because if you substitute it incorrectly you will get the wrong answer. Also remember that the origin is a point whose x-coordinate as well as y-coordinate are equal to zero. If a line passes through origin and a point (x1,y1) then its slope is equal to (x1y1).