Show the equation of a circle having the line segment joining A(x1,y1) and B(x2,y2) as diameter is (x−x1)(x−x2)+(y−y1)(y−y2)=0.
Open in App
Solution
mAP=y−y1x−x1mBP=y−y2x−x2 Since ΔAPB is a right angle (D in semicircle) mAP×mBP=y−y1x−x1×y−y2x−x2=−1 We get equation of the circle is (x−x1)(x−x2)+(y−y1)(y−y2)=0x2−xx2−x1x+x1x2+y2−yy2−yy1+y1y2=0x2+y2−x(x2+x1)−y(y2+y1)+x1x2+y1y2=0