- Equation SolverFactoring CalculatorDerivative Calculator
Completing the Square (In Circle Equations)
In general, any equation of the form will produce a circle. Notice that the square terms have matching coefficients (A). See it? If the squared terms have different coefficients, the graph won't be a circle. In fact, it will be an ellipse. An ellipse has an oval shape (like an egg).
We can use a technique called "completing the square" to rewrite such an equation so that we can identify the circle's center point (h,k) and the radius.
OUR GOAL: To reclaim the standard form of the given circle equation by factoring.
In order to factor the original equation, we will need to add what I call a "magic number" to BOTH sides of the equation. Remember, of course, that we can always add something to both sides of an equation -- in this case it will help us get the equation into a more useable form. The magic number comes from treating the x-term and y-term separately.
Example: Complete the square given the equation .
1) Do the squared terms have matching coefficients?
Yes. So, we have a circle here.
2) Can we make the squared terms have a coefficient of 1?
Yes, we can do this. How? By dividing EACH term in the equation by 4.
We now have an equation that looks like this:
3) Group the x's and y's together:
We rewrite our equation to get: .
4) Complete the square for the x and y-terms SEPARATELY.
See what happened? We took each of those X and Y sections and turned it into an easily factorable quadratic. By dividing the linear term coefficients (the 6 and the 8) by two and then squaring that, we found good numbers to add that make each section easily factorable. That's where the 3^2 and 4^2 terms came from on each side of the equation.
5) Thanks to these magic numbers, we can now factor our equation.
Our equation becomes:
Keep in mind that the factored form of a circle equation reveals the center point (h,k) and the radius. In the above example, (3, -4) is the center point and the radius is .
NOTE: Step 2 above is the most important to remember.
Now on to part 2:
OUR GOAL: To Understand "Completing the Square."
What exactly did we just do in that problem? Where did all the extra numbers come from? Consider the quadratic equation . Can you easily factor that into a (x-h)^2 type expression? We need to add what I call a "magic number" to BOTH sides of the equation so that we can factor more easily.
1) Move the constant term (the 3) to the right hand side of the equation.
2) To create the "magic number", we need to focus our attention on the coefficient of the "x term" or "middle term." In this example, our middle number is 12. See it in the given equation? We now divide 12 by 2 and then square the result. Why? Because that gives us the perfect value for a (x-h)^2 form!
Doing this we get: 12/2 = 6, and 6^2 = 36. Here, 36 is our magic number.
3) Next: Add 36 to BOTH sides of the equation.
4) Factor the left hand side of the equation.
And that will be one-half of the circle formula! Now see why we divided by 2 and then squared to find the "magic number"? When we multiply out the factored form we square the 6 to make the constant 36, and multiply it by 2 to get the linear term (the 12x).
Special Note: Before trying to compute the magic number, you need to make sure that the coefficient on the x^2 term is 1!
For example, if the original equation is , we first divide EACH TERM by 5.
Doing this we get: .
Then the magic number will compute as follows:
(1/2)(2/5) = 1/5.
So, (1/5)^2 = 1/25.