Quadratic function

From Wikipedia, the free encyclopedia - View original article

Jump to: navigation, search
x^2 - x - 2\!

A quadratic function, in mathematics, is a polynomial function of the form

f(x)=ax^2+bx+c,\quad a \ne 0.[1]

The graph of a quadratic function is a parabola whose axis of symmetry is parallel to the y-axis.

The expression ax2 + bx + c in the definition of a quadratic function is a polynomial of degree 2, or a 2nd degree polynomial, because the highest exponent of x is 2. This expression is also called a quadratic polynomial or quadratic.

If the quadratic function is set equal to zero, then the result is a quadratic equation. The solutions to the equation are called the roots of the equation.

Origin of word[edit]

The adjective quadratic comes from the Latin word quadrātum ("square"). A term like x2 is called a square in algebra because it is the area of a square with side x.

In general, a prefix quadr(i)- indicates the number 4. Examples are quadrilateral and quadrant. Quadratum is the Latin word for square because a square has four sides.


The roots (zeros) of the quadratic function

f(x) = ax^2+bx+c\,

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

When the coefficients a, b, and c, are real or complex, the roots are

x=\frac{-b \pm \sqrt{\Delta}}{2 a},

where the discriminant is defined as

\Delta = b^2 - 4 a c \, .

Forms of a quadratic function[edit]

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

To convert the standard form to factored form, one needs only the quadratic formula to determine the two roots x1 and x2. 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.


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

Regardless of the format, the graph of a quadratic function is a parabola (as shown above).

The coefficient a controls the speed of increase (or decrease) of the quadratic function from the vertex, bigger positive a makes the function increase faster and the graph appear more closed.

The coefficients b and a together control the axis of symmetry of the parabola (also the x-coordinate of the vertex) which is at x = -\frac{b}{2a}.

The coefficient b alone is the declivity of the parabola as y-axis intercepts.

The coefficient c controls the height of the parabola, more specifically, it is the point where the parabola intercept the y-axis.


The vertex of a parabola is the place where it turns, hence, it's also called the turning point. If the quadratic function is in vertex form, the vertex is (h, k). By the method of completing the square, one can turn the general form

f(x) = a x^2 + b x + c \,\!


 f(x) = a\left(x + \frac{b}{2a}\right)^2 - \frac{b^2-4ac}{4 a} ,

so the vertex of the parabola in the vertex form is

 \left(-\frac{b}{2a}, -\frac{\Delta}{4 a}\right).

If the quadratic function is in factored form

f(x) = a(x - r_1)(x - r_2) \,\!

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

\frac{r_1 + r_2}{2} \,\!

is the x-coordinate of the vertex, and hence the vertex is

 \left(\frac{r_1 + r_2}{2}, f\left(\frac{r_1 + r_2}{2}\right)\right).\!

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[edit]

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

f(x)=ax^2+bx+c \quad \Rightarrow \quad f'(x)=2ax+b \,\!,



with the corresponding function value

f(x) = a \left (-\frac{b}{2a} \right)^2+b \left (-\frac{b}{2a} \right)+c = -\frac{(b^2-4ac)}{4a} = -\frac{\Delta}{4a} \,\!,

so again the vertex point coordinates can be expressed as

 \left (-\frac {b}{2a}, -\frac {\Delta}{4a} \right).

The square root of a quadratic function[edit]

The square root of a quadratic function gives rise to one of the four conic sections, almost always either to an ellipse or to a hyperbola. If a>0\,\! then the equation  y = \pm \sqrt{a x^2 + b x + c} describes a hyperbola. The axis of the hyperbola is determined by the ordinate of the minimum point of the corresponding parabola  y_p = a x^2 + b x + 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  y = \pm \sqrt{a x^2 + b x + c} describes either an ellipse or nothing at all. If the ordinate of the maximum point of the corresponding parabola  y_p = a x^2 + b x + c \,\! is positive, then its square root describes an ellipse, but if the ordinate is negative then it describes an empty locus of points.


Given an f(x)=ax^2+bx+c, one cannot always deduce the analytic form of f^{(n)}(x), which means the nth iteration of f(x). (The superscript can be extended to negative number referring to the iteration of the inverse of f(x) if the inverse exists.) But there is one easier case, in which f(x)=a(x-x_0)^2+x_0.

In such case, one has



g(x)=ax^2\,\! and h(x)=x-x_0\,\!.

So by induction,


can be obtained, where g^{(n)}(x) can be easily computed as


Finally, we have


in the case of f(x)=a(x-x_0)^2+x_0.

See Topological conjugacy for more detail about such relationship between f and g. And see Complex quadratic polynomial for the chaotic behavior in the general iteration.

Bivariate (two variable) quadratic function[edit]

A bivariate quadratic function is a second-degree polynomial of the form

 f(x,y) = A x^2 + B y^2 + C x + D y + E x y + 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.


If  4AB-E^2 <0 \, the function has no maximum or minimum, its graph forms an hyperbolic paraboloid.

If  4AB-E^2 >0 \, the function has a minimum if A>0, and a maximum if A<0, its graph forms an elliptic paraboloid.

The minimum or maximum of a bivariate quadratic function is obtained at  (x_m, y_m) \, where:

x_m = -\frac{2BC-DE}{4AB-E^2}
y_m = -\frac{2AD-CE}{4AB-E^2}

If  4AB- E^2 =0 \, and  DE-2CB=2AD-CE \ne 0 \, the function has no maximum or minimum, its graph forms a parabolic cylinder.

If  4AB- E^2 =0 \, and  DE-2CB=2AD-CE =0 \, the function achieves the maximum/minimum at a line. Similarly, a minimum if A>0 and a maximum if A<0, its graph forms a parabolic cylinder.

Quadratic polynomial[edit]

In mathematics, a quadratic polynomial or quadratic is a polynomial of degree two, also called second-order polynomial. That means the exponents of the polynomial's variables are no larger than 2. For example, x^2 - 4x + 7 is a quadratic polynomial, while x^3 - 4x + 7 is not.


The coefficients of a polynomial are often taken to be real or complex numbers, but in fact, a polynomial may be defined over any ring.


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.


A quadratic polynomial may involve a single variable x, or multiple variables such as x, y, and z.

The one-variable case[edit]

Any single-variable quadratic polynomial may be written as

ax^2 + bx + c,\,\!

where x is the variable, and a, b, and c represent the coefficients. In elementary algebra, such polynomials often arise in the form of a quadratic equation ax^2 + bx + c = 0. The solutions to this equation are called the roots of the quadratic polynomial, and may be found through factorization, completing the square, graphing, Newton's method, or through the use of the quadratic formula. Each quadratic polynomial has an associated quadratic function, whose graph is a parabola.

If the polynomial is a polynomial in one variable, it determines a quadratic function in one variable. An example is given by f(x) = x2 + x − 2;. The graph of such a function is a parabola (in degenerate cases a line), and its zeroes can be found by solving the quadratic equation f(x) = 0.

There are three main forms :

Two variables case[edit]

Any quadratic polynomial with two variables may be written as

ax^2 + bxy + cy^2 + dx + ey + f,\,\!

where x and y are the variables and a, b, c, d, e, and f are the coefficients. Such polynomials are fundamental to the study of conic sections. Similarly, quadratic polynomials with three or more variables correspond to quadric surfaces and hypersurfaces. In linear algebra, quadratic polynomials can be generalized to the notion of a quadratic form on a vector space.

N variables case[edit]

In the general case, a quadratic polynomial in n variables x1, ..., xn can be written in the form

 \sum_{i, j = 1}^{n} Q_{i,j}  x_i  x_j + \sum_{i = 1}^{n} P_i  x_i + R

where Q is a symmetric n-dimensional matrix, P is an n-dimensional vector, and R a constant.

See also[edit]


  1. ^ "Quadratic Equation -- from Wolfram MathWorld". Retrieved January 6, 2013. 
  2. ^ Hughes-Hallett, Deborah; Connally, Eric; McCallum, William G. (2007), College Algebra, John Wiley & Sons Inc, p. 205, ISBN 9780471271758 , Search result

External links[edit]