Solve and analyze any quadratic function in the form f(x) = ax2 + bx + c.
What this quadratic function calculator does
This tool helps you understand a quadratic equation quickly. Instead of only giving roots, it calculates the most important features of a parabola: the discriminant, roots (real or complex), vertex, axis of symmetry, opening direction, and y-intercept. If you enter an x-value, it also computes the corresponding y-value.
Whether you're solving homework problems, checking algebra steps, or reviewing for exams, this quadratic equation solver gives you a full picture of the function, not just one final number.
Quadratic basics: form and graph
A quadratic function is written as:
f(x) = ax2 + bx + c, where a ≠ 0.
- a controls how wide the parabola is and whether it opens up or down.
- b helps determine the horizontal placement of the vertex and roots.
- c is the y-intercept, because f(0) = c.
The graph of every quadratic is a parabola. If a is positive, the parabola opens upward; if a is negative, it opens downward.
How results are calculated
1) Discriminant
The discriminant is D = b2 - 4ac. It tells you the type of roots:
- D > 0: two distinct real roots
- D = 0: one repeated real root
- D < 0: two complex conjugate roots
2) Roots (x-intercepts)
Roots are found with the quadratic formula:
x = (-b ± √D) / 2a
3) Vertex and axis of symmetry
The x-coordinate of the vertex is -b / 2a. Plug that x-value into the function to get the y-coordinate. The vertical line through the vertex is the axis of symmetry.
4) Function value at a given x
If you supply an x input, the calculator evaluates f(x) = ax2 + bx + c directly. This is useful for table values, graphing checks, and modeling tasks.
Example walkthrough
Try a = 1, b = -3, c = 2. The function is f(x) = x2 - 3x + 2.
- Discriminant: D = (-3)2 - 4(1)(2) = 9 - 8 = 1
- Because D > 0, there are two real roots
- Roots: x = 1 and x = 2
- Vertex: x = -(-3)/(2·1) = 1.5, then y = -0.25
So the parabola opens upward, crosses the x-axis at 1 and 2, and reaches its minimum at (1.5, -0.25).
Common mistakes to avoid
- Setting a = 0 (that makes it linear, not quadratic).
- Forgetting parentheses when squaring negative numbers.
- Mixing up b2 - 4ac with other expressions.
- Rounding too early and losing precision in the roots or vertex.
Where quadratic functions appear in real life
Quadratic models are used in physics, engineering, finance, and data fitting. Examples include projectile motion, area optimization, and revenue/cost analysis. Understanding vertex form and intercepts makes these applications much easier to interpret.