Find the equation of the circle with its centre lying on the line x+y=2 and passing through the points (2,−2) and (3,4).
Background and Explanation
To find the equation of a circle, we need its centre (h,k) and its radius r. We use the property that the distance from the centre to any point on the circle is equal to the radius. If the centre lies on a given line, its coordinates must satisfy the equation of that line.
Let the given points be A(2,−2) and B(3,4). Since both points lie on the circle, the distance from the centre to A must equal the distance from the centre to B (both are equal to the radius r):
∣AC∣=∣BC∣
Using the distance formula (x2−x1)2+(y2−y1)2:
(h−2)2+(k+2)2=(h−3)2+(k−4)2
Squaring both sides to remove the square roots:
(h−2)2+(k+2)2=(h−3)2+(k−4)2
Expanding the squares:
h2−4h+4+k2+4k+4=h2−6h+9+k2−8k+16
Cancel h2 and k2 from both sides and simplify:
−4h+4k+8=−6h−8k+252h+12k=17