Square Root Function and Circle
Every question with a fully worked solution.
- Square Root Function and Circle - Video-Square Root Function Watch
- Square Root Function and Circle - Video-Circle Watch
- Square Root Function and Circle - Video - Graphing Circles and Writing Equations of Circles In Standard Form Watch
- Square Root Function and Circle - Video - Graphing a Semicircle given an Algebraic Expression Watch
- Square Root Function and Circle - Video - Graphing Square Root Functions Watch
Theory
A circle with centre \((h,k)\) and radius \(r\) has equation \((x-h)^{2}+(y-k)^{2}=r^{2}\). This Year 11 Mathematics Advanced page shows how to read the centre and radius, find them by completing the square in \(x\) and in \(y\), write the equation of a circle from its graph or a point on it, and work with the semicircles \(y=\pm\sqrt{r^{2}-x^{2}}\) and \(x=\pm\sqrt{r^{2}-y^{2}}\), including their domain and range.
A circle is the set of all points that are the same distance from a fixed point. The fixed point is the centre and the distance is the radius \(r\). If the centre is \(C(h,k)\) and \(P(x,y)\) is any point on the circle, the right-angled triangle with hypotenuse \(CP\) has horizontal side \(x-h\) and vertical side \(y-k\). Pythagoras' theorem gives the equation of the circle \((x-h)^{2}+(y-k)^{2}=r^{2}\). With the centre at the origin it is \(x^{2}+y^{2}=r^{2}\).
To read the centre and radius, compare with \((x-h)^{2}+(y-k)^{2}=r^{2}\). The numbers in the brackets have the opposite sign to the centre: \((x+1)^{2}\) is \((x-(-1))^{2}\), so \(h=-1\). The right-hand side is \(r^{2}\), not \(r\): \(r^{2}=3\) gives \(r=\sqrt{3}\).
When the brackets are expanded, as in \(x^{2}+y^{2}+4x-10y-7=0\), find the centre and radius by completing the square in \(x\) and in \(y\), adding the same numbers to both sides. If \(x^{2}\) and \(y^{2}\) both have a coefficient other than \(1\), divide the whole equation by it first.
A point lies on a circle exactly when its coordinates satisfy the equation. For example, \((5,12)\) lies on \(x^{2}+y^{2}=r^{2}\) when \(r^{2}=5^{2}+12^{2}=169\), so \(r=13\) (since \(r>0\)). Substituting a point is also how to find an unknown in the equation, and substituting a line \(y=mx+b\) into the circle finds where the line meets it.
Solving \(x^{2}+y^{2}=r^{2}\) for \(y\) gives \(y=\pm\sqrt{r^{2}-x^{2}}\). The positive root \(y=\sqrt{r^{2}-x^{2}}\) is the upper semicircle (\(y\ge0\)) and \(y=-\sqrt{r^{2}-x^{2}}\) is the lower semicircle (\(y\le0\)). Solving for \(x\) instead gives the right half \(x=\sqrt{r^{2}-y^{2}}\) and the left half \(x=-\sqrt{r^{2}-y^{2}}\). The domain is the set of \(x\)-values on the graph and the range is the set of \(y\)-values: the upper semicircle has domain \(-r\le x\le r\) and range \(0\le y\le r\).
Circle with centre \((h,k)\) and radius \(r\):
Circle with centre the origin and radius \(r\):
Semicircles of \(x^{2}+y^{2}=r^{2}\) (centre \((0,0)\), radius \(r\)):
| Equation | Half | Domain | Range |
|---|---|---|---|
| \(y=\sqrt{r^{2}-x^{2}}\) | upper (\(y\ge0\)) | \(-r\le x\le r\) | \(0\le y\le r\) |
| \(y=-\sqrt{r^{2}-x^{2}}\) | lower (\(y\le0\)) | \(-r\le x\le r\) | \(-r\le y\le 0\) |
| \(x=\sqrt{r^{2}-y^{2}}\) | right (\(x\ge0\)) | \(0\le x\le r\) | \(-r\le y\le r\) |
| \(x=-\sqrt{r^{2}-y^{2}}\) | left (\(x\le0\)) | \(-r\le x\le 0\) | \(-r\le y\le r\) |
In interval notation the domain \(-r\le x\le r\) is \([-r,r]\).
| \((1-k)^{2}+4^{2}\) | \(=\) | \(25\) |
| \(1-2k+k^{2}+16\) | \(=\) | \(25\) |
| \(k^{2}-2k-8\) | \(=\) | \(0\) |
| \((k-4)(k+2)\) | \(=\) | \(0\) |
| \(x^{2}+(x-1)^{2}\) | \(=\) | \(13\) |
| \(2x^{2}-2x+1\) | \(=\) | \(13\) |
| \(x^{2}-x-6\) | \(=\) | \(0\) |
| \((x-3)(x+2)\) | \(=\) | \(0\) |
How to find the centre and radius
- Divide by the coefficient of \(x^{2}\) and \(y^{2}\) if it is not \(1\).
- Group the \(x\) terms and the \(y\) terms, and move the constant to the right-hand side.
- Complete the square in \(x\) and in \(y\): add the square of half each coefficient to both sides.
- Compare with \((x-h)^{2}+(y-k)^{2}=r^{2}\): the centre is \((h,k)\) (opposite signs to the brackets) and the radius is the square root of the right-hand side.
How to find the equation of a circle
- Find the centre: it is given, or read it from the graph.
- Find the radius: it is given; or read it from the graph (half the distance between the leftmost and rightmost points); or use the distance from the centre to a point on the circle, \(r^{2}=(x_1-h)^{2}+(y_1-k)^{2}\).
- Substitute into \((x-h)^{2}+(y-k)^{2}=r^{2}\). Expand only if the question asks for that form.
How to work with a semicircle
- Square both sides to get \(x^{2}+y^{2}=r^{2}\): centre \((0,0)\), radius \(r\).
- Choose the half from the root: \(y=+\sqrt{\ }\) upper, \(y=-\sqrt{\ }\) lower, \(x=+\sqrt{\ }\) right, \(x=-\sqrt{\ }\) left.
- State the domain and range from the radius and the half. From a graph, read \(r\) from the intercepts, decide which half is drawn and take the matching root.
How to find an unknown constant
- Radius given: complete the squares and set the right-hand side equal to \(r^{2}\).
- Point given: substitute the point and solve the equation (it may be a quadratic with two answers).
- Touches an axis: find the centre, then set the radius equal to the distance from the centre to that axis.
- Line meets circle: substitute the line into the circle, solve the quadratic, then use the line for the other coordinate.
The radius is the distance from the centre to \((1,7)\):
| \(r^{2}\) | \(=\) | \((1-(-2))^{2}+(7-3)^{2}\) |
| \(\) | \(=\) | \(3^{2}+4^{2}\) |
| \(\) | \(=\) | \(9+16=25\) |
Substitute \(h=-2\), \(k=3\) and \(r^{2}=25\) into \((x-h)^{2}+(y-k)^{2}=r^{2}\):
\(\therefore\ \boldsymbol{(x+2)^{2}+(y-3)^{2}=25}\) (radius \(5\)).
(a) describe its graph
(b) state its domain and range
(c) find the exact value of \(y\) when \(x=2\).
(a) Square both sides:
| \(y^{2}\) | \(=\) | \(16-x^{2}\) |
| \(x^{2}+y^{2}\) | \(=\) | \(16\) |
This is the circle with centre \((0,0)\) and radius \(4\). But \(y=-\sqrt{16-x^{2}}\le0\), so only the points with \(y\le0\) are included. \(\therefore\) the graph is the lower semicircle, from \((-4,0)\) through \((0,-4)\) to \((4,0)\).
(b) Need \(16-x^{2}\ge0\), so the domain is \(\boldsymbol{-4\le x\le4}\), i.e. \([-4,4]\). \(\sqrt{16-x^{2}}\) takes values from \(0\) to \(4\), so \(y\) takes values from \(-4\) to \(0\): the range is \(\boldsymbol{-4\le y\le0}\), i.e. \([-4,0]\).
(c) Substitute \(x=2\):
| \(y\) | \(=\) | \(-\sqrt{16-2^{2}}\) |
| \(\) | \(=\) | \(-\sqrt{12}\) |
| \(\) | \(=\) | \(\boldsymbol{-2\sqrt{3}}\) |
The lower semicircle uses the negative root, so \(y=-2\sqrt{3}\) (not \(2\sqrt{3}\)).
Divide by \(2\), then complete the square in \(x\) and in \(y\), adding \(\left(\dfrac{-3}{2}\right)^{2}=\dfrac{9}{4}\) and \(\left(\dfrac{5}{2}\right)^{2}=\dfrac{25}{4}\) to both sides:
| \(x^{2}+y^{2}-3x+5y-\dfrac{1}{2}\) | \(=\) | \(0\) |
| \(x^{2}-3x+y^{2}+5y\) | \(=\) | \(\dfrac{1}{2}\) |
| \(x^{2}-3x+\dfrac{9}{4}+y^{2}+5y+\dfrac{25}{4}\) | \(=\) | \(\dfrac{2}{4}+\dfrac{9}{4}+\dfrac{25}{4}\) |
| \(\left(x-\dfrac{3}{2}\right)^{2}+\left(y+\dfrac{5}{2}\right)^{2}\) | \(=\) | \(9\) |
\(\therefore\) centre \(\boldsymbol{\left(\dfrac{3}{2},-\dfrac{5}{2}\right)}\), radius \(\boldsymbol{3}\).
Complete the squares:
| \(x^{2}+8x+16+y^{2}-6y+9\) | \(=\) | \(-k+16+9\) |
| \((x+4)^{2}+(y-3)^{2}\) | \(=\) | \(25-k\) |
Centre \((-4,3)\). The circle touches the \(y\)-axis, so the radius equals the distance from the centre to the \(y\)-axis: \(r=4\).
| \(25-k\) | \(=\) | \(4^{2}\) |
| \(k\) | \(=\) | \(\boldsymbol{9}\) |
Check: with \(k=9\), putting \(x=0\) gives \(y^{2}-6y+9=0\), i.e. \((y-3)^{2}=0\), so the circle meets the \(y\)-axis only at \((0,3)\).
Common pitfalls
Frequently asked questions
How do you find the centre and radius of a circle from its equation?
Write the equation in the form \((x-h)^{2}+(y-k)^{2}=r^{2}\). The centre is \((h,k)\) and the radius is the square root of the number on the right. For \((x+1)^{2}+(y-2)^{2}=3\), the centre is \((-1,2)\) and the radius is \(\sqrt{3}\).
How do you complete the square to find the centre of a circle?
Move the constant to the right-hand side. Halve the coefficient of \(x\), square it and add it to both sides; do the same for \(y\). Then write the left side as \((x-h)^{2}+(y-k)^{2}\). If \(x^{2}\) and \(y^{2}\) have a coefficient other than \(1\), divide the whole equation by it first.
What is the equation of a semicircle?
For the circle \(x^{2}+y^{2}=r^{2}\), the upper semicircle is \(y=\sqrt{r^{2}-x^{2}}\) and the lower semicircle is \(y=-\sqrt{r^{2}-x^{2}}\). The right and left halves are \(x=\sqrt{r^{2}-y^{2}}\) and \(x=-\sqrt{r^{2}-y^{2}}\).
What is the domain and range of a semicircle?
For \(y=\sqrt{r^{2}-x^{2}}\) the domain is \(-r\le x\le r\) and the range is \(0\le y\le r\). For \(y=-\sqrt{r^{2}-x^{2}}\) the domain is the same and the range is \(-r\le y\le 0\).
How do you find the equation of a circle given the centre and a point on it?
The radius is the distance from the centre to the point. Work out \(r^{2}=(x_1-h)^{2}+(y_1-k)^{2}\) with Pythagoras' theorem, then substitute the centre and \(r^{2}\) into \((x-h)^{2}+(y-k)^{2}=r^{2}\).
How do you know if a circle touches the x-axis?
A circle with centre \((h,k)\) touches the \(x\)-axis when its radius equals the distance from the centre to the \(x\)-axis, so \(r=|k|\). It touches the \(y\)-axis when \(r=|h|\).