Sketching Quadratic Functions

How to represent the important details of a quadratic curve

3-minute read
Made by ChickenFryBytes Studios
Table of Contents

When sketching the curve of a quadratic function, we need only to represent critical information about the curve:

  • The $y$ intercept, $(0,c)$ extracted from $ax^2+bx+c$
  • The $x$ intercepts a.k.a. the roots, found by solving the quadratic equation for $x$ when $y=0$
  • The turning point, $(-h,k)$ extracted from $a(x+h)^2+k$

NB: We are not drawing so we do not need to plot every point.

The nature of the roots

We use the discriminant, $b^2-4ac$ to determine the nature of the roots:

  • $b^2-4ac>0$: the curve will have $2$ real distinct roots. It will cut the $x$ axis at $2$ different points.
  • $b^2-4ac=0$: the curve will have $2$ real equal/repeated roots. It will cut the $x$ axis twice at the same point (appearing to touch the axis at a single point).
  • $b^2-4ac<0$: the curve will have $2$ complex roots. It will not cut the $x$ axis at all. This will appear as a smile that floats above the $x$ axis for minimum curves or a frown that floats below the $x$ axis for maximum curves.

Consider the curve $f(x)=x^2+5x+6$. The discriminant will be: $$ \begin{equation}\begin{aligned} b^2-4ac&=(5)^2-4(1)(6)\\ &=25-24\\ &=1\\ \end{aligned}\end{equation} $$

Because the curve has a positive, non-zero discriminant, we know that it, being a minimum curve, will look like a smile intersecting the $x$ axis at two different places.

Finding the roots

Recall that we have two ($2$) options to solve for the roots:

  • Trial and error ($ac$) method where $b$ (the coefficient of $x$) can be expressed as the sum of $2$ factors of $a$ and $c$
  • Quadratic formula when the previous method fails

In the case of the curve $f(x)=x^2+5x+6$, we equate to $0$ and factorize: $$ \begin{equation}\begin{aligned} &x^2+5x+6=0\\ &x^2+3x+2x+6=0\\ &(x^2+3x)+(2x+6)=0\\ &x(x+3)+2(x+3)=0\\ &(x+3)(x+2)=0\\ \end{aligned}\end{equation} $$

Using the zero factor property, we find the roots: $$ \begin{equation}\begin{aligned} x+3&=0\\ \therefore x&=-3\\ x+2&=0\\ \therefore x&=-2\\ \end{aligned}\end{equation} $$

The x-intercepts are thus located at $(-3,0)$ and $(-2,0)$. In summary, we have the information:

  • The $y$ intercept, $(0,6)$
  • The $x$ intercepts, $(-3,0)$ and $(-2,0)$
  • The turning point, $(\frac{-5}{2},\frac{-1}{4})$

If the domain is given as $x\in \mathbb{R}$, the sketch of the curve would look like:

Sketch-Quadratic-Curve-Unrestricted.png Diagram showing curve with unrestricted domain

When the domain is restricted

Consider the case where the domain is limited from $x\in \mathbb{R}$ down to just $a\le x\le b$. We will have to sketch the endpoints of the function as well: $(a,f(a))$ and $(b,f(b))$.

Reconsider the case of $f(x)=x^2+5x+6$ but now with a domain of $-5\le x\le 1$. The endpoints will have coordinates $(-5,f(-5))$ and $(1,f(1))$. The $y$ values will be: $$ \begin{equation}\begin{aligned} f(-5)&=(-5)^2+5(-5)+6\\ &=25-25+6\\ &=6\\ f(1)&=(1)^2+5(1)+6\\ &=1+5+6\\ &=12\\ \end{aligned}\end{equation} $$

Therefore, the points to be plotted are $(-5,6)$ and $(1,12)$. In summary, we plot the following points:

  • The $y$ intercept, $(0,6)$
  • The $x$ intercepts, $(-3,0)$ and $(-2,0)$
  • The turning point, $(\frac{-5}{2},\frac{-1}{4})$
  • The left endpoint, $(-5,6)$
  • The right endpoint, $(1,12)$

A sketch of the curve with these points will resemble the following:

Sketch-Quadratic-Curve.png Diagram showing curve with restricted domain

Created using natural intelligence

Like our content? Support us via Donations