Let equation of line AB is ax+by=1.....(i)
Let a point R(h,k) divide line AB in the ratio 1:2.
By using section formula, (internal division) R(h,k)=(1+21x2+2x1,1+21y2+2y1) ⇒h=1+21×0+2×a, k=1+21×b+2×0 [∵P(x,y) divide the line (x1,y1) and (x2,y2) in the ratio m:n internally ] ∴P(x,y)=(n+mmx2+nx1,n+mmy2+ny1)] ⇒h=32a,k=3b ⇒a=23h,b=3k
On putting the values of a and b in Eq. (i), we get 23hx+3ky=1 3h2x+3ky=1 3hk2kx+hy=1 2kx+hy=3hk