Solve quadratic equations easily with our Completing the Square Calculator. Enter the coefficients of your quadratic equation to convert it into perfect square form and find the solutions with clear, step-by-step calculations.
Learn how completing the square works, understand each algebraic step, and convert quadratic expressions into vertex form without complicated manual calculations.
Completing the Square Calculator
Convert ax2 + bx + c into vertex form a(x − h)2 + k with step-by-step algebra.
Supports positive/negative integers, decimals (e.g. 1.5), and fractions (e.g. -3/4). Coefficient a must be nonzero.
Ready to Complete the Square
Adjust a, b, and c on the left, then click Calculate to find the vertex form and full algebraic steps.
The completed-square form makes it easier to identify the vertex and axis of symmetry of a quadratic function.
Step-by-Step Algebraic Solution
Parabola & Vertex Visual
Vertex Verification
Verify h = −b/(2a), k = c − b2/(4a), and algebraic expansion.
What Is Completing the Square?
Completing the square is an algebraic technique used to rewrite a quadratic expression as a perfect square trinomial. It is also a useful method for solving quadratic equations and converting quadratic expressions into vertex form.
A quadratic expression generally has the following form:
[
ax^2+bx+c
]
Here, (a), (b), and (c) represent numerical coefficients, where (a\neq 0).
The main idea behind completing the square is to create a perfect square trinomial by adding and subtracting a specific value. This makes the expression easier to simplify and solve.
For example:
[
x^2+6x+5
]
By completing the square, this expression becomes:
[
(x+3)^2-4
]
This form makes it easier to understand the structure of the quadratic expression.
How to Use the Completing the Square Calculator
Our Completing the Square Calculator helps simplify quadratic expressions and solve equations using the completing the square method.
Follow these steps to use the calculator:
Enter the coefficient of x²: Provide the value of (a), which represents the leading coefficient.
Enter the coefficient of x: Add the value of (b), representing the linear coefficient.
Enter the constant: Provide the value of (c), which is the constant term.
Calculate the result: Click the calculate button to process your quadratic expression.
Review the solution: Examine the completed square form and the step-by-step calculations.
Make sure to enter the correct coefficients to obtain an accurate result.
Completing the Square Formula
The general quadratic expression is:
[
ax^2+bx+c
]
Its completed square form is:
[
a\left(x+\frac{b}{2a}\right)^2+c-\frac{b^2}{4a}
]
This formula works for quadratic expressions where (a\neq 0).
For a simpler expression where the coefficient of (x^2) is 1, the formula becomes:
[
x^2+bx+c
]
The completing the square form is:
[
\left(x+\frac{b}{2}\right)^2+c-\frac{b^2}{4}
]
The value added and subtracted to complete the square is obtained by dividing the coefficient of (x) by 2 and squaring the result.
Steps to Complete the Square Manually
You can complete the square by following a few basic algebraic steps.
Consider the following quadratic expression:
[
x^2+8x+7
]
Step 1: Identify the coefficient of x
The coefficient of (x) is 8.
Step 2: Divide the coefficient by 2
[
\frac{8}{2}=4
]
Step 3: Square the result
[
4^2=16
]
Step 4: Add and subtract the square value
[
x^2+8x+16-16+7
]
Step 5: Write the perfect square trinomial
[
(x+4)^2-9
]
Therefore, the completed square form is:
[
\boxed{(x+4)^2-9}
]
This example demonstrates how a quadratic expression can be rewritten into completed square form.
Solving Quadratic Equations by Completing the Square
Completing the square can also be used to solve quadratic equations.
Consider:
[
x^2+6x+5=0
]
First, move the constant to the right side:
[
x^2+6x=-5
]
Divide the coefficient of (x) by 2 and square it:
[
\left(\frac{6}{2}\right)^2=9
]
Add 9 to both sides:
[
x^2+6x+9=4
]
Rewrite the left side as a perfect square:
[
(x+3)^2=4
]
Take the square root of both sides:
[
x+3=\pm2
]
Solve for (x):
[
x=-3\pm2
]
The two solutions are:
[
\boxed{x=-1,\quad x=-5}
]
This method provides an alternative to factoring and the quadratic formula.
Standard Form vs. Vertex Form
Quadratic expressions can be written in different forms depending on the mathematical purpose.
Standard Form:
[
y=ax^2+bx+c
]
Standard form displays the coefficients of the quadratic expression clearly. It is commonly used for identifying the leading coefficient, linear coefficient, and constant.
Vertex Form:
[
y=a(x-h)^2+k
]
Vertex form makes it easier to identify the vertex of a parabola. The vertex is represented by the point ((h,k)).
Completing the square is one of the main methods used to convert a quadratic expression from standard form into vertex form.
Why Is Completing the Square Important?
Completing the square is an important algebraic technique used in different areas of mathematics.
Solving quadratic equations: It provides another reliable method for finding the roots of quadratic equations.
Finding the vertex: It helps convert quadratic expressions into vertex form and identify the vertex of a parabola.
Understanding quadratic functions: It makes the structure of quadratic expressions easier to recognize.
Deriving the quadratic formula: The quadratic formula can be developed by applying the completing the square method to a general quadratic equation.
Advanced mathematics: The technique is also useful in algebra, calculus, and certain integration problems.
Common Mistakes to Avoid
Students sometimes make small mistakes when completing the square. Paying attention to the following points can improve accuracy:
Forgetting to divide the coefficient of (x) by 2 before squaring it.
Adding a value without subtracting the same value when rewriting an expression.
Forgetting to balance both sides of an equation when solving for a variable.
Ignoring the leading coefficient when it is different from 1.
Making sign errors when simplifying the final expression.
Always check your completed square form by expanding it back into the original quadratic expression.
Final Thoughts
Completing the square is a valuable algebraic method for simplifying quadratic expressions, solving equations, and converting functions into vertex form. Understanding the process helps students develop stronger algebra skills and recognize the relationship between different quadratic forms.
Use our Completing the Square Calculator to work through quadratic expressions, review the calculation steps, and improve your understanding of this important mathematical technique.
Frequently Asked Questions
Find answers to common questions about completing the square.
1. What is completing the square?
Completing the square is an algebraic technique used to rewrite a quadratic expression as a perfect square trinomial. It helps solve quadratic equations and convert quadratic expressions into vertex form.
2. How does the Completing the Square Calculator work?
The calculator takes the coefficients of a quadratic equation and applies the completing the square method. It shows the steps required to rewrite the expression and solve for the unknown variable.
3. What is the formula for completing the square?
For a quadratic expression ax² + bx + c, the completed square form is a(x + b/2a)² + c − b²/4a, where a is not equal to zero.
4. Can completing the square solve quadratic equations?
Yes. Completing the square is a standard method for solving quadratic equations. It transforms the equation into a perfect square form, making it easier to find the values of the variable.
5. What is a perfect square trinomial?
A perfect square trinomial is a three-term expression that can be written as the square of a binomial. For example, x² + 6x + 9 = (x + 3)².
6. How do you complete the square when the coefficient of x² is not 1?
When the coefficient of x² is not 1, first factor it out from the quadratic and linear terms. Then divide the coefficient of the linear term by 2, square the result, and add and subtract that value inside the expression.
7. What is the difference between standard form and vertex form?
Standard form is written as ax² + bx + c, while vertex form is written as a(x − h)² + k. Vertex form makes it easier to identify the vertex of a parabola.
8. Can completing the square be used for negative coefficients?
Yes. Completing the square works with negative coefficients as well. You can factor out the leading coefficient first and then follow the usual completing the square steps.
9. Is completing the square the same as factoring?
No. Both methods can help solve quadratic equations, but they work differently. Factoring breaks an expression into simpler factors, while completing the square rewrites it as a perfect square trinomial.
10. When should I use the completing the square method?
Use completing the square when solving quadratic equations, converting quadratic expressions into vertex form, finding the vertex of a parabola, or deriving the quadratic formula.
