The equation of the common chord PQ of the circles S1​:x2+y2−2ax=0 S2​:x2+y2−2by=0
is S1​−S2​=0 ⇒2by−2ax=0 ⇒ax−by=0
The centre of S1​ is (a,0) and radius is a.
The length of the perpendicular from (a,0) to ax−by=0, is C1​M=∣∣​a2+b2​a2​∣∣​
Now, PQ=2PM=2C1​P2−C1​M2​ =2a2−a2+b2a4​​=a2+b2​2ab​