Quadratic function
From Exampleproblems
In mathematics, a quadratic function is a polynomial function of the form
- f(x) = ax2 + bx + c,
where a is nonzero. It takes its name from the Latin quadratus for square, because quadratic functions arise in the calculation of areas of squares. In the case where the domain and codomain are R (the real numbers), the graph of such a function is a parabola.
If the quadratic function is set to be equal to zero, then the result is a quadratic equation.
The square root of a quadratic function gives rise either to an ellipse or to a hyperbola. If a>0 then the equation
describes a hyperbola. The axis of the hyperbola is determined by the ordinate of the minimum point of the corresponding parabola
- yp = ax2 + bx + c.
If the ordinate is negative, then the hyperbola's axis is horizontal. If the ordinate is positive, then the hyperbola's axis is vertical.
If a<0 then the equation
describes either an ellipse or nothing at all. If the ordinate of the maximum point of the corresponding parabola
- yp = ax2 + bx + c
is positive, then its square root describes an ellipse, but if the ordinate is negative then it describes an empty locus of points.
A bivariate quadratic function is a second-degree polynomial of the form
- f(x,y) = Ax2 + By2 + Cx + Dy + Exy + F.
Such a function describes a quadratic surface. Setting f(x,y) equal to zero describes the intersection of the surface with the plane z=0, which is a locus of points equivalent to a conic section.
Roots
The roots, or solutions to the quadratic function, for variable x, are
.
This formula is called the quadratic formula. As for how the formula is derived, see quadratic equation.
The Graph
The graph of a quadratic function
- f(x) = ax2 + bx + c or f(x) = a(x − h)2 + k
is called a parabola.
The former is called the general form while the latter is the standard form. In either form, a is non-zero, and
- If a > 0, the parabola opens upward.
- If a < 0, the parabola opens downward.
Vertex
The place where the parabola turns is called the turning point or the vertex of the parabola. If the quadratic function is in standard form, the vertex is (h, k). By the method of completing the square, one can turn the general form f(x) = ax2 + bx + c to
so that the vertex of the parabola in the general form will be
Number of x-intercepts
The number of x-intercepts is determined by the quantity b2 − 4ac, which is called the discriminant.
- If b2 − 4ac > 0 and is a square number, the graph has two rational x-intercepts since the quadratic formula yeilds two distinct real roots
- If b2 − 4ac > 0, and is not a square number, the graph has two irrational x-intercepts since the quadratic formula yields two distinct real roots.
- If b2 − 4ac = 0, the graph has one x-intercept since the quadratic formula yields one real root (or two equal real roots).
- If b2 − 4ac < 0, the graph has no x-intercepts since the quadratic formula yields two imaginary roots.
