PDF download Download Article
A walkthrough for the entire process of completing the square
PDF download Download Article

Completing the square is a helpful technique that allows you to rearrange a quadratic equation into a neat form that makes it easier to visualize or even solve. It’s used to determine the vertex of a parabola and to find the roots of a quadratic equation. If you’re just starting out with completing the square, or if the math isn’t exactly adding up, follow along with these easy steps to become a quadratic whiz.

Formula for Completing the Square

To complete the square with , subtract C from both sides, then add to both sides. Now the equation can be factored as , where the left side is a perfect square.

Section 1 of 3:

Completing the Square

PDF download Download Article
  1. Let's say you're working with the following equation:
  2. To isolate your x terms, move the constant (number without an “x”) to the other side of the equation by subtracting it from both sides. [1]
    Advertisement
  3. Take the number in front of the x (second) term in the equation, divide it by 2, and then square it.[2] In this example, the second term is so and .
  4. By adding this term to the left side of the equation, you create a polynomial that is a perfect square. To keep the equation balanced, add the number to the right side of the equation, as well.[3]
  5. Now that the left side is a perfect square, you can rewrite it as (x + the halved second term)2, or for this example. You can check your math by multiplying it out and seeing if it gives you the first three terms from the last step.[4]
  6. To solve your equation, undo the square on the left by taking the square root of both sides.[5] .
  7. When you take the square root of the right side of the equation, the result is both negative and positive, since negative numbers are also positive when they’re squared. To solve this equation, break it into two parts: and .[6]
  8. Advertisement
Section 2 of 3:

Writing Vertex Form by Completing the Square

PDF download Download Article
  1. For this example, try an equation where the term has a coefficient, like .
    • Vertex form is a way of writing a quadratic equation with the coordinates of the vertex of the parabola formed by that equation.
    • Vertex form is written as where is the vertex of a parabola.[7]
  2. Isolate the x terms by adding 15 to both sides of the equation.
  3. To complete the square, the leading coefficient has to be 1, so factor 3 out of the left side of the equation.[8] .
  4. The second term, also known as the b term, in the equation, is . First, divide it by two: . Then, square the term: .[9]
    • Completing the square refers to finding a constant “C” that you can add to the first two terms to make a perfect square trinomial, which can be factored into the expression . The number you get at this step is the constant that completes the square.
  5. Use the new term to make a perfect square trinomial by adding it into the parentheses.[10] Since you factored out a 3, multiply the new term by three before adding it to the right side of the equation with the y term.
  6. Now that you have a perfect square in the parenthesis, factor it out using the halved b term from before, in this case . Write your equation as a factored square, subtract the constant from the y side, and add it to the x side.[11]
    • If you’re using the vertex form to find the vertex of a parabola (h, k), remember that “h” has to be negative and “k” has to be positive. In this example, the vertex is .[12]
  7. Advertisement
Section 3 of 3:

Solving Quadratic Equations

PDF download Download Article
  1. Let's say you're working with the following equation: .
  2. The constant terms are any terms that aren't attached to a variable.[13] In this case, you have 5 on the left side and 6 on the right side, so subtract 6 from both sides of the equation. Now you have
  3. In this case, 3 is the coefficient of the term. Divide each term by 3, then put the terms into parenthesis with a 3 in front. So, , , and . Now the equation is: [14]
  4. Since you divided each term by 3, it can be removed without impacting the equation. Now you have [15]
  5. Isolate the x terms by moving to the other side of the equal sign.
  6. Next, take the second term, , also known as the b term, and halve and square it to complete the square. When you’re done, add it to both sides of the equation to keep it balanced.[16]
  7. Since you've already used a formula to find the missing term, all you have to do is put x and half of the second coefficient in parentheses and square them, like so: . The equation should now read: .[17]
    • Note that factoring that perfect square will give you the three terms: .
  8. On the left side of the equation, the square root of is just . On the right side, the square root of the denominator, 9, is 3, and the square root of 7 is , so the square root is .[18]
    • Remember to write because a square root can be positive or negative.
  9. To isolate the variable x, move the constant term over to the right side of the equation. You now have two possible answers for x: . You can leave it at that or find the actual square root of 7 if you need an answer without the radical sign.[19]
  10. Advertisement

Community Q&A

Search
Add New Question
  • Question
    Why do you halve the b value and then square it? It makes no sense to me.
    Community Answer
    Community Answer
    It does seem strange and arbitrary, but there is a reason for it. The power move is taking the square root of both sides, but you can't simplify the square root of most polynomials. The step you ask about is a setup move to make the power move work. If I have, for example, x^2 + 4x = 5, and take the square root of both sides, nothing happens, it just makes a mess. But if I add 4 to both sides first and take the square root of both sides of x^2 + 4x + 4 = 9, it simplifies to |x+2| = 3 and the quadratic equation is reduced to a linear equation.
  • Question
    What's the completing the square formula if x > 1?
    Donagan
    Donagan
    Top Answerer
    The value of x doesn't matter. The process remains as shown above.
  • Question
    In Part 1 of 2, how did you get 11/9 in Step 8?
    Donagan
    Donagan
    Top Answerer
    Both sides of that equation are being divided by 3 (to get rid of the coefficient of the first term). Dividing the second term (11/3) by 3 gives us 11/9.
See more answers
Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
Advertisement

Video

Tips

  • Even after you know the quadratic formula, regularly practice completing the square either by proving the quadratic formula or by doing some practice problems. That way you won't forget how to do it when you need it.
  • Be sure to put the in front of square roots, otherwise you will only get one answer.
Submit a Tip
All tip submissions are carefully reviewed before being published
Name
Please provide your name and last initial
Thanks for submitting a tip for review!
Advertisement

You Might Also Like

Graph InequalitiesGraph Inequalities
Find the Perpendicular Bisector of Two PointsFind the Perpendicular Bisector of Two Points
Solve a Linear Diophantine EquationSolve a Linear Diophantine Equation
Solve Two Step Algebraic Equations Solve Two-Step Algebraic Equations: A Straightforward Guide
Use the Slope Intercept Form (in Algebra) Use the Slope Intercept Form (In Algebra)
Do Well in College AlgebraDo Well in College Algebra
Find the Maximum or Minimum Value of a Quadratic Function EasilyFind the Maximum or Minimum Value of a Quadratic Function Easily
Solve a Cubic EquationSolve a Cubic Equation
Factor a Cubic PolynomialFactor a Cubic Polynomial
Learn AlgebraLearn Algebra
Solve for XSolve for X
When to Flip Inequality SignYour Guide to Flipping the Inequality Sign (And Solving Inequalities)
Calculate Ac 5eArmor Class in D&D 5E: What Is It & How Can You Calculate It?
Algebraically Find the Intersection of Two LinesAlgebraically Find the Intersection of Two Lines
Advertisement

Expert Interview

Thanks for reading our article! If you’d like to learn more about math, check out our in-depth interview with David Jia.

About This Article

David Jia
Co-authored by:
Math Tutor
This article was co-authored by David Jia and by wikiHow staff writer, Carmine Shannon. David Jia is an Academic Tutor and the Founder of LA Math Tutoring, a private tutoring company based in Los Angeles, California. With over 10 years of teaching experience, David works with students of all ages and grades in various subjects, as well as college admissions counseling and test preparation for the SAT, ACT, ISEE, and more. After attaining a perfect 800 math score and a 690 English score on the SAT, David was awarded the Dickinson Scholarship from the University of Miami, where he graduated with a Bachelor’s degree in Business Administration. Additionally, David has worked as an instructor for online videos for textbook companies such as Larson Texts, Big Ideas Learning, and Big Ideas Math. This article has been viewed 456,976 times.
16 votes - 83%
Co-authors: 32
Updated: May 15, 2024
Views: 456,976
Categories: Algebra
Article SummaryX

To complete the square for a standard equation, you'll need to transform the equation to vertex form. Start by factoring out the coefficient of the squared term from the first two terms, then halve the second term and square it. Next, add and subtract this term from the equation. Pull the term you subtracted out of the parentheses, then convert the terms in the parentheses into a perfect square. Lastly, combine the constant terms and write out the equation in vertex form. The vertex form is your answer. If you want to learn more, like how to solve a quadratic function, keep reading the article!

Did this summary help you?

Thanks to all authors for creating a page that has been read 456,976 times.

Reader Success Stories

  • Roy U.

    Roy U.

    Jan 24

    "I tutor math to high school students. Since everyone learns a little differently, I am always looking for..." more
Share your story

Did this article help you?

Advertisement