Let’s P divide A and B in the ratio of k:
Given that the coordinates of P as (,y)
Now, by using the section formula for x – coordinate we have
Therefore, the point P divides AB in the ratio of
Using value of k, to find the y-coordinate we have
y
y
y
y
Hence, the y-coordinate of P is