Roboculator
Online CalculatorsCategoriesDate & EventsNews
Get Started
Online CalculatorsCategoriesDate & EventsNewsGet Started
Roboculator

Smart calculators for every challenge. Free, fast, and private.

Categories

  • Finance
  • Health
  • Math
  • Construction
  • Conversion
  • Everyday Life

Popular Tools

  • Date & Events
  • Loan Calculator
  • BMI Calculator
  • Percentage Calc
  • Latest News
  • Search All

Resources

  • Glossary
  • Topic Tags
  • News & Insights

Company

  • About
  • Contact

Legal

  • Privacy Policy
  • Terms of Service
  • Editorial Policy
  • Disclaimer
© 2026 Roboculator. All rights reserved.
Roboculator

roboculator.com

  1. Home
  2. /Math
  3. /General Purpose Calculators
  4. /Step-by-Step Math Solver

Step-by-Step Math Solver

Calculator

Results

Discriminant (b^2 - 4ac)

1

Number of Real Solutions

1

Solution x1

1

Solution x2

1

Vertex x-coordinate

—

Vertex y-coordinate

—

Sum of Roots (-b/a)

5

Product of Roots (c/a)

6

Results

Discriminant (b^2 - 4ac)

1

Number of Real Solutions

1

Solution x1

1

Solution x2

1

Vertex x-coordinate

—

Vertex y-coordinate

—

Sum of Roots (-b/a)

5

Product of Roots (c/a)

6

The Step-by-Step Math Solver is a comprehensive tool for solving quadratic equations in the standard form ax^2 + bx + c = 0. Unlike a simple equation solver that only returns answers, this calculator shows you the complete solution process by computing the discriminant, both roots, vertex coordinates, sum of roots, and product of roots in a single computation. This makes it an invaluable learning tool for students studying algebra, precalculus, and introductory calculus.

Quadratic equations are second-degree polynomial equations where the highest power of the variable is 2. They arise naturally whenever a problem involves parabolic motion, area calculations, optimization, or any relationship where the rate of change itself changes at a constant rate. A ball thrown into the air follows a parabolic path described by a quadratic equation. The profit-maximizing price for a product is found by solving a quadratic. The dimensions of a rectangle with maximum area for a given perimeter involve quadratic equations.

The quadratic formula is the universal method for solving any quadratic equation: x = (-b +/- sqrt(b^2 - 4ac)) / (2a). The expression under the square root, b^2 - 4ac, is called the discriminant, and it determines the nature of the solutions. A positive discriminant means two distinct real roots, a zero discriminant means one repeated root (the parabola touches the x-axis at exactly one point), and a negative discriminant means no real roots (the parabola does not cross the x-axis).

Beyond finding the roots, this calculator also computes the vertex of the parabola, which is the highest or lowest point on the graph. The vertex occurs at x = -b/(2a) and represents the maximum value (when a < 0) or minimum value (when a > 0) of the quadratic function. This is critical for optimization problems in business, engineering, and physics.

The Vieta's formulas provide elegant relationships between roots and coefficients: the sum of the roots equals -b/a and the product equals c/a. These relationships are displayed as additional outputs, helping students verify their solutions and develop deeper algebraic understanding. Whether you are factoring quadratics, completing the square, or using the quadratic formula, this solver provides all the key information you need in one place.

Visual Analysis

How It Works

The calculator applies the quadratic formula to the equation $$ax^2 + bx + c = 0$$:

Step 1 - Compute the discriminant: $$\Delta = b^2 - 4ac$$. The discriminant determines the nature of the solutions.

Step 2 - Determine the number of real solutions: If the discriminant is greater than 0, there are 2 distinct real roots. If equal to 0, there is 1 repeated root. If less than 0, there are 0 real roots (the roots are complex numbers).

Step 3 - Apply the quadratic formula: $$x_1 = \frac{-b + \sqrt{\Delta}}{2a}, \quad x_2 = \frac{-b - \sqrt{\Delta}}{2a}$$

Step 4 - Find the vertex: The vertex of the parabola y = ax^2 + bx + c is at: $$x_v = -\frac{b}{2a}, \quad y_v = a \cdot x_v^2 + b \cdot x_v + c$$

Step 5 - Vieta's formulas: For the roots x1 and x2: $$x_1 + x_2 = -\frac{b}{a}, \quad x_1 \cdot x_2 = \frac{c}{a}$$

When a = 0, the equation is not quadratic (it becomes linear), and the calculator reports 0 solutions with placeholder values.

Understanding Your Results

The discriminant is your first indicator: positive means two x-intercepts, zero means the parabola just touches the x-axis, negative means it never crosses. x1 and x2 are the actual roots (solutions) where the quadratic equals zero. When the discriminant is zero, x1 = x2 (the repeated root). When negative, both show 0 as placeholders since the real solutions do not exist. The vertex is the turning point of the parabola: if a > 0, the vertex is the minimum point; if a < 0, it is the maximum point. The vertex y-coordinate is the minimum or maximum value the quadratic function can achieve. Sum and Product of Roots from Vieta's formulas allow you to verify your solutions: if x1 + x2 equals -b/a and x1 * x2 equals c/a, your roots are correct.

Worked Examples

Two Real Roots: x^2 - 5x + 6 = 0

Inputs

a coeff1
b coeff-5
c coeff6

Results

discriminant1
num solutions2
x13
x22
vertex x2.5
vertex y-0.25
sum roots5
product roots6

Step 1: Discriminant = (-5)^2 - 4(1)(6) = 25 - 24 = 1 (positive, so 2 real roots). Step 2: x1 = (5 + 1) / 2 = 3, x2 = (5 - 1) / 2 = 2. Verification: (x-3)(x-2) = x^2 - 5x + 6. Sum of roots: 3 + 2 = 5 = -(-5)/1. Product: 3 x 2 = 6 = 6/1. Vertex at x = 2.5, y = -0.25.

No Real Roots: 2x^2 + x + 3 = 0

Inputs

a coeff2
b coeff1
c coeff3

Results

discriminant-23
num solutions0
x10
x20
vertex x-0.25
vertex y2.875
sum roots-0.5
product roots1.5

Step 1: Discriminant = 1^2 - 4(2)(3) = 1 - 24 = -23 (negative, so no real roots). The parabola opens upward (a=2 > 0) and its vertex y-coordinate is 2.875, which is above the x-axis, confirming it never crosses. The roots are complex numbers: x = (-1 +/- i*sqrt(23)) / 4.

Frequently Asked Questions

The discriminant (delta = b^2 - 4ac) is the expression under the square root in the quadratic formula. It determines the nature of the solutions: positive discriminant means two distinct real roots, zero discriminant means exactly one repeated real root, and negative discriminant means no real roots (the solutions are complex numbers involving imaginary unit i). The discriminant is a powerful diagnostic that tells you about the equation's solutions before you even compute them.

When the discriminant is negative, the quadratic equation has no real number solutions. Geometrically, this means the parabola does not intersect the x-axis (it floats entirely above or below it). The equation does have solutions in the complex number system: x = (-b +/- i*sqrt(|discriminant|)) / (2a), where i = sqrt(-1). Complex roots always come in conjugate pairs and are important in engineering, physics, and advanced mathematics.

The vertex y-coordinate gives the maximum or minimum value of the quadratic function. If a > 0, the parabola opens upward and the vertex is the minimum point. If a < 0, the parabola opens downward and the vertex is the maximum point. The vertex x-coordinate (-b/2a) tells you at what input the extreme value occurs. This is the foundation of quadratic optimization in business and engineering.

Vieta's formulas relate the roots of a polynomial to its coefficients without requiring you to solve the equation. For a quadratic ax^2 + bx + c = 0 with roots r and s: r + s = -b/a and r * s = c/a. These are useful for: (1) quickly checking if computed roots are correct, (2) constructing quadratics from known roots, (3) finding root relationships without solving, and (4) proving algebraic identities. They extend to polynomials of any degree.

The calculator requires inputs in standard form ax^2 + bx + c = 0. If your equation is in a different form, you need to rearrange it first. For example, 3x^2 = 12 becomes 3x^2 + 0x - 12 = 0 (a=3, b=0, c=-12). Or x^2 + 4x = 5 becomes x^2 + 4x - 5 = 0 (a=1, b=4, c=-5). Move all terms to one side so the right side equals zero.

If r and s are roots of ax^2 + bx + c = 0, then the quadratic can be factored as a(x - r)(x - s). For example, x^2 - 5x + 6 = 0 has roots 2 and 3, so it factors as (x - 2)(x - 3). This connection between roots and factors is the Factor Theorem, and it works for polynomials of any degree. Factoring is the reverse process of finding roots.

Completing the square is an alternative method for solving quadratics that transforms ax^2 + bx + c = 0 into the form a(x - h)^2 = k, where h and k relate to the vertex. The steps are: (1) divide by a, (2) move c/a to the right side, (3) add (b/2a)^2 to both sides, (4) factor the left as a perfect square, (5) take the square root of both sides. This method is how the quadratic formula itself is derived, and it is also used to convert quadratics to vertex form.

The coefficient a controls two properties: direction and width. If a > 0, the parabola opens upward (U-shape); if a < 0, it opens downward (inverted U). The absolute value |a| controls width: larger |a| makes the parabola narrower (steeper), while smaller |a| makes it wider (flatter). For example, y = 5x^2 is much narrower than y = 0.1x^2, and y = -x^2 is the same width as y = x^2 but flipped upside down.

Complex roots involve the imaginary unit i, defined as i = sqrt(-1). When the discriminant is negative, the quadratic formula produces expressions like x = (-b +/- i*sqrt(|disc|)) / (2a). Complex roots always appear in conjugate pairs: if a + bi is a root, then a - bi is also a root. While complex numbers may seem abstract, they are essential in electrical engineering (AC circuit analysis), quantum mechanics, signal processing, and control theory.

Yes, when the discriminant equals exactly zero, the quadratic has a repeated (double) root: x = -b/(2a). Geometrically, the parabola touches the x-axis at exactly one point (the vertex sits on the x-axis). For example, x^2 - 6x + 9 = 0 has discriminant 36 - 36 = 0, giving the repeated root x = 3. This is equivalent to the factored form (x - 3)^2 = 0. A repeated root is sometimes counted as "two equal roots" in formal polynomial theory.

Sources & Methodology

Axler, Sheldon. Precalculus: A Prelude to Calculus, 3rd Edition. Wiley, 2017. Lang, Serge. Algebra, 3rd Edition. Springer Graduate Texts in Mathematics, 2002. Uspensky, J.V. Theory of Equations. McGraw-Hill, 1948. National Council of Teachers of Mathematics. Principles and Standards for School Mathematics. NCTM, 2000. Tanton, James. Mathematics Galore! MAA, 2012.
R

Roboculator Team

The Roboculator Team explains calculations, planning tools, and practical formulas in clear language for real-life situations.

How helpful was this calculator?

Be the first to rate!

Related Calculators

Scientific Calculator

General Purpose Calculators

Graphing Calculator

General Purpose Calculators

Math Equation Solver

General Purpose Calculators

Order of Operations Calculator

General Purpose Calculators

Basic Calculator

General Purpose Calculators