A point (x1,y1) is outside a circle x2+y2+2gx+2fy+c=0 if x12+y12+2gx1+2fy1+c=0
Given:x2+y2−2x+4y=0
The point (0,1) lies x2+y2−2x+4y=0+1−0+4=5>0 outside the circle.
Hence we have two tangents
Euation of line with slope m and passing through (0,1) is y−1=m(x−0)
or y=mx+1
Substitute the value of y=mx+1 in the equation x2+y2−2x+4y=0 we get
x2+(mx+1)2−2x+4(mx+1)=0
(1+m2)x2+(6m−2)x+5=0 is quadratic in x
⇒ The line y=mx+1 would be a tangent if it cuts the circle only at one point which is true if the discriminant=0
⇒(6m−2)2−20(1+m2)=0
⇒36m2+4−24m−20−20m2=0
⇒16m1−24m−16=0
⇒2m1−3m−2=0
⇒(2m+1)(m−2)=0
⇒m=−12,2
So, equation of tangents are y=2x+1,y=−12x+1
So, the equation of pair of tangents are (y−2x−1)(2y+x−2)=0
or 2x2−2y2+3xy−3x+4y−2=0