Let the sides AB and BC of a square ABCD with A as the origin be along y and x axis respectively and length of side of square be a
Let the moving point be P(h,k)
Equation of AB is
x=0.....(i)
Perpendicular distance of P from (i) =p1=h
Equation of BC is
y=0......(ii)
Perpendicular distance of (ii) from P =p2=k
Equation of CD is
x=a......(iii)
Perpendicular dostance of (iii) from P =p3=h−a√12+02=h−a
Equation of AD is
y=a......(iv)
Perpendicular distance of (iv) from P p4=k−a√12+02=k−a
Given : p21+p22+p23+p24=c
⇒h2+k2+(h−a)2+(k−a)2=c⇒h2+k2+h2+a2−2ah+k2+a2−2ak=c⇒2h2+2k2−2ah−2ak+2a2−c=0⇒h2+k2−ah−ak+a2−c2=0
Generalising the equation
⇒x2+y2−ax−ay+a2−c2=0
Clearly it represents a circle.
Hence proved.