Skip to main content

Quadratic Functions

A quadratic function is a polynomial with a degree of 22. These functions are useful because they allow us to model problems like area and projectile motion among other things.

Characteristics

The graph of a quadratic function is a U-shaped curve which is called a parabola. An important feature due to this is that every parabola has an extreme point called the vertex. If the parabola opens up, then the vertex represents the minimum value of the function. On the other hand, if the parabola opens down, then the vertex represents the maximum value of the function. Regardless of the case, the vertex is always the turning point of the graph meaning it changes direction from this point.

Another feature of the parabola is that if we draw a vertical line that intersect the vertex then the parabola is symmetrical on both sides of the line. We call this vertical line the axis of symmetry.

Characteristics of a Parabola
Fig. 1 - Characteristics of a Parabola

Finally, the y-intercept is the point where the parabola crosses the yy-axis which can be found by substituting all xx values for 00. On the other hand, the x-intercepts are the points at which the parabola crosses the xx-axis. If they exist, we call the x-intercepts the zeros or roots of the quadratic function and can be found by substituting y=0y = 0 and then solving for xx. Unlike a linear function that has one xx-intercept, a parabola can have up to 22 roots.

Example\underline{Example}

Find the xx and yy intercepts of f(x)=x25x+6f(x) = x^2 - 5x + 6.

f(x)=(0)25(0)6=00+6=6f(x) = (0)^2 - 5(0) - 6 = 0 - 0 + 6 = 6

0=x25x+60 = x^2 - 5x + 6

0=x23x2x+60 = x^2 - 3x - 2x + 6

0=x(x3)2(x3)0 = x(x - 3) - 2(x - 3)

0=(x2)(x3)0 = (x - 2)(x - 3)

x=2,3x = 2, 3

The xx-intercepts are (2,0)(2, 0) and (3,0)(3, 0). The yy-intercept is (0,6)(0, 6).

note

If aa is positive then the vertex is the minimum of the function. On the other hand, if aa is negative then the vertex is the maximum of the function.

Graphing

The general form of a quadratic function is f(x)=ax2+bx+cf(x) = ax^2 + bx + c where aa, bb, and cc are real numbers and a0a \neq 0. To graph a quadratic function we need to evaluate the following components using the general form...

  1. Axis of Symmetry: It is equivalent to the function x=b2ax = -\frac{b}{2a}.
  2. Vertex: It is the point (b2a,f(b2a))(-\frac{b}{2a}, f(-\frac{b}{2a})).
  3. Zeros: It can be found using x=b±b24ac2ax = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a} which is the quadratic formula. Note that if there are two zeros, then x=b2ax = -\frac{b}{2a} is halfway between the two zeros.
  4. Direction: If a>0a > 0 then the parabola opens upwards and if a<0a < 0 then the parabola opens downwards.

We can start by plotting the axis of symmetry using a dashed line. After this we plot the vertex and zeros onto the graph. Finally, we connect the points in the direction of the parabola. The resulting graph should be symmetrical about the axis of symmetry.

Example\underline{Example}

Graph the function f(x)=x25x+6f(x) = x^2 - 5x + 6.

From the previous example we know that the xx intercepts are (2,0)(2, 0) and (3,0)(3, 0).

The axis of symmetry is x=b2a=52(1)=52x = -\frac{b}{2a} = -\frac{-5}{2(1)} = \frac{5}{2}

To find the vertex, we need to find f(52)f(\frac{5}{2}).

f(52)=(52)25(52)+6f(\frac{5}{2}) = (\frac{5}{2})^2 - 5(\frac{5}{2}) + 6

f(52)=(254)(252)+6f(\frac{5}{2}) = (\frac{25}{4}) - (\frac{25}{2}) + 6

f(52)=254504+244f(\frac{5}{2}) = \frac{25}{4} - \frac{50}{4} + \frac{24}{4}

f(52)=14f(\frac{5}{2}) = -\frac{1}{4}

The vertex is (52,14)(\frac{5}{2}, -\frac{1}{4}).

Finally, the graph opens upwards because a>0a > 0. With all this information, we get the graph...

Graph of f(x)
Fig. 2 - Graph of f(x)

Standard Form

The standard form of a quadratic function is f(x)=a(xh)2+kf(x) = a(x - h)^2 + k where (h,k)(h, k) is the vertex. To graph this function, we can use the vertex, axis of symmetry (x=hx = h), zeros, and direction like before. We can also graph using transformations on f(x)=x2f(x) = x^2 where we shift hh units horizontally and kk units vertically. Next, we vertically stretch or compress aa units. Finally, we reflect about the xx-axis if aa is negative.

Also note that we can interchange between the standard form and the general form because they are equivalent. An example of this is...

Example\underline{{Example}}

f(x)=x25x+6f(x) = x^2 - 5x + 6

f(x)=x25x+254254+6f(x) = x^2 - 5x + \frac{25}{4} - \frac{25}{4} + 6 which is found doing the perfect square on ax2+bxax^2 + bx.

f(x)=(x52)2254+244f(x) = (x - \frac{5}{2})^2 - \frac{25}{4} + \frac{24}{4}

f(x)=(x52)214f(x) = (x - \frac{5}{2})^2 -\frac{1}{4}

We could do this in reverse by expanding the vertex form.

Domain and Range

The domain of any quadratic function is all real numbers unless the function presents restrictions in some way.

Let the quadratic function be in general form: f(x)=ax2+bx+cf(x) = ax^2 + bx + c. If aa is positive then the range is f(x)f(b2a)f(x) \geq f(-\frac{b}{2a}) or [f(b2a),)[f(-\frac{b}{2a}), \infty). If aa is negative then the range is f(x)f(b2a)f(x) \leq f(-\frac{b}{2a}) or (,f(b2a)](-\infty, f(-\frac{b}{2a})].

Let the quadratic function be in standard form: f(x)=a(xh)2+kf(x) = a(x - h)^2 + k. If aa is positive then the range is f(x)kf(x) \geq k or [k,)[k, \infty). If aa is negative then the range is f(x)kf(x) \leq k or (,k](-\infty, k].