Enter a mathematical expression...

An error occurred while processing this operation.

In algebra there are several techniques to solve quadratic equations, one of the most used is the technique of completing the square. With the **Completing the Square Calculator** you will be able to solve all kinds of quadratic equations (**solving quadratic equations by completing the square** has never been so easy).

This calculator is completely free, the only thing we ask you in return is that you share it with anyone you think might be useful.

To use the complete the square calculator follow these simple steps:

- Enter the quadratic equation you want to solve by completing the square. The equation you enter must contain only one variable.
- Press the blue “Calculate” button, doing so will display the detailed step-by-step solution.

Completing the square is an algebraic method with which we can convert a quadratic expression from the form ax^{2}+bx+c to the form a(x–h)^{2}+k, through basic arithmetic operations. In other words, Completing the Square is the process of manipulating the form of the equation so that the left side of the equation becomes a perfect square trinomial.

Completing the square is a useful technique for solving quadratic equations because it allows you to find the solutions in a simple and straightforward manner. It is also a useful tool for graphing quadratic equations because it allows you to easily identify the vertex of the graph.

To solve quadratic equations by completing the square, the following procedure must be performed:

*ax ^{2}+bx+c=0*

- Manipulate the equation so that the coefficient with no variable, c, is found only on the right side of the equation. To achieve this you must add or subtract the value of c on both sides. If c has a positive sign, you must subtract c from both sides, but if its sign is negative, you must add its value to both sides.
- If the value of the coefficient a is different from 1, you must divide each of the terms in the equation by the value of a.
- Now you must add the term (b/2a)
^{2}to both sides of the equation, with this we complete the perfect square trinomial on the left side of the equation. - Factor the left side as the square of a binomial.
- Then find the square root of both sides and solve for x.

The steps explained above are summarized in the following formula:

*ax ^{2} + bx + c ⇒ a(x + m)^{2} + n*

where,

*m = b/2a* and *n = c – (b ^{2}/4a)*

Here is an example using the completing the square calculator:

Here are some examples generated with the help of the completing the square calculator.

Example01

Solve by completing the square: 5x^{2 }– 13x = 5

Step 1: Divide both sides by 5.

Step 2: To complete the square add 169/100 to both sides.

Step 3: Factor left side.

Step 4: Take square root.

Step 5: Add 13/10 to both sides.

Example02

Solve by completing the square: x^{2 }+ 6x + 13 = 0

Step 1: Subtract 13 from both sides.

Step 2: To complete the square add 9 to both sides.

Step 3: Factor left side.

Step 4: Take square root.

Step 5: Add -3 to both sides.