Q.
Let the line L passes through two given points P1(x1,y1) and P2(x2,y2). Let P(x,y) be general point on L. Then, the equation of the line passing through the points (x1,y1) and (x2,y2) is given by
∵ The three points P1,P2 and P are collinear. Therefore, we have
Slope of P1P= Slope of P1P2
i.e., (x−x1)(y−y1)=(x2−x1)(y2−y1)
or (y−y1)=x2−x1y2−y1(x−x1)
Thus, Equation of the line passing through the points (x1,y1) and (x2,y2) is given by y−y1=x2−x1y2−y1(x−x1)