Quadratic function

Last updated

In mathematics, a quadratic polynomial is a polynomial of degree two in one or more variables. A quadratic function is the polynomial function defined by a quadratic polynomial. Before the 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".

Contents

A quadratic polynomial with two real roots (crossings of the x axis) and hence no complex roots. Some other quadratic polynomials have their minimum above the x axis, in which case there are no real roots and two complex roots. Polynomialdeg2.svg
A quadratic polynomial with two real roots (crossings of the x axis) and hence no complex roots. Some other quadratic polynomials have their minimum above the x axis, in which case there are no real roots and two complex roots.

For example, a univariate (single-variable) quadratic function has the form [1]

where x is its variable. The graph of a univariate quadratic function is a parabola, a curve that has an axis of symmetry parallel to the y-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 x and y has the form

with at least one of a, b, c 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 or other ellipse, a parabola, or a hyperbola).

A quadratic function in three variables x, y, and z contains exclusively terms x2, y2, z2, xy, xz, yz, x, y, z, and a constant:

where at least one of the coefficients a, b, c, d, e, f 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 word quadrātum ("square"). A term raised to the second power like x2 is called a square in algebra because it is the area of a square with side x.

Terminology

Coefficients

The coefficients of a quadratic function are often taken to be real or complex numbers, but they may be taken in any ring, in which case the domain and the codomain 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" 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 x and y are the variables and a, b, c, d, e, f are the coefficients, and one of a, b and c 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 forms.

Forms of a univariate quadratic function

A univariate quadratic function can be expressed in three formats: [2]

The coefficient a 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 r1 and r2. 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

f
(
x
)
=
a
x
2
|
a
=
{
0.1
,
0.3
,
1
,
3
}
{\displaystyle f(x)=ax^{2}|_{a=\{0.1,0.3,1,3\}}} Function ax^2.svg
f
(
x
)
=
x
2
+
b
x
|
b
=
{
1
,
2
,
3
,
4
}
{\displaystyle f(x)=x^{2}+bx|_{b=\{1,2,3,4\}}} Function x^2+bx.svg
f
(
x
)
=
x
2
+
b
x
|
b
=
{
-
1
,
-
2
,
-
3
,
-
4
}
{\displaystyle f(x)=x^{2}+bx|_{b=\{-1,-2,-3,-4\}}} Function x^2-bx.svg

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 .

The coefficient a controls the degree of curvature of the graph; a larger magnitude of a gives the graph a more closed (sharply curved) appearance.

The coefficients b and a together control the location of the axis of symmetry of the parabola (also the x-coordinate of the vertex and the h parameter in the vertex form) which is at

The coefficient c controls the height of the parabola; more specifically, it is the height of the parabola where it intercepts the y-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 (h, k). Using the method of completing the square, one can turn the standard form

into

so the vertex, (h, k), of the parabola in standard form is

[ citation needed ]

If the quadratic function is in factored form

the average of the two roots, i.e.,

is the x-coordinate of the vertex, and hence the vertex (h, k) is

The vertex is also the maximum point if a< 0, or the minimum point if a> 0.

The vertical line

that passes through the vertex is also the axis of symmetry of the parabola.

Maximum and minimum points

Using calculus, the vertex point, being a maximum or minimum of the function, can be obtained by finding the roots of the derivative:

x is a root of f '(x) if f '(x) = 0 resulting in

with the corresponding function value

so again the vertex point coordinates, (h, k), can be expressed as

Roots of the univariate function

Graph of y = ax + bx + c, where a and the discriminant b - 4ac are positive, with
Roots and y-intercept in red
Vertex and axis of symmetry in blue
Focus and directrix in pink Quadratic function graph key values.svg
Graph of y = ax + bx + c, where a and the discriminant b − 4ac are positive, with
  • Roots and y-intercept in red
  • Vertex and axis of symmetry in blue
  • Focus and directrix in pink
Visualisation of the complex roots of y = ax + bx + c: the parabola is rotated 180deg about its vertex (orange). Its x-intercepts are rotated 90deg around their mid-point, and the Cartesian plane is interpreted as the complex plane (green). Quadratic function graph complex roots.svg
Visualisation of the complex roots of y = ax + bx + c: the parabola is rotated 180° about its vertex (orange). Its x-intercepts are rotated 90° around their mid-point, and the Cartesian plane is interpreted as the complex plane (green).

Exact roots

The roots (or zeros), r1 and r2, of the univariate quadratic function

are the values of x for which f(x) = 0.

When the coefficients a, b, and c, 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 [4]

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 nth 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 coefficients and F is the constant term. Such a function describes a quadratic 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.

Minimum/maximum

If the function has no maximum or minimum; its graph forms a hyperbolic paraboloid.

If the function has a minimum if both A > 0 and B > 0, and a maximum if both A < 0 and B < 0; 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

Related Research Articles

<span class="mw-page-title-main">Diophantine equation</span> Polynomial equation whose integer solutions are sought

In mathematics, a Diophantine equation is an equation, typically a polynomial equation in two or more unknowns with integer coefficients, for which only integer solutions are of interest. A linear Diophantine equation equates to a constant the sum of two or more monomials, each of degree one. An exponential Diophantine equation is one in which unknowns can appear in exponents.

In mathematics, an equation is a mathematical formula that expresses the equality of two expressions, by connecting them with the equals sign =. The word equation and its cognates in other languages may have subtly different meanings; for example, in French an équation is defined as containing one or more variables, while in English, any well-formed formula consisting of two expressions related with an equals sign is an equation.

In mathematics, a polynomial is a mathematical expression consisting of indeterminates and coefficients, that involves only the operations of addition, subtraction, multiplication, and positive-integer powers of variables. An example of a polynomial of a single indeterminate x is x2 − 4x + 7. An example with three indeterminates is x3 + 2xyz2yz + 1.

<span class="mw-page-title-main">Parabola</span> Plane curve: conic section

In mathematics, a parabola is a plane curve which is mirror-symmetrical and is approximately U-shaped. It fits several superficially different mathematical descriptions, which can all be proved to define exactly the same curves.

In mathematics, a quadratic equation is an equation that can be rearranged in standard form as

In mathematics, the discriminant of a polynomial is a quantity that depends on the coefficients and allows deducing some properties of the roots without computing them. More precisely, it is a polynomial function of the coefficients of the original polynomial. The discriminant is widely used in polynomial factoring, number theory, and algebraic geometry.

<span class="mw-page-title-main">Quadratic formula</span> Formula that provides the solutions to a quadratic equation

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.

<span class="mw-page-title-main">Factorization</span> (Mathematical) decomposition into a product

In mathematics, factorization (or factorisation, see English spelling differences) or factoring consists of writing a number or another mathematical object as a product of several factors, usually smaller or simpler objects of the same kind. For example, 3 × 5 is an integer factorization of 15, and (x – 2)(x + 2) is a polynomial factorization of x2 – 4.

<span class="mw-page-title-main">Cubic equation</span> Polynomial equation of degree 3

In algebra, a cubic equation in one variable is an equation of the form

<span class="mw-page-title-main">Cubic function</span> Polynomial function of degree 3

In mathematics, a cubic function is a function of the form that is, a polynomial function of degree three. In many texts, the coefficientsa, b, c, and d are supposed to be real numbers, and the function is considered as a real function that maps real numbers to real numbers or as a complex function that maps complex numbers to complex numbers. In other cases, the coefficients may be complex numbers, and the function is a complex function that has the set of the complex numbers as its codomain, even when the domain is restricted to the real numbers.

In mathematics, a quadratic form is a polynomial with terms all of degree two. For example,

<span class="mw-page-title-main">Quartic equation</span> Polynomial equation

In mathematics, a quartic equation is one which can be expressed as a quartic function equaling zero. The general form of a quartic equation is

<span class="mw-page-title-main">Quintic function</span> Polynomial function of degree 5

In mathematics, a quintic function is a function of the form

<span class="mw-page-title-main">Completing the square</span> Method for solving quadratic equations

In elementary algebra, completing the square is a technique for converting a quadratic polynomial of the form

<span class="mw-page-title-main">Quartic function</span> Polynomial function of degree four

In algebra, a quartic function is a function of the form

In mathematics, a linear differential equation is a differential equation that is defined by a linear polynomial in the unknown function and its derivatives, that is an equation of the form

In mathematics, an algebraic equation or polynomial equation is an equation of the form , where P is a polynomial with coefficients in some field, often the field of the rational numbers. For example, is an algebraic equation with integer coefficients and

<span class="mw-page-title-main">Trinomial</span> Polynomial that has three terms

In elementary algebra, a trinomial is a polynomial consisting of three terms or monomials.

In mathematics, a variable is a symbol that represents a mathematical object. A variable may represent a number, a vector, a matrix, a function, the argument of a function, a set, or an element of a set.

In mathematics, the characteristic equation (or auxiliary equation) is an algebraic equation of degree n upon which depends the solution of a given nth-order differential equation or difference equation. The characteristic equation can only be formed when the differential or difference equation is linear and homogeneous, and has constant coefficients. Such a differential equation, with y as the dependent variable, superscript (n) denoting nth-derivative, and an, an − 1, ..., a1, a0 as constants,

References

  1. Weisstein, Eric Wolfgang. "Quadratic Equation". MathWorld . Archived from the original on 2020-03-12. Retrieved 2013-01-06.
  2. Hughes Hallett, Deborah J.; Connally, Eric; McCallum, William George (2007). College Algebra. John Wiley & Sons Inc. p. 205. ISBN   9780471271758.
  3. "Complex Roots Made Visible – Math Fun Facts" . Retrieved 1 October 2016.
  4. Lord, Nick (2007-11-01). "Golden Bounds for the Roots of Quadratic Equations". The Mathematical Gazette . 91 (522): 549 via JSTOR.