We have a circle which has a chord y=mx of radius ′a′ and the diameter is along x−axis, also one end of the chord is origin. The figure for the above scenario will be
∴ equation of circle will be
(x−a)2+y2=a2
⇒x2+y2−2ax=0
Now let's find the coordinates of point ′A′, for which we have
∴ to solve y=mx and x2+y2−2ax=0 simultaneously
∴ (mx)2+x2−2ax=0
⇒m2x2−2ax=0
⇒x2(1+m2)−2ax=0
⇒x[x(1+m2)−2a]=0
∴ x=0 or x=2a1+m2
∴ y=0 or y=2ma1+m2
∴ O(0,0) and A(2a1+m2,2am1+m2)
Now with OA as diameter for another circle
∴ the centre of the circle =(a1+m2,2am1+m2)
radius =12√(2a1+m2)2+(2am1+m2)2=12√(2a1+m2)2(1+m2)
⇒ radius =a√1+m2
∴ equation of circle : (x−a1+m2)2+(y−am1+m2)=a21+m2
Simplifying the equation we obtain
(1+m2)(x2+y2)−2ax−2amy=0