Since the circle passes through given points A(x1,y1)=(1,1) and B(x2,y2)=(−1,−2)
i.e. that the centre of circle is equidistant from the points A and B.
The slope of line AB=m=y2−y1x2−x1=−2−1−1−1=32
Mid point of line AB= (x′,y′)=(x1+x22,y1+y22)
(x′,y′)=(1−12,1−22)
(x′,y′)=(0,−12)
So, equation of line is y−y′=m(x−x′)
y−−12=32(x−0)
2y+1=3x
3x−2y=1.........(1)
And given equation of line is
x+2y=1 …....(2)
By equation (1) and (2) to, we get
3x−2y=1
x+2y=1
4x=2
x=12
Put
the value of x in equation (2) and we get,
Then y=14
Now,
the centre of circle is at (12,14).
Since the circle passes through (−1,−2).
Then, radius of circle is =√(−1−12)2+(−2−14)2=√1174
Therefore, the equation of circle is
(x−12)2+(y−14)2=11716