As two sides are along coordinate axes, hence triangle will be right angled.
Let locus of circumcentre be (h,k) and equation of hypotenuse be xp+yq=1.
As triangle is right angled hence circumcentre will be at the mid point of the hypotenuse.
⇒(h,k)=(p+02,0+q2)
⇒p=2h and q=2k
⇒xp+yq=1
⇒x2h+y2k=1
⇒xh+yk=2 ….(1)
Given that hypotenuse passes through ax+by+c=0 and lx+my+n=0
On solving we get,
⇒x=bn−cmam−bl and y=an−clbl−am
Putting the value of x,y in equation (1), we get,
⇒bn−cmam−bl1h+an−clbl−am1k=2
⇒k(bn−cm)(bl−am)+h(an−cl)(am−bl)=2hk(am−bl)(bl−am)
⇒ Replace h→x and k→y to get the condition of locus of circumcenter.
⇒y(bn−cm)(bl−am)+x(an−cl)(am−bl)=2xy(am−bl)(bl−am)