Answer:
x² + y² + 4x - 2y + 1 = 0
Explanation:
The equation of a circle is given by the general equation;
(x-a)² + (y-b)² = r² ; where (a,b) is the center of the circle and r is the radius.
In this case; the center is (-2,1)
We can get radius using the formula for magnitude; √((x2-x1)² + (y2-y1)²)
Radius = √((-4- (-2))² + (1-1)²)
= 2
Therefore;
The equation of the circle will be;
(x+2)² + (y-1)² = 2²
(x+2)² + (y-1)² = 4
Expanding the equation;
x² + 4x + 4 + y² -2y + 1 = 4 subtracting 4 from both sides;
x² + 4x + y² - 2y + 4 + 1 -4 = 0
= x² + y² + 4x - 2y + 1 = 0