Question
Question: The intercept of a line \(y = x\) by the circle \({x^2} + {y^2} - 2x = 0\) is AB. What is the equati...
The intercept of a line y=x by the circle x2+y2−2x=0 is AB. What is the equation of the circle with AB as a diameter?
A. x2+y2+x+y=0
B. x2+y2−x−y=0
C. x2+y2+x−y=0
D. None of these
Solution
Here, we will use the general equation of the circle passing through the points of intersection of any circle x2+y2+2gx+2fy+c=0 and any line ax+by+d=0 which is x2+y2+2gx+2fy+c+λ(ax+by+d=0)=0.
Complete step-by-step answer:
Given, equation of the circle is x2+y2−2x=0 and equation of line is y=x⇒x−y=0
As we know that the equation of the circle passing through the point of intersection of a circle x2+y2+2gx+2fy+c=0 and a straight line ax+by+d=0 is given by
x2+y2+2gx+2fy+c+λ(ax+by+d=0)=0
Using above concept, we can say that the required equation of the circle is
x2+y2−2x+λ(x−y)=0 →(1)
In the above equation of circle, λ is the unknown whose value is needed.
Also, we know that general equation of a circle with center coordinate as C(x1,y1) and radius as r is given by (x−x1)2+(y−y1)2=r2 →(2)
Now we will convert equation (1) in the same form as equation (2), we get
x2+y2−2x+λx−λy=0⇒x2+x(λ−2)+y2−λy=0
Factoring the above equation with the help of completing the square method
⇒x2+x(λ−2)+[2λ−2]2+y2−λy+(2λ)2−[2λ−2]2−(2λ)2=0⇒[x+(2λ−2)]2+[y−(2λ)]2=4(λ−2)2+4λ2 ⇒[x−(−(2λ−2))]2+[y−(2λ)]2=4λ2+4−4λ+λ2⇒[x−(22−λ)]2+[y−(2λ)]2=42(λ2−2λ+2) ⇒[x−(22−λ)]2+[y−(2λ)]2=2λ2−2λ+2 →(3)On comparing equation (3) with equation (2), we can write
Center Coordinate of the required circle is C[(22−λ),2λ].
Since the required circle has AB as the diameter or we can say that the center coordinate of the required circle should lie on the given straight line whose equation is y=x.
i.e., Put x=(22−λ) and y=(2λ) in equation y=x since the center coordinates satisfies the equation of the straight line.
⇒x=y⇒(22−λ)=(2λ)⇒2−λ=λ⇒2λ=2⇒λ=1
Now let us put the value of λ in equation (1), we get
x2+y2−2x+1(x−y)=0⇒x2+y2−2x+x−y=0 ⇒x2+y2−x−y=0
The above equation corresponds to the required equation of the circle with AB as diameter.
Therefore, option B is correct.
Note- In these types of problems, an unknown usually exists which can be evaluated by simply comparing the equation of the circle having an unknown obtained with the general form of the circle. In this way, center coordinates are obtained and then the given condition is satisfied which will eventually give us the value of the unknown.