How to Complete the Square
Write down the equation., Factor out the coefficient of the squared term from the first 2 terms., Halve the second term and square it., Add and subtract this term from the equation., Pull the term you subtracted out of the parenthesis., Convert the...
Step-by-Step Guide
-
Step 1: Write down the equation.
Let's say you're working with the following equation: 3x2
- 4x +
5. -
Step 2: Factor out the coefficient of the squared term from the first 2 terms.
To factor out a three from the first two terms, simply pull out a 3 and place it around a set of parenthesis around both terms, while dividing each term by
3. 3x2 divided by 3 is simply x2 and 4x divided by 3 is 4/3x.
So, the new equation should look like this: 3(x2
- 4/3x) +
5.
The 5 will remain outside of the equation because you did not divide it by
3. , The second term, also known as the b term in the equation, is 4/3.
Halve the second term, or divide it by 2 first. 4/3 ÷ 2, or 4/3 x 1/2, is equal to 2/3.
Now, square this term by squaring both the numerator and denominator of the fraction. (2/3)2 = 4/9.
Write this term down., You'll need this "extra" term to turn the first three terms in this equation into a perfect square.
But you have to remember that you added it by subtracting it from the equation as well.
Though obviously, it won't do you much good to simply combine the terms
-- you'll be back where you started.
The new equation should look like this: 3( x2
- 4/3 x + 4/9
- 4/9) +
5., Since you're working with a coefficient of 3 outside the parentheses, you can't just pull out the
-4/9.
You'll have to multiply it by 3 first.
-4/9 x 3 =
-12/9, or
-4/3.
If you're not working with an equation with a coefficient other than 1 over the x2 term, then you could skip this step. , Right now, you're left with 3(x2
-4/3x +4/9) within the parentheses.
You worked backwards to get the 4/9, which was really another way of finding the term that would complete the square.
So, you can rewrite those terms like this: 3(x
- 2/3)2.
All you had to do was halve the second term and remove the third.
You can check that this works by multiplying it out to see that it gives you the first three terms of the equation.3(x
- 2/3)2 = 3(x
- 2/3)(x
-2/3) = 33(x2
- 4/3x + 4/9) , You're left with two constant terms, or terms that aren't attached to a variable.
Right now, you're left with 3(x
- 2/3)2
- 4/3 +
5.
All you have to do is add up
-4/3 and 5 to get 11/3.
You do this by setting them to the same denominator:
-4/3 and 15/3, and then adding the numerators to get 11, and keeping the denominator as
3.
-4/3 + 15/3 = 11/3. , You're all done.
The final equation is 3(x
- 2/3)2 + 11/3.
You can remove the coefficient of 3 by dividing both parts of the equation to get (x
- 2/3)2 + 11/9.
You have now successfully placed the equation into vertex form, which is a( x
- h )2 + k, where k represents the constant term. , Let's say you're working with the following equation: 3x2 + 4x + 5 = 6 , The constant terms are any terms that aren't attached to a variable.
In this case, you have 5 on the left side and 6 on the right side.
You want to move 6 over to the left, so you'll have to subtract 6 from both sides of the equation.
That will leave you with 0 on the right side (6-6) and
-1 on the left side (5-6).
The equation should now read: 3x2 + 4x
- 1 =
0., In this case, 3 is the coefficient of the x2 term.
To factor out a 3, just pull out a 3, place the remaining terms in parentheses, and divide each term by
3.
So, 3x2 ÷ 3 = x2, 4x ÷ 3 = 4/3x, and 1 ÷ 3 = 1/3.
The equation should now read: 3(x2 + 4/3x
- 1/3) =
0. , This means that you can get rid of that pesky 3 term outside the parentheses for good.
Since you divided every term by 3, it can be removed without impacting the equation.
Now you have x2 + 4/3x
- 1/3 = 0 , Next, take the second term, 4/3, also known as the b term, and find half of it. 4/3 ÷ 2 or 4/3 x 1/2, is 4/6, or 2/3.
And 2/3 squared is 4/9.
When you're done, you'll have to write it on the left and the right side of the equation, since you're essentially adding a new term.
You'll need it on both sides of the equation to keep it balanced.
The equation should now read x2 + 4/3 x + 2/32
- 1/3 = 2/32 , Move the original constant term,
-1/3, over to the right side to make it 1/3.
Add it to the term you just placed there, 4/9, or 2/32.
Find a common denominator to combine 1/3 and 4/9 by multiplying both the top and bottom of 1/3 by
3. 1/3 x 3/3 = 3/9.
Now, add up 3/9 and 4/9 to get 7/9 on the right side of the equation.
This yields: x2 + 4/3 x + 2/32 = 4/9 + 1/3 and then x2 + 4/3 x + 2/32 = 7/9. , Since you've already used a formula to find the missing term, the hard part is already over.
All you have to do is place x and half of the second coefficient in parentheses and square them, like so:(x + 2/3)2.
Note that factoring that perfect square will give you the three terms: x2 + 4/3 x + 4/9.
The equation should now read: (x + 2/3)2 = 7/9. , On the left side of the equation, the square root of (x + 2/3)2 is simply x + 2/3.
On the right side, you will get +/- (√7)/3.
The square root of the denominator, 9, is an even 3, and the square root of 7 is √7.
Remember to write +/- because a square root can be positive or negative. , To isolate the variable x, just move the constant term 2/3 over to the right side of the equation.
You now have two possible answers for x:± (√7)/3
- 2/3.
These are your two answers.
You can leave it at that or find the actual square root of 7 if you need to give an answer without the radical sign. -
Step 3: Halve the second term and square it.
-
Step 4: Add and subtract this term from the equation.
-
Step 5: Pull the term you subtracted out of the parenthesis.
-
Step 6: Convert the terms in the parentheses into a perfect square.
-
Step 7: Combine the constant terms.
-
Step 8: Write the equation in vertex form.
-
Step 9: Write down the problem.
-
Step 10: Combine the constant terms and put them on the left side of the equation.
-
Step 11: Factor out the coefficient of the squared term.
-
Step 12: Divide by the constant you just factored out.
-
Step 13: Halve the second term and square it.
-
Step 14: Move the original constant term to the right side of the equation and add it to the term on that side.
-
Step 15: Write the left side of the equation as a perfect square.
-
Step 16: Take the square root of both sides.
-
Step 17: Isolate the variable.
Detailed Guide
Let's say you're working with the following equation: 3x2
- 4x +
5.
To factor out a three from the first two terms, simply pull out a 3 and place it around a set of parenthesis around both terms, while dividing each term by
3. 3x2 divided by 3 is simply x2 and 4x divided by 3 is 4/3x.
So, the new equation should look like this: 3(x2
- 4/3x) +
5.
The 5 will remain outside of the equation because you did not divide it by
3. , The second term, also known as the b term in the equation, is 4/3.
Halve the second term, or divide it by 2 first. 4/3 ÷ 2, or 4/3 x 1/2, is equal to 2/3.
Now, square this term by squaring both the numerator and denominator of the fraction. (2/3)2 = 4/9.
Write this term down., You'll need this "extra" term to turn the first three terms in this equation into a perfect square.
But you have to remember that you added it by subtracting it from the equation as well.
Though obviously, it won't do you much good to simply combine the terms
-- you'll be back where you started.
The new equation should look like this: 3( x2
- 4/3 x + 4/9
- 4/9) +
5., Since you're working with a coefficient of 3 outside the parentheses, you can't just pull out the
-4/9.
You'll have to multiply it by 3 first.
-4/9 x 3 =
-12/9, or
-4/3.
If you're not working with an equation with a coefficient other than 1 over the x2 term, then you could skip this step. , Right now, you're left with 3(x2
-4/3x +4/9) within the parentheses.
You worked backwards to get the 4/9, which was really another way of finding the term that would complete the square.
So, you can rewrite those terms like this: 3(x
- 2/3)2.
All you had to do was halve the second term and remove the third.
You can check that this works by multiplying it out to see that it gives you the first three terms of the equation.3(x
- 2/3)2 = 3(x
- 2/3)(x
-2/3) = 33(x2
- 4/3x + 4/9) , You're left with two constant terms, or terms that aren't attached to a variable.
Right now, you're left with 3(x
- 2/3)2
- 4/3 +
5.
All you have to do is add up
-4/3 and 5 to get 11/3.
You do this by setting them to the same denominator:
-4/3 and 15/3, and then adding the numerators to get 11, and keeping the denominator as
3.
-4/3 + 15/3 = 11/3. , You're all done.
The final equation is 3(x
- 2/3)2 + 11/3.
You can remove the coefficient of 3 by dividing both parts of the equation to get (x
- 2/3)2 + 11/9.
You have now successfully placed the equation into vertex form, which is a( x
- h )2 + k, where k represents the constant term. , Let's say you're working with the following equation: 3x2 + 4x + 5 = 6 , The constant terms are any terms that aren't attached to a variable.
In this case, you have 5 on the left side and 6 on the right side.
You want to move 6 over to the left, so you'll have to subtract 6 from both sides of the equation.
That will leave you with 0 on the right side (6-6) and
-1 on the left side (5-6).
The equation should now read: 3x2 + 4x
- 1 =
0., In this case, 3 is the coefficient of the x2 term.
To factor out a 3, just pull out a 3, place the remaining terms in parentheses, and divide each term by
3.
So, 3x2 ÷ 3 = x2, 4x ÷ 3 = 4/3x, and 1 ÷ 3 = 1/3.
The equation should now read: 3(x2 + 4/3x
- 1/3) =
0. , This means that you can get rid of that pesky 3 term outside the parentheses for good.
Since you divided every term by 3, it can be removed without impacting the equation.
Now you have x2 + 4/3x
- 1/3 = 0 , Next, take the second term, 4/3, also known as the b term, and find half of it. 4/3 ÷ 2 or 4/3 x 1/2, is 4/6, or 2/3.
And 2/3 squared is 4/9.
When you're done, you'll have to write it on the left and the right side of the equation, since you're essentially adding a new term.
You'll need it on both sides of the equation to keep it balanced.
The equation should now read x2 + 4/3 x + 2/32
- 1/3 = 2/32 , Move the original constant term,
-1/3, over to the right side to make it 1/3.
Add it to the term you just placed there, 4/9, or 2/32.
Find a common denominator to combine 1/3 and 4/9 by multiplying both the top and bottom of 1/3 by
3. 1/3 x 3/3 = 3/9.
Now, add up 3/9 and 4/9 to get 7/9 on the right side of the equation.
This yields: x2 + 4/3 x + 2/32 = 4/9 + 1/3 and then x2 + 4/3 x + 2/32 = 7/9. , Since you've already used a formula to find the missing term, the hard part is already over.
All you have to do is place x and half of the second coefficient in parentheses and square them, like so:(x + 2/3)2.
Note that factoring that perfect square will give you the three terms: x2 + 4/3 x + 4/9.
The equation should now read: (x + 2/3)2 = 7/9. , On the left side of the equation, the square root of (x + 2/3)2 is simply x + 2/3.
On the right side, you will get +/- (√7)/3.
The square root of the denominator, 9, is an even 3, and the square root of 7 is √7.
Remember to write +/- because a square root can be positive or negative. , To isolate the variable x, just move the constant term 2/3 over to the right side of the equation.
You now have two possible answers for x:± (√7)/3
- 2/3.
These are your two answers.
You can leave it at that or find the actual square root of 7 if you need to give an answer without the radical sign.
About the Author
Edward King
With a background in educational content, Edward King brings 1 years of hands-on experience to every article. Edward believes in making complex topics accessible to everyone.
Rate This Guide
How helpful was this guide? Click to rate: