Polynomial functions: constant, affine and quadratic

A polynomial function is a function whose analytic expression is given by a polynomial: f(x)=anxn+an1xn1++a1x+a0 with nN{0}, an,an1,,a1,,a0R and an0 if n0.

Since the polynomials can be evaluated in any real number, we have that the domain of the polynomial functions is R, that is Dom(f)=R.

The image of this type of functions is not always clear:

  • Polynomials of odd degree: This is the simplest case since Im(f)=R.
  • Polynomial of even degree: The image will depend on the coefficients of the polynomial, which will determine its orientation and its relative extrema. In the case n=2, which we will call quadratic functions, it is enough to know the vertex of the parabola and to take into account the sign of the first coefficient.

Constant function: f(x)=k

This is a polynomial of degree 0. Its graph is a horizontal straight line that goes along the point where y=k (and therefore Im(f)=k).

Example

An example of constant function is f(x)=1:

imagen

Affine function: f(x)=ax+b

In order to have a linear function we need a0. The degree of this function is 1. Its graph is a straight line that goes through the point (0,b) and its slope depends on the value of a.

In the particular case in which b=0, we will call it a linear function: f(x)=ax. This function is equivalent to the function of direct proportionality, where a is the proportionality constant.

In the particular case in which a=1, we obtain the identity function, that is, f(x)=x , whose graph is the 45 degree line.

Example

An example of affine function is f(x)=3x1.

imagen

Quadratic function:f(x)=ax2+bx+c

To be a quadratic function it is necessary to have a0. This is a function of second degree, whose graph is an shaped parabola if a>0, or an shaped parabola if a<0 (see the unit on convexity and concavity).

The vertex of the above mentioned parabola is (b2a,b24ac4a).

The intersection point with the vertical axis is c. The points cutting through the horizontal axis are the solutions to the equation of the second degree if they exist.

Example

An example of quadratic function is f(x)=x22x+1.

imagen