The line segment joining the point A(2, 1) and B(5, –8) is trisected at the points P and Q such that P is nearer to A.
The line segment joining the point A(2, 1) and B(5, –8) is trisected at the points P and Q such that P is nearer to A. If P also lies on the line given by 2x – y + k = 0, find the value of k.
Let the points A(2, 1) and B(5, –8) is trisected at the points P(x, y) and Q(a, b).
Thus, AP = PQ = QB
Therefore, P divides AB internally in the ratio 1 : 2.
Section formula: if the point (x, y) divides the line segment joining the points (x1, y1) and (x2, y2) internally in the ratio m : n, then the coordinates (x, y) =
$\left(\frac{m x_{2}+n x_{1}}{m+n}, \frac{m y_{2}+n y_{1}}{m+n}\right)$
Therefore, using section formula, the coordinates of P are:
$(x, y)=\left(\frac{1(5)+2(2)}{1+2}, \frac{1(-8)+2(1)}{1+2}\right)$
$\Rightarrow(x, y)=\left(\frac{5+4}{3}, \frac{-8+2}{3}\right)$
$\Rightarrow(x, y)=\left(\frac{9}{3}, \frac{-6}{3}\right)$
$\Rightarrow(x, y)=(3,-2)$
Hence, the coordinates of P are (3, –2).
Since, P also lies on the line given by 2x – y + k = 0,
Therefore, (3, –2) satisfies the equation 2x – y + k = 0
$2(3)-(-2)+k=0$
$\Rightarrow 6+2+k=0$
$\Rightarrow k=-8$
Hence, the values of k is –8.