Cal11 calculator

Quadratic Function Root Calculator

Reviewed by Calculator Editorial Team

A quadratic function is a second-degree polynomial that graphs as a parabola. The roots (or solutions) of a quadratic function are the points where the graph crosses the x-axis. This calculator helps you find the roots of any quadratic equation in the standard form.

What is a Quadratic Function?

A quadratic function is a polynomial function of degree 2. It is typically written in the form:

f(x) = ax² + bx + c

Where:

  • a is the coefficient of x² (must not be zero)
  • b is the coefficient of x
  • c is the constant term

The graph of a quadratic function is a parabola. The direction and width of the parabola depend on the values of a and b, while c determines the vertical position of the parabola.

How to Find the Roots of a Quadratic Function

There are several methods to find the roots of a quadratic equation:

  1. Factoring
  2. Completing the square
  3. Using the quadratic formula
  4. Graphical methods

The quadratic formula is the most general method and works for any quadratic equation. This calculator uses the quadratic formula to find the roots.

The Quadratic Formula

The quadratic formula is derived from completing the square and provides the roots of any quadratic equation in the form ax² + bx + c = 0:

x = [-b ± √(b² - 4ac)] / (2a)

Where:

  • √(b² - 4ac) is the discriminant
  • The discriminant determines the nature of the roots:
Discriminant Nature of Roots
b² - 4ac > 0 Two distinct real roots
b² - 4ac = 0 One real root (repeated)
b² - 4ac < 0 No real roots (complex roots)

Example Calculation

Let's find the roots of the quadratic equation x² - 5x + 6 = 0.

  1. Identify the coefficients: a = 1, b = -5, c = 6
  2. Calculate the discriminant: (-5)² - 4(1)(6) = 25 - 24 = 1
  3. Apply the quadratic formula:

    x = [5 ± √1] / 2

  4. Calculate the two roots:
    • x₁ = (5 + 1)/2 = 3
    • x₂ = (5 - 1)/2 = 2

The roots of the equation x² - 5x + 6 = 0 are x = 2 and x = 3.

Interpreting the Results

The roots of a quadratic function have several interpretations:

  • They represent the points where the quadratic function equals zero
  • They are the x-intercepts of the parabola
  • They can be used to factor the quadratic expression

For example, if the roots are x = 2 and x = 3, the quadratic can be factored as (x - 2)(x - 3) = 0.

Frequently Asked Questions

What is the difference between a quadratic function and a linear function?
A quadratic function has a degree of 2 and graphs as a parabola, while a linear function has a degree of 1 and graphs as a straight line. Quadratic functions can have roots, while linear functions have exactly one root.
Can a quadratic function have no real roots?
Yes, if the discriminant (b² - 4ac) is negative, the quadratic function will have no real roots but will have two complex conjugate roots.
How do I know if a quadratic function opens upwards or downwards?
The direction of the parabola depends on the coefficient 'a'. If a is positive, the parabola opens upwards; if a is negative, it opens downwards.
What is the vertex of a quadratic function?
The vertex is the highest or lowest point of the parabola. For a quadratic function in the form f(x) = ax² + bx + c, the x-coordinate of the vertex is given by -b/(2a).
How can I use the roots to factor a quadratic expression?
If the roots are x = p and x = q, the quadratic can be factored as (x - p)(x - q) = 0. For example, if the roots are 2 and 3, the factored form is (x - 2)(x - 3) = 0.