Let the required circle be (x−h)2+(y−k)2=r2. It passes through (4,1) and (6,5).
(4−h)2+(1−k)2=r2(1)
(6−h)2+(5−k)2=r2(2)
The centre (h,k) lies on the line 4x+y=16.
4h+k=16(3)
From (1) and (2),
(4−h)2+(1−k)2=(6−h)2+(5−k)2
Expand both sides. The terms h2 and k2 cancel.
17−8h−2k=61−12h−10k
4h+8k=44
h+2k=11(4)
From (3), k=16−4h. Substitute this in (4).
h+2(16−4h)=11
−7h=−21
h=3
k=16−4(3)=4
So the centre is (3,4). Using (1),
r2=(4−3)2+(1−4)2=1+9=10
The equation of the circle is
(x−3)2+(y−4)2=10
x2−6x+9+y2−8y+16=10
x2+y2−6x−8y+15=0
Hence, the equation of the circle is x2+y2−6x−8y+15=0.