The formula
Understanding the Quadratic Equation
The quadratic equation is a fundamental concept in algebra, used to solve problems involving quadratic functions. A quadratic equation is typically written in the form ax² + bx + c = 0, where a, b, and c are coefficients, and x represents the variable. The solutions to this equation, known as the roots, can be found using various methods, including factoring, completing the square, or the quadratic formula. Understanding how to solve quadratic equations is essential for students and professionals alike, as it applies to fields like physics, engineering, and economics.Quadratic equations often model real-world scenarios, such as projectile motion or profit maximization. Mastering this topic opens doors to advanced mathematical concepts and practical problem-solving skills.
How to calculate quadratic equation
The quadratic formula finds the values of x where ax² + bx + c equals zero — the points where a parabola crosses the x-axis. With a = 1, b = -3, c = 2 (the defaults here), the equation x² - 3x + 2 = 0 factors neatly into (x-1)(x-2), giving roots of 1 and 2.
Everything hinges on the discriminant, b² - 4ac. A positive discriminant gives two distinct real roots (the case shown by default: 9 - 8 = 1). A discriminant of exactly 0 gives one repeated root, such as a=1, b=-2, c=1 (x² - 2x + 1 = 0), where both roots equal 1.
The inputs, one by one:
- Coefficient a — the x² coefficient — cannot be 0, or the equation stops being quadratic
- Coefficient b — the x coefficient
- Coefficient c — the constant term
No submit button: type and the answer moves. Your inputs end up in the link, so the page can be shared already filled in.
Where a step-by-step method matters more than the final figure — for showing working, for instance — the formula section above sets out the calculation in the same order a worked solution would follow, so this page can check the answer without skipping the reasoning behind it.
Quadratic Formula Example
The quadratic formula is given by:x = [-b ± ?(b² - 4ac)] / (2a)Let's solve for a = 1, b = -3, and c = 2:
x = [3 ± ?(9 - 8)] / 2 = [3 ± 1] / 2The roots are x = 2 and x = 1.
Why quadratic equation matters
This is the kind of calculation almost everyone has done on paper at some point and almost no one enjoys redoing by hand a second time. A page like this one exists for exactly that second time — and the third, and however many more follow.
It also comes up whenever the same calculation needs repeating with different numbers — a worksheet of similar problems, a table of values — where doing the arithmetic by hand for each one is slow and where a small slip early on is easy to carry through the rest without noticing.
The method above is the same one taught in the standard curriculum for this topic, presented in the same order a worked example would follow, so this page doubles as a reference for the steps as well as a way to skip straight to the answer.
Where several similar problems need solving one after another, it is generally faster to keep this page open in a tab and work through them in turn than to redo the same method by hand for each one — the formula does not change, only the numbers going into it.
Methods to Solve Quadratic Equations
There are three primary methods to solve quadratic equations:- Factoring: This involves rewriting the equation as a product of binomials.
- Completing the Square: This method transforms the equation into a perfect square trinomial.
- Quadratic Formula: A universal method that works for any quadratic equation.
Worked example
A concrete run-through, using the values already in the fields:
- Coefficient a: 1
- Coefficient b: -3
- Coefficient c: 2
That gives:
- Root 1: 0
- Root 2: 0
Those starting numbers are just the calculator's own defaults, used so the working is visible rather than hidden — swap in the numbers from your own problem above and the identical steps run again on them.
Factoring Example
Solve x² - 5x + 6 = 0 by factoring:x² - 5x + 6 = (x - 2)(x - 3) = 0The solutions are x = 2 and x = 3.
Reading the result
Root 1 and Root 2 are the two x-values that satisfy the equation. If they come out equal, the parabola just touches the x-axis at a single point rather than crossing it twice.
Where this goes wrong. When the discriminant is negative — for example a=1, b=1, c=1 — the roots are complex numbers, not real ones, and this calculator will show "NaN" because it only computes real square roots. That's a sign the parabola never crosses the x-axis at all, not a calculation error.
A quick mental estimate first — rounding the inputs to convenient numbers — is a fast way to catch a mistyped figure: if the calculator's exact answer and that rough estimate are wildly different, one of the fields is worth rechecking before trusting the result.
Applications of Quadratic Equations
Quadratic equations are used in various real-world applications, such as:- Calculating the trajectory of a projectile.
- Determining the maximum profit in business scenarios.
- Designing parabolic structures in architecture.
x = 1 and x = 2. Checking: 1² - 3(1) + 2 = 0 and 2² - 3(2) + 2 = 0, both correct.
The discriminant, D = b² - 4ac, determines the nature of the roots:
- If D > 0, there are two distinct real roots.
- If D = 0, there is one real root (a repeated root).
- If D < 0, there are no real roots (the roots are complex).
NaN means the discriminant (b² - 4ac) is negative, so the equation has no real roots — the square root of a negative number isn't a real number, only a complex one.
Yes, if the discriminant is negative (D < 0), the quadratic equation has no real solutions. However, it will have two complex solutions.
The headline figure is root 1. With 1 coefficient a, -3 coefficient b and 2 coefficient c, that comes to 0. Change any field and the figure moves with it.
The quadratic formula provides a straightforward way to find the roots of any quadratic equation, regardless of its complexity. It is especially useful when factoring is not feasible.
Yes — it applies the standard method shown in the formula section above and returns an exact result for whatever numbers are entered, which makes it a reliable way to check a final answer. It will not show every intermediate step of a written-out solution, so it checks the answer rather than replacing the working.
Factoring is ideal for simple equations with integer roots. Completing the square is useful for deriving the quadratic formula or solving vertex form problems. The quadratic formula is a catch-all method for any quadratic equation.
Work through the formula shown above one step at a time against your own working — the most common causes are a sign error, a step done in the wrong order, or a number copied incorrectly from the original problem into the calculation.
Completing the Square Example
Solve x² + 6x + 5 = 0 by completing the square:x² + 6x = -5x² + 6x + 9 = 4(x + 3)² = 4The solutions are x = -1 and x = -5.
No — the calculator recomputes the full result from whatever is currently in every field each time, not step by step in the order they were filled in, so the order makes no difference to the answer.
Common Mistakes When Solving Quadratic Equations
Avoid these pitfalls:- Forgetting to set the equation to zero before solving.
- Misapplying the quadratic formula by omitting the ± symbol.
- Incorrectly factoring the equation.
Quadratic Equation with Complex Roots
Solve x² + 4x + 5 = 0:x = [-4 ± ?(16 - 20)] / 2 = [-4 ± ?(-4)] / 2The roots are x = -2 + i and x = -2 - i.
Quadratic Equations in Advanced Mathematics
Quadratic equations serve as a foundation for higher-level topics like:- Polynomial functions.
- Calculus optimization problems.
- Linear algebra and matrix theory.