Try To Calculator logoTry To Calculator

Does completing the square always work for quadratic equations?

Last updated: December 7, 20243 people find this calculator helpful
Loading calculator…

Completing the square is a method to solve quadratic equations that always works! We will explain the logic behind this method and we'll show you an example of how it works. Also, we discuss the advantages of this method over the quadratic formula and vice versa.

If you're not yet familiar with the method in question, make sure to check our completing the square calculator.

What is completing the square and when do you use it?

Completing the square is an algebraic technique that lets you solve quadratic equations (or equivalently, factor quadratic trinomials). With this method, you apply basic algebraic operations to transform your problem so that there's a perfect square trinomial on the left side of the equation and a constant term on the right side. To discover more about the former, go to our perfect square trinomial calculator.

Formally, for the equation x2+bx+c=0x2+bx+c=0 we perform the following transformations:

  1. Add 4b2c4b2c to both sides:

    x2+bx+c+(4b2c)=4b2cx2+bx+c+(4b2c)=4b2c
    x2+bx+4b2=4b2cx2+bx+4b2=4b2c

  2. Use the short multiplication formula in reverse to transform the left side:

    x2+bx+4b2=(x2+2b)2x2+bx+4b2=(x2+2b)2
    (x2+2b)2=4b2c(x2+2b)2=4b2c

  3. Look at 4b2c4b2c on the right side.

    • If it's positive, we take the square root of both sides. The equation then has two solutions.
    • If it's equal to zero, we immediately know that the solution is x=2bx=2b.
    • If it's negative, then our equation has no real solutions and only complex solutions.

The method of completing the square will work for every quadratic equation you can imagine. Above, we assumed that the coefficient for x2x2 is equal to 11. If your equation starts with ax2ax2 and aa is not 11 (for example, if you need to solve 2x2+3x7=02x2+3x7=0), then divide both sides of the equation by aa (in this example it's 22). If done correctly, the left side will now start with x2x2, and you can then apply the steps we've discussed above.

Does completing the square always work?

Yes, you can solve any quadratic equation by completing the square, even if the equation has no real solutions! However, in some cases, quite a bit of computation will be required. Here's an example of an equation without real roots solved by completing the square:

"Solve x24x+13=0x24x+13=0."

  1. Subtract 99 from both sides:

    x24x+139=9x24x+139=9
    x24x+4=9x24x+4=9

  2. Recognize the perfect square on the left-hand side:

    (x2)2=9=(3i)2(x2)2=9=(3i)2

  3. Take the square root:

    x2=9=±3ix2=9=±3i

  4. The final answer is:

    x=2±3ix=2±3i

Why does completing the square work?

The method of solving quadratic equations by completing the square always works because of the short multiplications formula:

(x+b)2=x2+bx+b2(x+b)2=x2+bx+b2

Consequently, for every quadratic expression of the form x2+bx+cx2+bx+c you can add (or subtract) a constant term on both sides of the equation so that we obtain the perfect square trinomial (x+b)2(x+b)2.

What is the benefit of completing the square?

It is certainly a good idea to learn the completing the square method. First, it is much more intuitive than simply plugging the coefficients into the quadratic formula calculator. It gives you a feeling of understanding what happens to your equation and why a particular number is a solution. In fact, it's almost impossible to forget how this method works once you've seen it in action!

Also, the method of completing the square can be used to derive the quadratic formula, should you ever forget it — and it's easy to forget a formula that you simply learned by heart and never fully understood.

Finally, if you ever face integration problems, you'll be thankful you've mastered completing the square, because it pops up repeatedly there.

Is there ever an advantage to using the quadratic formula?

The advantage of using the quadratic formula method for solving quadratic equations is that it usually requires fewer steps and takes less time than completing the square.

Moreover, it can be easily implemented if you need to solve quadratic equations inside a computer program.

FAQs

What does the Does completing the square always work for quadratic equations? do?
Let's discuss why solving quadratic equations by completing the square works! Use the calculator above for instant results in your browser.
Is the Does completing the square always work for quadratic equations? free to use?
Yes. All Try To Calculator tools are free and do not require an account.
Are my inputs stored or sent to a server?
No. Calculations run locally in your browser. We do not collect the numbers you enter or the results shown.
Can I use the Does completing the square always work for quadratic equations? for professional decisions?
This tool is for education and quick estimates. For medical, legal, tax, or financial decisions, verify results with a qualified professional.
Where can I find related calculators?
Browse more Math tools on Try To Calculator at /math, or use the related calculators section on this page.

Related calculators