Find the coordinates of the point which divides the line segment joining the points (−2, 3, 5) and (1, −4, 6) in the ratio. (i) 2 : 3 internally (ii) 2 : 3 externally.
(i) Let P(x, y, z) be any point which divides the line segment joining points A(−2, 3, 5) and B(1, −4, 6) in the ratio 2 : 3 internally.
Then
x=2×1+3×−22+3=2−65=−45
y=2×−4+3×32+3=−8+95=15
z=2×6×3×52+3=12+155=275
∴ Coordinates of P are (−45,15,275)
(ii) Let P(x,y,z) be any point which divides the line segment joining points A(−2, 3, 5) and B(1, −4, 6) in the ratio 2 : 3 externally.
Then x=2×1+(−3)×x−22+(−3)=2+6−1=−8
y=2×−4+(−3)×32+(−3)=−8−9−1=17
z=2×6(−3)×52+(−3)=12−15−1=3
∴ Coordinates of P are (−8, 17,3).