Quadratic function

From Calculus

Definition

A quadratic function is a function of the form:

xax2+bx+c

where a,b,c are real numbers and a0. In other words, a quadratic function is a polynomial function of degree two.

Unless otherwise specified, we consider quadratic functions where the inputs, outputs, and coefficients are all real numbers.

Key data

Item Value
Default domain all real numbers, i.e., all of R
range Case a>0: [cb24a,)
Case a<0: (,cb24a]
period not a periodic function
local maximum value and points of attainment Case a>0: No local maximum value
Case a<0: local maximum value cb24a is attained at point b2a.
local minimum value and points of attainment Case a>0: local maximum value cb24a is attained at point b2a.
Case a<0: no local maximum value
points of inflection None
derivative The linear function x2ax+b
second derivative The constant function with constant value 2a
nth derivative The first and second derivative are as described above. All higher derivatives are zero.
antiderivative a3x3+b2x2+cx+C with CR.
important symmetry The graph of the function has mirror symmetry about the line x=b/2a (the vertical line through the unique critical point)
interval description based on increase/decrease and concave up/down Case a<0:
increasing and concave down on (,b2a]
decreasing and concave down on [b2a,)
Case a>0:
decreasing and concave up on (,b2a]
increasing and concave up on [b2a,)
power series and Taylor series The power series is the same as the polynomial, i.e., the power series about any point simplifies to the polynomial ax2+bx+c (written in increasing order of powers of x as c+bx+ax2)

Key invariants

Expression Name Significance in the case a,b,cR
b24ac (unnormalized) discriminant The discriminant is positive (i.e., b24ac>0) iff the quadratic has two distinct real roots
The discriminant is zero (i.e., b24ac=0) iff the quadratic has a real root of multiplicity two
The discriminant is negative (i.e., b24ac<0) iff the quadratic has no real roots
a leading coefficient Leading coefficient is positive (i.e., a>0) iff that the function approaches infinity as x and as xinfty
Leading coefficient is negative (i.e., a<0) iff that the function approaches infinity as x and as xinfty
b/a sum of roots If the roots are α,β (counted with multiplicity, and they need not be real roots), then the polynomial is a(xα)(xβ) and the sum of roots α+β is b/a.
c/a product of rots If the roots are α,β (counted with multiplicity, and they need not be real roots), then the polynomial is a(xα)(xβ) and the product of roots αβ is c/a.
b2/(4a2)c/a normalized discriminant Similar observations as for the discriminant.

Transformation

Any quadratic function can be expressed as a composite of a linear function, the square function, and another linear function. Explicitly, we can write:

ax2+bx+c=a(x(b2a))2+(cb24a)

In other words, it is a composite of three functions:

  • xx(fracb2a)
  • xx2
  • xax+(cb24a)

Differentiation

First derivative

Computation as a linear combination of monomials

We can differentiate the polynomial termwise, using the fact that it is a linear combination of monomials:

ddx(ax2+bx+c)=addx(x2)+bddxx+cddx1

Now, using the rule for differentiation of power functions, namely d(xn)/dx=nxn1, we obtain:

ddx(ax2+bx+c)=a(2x)+b(1)=2ax+b

Computation using the transformed expression

We rewrote the polynomial as:

ax2+bx+c=a(x(b2a))2+(cb24a)

We differentiate:

ddx(ax2+bx+c)=addx(x(b2a))2+ddx(cb24a)

The second expression, being constant, differentiates to zero. The first expression is a composite of xxb2a and the square function. We can use the chain rule for differentiation to differentiate it. The answer we obtain is:

ddx(ax2+bx+c)=a[2(xb2a)]

Simplifying this, we get:

ddx(ax2+bx+c)=2ax+b

Second derivative

Computation as a linear combination of monomials

We can differentiate the polynomial termwise, using the fact that it is a linear combination of monomials:

d2dx2(ax2+bx+c)=ad2dx2(x2)+bd2dx2x+cd2dx21

Now, using the rule for differentiation of power functions, namely d2(xn)/dx2=n(n1)xn2, we obtain:

d2dx2(ax2+bx+c)=2a+0+0=2a

Computation using the transformed expression

We rewrote the polynomial as:

ax2+bx+c=a(x(b2a))2+(cb24a)

We differentiate:

d2dx2(ax2+bx+c)=ad2dx2(x(b2a))2+d2dx2(cb24a)

We get the answer:

d2dx2(ax2+bx+c)=2a