The line segment joining the points A(3, – 4) and B(1, 2) is trisected at the points P(p, – 2) and Q(5/3, q). Find the values of p and q.

P divides the segment AB in ratio 1:2


Q divides the segment AB in ratio 2:1


For coordinates of P


X = (m1x2 + m2x1)/ m1 + m2


= (1 × 1 + 2 × 3)/1 + 2


= (1 + 6) /3


= 7/3 = p


Y = (m1y2 + m2y1)/ m1 + m2


= (1x2 + 2 × (– 4))/3


= (2 – 8)/3


= – 6/ 3 = – 2


For coordinates of Q


X = (m1x2 + m2x1)/ m1 + m2


= (2x 1 + 1x 3)/3


= (2 + 3) /3


= 5/3


Y = (m1y2 + m2y1)/ m1 + m2


= (2 × 2 + 1 × (– 4))/3


= (4 – 4)/3


= 0/ 3


= 0 = q


p = 7/3 , q = 0


7