We have,
A variable circle passes through the point A(2,1)and touches the X-axis.
So,
In a circle AB is a diameter where the coordinate of point A is (2,1) and let the coordinate of B is (x1,y1).
Now, we know that,
Equation of circle in diameter from is
(x−x1)(x−2)+(y−y1)(y−1)=0
And it touches X-axis so y=0
(x−x1)(x−2)+(0−y1)(0−1)=0
⇒x2−xx1−2x+2x1+y1=0
⇒x2+(−2−x1)x+2x1+y1=0
Also, the discriminate of above equation will be equal to
zero,
Because circle touches X-axis.
(−2−x1)2=4(2x1+y1)
⇒4+4x1+x12=8x1+4y1
⇒4−4x1+x12=4y12
⇒(x1−2)2=4y12
Hence, the locus of end pint of diameter.