Quadratic Functions

A quadratic function is a polynomial of degree 2 which has the form

f(x)=ax2+bx+c

where x is an unknown and where a,b and c are constants with a0.

Quadratic Formula

The quadratic formula provides the solutions to a quadratic equation. ax2+bx+c=0 where a0. That is, the quadratic equation has two solutions:

x=b±b24ac2a

This formula indicates that can be factored into as below:

ax2+bx+c=a(xb+b24ac2a)(xbb24ac2a)=0

The geometric interpretation is that y=ax2+bx+c intersects with x-axis at (bb24ac2a,0) and (b+b24ac2a,0) if b24ac0.

α=(bb24ac2a,0), β=(b+b24ac2a,0)

The number of solutions

DiscriminantIntersections of
y=ax2+bx+c and x axis
Solutions of ax2+bx+c=0
Example 1b24ac>0two intersectionsDistinct two solutions:
x=bb24ac2a,b+b24ac2a
Example 2b24ac=0one intersectionRepeated root:
x=b2a
Example 3b24ac<0no intersectionNone in real numbers:
x=b(4acb2) i2a,b+(4acb2) i2a
Example 1

Example 2
Example 3

Graphs

The shape of y=ax2+bx+c is called parabola and the leading coefficient, a , determine the parabola opens upward or downward.

As shown in Fig, if a is positive, the parabola opens upward, and if a is negative, the parabola opens downward.

y=ax2+bx+c can be rewrite as

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

and this will tell us the vertex and the vertical line of symmetry.

x-intercepts(bb24ac2a,0) and (b+b24ac2a,0)
y-intercept(0,c)
Vertex(b2a,b24ac4a)
Line of Symmetryx=b2a

Notice that not all quadratic function have intercepts, but only quadratic functions whose discriminants is D0 have two intercepts or one intercept.

Furthermore, the graph of y=ax2+bx+c is given by shifting the graph y=ax2 horizontally b2a and vertically b24ac4a.


Inequality

Let α and β be the solutions to ax2+bx+c=0. Then α and β are the intersections of y=ax2+bx+c and x axis, the solutions to inequality are given as below:

a>0Solutions
ax2+bx+c>0x<α, β<x
ax2+bx+c<0.α<x<β
a<0Solutions
ax2+bx+c>0α<x<β
ax2+bx+c<0.x<α, β<x