# Quadratic equation solver > How do you solve a quadratic equation? Find the roots of ax² + bx + c = 0 and see the parabola behind them. Solve ax² + bx + c = 0 with the quadratic formula: real or complex roots, exact form, discriminant, vertex and factored form, with a live parabola. - Page: https://how.box/quadratic/ - Runs entirely in the browser. - License: HowToolbox's own text and data (titles, explanations, FAQs, tool descriptions and schemas, this file) are CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/); AI training and answers are welcome. Attribute "HowToolbox (how.box)" with a link to the page used. Third-party data keeps its own terms; the name and logo are not licensed. Publisher: HowToolbox, contact@how.box. Terms: https://how.box/about/terms/ ## Inputs Answer link: https://how.box/quadratic/?a={a}&b={b}&c={c} - `a` (number -10000 to 10000): Coefficient a (of x²). Example: `1`. - `b` (number -10000 to 10000): Coefficient b (of x). Example: `-2`. - `c` (number -10000 to 10000): Constant term c. Example: `-3`. Example answer: https://how.box/quadratic/?a=1&b=-2&c=-3 A complete link carries the primary answer in the page HTML; a missing or invalid value shows the default page. ## Agent tools - `quadratic_solve`: Solves a·x² + b·x + c = 0 (coefficients −10000 to 10000; a = 0 solves b·x + c = 0). - MCP, one POST to https://how.box/mcp: `{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"quadratic_solve","arguments":{"a":1,"b":-2,"c":-3}}}` - GET: https://how.box/mcp/run/quadratic_solve?a=1&b=-2&c=-3 ## How it works A quadratic equation asks where the parabola y = ax² + bx + c meets the x-axis. It can cross the axis twice, touch it once at its turning point, or miss it altogether, and that is why a quadratic has two, one or no real solutions. The quadratic formula gives them all: x = (−b ± √(b² − 4ac)) / 2a. The part under the root, the discriminant D = b² − 4ac, decides which case you have: positive means two real roots, zero one double root, and negative two complex roots with an imaginary part. For x² − 2x − 3 = 0, D = 4 + 12 = 16, so x = (2 ± 4) / 2, which is −1 or 3. The turning point, the vertex, lies halfway between the roots at x = −b / 2a, and the parabola is mirror-symmetric about that vertical line. Writing y = a(x − h)² + k (vertex form) or y = a(x − x₁)(x − x₂) (factored form) shows the same curve in another light. Results are rounded to six significant digits; whole-number coefficients also get the exact roots with square roots. Sources: OpenStax College Algebra 2e, sections 2.5 and 5.1. ## FAQ **Can I enter an equation with terms on both sides?** Move all terms to one side first. For x² = 5x − 6, enter a = 1, b = −5 and c = 6. **What should I enter for a missing term?** Enter zero for its coefficient. For x² − 2 = 0, use a = 1, b = 0 and c = −2. **Can coefficients be fractions?** Enter their decimal values, or multiply the whole equation by a common denominator to get integer coefficients. Multiplying every term by the same nonzero number preserves the roots. **Why do I get complex roots when the graph has no x-intercepts?** Complex roots solve the equation but do not lie on the real x-axis. The graph shows only real x and y coordinates. **How can I check a root?** Substitute it for x in the original equation. The two sides should agree; a rounded decimal root may leave a small difference. More: [HowToolbox index](https://how.box/llms.txt) · [Agent Skill](https://how.box/skill.md) · [agent terms](https://how.box/about/agents/)