Question
Question: The line segment joining points A (2,1) and B (5,-8) is trisected at the point P and Q. P is nearer ...
The line segment joining points A (2,1) and B (5,-8) is trisected at the point P and Q. P is nearer to A. If P also lies on the line 2x-y+k=0, find the value of k.
Solution
Hint: The points of trisection divide the line segment in the ratio 1:2 and 2:1. Hence P divides AB in the ratio of 1:2 and Q divides AB in the ratio of 2:1. Use section formula which states that the coordinates of the point P which divides A(x1,y1) and B(x2,y2) in the ratio of m:n is given by (m+nmx2+nx1,m+nmy2+ny1). Hence find the coordinates of point P. Also, as point P lies on 2x-y+k, it must satisfy the equation. Hence find the value of k so that p satisfies the above equation of the line.
Complete step-by-step solution -
As P and Q are the points of trisection, we have
AP = PQ = QB.
Hence we have PBAP=2APAP=21
Hence P divides AB in the ratio of 1:2.
Similarly Q divides AB in the ratio of 2:1
Finding coordinates of P:
that the coordinates of the point P which divides A(x1,y1) and B(x2,y2) in the ratio of m:n is given by (m+nmx2+nx1,m+nmy2+ny1)
Here x1=2,x2=5,y1=1 and y2=−8 and m = 1 and n= 2
Hence we have
P≡(1+21×5+2×2,1+21×(−8)+2×1)=(39,3−6)=(3,−2)
Finding coordinates of Q:
that the coordinates of the point P which divides A(x1,y1) and B(x2,y2) in the ratio of m:n is given by (m+nmx2+nx1,m+nmy2+ny1)
Here x1=2,x2=5,y1=1 and y2=−8 and m = 2 and n= 1
Hence we have
Q≡(1+22×5+1×2,1+22×(−8)+1×1)=(312,3−15)=(4,−5)
Also, since P lies on 2x-y+k = 0, P must satisfy its equation.
Hence we have
2(3)-(-2)+k = 0
i.e. k =-8
Hence the value of k is -12.
Note: Alternative solution: Best method:
The ratio in which the line ax+by+c=0 divides the line segment joining points A(x1,y1) and B(x2,y2) is given by −ax2+by2+cax1+by1+c (Remember)
Hence the ratio in which 2x-y+k = 0 divides the line segment joining A (2,1) and B (5,-8) is given by
−2(5)−(−8)+k2(2)−1+k=−18+k3+k
Since the line 2x-y+k = 0 intersects AB at P which divides AB in the ratio 1:2, we have
−18+k3+k=21
Cross multiplying, we get
−6−2k=18+k⇒3k=−24⇒k=−8