In
mathematics
Mathematics is an area of knowledge that includes the topics of numbers, formulas and related structures, shapes and the spaces in which they are contained, and quantities and their changes. These topics are represented in modern mathematics ...
, a quadratic polynomial is a
polynomial of degree two in one or more variables. A quadratic function is the
polynomial function
In mathematics, a polynomial is an expression (mathematics), expression consisting of indeterminate (variable), indeterminates (also called variable (mathematics), variables) and coefficients, that involves only the operations of addition, subtrac ...
defined by a quadratic polynomial. Before 20th century, the distinction was unclear between a polynomial and its associated polynomial function; so "quadratic polynomial" and "quadratic function" were almost synonymous. This is still the case in many elementary courses, where both terms are often abbreviated as "quadratic".
For example, a
univariate (single-variable) quadratic function has the form
:
where is its variable. The
graph of a univariate quadratic function is a
parabola, a
curve that has an
axis of symmetry parallel to the -axis.
If a quadratic function is
equated with zero, then the result is a
quadratic equation. The solutions of a quadratic equation are the
zeros of the corresponding quadratic function.
The
bivariate case in terms of variables and has the form
:
with at least one of not equal to zero. The zeros of this quadratic function is, in general (that is, if a certain expression of the coefficients is not equal to zero), a
conic section (a
circle
A circle is a shape consisting of all points in a plane that are at a given distance from a given point, the centre. Equivalently, it is the curve traced out by a point that moves in a plane so that its distance from a given point is const ...
or other
ellipse, a
parabola, or a
hyperbola).
A quadratic function in three variables , , and contains exclusively terms , , , , and a constant:
:
where at least one of the
coefficients of the second-degree terms is not zero.
A quadratic function can have an arbitrarily large number of variables. The set of its zero form a
quadric, which is a
surface in the case of three variables and a
hypersurface in general case.
Etymology
The adjective ''quadratic'' comes from the
Latin
Latin (, or , ) is a classical language belonging to the Italic branch of the Indo-European languages. Latin was originally a dialect spoken in the lower Tiber area (then known as Latium) around present-day Rome, but through the power ...
word ''
quadrātum'' ("
square"). A term raised to the second power like is called a
square in algebra because it is the area of a ''square'' with side .
Terminology
Coefficients
The
coefficients of a quadric function are often taken to be
real or
complex number
In mathematics, a complex number is an element of a number system that extends the real numbers with a specific element denoted , called the imaginary unit and satisfying the equation i^= -1; every complex number can be expressed in the for ...
s, but they may be taken in any
ring, in which case the
domain and the
codomain are this ring (see
polynomial evaluation
In mathematics and computer science, polynomial evaluation refers to computation of the value of a polynomial when its indeterminates are substituted for some values. In other words, evaluating the polynomial P(x_1, x_2) = 2x_1x_2 + x_1^3 + 4 at ...
).
Degree
When using the term "quadratic polynomial", authors sometimes mean "having degree exactly 2", and sometimes "having degree at most 2". If the degree is less than 2, this may be called a "
degenerate case". Usually the context will establish which of the two is meant.
Sometimes the word "order" is used with the meaning of "degree", e.g. a second-order polynomial. However, where the "degree of a polynomial" refers to the ''largest'' degree of a non-zero term of the polynomial, more typically "order" refers to the ''lowest'' degree of a non-zero term of a
power series.
Variables
A quadratic polynomial may involve a single
variable ''x'' (the univariate case), or multiple variables such as ''x'', ''y'', and ''z'' (the multivariate case).
The one-variable case
Any single-variable quadratic polynomial may be written as
:
where ''x'' is the variable, and ''a'', ''b'', and ''c'' represent the
coefficients. Such polynomials often arise in a
quadratic equation The solutions to this equation are called the
roots and can be expressed in terms of the coefficients as the
quadratic formula. Each quadratic polynomial has an associated quadratic function, whose
graph is a
parabola.
Bivariate and multivariate cases
Any quadratic polynomial with two variables may be written as
:
where and are the variables and are the coefficients, and one of , and is nonzero. Such polynomials are fundamental to the study of
conic sections, as the
implicit equation of a conic section is obtained by equating to zero a quadratic polynomial, and the
zeros of a quadratic function form a (possibly degenerate) conic section.
Similarly, quadratic polynomials with three or more variables correspond to
quadric surfaces or
hypersurfaces.
Quadratic polynomials that have only terms of degree two are called
quadratic form
In mathematics, a quadratic form is a polynomial with terms all of degree two ("form" is another name for a homogeneous polynomial). For example,
:4x^2 + 2xy - 3y^2
is a quadratic form in the variables and . The coefficients usually belong to a ...
s.
Forms of a univariate quadratic function
A univariate quadratic function can be expressed in three formats:
*
is called the standard form,
*
is called the factored form, where and are the roots of the quadratic function and the solutions of the corresponding quadratic equation.
*
is called the vertex form, where and are the and coordinates of the vertex, respectively.
The coefficient is the same value in all three forms. To convert the standard form to factored form, one needs only the
quadratic formula to determine the two roots and . To convert the standard form to vertex form, one needs a process called
completing the square. To convert the factored form (or vertex form) to standard form, one needs to multiply, expand and/or distribute the factors.
Graph of the univariate function
Regardless of the format, the graph of a univariate quadratic function
is a
parabola (as shown at the right). Equivalently, this is the graph of the bivariate quadratic equation
.
* If , the parabola opens upwards.
* If , the parabola opens downwards.
The coefficient controls the degree of curvature of the graph; a larger magnitude of gives the graph a more closed (sharply curved) appearance.
The coefficients and together control the location of the axis of symmetry of the parabola (also the -coordinate of the vertex and the ''h'' parameter in the vertex form) which is at
:
The coefficient controls the height of the parabola; more specifically, it is the height of the parabola where it intercepts the -axis.
Vertex
The vertex of a parabola is the place where it turns; hence, it is also called the turning point. If the quadratic function is in vertex form, the vertex is . Using the method of completing the square, one can turn the standard form
:
into
:
so the vertex, , of the parabola in standard form is
:
If the quadratic function is in factored form
:
the average of the two roots, i.e.,
:
is the -coordinate of the vertex, and hence the vertex is
:
The vertex is also the maximum point if , or the minimum point if .
The vertical line
:
that passes through the vertex is also the axis of symmetry of the parabola.
Maximum and minimum points
Using
calculus
Calculus, originally called infinitesimal calculus or "the calculus of infinitesimals", is the mathematics, mathematical study of continuous change, in the same way that geometry is the study of shape, and algebra is the study of generalizati ...
, the vertex point, being a
maximum or minimum of the function, can be obtained by finding the roots of the
derivative
In mathematics, the derivative of a function of a real variable measures the sensitivity to change of the function value (output value) with respect to a change in its argument (input value). Derivatives are a fundamental tool of calculus. ...
:
:
is a root of if
resulting in
:
with the corresponding function value
:
so again the vertex point coordinates, , can be expressed as
:
Roots of the univariate function
Exact roots
The
roots (or ''zeros''), and , of the univariate quadratic function
:
are the values of for which .
When the
coefficients , , and , are
real or
complex, the roots are
:
:
Upper bound on the magnitude of the roots
The
modulus of the roots of a quadratic
can be no greater than
where
is the
golden ratio
In mathematics, two quantities are in the golden ratio if their ratio is the same as the ratio of their sum to the larger of the two quantities. Expressed algebraically, for quantities a and b with a > b > 0,
where the Greek letter phi ( ...
[Lord, Nick, "Golden bounds for the roots of quadratic equations", ''Mathematical Gazette'' 91, November 2007, 549.]
The square root of a univariate quadratic function
The
square root of a univariate quadratic function gives rise to one of the four conic sections,
almost always either to an
ellipse or to a
hyperbola.
If
then the equation
describes a hyperbola, as can be seen by squaring both sides. The directions of the axes of the hyperbola are determined by the
ordinate of the
minimum point of the corresponding parabola
If the ordinate is negative, then the hyperbola's major axis (through its vertices) is horizontal, while if the ordinate is positive then the hyperbola's major axis is vertical.
If
then the equation
describes either a circle or other ellipse or nothing at all. If the ordinate of the
maximum point of the corresponding parabola
is positive, then its square root describes an ellipse, but if the ordinate is negative then it describes an
empty locus of points.
Iteration
To
iterate a function , one applies the function repeatedly, using the output from one iteration as the input to the next.
One cannot always deduce the analytic form of
, which means the ''n''
th iteration of
. (The superscript can be extended to negative numbers, referring to the iteration of the inverse of
if the inverse exists.) But there are some analytically
tractable cases.
For example, for the iterative equation
:
one has
:
where
:
and
So by induction,
:
can be obtained, where
can be easily computed as
:
Finally, we have
:
as the solution.
See
Topological conjugacy for more detail about the relationship between ''f'' and ''g''. And see
Complex quadratic polynomial for the chaotic behavior in the general iteration.
The
logistic map
The logistic map is a polynomial mapping (equivalently, recurrence relation) of degree 2, often referred to as an archetypal example of how complex, chaotic behaviour can arise from very simple non-linear dynamical equations. The map was popular ...
:
with parameter 2<''r''<4 can be solved in certain cases, one of which is
chaotic
Chaotic was originally a Danish trading card game. It expanded to an online game in America which then became a television program based on the game. The program was able to be seen on 4Kids TV (Fox affiliates, nationwide), Jetix, The CW4Kids ...
and one of which is not. In the chaotic case ''r''=4 the solution is
:
where the initial condition parameter
is given by
. For rational
, after a finite number of iterations
maps into a periodic sequence. But almost all
are irrational, and, for irrational
,
never repeats itself – it is non-periodic and exhibits
sensitive dependence on initial conditions, so it is said to be chaotic.
The solution of the logistic map when ''r''=2 is
for