The correct option is
B (1,2)Case I:-
Given that the line ax+by=0 touches the circle x2+y2+2x+4y=0, i.e., the line is tangent to the circle.
Equation of circle can be written as-
(x+1)2+(y+2)2−1−4=0
⇒(x+1)2+(y+2)2=(√5)2
Therefore,
Centre of circle =(−1,−2)
Radius of circle =√5
As we know that perpendicular distance from a point (x1,y1) to the line ax+by+c=0 is given by-
d=|ax1+by1+c|√a2+b2
∴⊥ distance from the centre of circle to the line ax+by=0-
d=|−a−2b|√a2+b2
As we know that the perpendicular distance from the centre of circle to the line touching the circle is equal to the radius of circle.
∴|−a−2b|√a2+b2=√5
Squaring both sides, we have
a2+4b2+4aba2+b2=5
⇒a2+4b2+4ab=5a2+5b2
⇒4a2+b2−4ab=0
⇒(2a−b)2=0
⇒2a−b=0.....(1)
Case II:-
Given that the line ax+by=0 is normal to the circle x2+y2−4x+2y−3=0, i.e., the line passes through the centre of circle.
The equation of circle can also be written as-
(x−2)2+(y+1)2−4−1−3=0
⇒(x−2)2+(y+1)2=(2√2)2
Centre of circle =(2,−1)
As the line passes through its centre, i.e., point (2,−1) will satisfy the equation ax+by=0.
∴2a−b=0.....(2)
From the given option, (C)(1,2) clearly satisfies the equation (1)&(2).
Hence the required answer is (C)(1,2).