Equation Solver

Solve linear and quadratic equations and see each step of the working.

Solutions
—
Discriminant
—
Vertex
—

Steps

    In short

    A quadratic equation ax² + bx + c = 0 is solved with x = (−b ± √(b² − 4ac)) ÷ 2a. For x² − 3x + 2 = 0 the solutions are x = 1 and x = 2. A linear equation ax + b = c has x = (c − b) ÷ a.

    How to enter an equation

    First rearrange the equation into the standard form shown on the tab, then type the numbers in front of each term. For x² − 3x + 2 = 0, a is 1, b is −3 and c is 2. If a term is missing, its number is 0: x² − 9 = 0 has b = 0.

    Checking an answer

    Put each solution back into the original equation. With x = 2 in x² − 3x + 2, you get 4 − 6 + 2 = 0, so it works. This catches sign mistakes, which are the most common error with quadratics.

    • Factoring is fastest when the solutions are whole numbers.
    • The quadratic formula always works, which is why this solver uses it.
    • Completing the square is how the formula is derived, and gives the vertex directly.

    For general calculations, use the scientific calculator.

    Questions people ask

    What is the quadratic formula?

    For ax² + bx + c = 0, the solutions are x = (−b ± √(b² − 4ac)) ÷ 2a. The part under the square root, b² − 4ac, is called the discriminant.

    What does the discriminant tell me?

    If it is positive there are two real solutions, if it is zero there is one repeated solution, and if it is negative there are no real solutions, only two complex ones.

    What is the vertex?

    The turning point of the parabola y = ax² + bx + c: its lowest point when a is positive and its highest when a is negative. It sits at x = −b ÷ 2a.

    Can it solve other kinds of equations?

    This solver handles linear equations (ax + b = c) and quadratic equations (ax² + bx + c = 0), and shows every step. Other types are not supported yet.

    Last updated .