Given, equation of circle is x2+y2+2x−2y−2=0 ⇒(x+1)2+(y−1)2=4 ∴ Centre (−1,1) and radius =2
Let (h,k) be the mid-point of chord.
From figure, OP=(h+1)2+(k−1)2
In △OAP, sin45∘=OAOP ⇒21=2(h+1)2+(k−1)2
On squaring both sides, we get (h+1)2+(k−1)2=2 ⇒h2+k2+2h−2k=0 ∴ Locus of P will be x2+y2+2x−2y=0