If $(x_1, y_1)$ and $(x_2, y_2)$ are the opposite end points of a diameter of a circle, then the equation of the circle is given by
- $(x-x_1)(y-y_1)+(x-x_2)(y-y_2)=0$
- $(x-x_1)(y-y_2)+(x-x_2)(y-y_1)=0$
- $(x-x_1)(x-x_2)+(y-y_1)(y-y_2)=0$
- $(x-x_1)(x-x_2)=(y-y_1)(y-y_2)=0$