# How do you write an equation for a circle whose diameter has endpoints (-2, 3) and (4, -1)?

Jul 16, 2016

${\left(x - 1\right)}^{2} + {\left(y - 1\right)}^{2} = 13$

#### Explanation:

The standard form of the equation of a circle is.

$\textcolor{red}{| \overline{\underline{\textcolor{w h i t e}{\frac{a}{a}} \textcolor{b l a c k}{{\left(x - a\right)}^{2} + {\left(y - b\right)}^{2} = {r}^{2}} \textcolor{w h i t e}{\frac{a}{a}} |}}}$
where (a ,b) are the coordinates of the centre and r, the radius.

To establish the equation, we require to know it's centre and radius.

Since we are given the endpoints of the diameter. Then the centre will be at the midpoint and the radius will be the distance from the centre to either of the 2 endpoints.

The midpoint can be calculated using the $\textcolor{b l u e}{\text{midpoint formula}}$

$\textcolor{red}{| \overline{\underline{\textcolor{w h i t e}{\frac{a}{a}} \textcolor{b l a c k}{\frac{1}{2} \left({x}_{1} + {x}_{2}\right) , \frac{1}{2} \left({y}_{1} + {y}_{2}\right)} \textcolor{w h i t e}{\frac{a}{a}} |}}}$
where $\left({x}_{1} , {y}_{1}\right) \text{ and " (x_2,y_2)" are 2 points}$

The 2 points here are (-2 ,3) and (4 ,-1)

$\Rightarrow \text{ centre} = \left(\frac{1}{2} \left(- 2 + 4\right) , \frac{1}{2} \left(3 - 1\right)\right) = \left(1 , 1\right)$

To calculate the radius use the $\textcolor{b l u e}{\text{distance formula}}$

$\textcolor{red}{| \overline{\underline{\textcolor{w h i t e}{\frac{a}{a}} \textcolor{b l a c k}{r = \sqrt{{\left({x}_{2} - {x}_{1}\right)}^{2} + {\left({y}_{2} - {y}_{1}\right)}^{2}}} \textcolor{w h i t e}{\frac{a}{a}} |}}}$
where $\left({x}_{1} , {y}_{1}\right) \text{ and " (x_2,y_2)" are 2 points}$

The 2 points here are the centre (1 ,1) and the endpoint (-2 ,3)

$r = \sqrt{{\left(- 2 - 1\right)}^{2} + {\left(3 - 1\right)}^{2}} = \sqrt{9 + 4} = \sqrt{13}$

The equation of the circle can now be written.

${\left(x - 1\right)}^{2} + {\left(y - 1\right)}^{2} = {\left(\sqrt{13}\right)}^{2}$

$\Rightarrow {\left(x - 1\right)}^{2} + {\left(y - 1\right)}^{2} = 13 \text{ is the equation of the circle}$