Courses
Courses for Kids
Free study material
Offline Centres
More
Store Icon
Store
seo-qna
SearchIcon
banner

How do you find the equation of a circle whose center lies on the line $2x+y-1=0$ and which passes through the point $A\left( -2,0 \right)$ and $B\left( 5,1 \right)$?

Answer
VerifiedVerified
539.4k+ views
Hint: In this question we have been given that the center of a circle lies on the line $2x+y-1=0$. We know the general equation of a circle is ${{\left( x-h \right)}^{2}}+{{\left( y-k \right)}^{2}}={{r}^{2}}$. Since the center passes through the given points $A\left( -2,0 \right)$ and $B\left( 5,1 \right)$, we will substitute these values in the equation and equate both the equations to find the value of $h$ and $k$, which are the coordinates for the center of the circle and then find the radius $r$ using the equation and then write the final equation of the circle.

Complete step-by-step solution:
We know that the standard form of the equation of a circle is ${{\left( x-h \right)}^{2}}+{{\left( y-k \right)}^{2}}={{r}^{2}}$, where $\left( x,y \right)$ is any point on the circle and $\left( h,k \right)$ is the center of the circle and $r$ is the radius of the circle.
Now we know that the circle passes through points $A\left( -2,0 \right)$ and $B\left( 5,1 \right)$.
On substituting them in the general form, we get:
$\Rightarrow {{\left( -2-h \right)}^{2}}+{{\left( 0-k \right)}^{2}}={{r}^{2}}$
$\Rightarrow {{\left( 5-h \right)}^{2}}+{{\left( 1-k \right)}^{2}}={{r}^{2}}$
Since there is ${{r}^{2}}$ in the right-hand side in both the equations.
On equating, we get:
$\Rightarrow {{\left( -2-h \right)}^{2}}+{{\left( 0-k \right)}^{2}}={{\left( 5-h \right)}^{2}}+{{\left( 1-k \right)}^{2}}$
On expanding the terms using the formula ${{\left( a-b \right)}^{2}}$, we get:
$\Rightarrow 4+4h+{{h}^{2}}+{{k}^{2}}=25-10h+{{h}^{2}}+1-2k+{{k}^{2}}$
On combining the like terms, we get:
$\Rightarrow 4+4h=25-10h+1-2k$
On rearranging the terms and simplifying, we get:
$\Rightarrow 2k=-14h+22$
On dividing both the sides by $2$, we get:
$\Rightarrow k=-7h+11\to \left( 1 \right)$
Now the equation of the line given is $2x+y-1=0$, on center point it becomes:
$\Rightarrow 2h+k-1=0$
On writing it in the slope intercept form, we get:
$k=-2h+1\to \left( 2 \right)$
Now on doing $\left( 1 \right)-\left( 2 \right)$, we get:
$\Rightarrow k-k=-7h+2h+11-1$
On simplifying, we get:
$\Rightarrow 0=-5h+10$
On rearranging and simplifying, we get:
$\Rightarrow h=2$
Now on substituting $h=2$ in equation $\left( 2 \right)$, we get:
$k=-2\left( 2 \right)+1$
On simplifying, we get:
$k=-3$
Therefore, the standard form of the circle becomes:
${{\left( -2-2 \right)}^{2}}+{{\left( 0-\left( -3 \right) \right)}^{2}}={{r}^{2}}$
On simplifying, we get:
${{\left( -4 \right)}^{2}}+{{3}^{2}}={{r}^{2}}$
On rearranging and taking the square root, we get:
$r=5$.
On substituting the center and radius of the circle in the standard form, we get:
${{\left( x-2 \right)}^{2}}+{{\left( y-\left( -3 \right) \right)}^{2}}={{5}^{2}}$, which is the required solution.
On drawing the circle and the line on the graph, we get:
seo images


Note: In this question the main objective is that a point on a circle is equidistant from the center of the circle. When we took the square root of the term, only the positive value of the term was considered because distance cannot be negative therefore, it has to be discarded. The general formula of a circle with its center at the origin is given by the formula ${{x}^{2}}+{{y}^{2}}={{r}^{2}}$.