From the definition of conic; If P(x,y) is the point on a conic then ratio of its distance from focus to its distance from directrix is a fixed ratio e, called eccentricity. Here focus is (1,−1) and directrix is x−y+1=0.
Distance of this point from focus =(x−1)2+(y+1)2
Distance of this point from directrix. =∣∣12+(−1)2x−y+1∣∣
So, from the definition of conic (x−1)2+(y+1)2=e.∣∣2x−y+1∣∣...(i)
Squaring both sides of equation (i), we get (x−1)2+(y+1)2=e2⋅2(x−y+1)2=(2)22(x−y+1)2 =(x−y+1)2 ⇒(x−1)2+(y+1)2=(x−y+1)2 ⇒x2−2x+1+y2+2y+1=x2−2xy+y2+2x−2y+1 ⇒2xy−4x+4y+1=0