In
mathematics
Mathematics is a field of study that discovers and organizes methods, Mathematical theory, theories and theorems that are developed and Mathematical proof, proved for the needs of empirical sciences and mathematics itself. There are many ar ...
, a quadratic function of a single
variable is a
function of the form
:
where is its variable, and , , and are
coefficient
In mathematics, a coefficient is a Factor (arithmetic), multiplicative factor involved in some Summand, term of a polynomial, a series (mathematics), series, or any other type of expression (mathematics), expression. It may be a Dimensionless qu ...
s. The
expression , especially when treated as an
object in itself rather than as a function, is a quadratic polynomial, a
polynomial
In mathematics, a polynomial is a Expression (mathematics), mathematical expression consisting of indeterminate (variable), indeterminates (also called variable (mathematics), variables) and coefficients, that involves only the operations of addit ...
of degree two. In
elementary mathematics a polynomial and its associated
polynomial function are rarely distinguished and the terms ''quadratic function'' and ''quadratic polynomial'' are nearly synonymous and often abbreviated as ''quadratic''.
The
graph of a
real single-variable quadratic function is a
parabola
In mathematics, a parabola is a plane curve which is Reflection symmetry, mirror-symmetrical and is approximately U-shaped. It fits several superficially different Mathematics, mathematical descriptions, which can all be proved to define exactl ...
. If a quadratic function is
equated with zero, then the result is a
quadratic equation
In mathematics, a quadratic equation () is an equation that can be rearranged in standard form as
ax^2 + bx + c = 0\,,
where the variable (mathematics), variable represents an unknown number, and , , and represent known numbers, where . (If and ...
. The solutions of a quadratic equation are the
zero
0 (zero) is a number representing an empty quantity. Adding (or subtracting) 0 to any number leaves that number unchanged; in mathematical terminology, 0 is the additive identity of the integers, rational numbers, real numbers, and compl ...
s (or ''roots'') of the corresponding quadratic function, of which there can be two, one, or zero. The solutions are described by the
quadratic formula
In elementary algebra, the quadratic formula is a closed-form expression describing the solutions of a quadratic equation. Other ways of solving quadratic equations, such as completing the square, yield the same solutions.
Given a general quadr ...
.
A quadratic polynomial or quadratic function can involve more than one variable. For example, a two-variable quadratic function of variables and has the form
:
with at least one of , , and not equal to zero. In general the zeros of such a quadratic function describe a
conic section
A conic section, conic or a quadratic curve is a curve obtained from a cone's surface intersecting a plane. The three types of conic section are the hyperbola, the parabola, and the ellipse; the circle is a special case of the ellipse, tho ...
(a
circle
A circle is a shape consisting of all point (geometry), points in a plane (mathematics), plane that are at a given distance from a given point, the Centre (geometry), centre. The distance between any point of the circle and the centre is cal ...
or other
ellipse
In mathematics, an ellipse is a plane curve surrounding two focus (geometry), focal points, such that for all points on the curve, the sum of the two distances to the focal points is a constant. It generalizes a circle, which is the special ty ...
, a
parabola
In mathematics, a parabola is a plane curve which is Reflection symmetry, mirror-symmetrical and is approximately U-shaped. It fits several superficially different Mathematics, mathematical descriptions, which can all be proved to define exactl ...
, or a
hyperbola) in the – plane. 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 languages, Italic branch of the Indo-European languages. Latin was originally spoken by the Latins (Italic tribe), Latins in Latium (now known as Lazio), the lower Tiber area aroun ...
word ''
quadrātum'' ("
square
In geometry, a square is a regular polygon, regular quadrilateral. It has four straight sides of equal length and four equal angles. Squares are special cases of rectangles, which have four equal angles, and of rhombuses, which have four equal si ...
"). A term raised to the second power like is called a
square
In geometry, a square is a regular polygon, regular quadrilateral. It has four straight sides of equal length and four equal angles. Squares are special cases of rectangles, which have four equal angles, and of rhombuses, which have four equal si ...
in algebra because it is the area of a ''square'' with side .
Terminology
Coefficients
The
coefficients
In mathematics, a coefficient is a multiplicative factor involved in some term of a polynomial, a series, or any other type of expression. It may be a number without units, in which case it is known as a numerical factor. It may also be a ...
of a quadratic 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
In mathematics, a codomain, counter-domain, or set of destination of a function is a set into which all of the output of the function is constrained to fall. It is the set in the notation . The term '' range'' is sometimes ambiguously used to ...
are this ring (see
polynomial evaluation).
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
In mathematics, the degree of a polynomial is the highest of the degrees of the polynomial's monomials (individual terms) with non-zero coefficients. The degree of a term is the sum of the exponents of the variables that appear in it, and thus ...
" 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
In mathematics, a power series (in one variable) is an infinite series of the form
\sum_^\infty a_n \left(x - c\right)^n = a_0 + a_1 (x - c) + a_2 (x - c)^2 + \dots
where ''a_n'' represents the coefficient of the ''n''th term and ''c'' is a co ...
.
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
coefficient
In mathematics, a coefficient is a Factor (arithmetic), multiplicative factor involved in some Summand, term of a polynomial, a series (mathematics), series, or any other type of expression (mathematics), expression. It may be a Dimensionless qu ...
s. Such polynomials often arise in a
quadratic equation
In mathematics, a quadratic equation () is an equation that can be rearranged in standard form as
ax^2 + bx + c = 0\,,
where the variable (mathematics), variable represents an unknown number, and , , and represent known numbers, where . (If and ...
The solutions to this equation are called the
roots
A root is the part of a plant, generally underground, that anchors the plant body, and absorbs and stores water and nutrients.
Root or roots may also refer to:
Art, entertainment, and media
* ''The Root'' (magazine), an online magazine focusin ...
and can be expressed in terms of the coefficients as the
quadratic formula
In elementary algebra, the quadratic formula is a closed-form expression describing the solutions of a quadratic equation. Other ways of solving quadratic equations, such as completing the square, yield the same solutions.
Given a general quadr ...
. Each quadratic polynomial has an associated quadratic function, whose
graph is a
parabola
In mathematics, a parabola is a plane curve which is Reflection symmetry, mirror-symmetrical and is approximately U-shaped. It fits several superficially different Mathematics, mathematical descriptions, which can all be proved to define exactl ...
.
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 section
A conic section, conic or a quadratic curve is a curve obtained from a cone's surface intersecting a plane. The three types of conic section are the hyperbola, the parabola, and the ellipse; the circle is a special case of the ellipse, tho ...
s, as the
implicit equation
In mathematics, an implicit equation is a relation of the form R(x_1, \dots, x_n) = 0, where is a function of several variables (often a polynomial). For example, the implicit equation of the unit circle is x^2 + y^2 - 1 = 0.
An implicit func ...
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 t ...
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
In elementary algebra, the quadratic formula is a closed-form expression describing the solutions of a quadratic equation. Other ways of solving quadratic equations, such as completing the square, yield the same solutions.
Given a general quadr ...
to determine the two roots and . To convert the standard form to vertex form, one needs a process called
completing the square
In elementary algebra, completing the square is a technique for converting a quadratic polynomial of the form to the form for some values of and . In terms of a new quantity , this expression is a quadratic polynomial with no linear term. By s ...
. 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
In mathematics, a parabola is a plane curve which is Reflection symmetry, mirror-symmetrical and is approximately U-shaped. It fits several superficially different Mathematics, mathematical descriptions, which can all be proved to define exactl ...
(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 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 generalizations of arithmetic operations.
Originally called infinitesimal calculus or "the ...
, 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 is a fundamental tool that quantifies the sensitivity to change of a function's output with respect to its input. The derivative of a function of a single variable at a chosen input value, when it exists, is t ...
:
:
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
A root is the part of a plant, generally underground, that anchors the plant body, and absorbs and stores water and nutrients.
Root or roots may also refer to:
Art, entertainment, and media
* ''The Root'' (magazine), an online magazine focusin ...
(or ''zeros''), and , of the univariate quadratic function
:
are the values of for which .
When the
coefficient
In mathematics, a coefficient is a Factor (arithmetic), multiplicative factor involved in some Summand, term of a polynomial, a series (mathematics), series, or any other type of expression (mathematics), expression. It may be a Dimensionless qu ...
s , , and , are
real or
complex
Complex commonly refers to:
* Complexity, the behaviour of a system whose components interact in multiple ways so possible interactions are difficult to describe
** Complex system, a system composed of many components which may interact with each ...
, 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 summation, sum to the larger of the two quantities. Expressed algebraically, for quantities and with , is in a golden ratio to if
\fr ...
The square root of a univariate quadratic function
The
square root
In mathematics, a square root of a number is a number such that y^2 = x; in other words, a number whose ''square'' (the result of multiplying the number by itself, or y \cdot y) is . For example, 4 and −4 are square roots of 16 because 4 ...
of a univariate quadratic function gives rise to one of the four conic sections,
almost always either to an
ellipse
In mathematics, an ellipse is a plane curve surrounding two focus (geometry), focal points, such that for all points on the curve, the sum of the two distances to the focal points is a constant. It generalizes a circle, which is the special ty ...
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
In mathematical analysis, the maximum and minimum of a function (mathematics), function are, respectively, the greatest and least value taken by the function. Known generically as extremum, they may be defined either within a given Interval (ma ...
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
:
with parameter 2<''r''<4 can be solved in certain cases, one of which is
chaotic 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
. Since
for any value of
other than the unstable fixed point 0, the term
goes to 0 as ''n'' goes to infinity, so
goes to the stable fixed point
Bivariate (two variable) quadratic function
A bivariate quadratic function is a second-degree polynomial of the form
:
where ''A, B, C, D'', and ''E'' are fixed
coefficient
In mathematics, a coefficient is a Factor (arithmetic), multiplicative factor involved in some Summand, term of a polynomial, a series (mathematics), series, or any other type of expression (mathematics), expression. It may be a Dimensionless qu ...
s and ''F'' is the constant term.
Such a function describes a quadratic Surface (mathematics), surface. Setting
equal to zero describes the intersection of the surface with the plane
which is a
locus of points equivalent to a
conic section
A conic section, conic or a quadratic curve is a curve obtained from a cone's surface intersecting a plane. The three types of conic section are the hyperbola, the parabola, and the ellipse; the circle is a special case of the ellipse, tho ...
.
Minimum/maximum
If
the function has no maximum or minimum; its graph forms a hyperbolic
paraboloid
In geometry, a paraboloid is a quadric surface that has exactly one axial symmetry, axis of symmetry and no central symmetry, center of symmetry. The term "paraboloid" is derived from parabola, which refers to a conic section that has a similar p ...
.
If
the function has a minimum if both and , and a maximum if both and ; its graph forms an elliptic paraboloid. In this case the minimum or maximum occurs at
where:
:
:
If
and
the function has no maximum or minimum; its graph forms a parabolic
cylinder.
If
and
the function achieves the maximum/minimum at a line—a minimum if ''A''>0 and a maximum if ''A''<0; its graph forms a parabolic cylinder.
See also
*
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 t ...
*
Quadratic equation
In mathematics, a quadratic equation () is an equation that can be rearranged in standard form as
ax^2 + bx + c = 0\,,
where the variable (mathematics), variable represents an unknown number, and , , and represent known numbers, where . (If and ...
*
Matrix representation of conic sections
*
Quadric
*
Periodic points of complex quadratic mappings
*
List of mathematical functions
References
*
*
{{DEFAULTSORT:Quadratic Function
Polynomial functions
Parabolas