How to use this solver
Put every term on the left so the right side is zero. Calculate the discriminant D = b² − 4ac, then use x = (−b ± √D) / 2a. Positive D gives two real roots, zero gives a repeated root, and negative D gives two complex roots. The vertex is at x = −b / 2a.
Examples and checks for quadratic equations
Can I find break-even points and a maximum profit?
For the example profit model P(q) = −2q² + 40q − 150, enter −2, 40 and −150 to find where profit is zero. The break-even quantities are 5 and 15. The vertex is (10, 50), so the model’s maximum profit is 50 currency units at a quantity of 10. These conclusions apply only where the assumed model is valid; if q counts items, it must also be a whole number.
Which root should I use in a practical problem?
Check each root against the meaning of x and the original equation. A negative length is unsuitable, but a negative coordinate may be valid. A time before the start of an experiment may be outside the intended interval. Sometimes both roots are useful, as with an object reaching the same height twice.
What do complex roots mean for a measurement problem?
Complex roots mean the equation has no real solution. If x represents a real length, duration or quantity, there is no value that meets the stated conditions under that model. Check your numbers, units and assumptions rather than using just the real part of a complex root.
Should I round the answer before checking it?
Keep the exact fraction or as many digits as possible during the calculation, then round the final measurement to a suitable precision. Substitute the unrounded root into the original equation first. If x counts whole objects, rounding a fractional root may no longer satisfy the equation; check the rounded value separately.
When is a quadratic model useful in everyday calculations?
Quadratics often appear when two dimensions involving the same unknown are multiplied, or when a simplified model contains a squared term. Expand brackets and collect terms before entering a, b and c, with zero on the right. Use consistent units and choose another solver if the highest power is not two.