6.4: Quadratic Functions and Their Graphs (2024)

  1. Last updated
  2. Save as PDF
  • Page ID
    6271
    • 6.4: Quadratic Functions and Their Graphs (1)
    • Anonymous
    • LibreTexts

    \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}}}\)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{#1}}} \)

    \( \newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\)

    ( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\id}{\mathrm{id}}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\kernel}{\mathrm{null}\,}\)

    \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\)

    \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\)

    \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    \( \newcommand{\vectorA}[1]{\vec{#1}} % arrow\)

    \( \newcommand{\vectorAt}[1]{\vec{\text{#1}}} % arrow\)

    \( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}}}\)

    \( \newcommand{\vectorC}[1]{\textbf{#1}}\)

    \( \newcommand{\vectorD}[1]{\overrightarrow{#1}}\)

    \( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}}\)

    \( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)

    \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}}}\)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{#1}}} \)

    \(\newcommand{\avec}{\mathbf a}\) \(\newcommand{\bvec}{\mathbf b}\) \(\newcommand{\cvec}{\mathbf c}\) \(\newcommand{\dvec}{\mathbf d}\) \(\newcommand{\dtil}{\widetilde{\mathbf d}}\) \(\newcommand{\evec}{\mathbf e}\) \(\newcommand{\fvec}{\mathbf f}\) \(\newcommand{\nvec}{\mathbf n}\) \(\newcommand{\pvec}{\mathbf p}\) \(\newcommand{\qvec}{\mathbf q}\) \(\newcommand{\svec}{\mathbf s}\) \(\newcommand{\tvec}{\mathbf t}\) \(\newcommand{\uvec}{\mathbf u}\) \(\newcommand{\vvec}{\mathbf v}\) \(\newcommand{\wvec}{\mathbf w}\) \(\newcommand{\xvec}{\mathbf x}\) \(\newcommand{\yvec}{\mathbf y}\) \(\newcommand{\zvec}{\mathbf z}\) \(\newcommand{\rvec}{\mathbf r}\) \(\newcommand{\mvec}{\mathbf m}\) \(\newcommand{\zerovec}{\mathbf 0}\) \(\newcommand{\onevec}{\mathbf 1}\) \(\newcommand{\real}{\mathbb R}\) \(\newcommand{\twovec}[2]{\left[\begin{array}{r}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\ctwovec}[2]{\left[\begin{array}{c}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\threevec}[3]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\cthreevec}[3]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\fourvec}[4]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\cfourvec}[4]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\fivevec}[5]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\cfivevec}[5]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\mattwo}[4]{\left[\begin{array}{rr}#1 \amp #2 \\ #3 \amp #4 \\ \end{array}\right]}\) \(\newcommand{\laspan}[1]{\text{Span}\{#1\}}\) \(\newcommand{\bcal}{\cal B}\) \(\newcommand{\ccal}{\cal C}\) \(\newcommand{\scal}{\cal S}\) \(\newcommand{\wcal}{\cal W}\) \(\newcommand{\ecal}{\cal E}\) \(\newcommand{\coords}[2]{\left\{#1\right\}_{#2}}\) \(\newcommand{\gray}[1]{\color{gray}{#1}}\) \(\newcommand{\lgray}[1]{\color{lightgray}{#1}}\) \(\newcommand{\rank}{\operatorname{rank}}\) \(\newcommand{\row}{\text{Row}}\) \(\newcommand{\col}{\text{Col}}\) \(\renewcommand{\row}{\text{Row}}\) \(\newcommand{\nul}{\text{Nul}}\) \(\newcommand{\var}{\text{Var}}\) \(\newcommand{\corr}{\text{corr}}\) \(\newcommand{\len}[1]{\left|#1\right|}\) \(\newcommand{\bbar}{\overline{\bvec}}\) \(\newcommand{\bhat}{\widehat{\bvec}}\) \(\newcommand{\bperp}{\bvec^\perp}\) \(\newcommand{\xhat}{\widehat{\xvec}}\) \(\newcommand{\vhat}{\widehat{\vvec}}\) \(\newcommand{\uhat}{\widehat{\uvec}}\) \(\newcommand{\what}{\widehat{\wvec}}\) \(\newcommand{\Sighat}{\widehat{\Sigma}}\) \(\newcommand{\lt}{<}\) \(\newcommand{\gt}{>}\) \(\newcommand{\amp}{&}\) \(\definecolor{fillinmathshade}{gray}{0.9}\)

    Learning Objectives

    • Graph a parabola.
    • Find the intercepts and vertex of a parabola.
    • Find the maximum and minimum \(y\)-value.
    • Find the vertex of a parabola by completing the square.

    The Graph of a Quadratic Function

    A quadratic function is a polynomial function of degree \(2\) which can be written in the general form,

    \(f(x)=a x^{2}+b x+c\)

    Here \(a, b\) and \(c\) represent real numbers where \(a ≠ 0\).The squaring function \(f (x) = x^{2}\) is a quadratic function whose graph follows.

    6.4: Quadratic Functions and Their Graphs (2)

    This general curved shape is called a parabola10 and is shared by the graphs of all quadratic functions. Note that the graph is indeed a function as it passes the vertical line test. Furthermore, the domain of this function consists of the set of all real numbers \((−∞, ∞)\) and the range consists of the set of nonnegative numbers \([0, ∞)\).

    When graphing parabolas, we want to include certain special points in the graph. The \(y\)-intercept is the point where the graph intersects the \(y\)-axis. The \(x\)-intercepts are the points where the graph intersects the \(x\)-axis. The vertex11 is the point that defines the minimum or maximum of the graph. Lastly, the line of symmetry12 (also called the axis of symmetry13) is the vertical line through the vertex, about which the parabola is symmetric.

    6.4: Quadratic Functions and Their Graphs (3)

    For any parabola, we will find the vertex and \(y\)-intercept. In addition, if the \(x\)-intercepts exist, then we will want to determine those as well. Guessing at the \(x\)-values of these special points is not practical; therefore, we will develop techniques that will facilitate finding them. Many of these techniques will be used extensively as we progress in our study of algebra.

    Given a quadratic function \(f (x) = ax^{2} + bx + c\), find the \(y\)-intercept by evaluating the function where \(x = 0\). In general, \(f (0) = a(0)^{2} + b (0) + c = c\), and we have

    \(\begin{array}{c}{\color{Cerulean}{y-intercept}} \\ {(0, c)}\end{array}\)

    Next, recall that the \(x\)-intercepts, if they exist, can be found by setting \(f (x) = 0\). Doing this, we have \(a^{2} + bx + c = 0\), which has general solutions given by the quadratic formula, \(\(x=\frac{-b \pm \sqrt{b^{2}-4 a c}}{2 a}\)\).Therefore, the \(x\)-intercepts have this general form:

    \(\color{Cerulean}{x-intercepts}\)

    \(\left(\frac{-b-\sqrt{b^{2}-4 a c}}{2 a}, 0\right)\) and \(\left(\frac{-b+\sqrt{b^{2}-4 a c}}{2 a}, 0\right)\)

    Using the fact that a parabola is symmetric, we can determine the vertical line of symmetry using the \(x\)-intercepts. To do this, we find the \(x\)-value midway between the \(x\)-intercepts by taking an average as follows:

    \(\begin{aligned} x &=\left(\frac{-b-\sqrt{b^{2}-4 a c}}{2 a}+\frac{-b+\sqrt{b^{2}-4 a c}}{2 a}\right) \div 2 \\ &=\left(\frac{-b-\cancel{\sqrt{b^{2}-4 a c}}-b+\cancel{\sqrt{b^{2}-4 a c}}}{2 a}\right) \div\left(\frac{2}{1}\right) \\ &=\frac{-2 b}{2 a} \cdot \frac{1}{2} \\ &=-\frac{b}{2 a} \end{aligned}\)

    Therefore, the line of symmetry is the vertical line \(x = −\frac{b}{2a}\). We can use the line of symmetry to find the the vertex.

    \(\begin{array}{c}{\color{Cerulean} { Line\: of\: symmetry }} \quad\quad\quad\color{Cerulean}{Vertex} \\ \quad\quad\quad{x=-\frac{b}{2 a} \quad\quad\quad\quad\left(-\frac{b}{2 a}, f\left(-\frac{b}{2 a}\right)\right)}\end{array}\)

    Generally three points determine a parabola. However, in this section we will find five points so that we can get a better approximation of the general shape. The steps for graphing a parabola are outlined in the following example.

    Example \(\PageIndex{1}\):

    Graph: \(f(x)=-x^{2}-2 x+3\).

    Solution

    Step 1: Determine the \(y\)-intercept. To do this, set \(x\)=0 and find \(f(0)\).

    \(\begin{aligned} f(x) &=-x^{2}-2 x+3 \\ f(0) &=-(\color{OliveGreen}{0}\color{black}{)}^{2}-2(\color{OliveGreen}{0}\color{black}{)}+3 \\ &=3 \end{aligned}\)

    The \(y\)-intercept is \((0,3)\).

    Step 2: Determine the \(x\)-intercepts if any. To do this, set \(f(x)=0\) and solve for \(x\).

    \(\begin{aligned} f(x)&=-x^{2}-2 x+3 \quad\:\color{Cerulean}{ Set\: f(x)=0. }\\ 0&=-x^{2}-2 x+3 \quad\:\color{Cerulean} { Multiply\: both\: sides\: by\: -1.} \\ 0&=x^{2}+2 x-3 \quad\:\:\:\:\color{Cerulean} { Factor. } \\ 0&=(x+3)(x-1) \:\:\:\color{Cerulean} { Set\: each\: factor\: equal\: to\: zero. }\end{aligned}\)

    \(\begin{array}{rl}{x+3=0} & {\text { or } x-1=0} \\ {x=-3} & \quad\quad\quad{x=1}\end{array}\)

    Here where \(f (x) = 0\), we obtain two solutions. Hence, there are two \(x\)-intercepts, \((−3, 0)\) and \((1, 0)\).

    Step 3: Determine the vertex. One way to do this is to first use \(x = −\frac{b}{2a}\) to find the \(x\)-value of the vertex and then substitute this value in the function to find the corresponding \(y\)-value. In this example, \(a = −1\) and \(b = −2\).

    \(\begin{aligned} x &=\frac{-b}{2 a} \\ &=\frac{-(\color{OliveGreen}{-2}\color{black}{)}}{2(\color{OliveGreen}{-1}\color{black}{)}} \\ &=\frac{2}{-2} \\ &=-1 \end{aligned}\)

    Substitute \(−1\) into the original function to find the corresponding \(y\)-value.

    \(\begin{aligned} f(x) &=-x^{2}-2 x+3 \\ f(\color{OliveGreen}{-1}\color{black}{)} &=-(\color{OliveGreen}{-1}\color{black}{)}^{2}-2(\color{OliveGreen}{-1}\color{black}{)}+3 \\ &=-1+2+3 \\ &=4 \end{aligned}\)

    The vertex is \((-1,4)\).

    Step 4: Determine extra points so that we have at least five points to plot. Ensure a good sampling on either side of the line of symmetry. In this example, one other point will suffice. Choose \(x = −2\) and find the corresponding \(y\)-value.

    \(x\) \(y\) Point
    \(-2\) \(3\) \(f(\color{OliveGreen}{-2}\color{black}{)}=-(\color{OliveGreen}{-2}\color{black}{)}^{2}-2(\color{OliveGreen}{-2}\color{black}{)}+3=-4+4+3=3\) \((-2,3)\)
    Table \(\PageIndex{1}\)

    Our fifth point is \((−2, 3)\).

    Step 5: Plot the points and sketch the graph. To recap, the points that we have found are

    \(y\)-intercept: \((0,3)\)

    \(x\)-intercepts: \((-3,0)\) and \((1,0)\)

    Vertex: \((-1,4)\)

    Extra point: \((-2,3)\)

    Answer:

    6.4: Quadratic Functions and Their Graphs (4)

    The parabola opens downward. In general, use the leading coefficient to determine if the parabola opens upward or downward. If the leading coefficient is negative, as in the previous example, then the parabola opens downward. If the leading coefficient is positive, then the parabola opens upward.

    6.4: Quadratic Functions and Their Graphs (5)

    All quadratic functions of the form \(f(x)=a x^{2}+b x+c\) have parabolic graphs with \(y\)-intercept \((0, c)\). However, not all parabolas have \(x\)-intercepts.

    Example \(\PageIndex{2}\):

    Graph: \(f(x)=2 x^{2}+4 x+5\).

    Solution

    Because the leading coefficient \(2\) is positive, we note that the parabola opens upward. Here \(c = 5\) and the \(y\)-intercept is \((0, 5)\). To find the \(x\)-intercepts, set \(f (x) = 0\).

    \(\begin{aligned}f(x)=2 x^{2}+4 x+5 \\ 0=2 x^{2}+4 x+5\end{aligned}\)

    In this case, \(a = 2, b = 4\), and \(c = 5\). Use the discriminant to determine the number and type of solutions.

    \(\begin{aligned} b^{2}-4 a c &=(4)^{2}-4(2)(5) \\ &=16-40 \\ &=-24 \end{aligned}\)

    Since the discriminant is negative, we conclude that there are no real solutions. Because there are no real solutions, there are no \(x\)-intercepts. Next, we determine the \(x\)-value of the vertex.

    \(\begin{aligned} x &=\frac{-b}{2 a} \\ &=\frac{-(\color{OliveGreen}{4}\color{black}{)}}{2(\color{OliveGreen}{2}\color{black}{)}} \\ &=\frac{-4}{4} \\ &=-1 \end{aligned}\)

    Given that the \(x\)-value of the vertex is \(−1\), substitute \(−1\) into the original equation to find the corresponding \(y\)-value.

    \(\begin{aligned} f(x) &=2 x^{2}+4 x+5 \\ f(\color{OliveGreen}{-1}\color{black}{)} &=2(\color{OliveGreen}{-1}\color{black}{)}^{2}+4(\color{OliveGreen}{-1}\color{black}{)}+5 \\ &=2-4+5 \\ &=3 \end{aligned}\)

    The vertex is \((−1, 3)\). So far, we have only two points. To determine three more, choose some \(x\)-values on either side of the line of symmetry, \(x = −1\). Here we choose \(x\)-values \(−3, −2\), and \(1\).

    \(x\) \(y\) Points
    \(-3\) \(11\) \(f(\color{OliveGreen}{-3}\color{black}{)}=2(\color{OliveGreen}{-3}\color{black}{)}^{2}+4(\color{OliveGreen}{-3}\color{black}{)}+5=18-12+5=11\) \((-3,11)\)
    \(-2\) \(5\) \(f(\color{OliveGreen}{-2}\color{black}{)}=2(\color{OliveGreen}{-2}\color{black}{)}^{2}+4(\color{OliveGreen}{-2}\color{black}{)}+5=8-8+5=5\) \((-2,5)\)
    \(1\) \(11\) \(f(\color{OliveGreen}{1}\color{black}{)}=2(\color{OliveGreen}{1}\color{black}{)}^{2}+4(\color{OliveGreen}{1}\color{black}{)}+5=2+4+5=11\) \((1,11)\)
    Table \(\PageIndex{2}\)

    To summarize, we have

    \(y\)-intercept: \((0,5)\)

    \(x\)-intercepts: None

    Vertex: \((-1,3)\)

    Extra points: \((-3,11), (-2,5), (1,11)\)

    Plot the points and sketch the graph.

    Answer:

    6.4: Quadratic Functions and Their Graphs (6)

    Example \(\PageIndex{3}\):

    Graph: \(f(x)=x^{2}-2 x-1\).

    Solution

    Since \(a = 1\), the parabola opens upward. Furthermore, \(c = −1\), so the \(y\)-intercept is \((0, −1)\). To find the \(x\)-intercepts, set \(f (x) = 0\).

    \(\begin{aligned} f(x) &=x^{2}-2 x-1 \\ 0 &=x^{2}-2 x-1 \end{aligned}\)

    In this case, solve using the quadratic formula with \(a = 1, b = −2\), and \(c = −1\).

    \(\begin{aligned} x &=\frac{-b \pm \sqrt{b^{2}-4 a c}}{2 a} \\ &=\frac{-(\color{OliveGreen}{-2}\color{black}{)} \pm \sqrt{(\color{OliveGreen}{-2}\color{black}{)}^{2}-4(\color{OliveGreen}{1}\color{black}{)}(\color{OliveGreen}{-1}\color{black}{)}}}{2(\color{OliveGreen}{1}\color{black}{)}} \\ &=\frac{2 \pm \sqrt{8}}{2} \\ &=\frac{2 \pm 2 \sqrt{2}}{2} \\ &= \frac{2(1\pm\sqrt{2})}{2} \\ &=1 \pm \sqrt{2} \end{aligned}\)

    Here we obtain two real solutions for \(x\), and thus there are two \(x\)-intercepts:

    \(\begin{array}{c}{(1-\sqrt{2}, 0) \text { and }(1+\sqrt{2}, 0)} \quad\color{Cerulean}{Exact\:values} \\ \quad\quad\quad\quad{(-0.41,0) \quad\quad(2.41,0)}\quad\quad\color{Cerulean}{Approximate\:values}\end{array}\)

    Approximating the \(x\)-intercepts using a calculator will help us plot the points. However, we will present the exact \(x\)-intercepts on the graph. Next, find the vertex.

    \(\begin{aligned} x &=\frac{-b}{2 a} \\ &=\frac{-(\color{OliveGreen}{-2}\color{black}{)}}{2(\color{OliveGreen}{1}\color{black}{)}} \\ &=\frac{2}{2} \\ &=1 \end{aligned}\)

    Given that the \(x\)-value of the vertex is \(1\), substitute into the original equation to find the corresponding \(y\)-value.

    \(\begin{aligned} y &=x^{2}-2 x-1 \\ &=(\color{OliveGreen}{1}\color{black}{)}^{2}-2(\color{OliveGreen}{1}\color{black}{)}-1 \\ &=1-2-1 \\ &=-2 \end{aligned}\)

    The vertex is \((1,-2)\). We need one more point.

    \(x\) \(y\) Point
    \(2\) \(-1\) \(f(\color{OliveGreen}{2}\color{black}{)}=(\color{OliveGreen}{2}\color{black}{)}^{2}-2(\color{OliveGreen}{2}\color{black}{)}-1=4-4-1=-1\) \((2,-1)\)
    Table \(\PageIndex{3}\)

    To summarize, we have

    \(y\)-intercepts: \((0,1)\)

    \(x\)-intercepts: \((1-\sqrt{2}, 0)\) and \((1+\sqrt{2}, 0)\)

    Vertex: \((1,-2)\)

    Extra point: \((2,-1)\)

    Plot the points and sketch the graph.

    Answer:

    6.4: Quadratic Functions and Their Graphs (7)

    Exercise \(\PageIndex{1}\)

    Graph: \(g(x)=-4 x^{2}+12 x-9\).

    Answer
    6.4: Quadratic Functions and Their Graphs (8)

    www.youtube.com/v/tQiDXNhn7ik

    Finding the Maximum or Minimum

    It is often useful to find the maximum and/or minimum values of functions that model real-life applications. To find these important values given a quadratic function, we use the vertex. If the leading coefficient \(a\) is positive, then the parabola opens upward and there will be a minimum \(y\)-value. If the leading coefficient \(a\) is negative, then the parabola opens downward and there will be a maximum \(y\)-value.

    Example \(\PageIndex{4}\):

    Determine the maximum or minimum: \(y=-4 x^{2}+24 x-35\).

    Solution

    Since \(a = −4\), we know that the parabola opens downward and there will be a maximum \(y\)-value. To find it, first find the \(x\)-value of the vertex.

    \(\begin{aligned} x &=-\frac{b}{2 a} \quad\:\:\:\quad\color{Cerulean}{x-value\:of\:the\:vertex.} \\ &=-\frac{\color{OliveGreen}{24}}{\color{black}{2}(\color{OliveGreen}{-4}\color{black}{)}} \quad\color{Cerulean}{Substitute\:a=-4\:and\:b-24.} \\ &=-\frac{24}{-8} \quad\quad\:\color{Cerulean}{Simplify.}\\ &=3 \end{aligned}\)

    The \(x\)-value of the vertex is \(3\). Substitute this value into the original equation to find the corresponding \(y\)-value.

    \(\begin{aligned} y &=-4 x^{2}+24 x-35\quad\quad\quad\color{Cerulean}{Substitute\:x=3.} \\ &=-4(3)^{2}+24(3)-35\quad\:\:\color{Cerulean}{Simplify.} \\ &=-36+72-35 \\ &=1 \end{aligned}\)

    The vertex is \((3, 1)\). Therefore, the maximum \(y\)-value is \(1\), which occurs where \(x = 3\), as illustrated below:

    6.4: Quadratic Functions and Their Graphs (9)

    Note: The graph is not required to answer this question.

    Answer:

    The maximum is \(1\).

    Example \(\PageIndex{5}\):

    Determine the maximum or minimum: \(y=4 x^{2}-32 x+62\).

    Solution

    Since \(a = 4\), the parabola opens upward and there is a minimum \(y\)-value. Begin by finding the \(x\)-value of the vertex.

    \(\begin{aligned} x &=-\frac{b}{2 a} \\ &=-\frac{\color{OliveGreen}{-32}}{\color{black}{2}(\color{OliveGreen}{4}\color{black}{)}} \quad\color{Cerulean}{Substitute\:a=4\:and\:b=-32.}\\ &=-\frac{-32}{8}\:\:\:\:\color{Cerulean}{Simplify.} \\ &=4 \end{aligned}\)

    Substitute \(x = 4\) into the original equation to find the corresponding \(y\)-value.

    \(\begin{aligned} y &=4 x^{2}-32 x+62 \\ &=4(\color{OliveGreen}{4}\color{black}{)}^{2}-32(\color{OliveGreen}{4}\color{black}{)}+62 \\ &=64-128+62 \\ &=-2 \end{aligned}\)

    The vertex is \((4, −2)\). Therefore, the minimum \(y\)-value of \(−2\) occurs where \(x = 4\), as illustrated below:

    6.4: Quadratic Functions and Their Graphs (10)

    Answer:

    The minimum is \(-2\).

    Example \(\PageIndex{6}\):

    The height in feet of a projectile is given by the function \(h(t)=-16 t^{2}+72 t\), where \(t\) represents the time in seconds after launch. What is the maximum height reached by the projectile?

    Solution

    Here \(a = −16\), and the parabola opens downward. Therefore, the \(y\)-value of the vertex determines the maximum height. Begin by finding the time at which the vertex occurs.

    \(t=-\frac{b}{2 a}=-\frac{72}{2(-16)}=\frac{72}{32}=\frac{9}{4}\)

    The maximum height will occur in \(\frac{9}{4}\) seconds (or \(2 \frac{1}{4}\) seconds). Substitute this time into the function to determine the maximum height attained.

    \(\begin{aligned} h\color{black}{\left(\color{OliveGreen}{\frac{9}{4}}\right)} &=-16\color{black}{\left(\color{OliveGreen}{\frac{9}{4}}\right)^{2}}+72\color{black}{\left(\color{OliveGreen}{\frac{9}{4}}\right)} \\ &=-16\left(\frac{81}{16}\right)+72\left(\frac{9}{4}\right) \\ &=-81+162 \\ &=81 \end{aligned}\)

    Answer:

    The maximum height of the projectile is \(81\) feet.

    Finding the Vertex by Completing the Square

    In this section, we demonstrate an alternate approach for finding the vertex. Any quadratic function \(f (x) = ax^{2} + bx + c\) can be rewritten in vertex form14,

    \(f(x)=a(x-h)^{2}+k\)

    In this form, the vertex is \((h, k)\). To see that this is the case, consider graphing \(f (x) = (x − 2)^{2} + 3\) using the transformations.

    \(\begin{array}{l}{y=x^{2}}\quad\quad\quad\quad\:\quad\color{Cerulean}{Basic\:squaring\:function} \\ {y=(x-2)^{2}}\quad\quad\:\:\:\color{Cerulean}{Horizontal\:shift\:right\:2\:units} \\ {y=(x-2)^{2}+3}\quad\color{Cerulean}{Vertical\:shift\:up\:3\:units}\end{array}\)

    Use these translations to sketch the graph,

    6.4: Quadratic Functions and Their Graphs (11)

    Here we can see that the vertex is \((2, 3)\).

    \(\begin{array}{c}{f(x)=a(x-h)^{2}+k}\\ \color{Cerulean}{\quad\quad\quad\quad\quad\downarrow\:\:\:\quad\downarrow} \\ {f(x)=(x-2)^{2}\:+3}\end{array}\)

    When the equation is in this form, we can read the vertex directly from it.

    Example \(\PageIndex{7}\):

    Determine the vertex: \(f(x)=2(x+3)^{2}-2\).

    Solution

    Rewrite the equation as follows before determining \(h\) and \(k\).

    \(\begin{array}{c}{f(x)=\:\:\:a\:(\:x\:-\:h\:)^{2}\:\:+\:\:k} \\ \color{Cerulean}{\quad\quad\quad\quad\quad\quad\:\:\:\:\downarrow\quad\quad\:\:\downarrow} \\{f(x)=2[x-(-3)]^{2}+(-2)}\end{array}\)

    Here \(h=-3\) and \(k=-2\).

    Answer:

    The vertex is \((-3,-2)\).

    Often the equation is not given in vertex form. To obtain this form, complete the square.

    Example \(\PageIndex{8}\):

    Rewrite in vertex form and determine the vertex: \(f(x)=x^{2}+4 x+9\).

    Solution

    Begin by making room for the constant term that completes the square.

    \(\begin{aligned} f(x) &=x^{2}+4 x+9 \\ &=x^{2}+4 x+\_\_\_+9-\_\_\_\end{aligned}\)

    The idea is to add and subtract the value that completes the square,\(\left(\frac{b}{2}\right)^{2}\), and then factor. In this case, add and subtract \(\left(\frac{4}{2}\right)^{2}=(2)^{2}=4\).

    \(\begin{aligned} f(x) &=x^{2}+4 x+9\quad\quad\quad\quad\:\:\color{Cerulean}{Add\:and\:subtract\:4.} \\ &=x^{2}+4 x\color{Cerulean}{+4}\color{black}{+}9\color{Cerulean}{-4}\quad\color{Cerulean}{Factor.} \\ &=\left(x^{2}+4 x+4\right)+5 \\ &=(x+3)(x+2)+5 \\ &=(x+2)^{2}+5 \end{aligned}\)

    Adding and subtracting the same value within an expression does not change it. Doing so is equivalent to adding \(0\). Once the equation is in this form, we can easily determine the vertex.

    \(\begin{array}{c}{f(x)=a(x-h)^{2}\:\:+\:\:k}\\\color{Cerulean}{\quad\quad\quad\quad\quad\:\:\:\downarrow\quad\:\:\:\:\:\downarrow} \\ {f(x)=(x-(-2))^{2}+5}\end{array}\)

    Here \(h=-2\) and \(k=5\).

    Answer:

    The vertex is \((-2,5)\).

    If there is a leading coefficient other than \(1\), then we must first factor out the leading coefficient from the first two terms of the trinomial.

    Example \(\PageIndex{9}\):

    Rewrite in vertex form and determine the vertex: \(f(x)=2 x^{2}-4 x+8\).

    Solution

    Since \(a = 2\), factor this out of the first two terms in order to complete the square. Leave room inside the parentheses to add and subtract the value that completes the square.

    \(\begin{aligned} f(x) &=2 x^{2}-4 x+8 \\ &=2\left(x^{2}-2 x\right)+8 \end{aligned}\)

    Now use \(−2\) to determine the value that completes the square. In this case, \(\left(\frac{-2}{2}\right)^{2}=(-1)^{2}=1\). Add and subtract \(1\) and factor as follows:

    \(\begin{aligned} f(x) &=2 x^{2}-4 x+8 \\ &=2\left(x^{2}-2 x+\_\_\_-\_\_\_\right)+8 \quad\color{Cerulean}{Add\:and\:subtract\:1.} \\ &=2\color{black}{\left(x^{2}-2 x\color{Cerulean}{+1-1}\right)}+8\quad\quad\quad\color{Cerulean}{Factor.} \\ &=2[(x-1)(x-1)-1]+8 \\ &=2\left[(x-1)^{2}-1\right]+8 \quad\quad\quad\quad\:\:\color{Cerulean}{Distribute\:the\:2.} \\ &=2(x-1)^{2}-2+8 \\ &=2(x-1)^{2}+6 \end{aligned}\)

    In this form, we can easily determine the vertex.

    \(\begin{array}{c}{f(x)=a(x-h)^{2}+k}\\\color{Cerulean}{\quad\quad\quad\quad\quad\:\:\downarrow\quad\:\:\:\downarrow} \\ {f(x)=2(x-1)^{2}+6}\end{array}\)

    Here \(h=1\) and \(k=6\).

    Answer:

    The vertex is \((1,6)\).

    Exercise \(\PageIndex{1}\)

    Rewrite in vertex form and determine the vertex: \(f(x)=-2 x^{2}-12 x+3\).

    Answer

    \(f(x)=-2(x+3)^{2}+21\); vertex: \((-3,21)\)

    www.youtube.com/v/cmwMn6oZ2dI

    Key Takeaways

    • The graph of any quadratic function \(f (x) = ax^{2} + bx + c\), where \(a, b\), and \(c\) are real numbers and \(a ≠ 0\), is called a parabola.
    • When graphing a parabola always find the vertex and the \(y\)-intercept. If the \(x\)-intercepts exist, find those as well. Also, be sure to find ordered pair solutions on either side of the line of symmetry, \(x = −\frac{ b}{2a}\).
    • Use the leading coefficient, \(a\), to determine if a parabola opens upward or downward. If \(a\) is positive, then it opens upward. If \(a\) is negative, then it opens downward.
    • The vertex of any parabola has an \(x\)-value equal to \(−\frac{b}{2a}\). After finding the \(x\)-value of the vertex, substitute it into the original equation to find the corresponding \(y\)-value. This \(y\)-value is a maximum if the parabola opens downward, and it is a minimum if the parabola opens upward.
    • The domain of a parabola opening upward or downward consists of all real numbers. The range is bounded by the \(y\)-value of the vertex.
    • An alternate approach to finding the vertex is to rewrite the quadratic function in the form \(f(x)=a(x-h)^{2}+k\). When in this form, the vertex is \((h, k)\) and can be read directly from the equation. To obtain this form, take \(f (x) = ax^{2} + bx + c\) and complete the square.

    Exercise \(\PageIndex{3}\)

    Does the parabola open upward or downward? Explain.

    1. \(y=x^{2}-9 x+20\)
    2. \(y=x^{2}-12 x+32\)
    3. \(y=-2 x^{2}+5 x+12\)
    4. \(y=-6 x^{2}+13 x-6\)
    5. \(y=64-x^{2}\)
    6. \(y=-3 x+9 x^{2}\)
    Answer

    1. Upward

    3. Downward

    5. Downward

    Exercise \(\PageIndex{4}\)

    Determine the \(x\)- and \(y\)-intercepts.

    1. \(y=x^{2}+4 x-12\)
    2. \(y=x^{2}-13 x+12\)
    3. \(y=2 x^{2}+5 x-3\)
    4. \(y=3 x^{2}-4 x-4\)
    5. \(y=-5 x^{2}-3 x+2\)
    6. \(y=-6 x^{2}+11 x-4\)
    7. \(y=4 x^{2}-27\)
    8. \(y=9 x^{2}-50\)
    9. \(y=x^{2}-x+1\)
    10. \(y=x^{2}-6 x+4\)
    Answer

    1. \(x\)-intercepts: \((-6,0),(2,0)\); \(y\)-intercept: \((0,-12)\)

    3. \(x\)-intercepts: \((-3,0),\left(\frac{1}{2}, 0\right)\); \(y\)-intercept: \((0,-3)\)

    5. \(x\)-intercepts: \((-1,0),\left(\frac{2}{5}, 0\right)\); \(y\)-intercept: \((0,2)\)

    7. \(x\)-intercepts: \(\left(-\frac{3 \sqrt{3}}{2}, 0\right),\left(\frac{3 \sqrt{3}}{2}, 0\right)\); \(y\)-intercept: \((0,-27)\)

    9. \(x\)-intercepts: none; \(y\)-intercept: \((0,1)\)

    Exercise \(\PageIndex{5}\)

    Find the vertex and the line of symmetry.

    1. \(y=-x^{2}+10 x-34\)
    2. \(y=-x^{2}-6 x+1\)
    3. \(y=-4 x^{2}+12 x-7\)
    4. \(y=-9 x^{2}+6 x+2\)
    5. \(y=4 x^{2}-1\)
    6. \(y=x^{2}-16\)
    Answer

    1. Vertex: \((5,-9)\); line of symmetry: \(x=5\)

    3. Vertex: \(\left(\frac{3}{2}, 2\right)\); line of symmetry: \(x=\frac{3}{2}\)

    5. Vertex: \((0,-1)\); line of symmetry: \(x=0\)

    Exercise \(\PageIndex{6}\)

    Graph. Find the vertex and the \(y\)-intercept. In addition, find the \(x\)-intercepts if they exist.

    1. \(f(x)=x^{2}-2 x-8\)
    2. \(f(x)=x^{2}-4 x-5\)
    3. \(f(x)=-x^{2}+4 x+12\)
    4. \(f(x)=-x^{2}-2 x+15\)
    5. \(f(x)=x^{2}-10 x\)
    6. \(f(x)=x^{2}+8 x\)
    7. \(f(x)=x^{2}-9\)
    8. \(f(x)=x^{2}-25\)
    9. \(f(x)=1-x^{2}\)
    10. \(f(x)=4-x^{2}\)
    11. \(f(x)=x^{2}-2 x+1\)
    12. \(f(x)=x^{2}+4 x+4\)
    13. \(f(x)=-4 x^{2}+12 x-9\)
    14. \(f(x)=-4 x^{2}-4 x+3\)
    15. \(f(x)=x^{2}-2\)
    16. \(f(x)=x^{2}-3\)
    17. \(f(x)=-4 x^{2}+4 x-3\)
    18. \(f(x)=4 x^{2}+4 x+3\)
    19. \(f(x)=x^{2}-2 x-2\)
    20. \(f(x)=x^{2}-6 x+6\)
    21. \(f(x)=-2 x^{2}+6 x-3\)
    22. \(f(x)=-4 x^{2}+4 x+1\)
    23. \(f(x)=x^{2}+3 x+4\)
    24. \(f(x)=-x^{2}+3 x-4\)
    25. \(f(x)=-2 x^{2}+3\)
    26. \(f(x)=-2 x^{2}-1\)
    27. \(f(x)=2 x^{2}+4 x-3\)
    28. \(f(x)=3 x^{2}+2 x-2\)
    Answer

    1.

    6.4: Quadratic Functions and Their Graphs (12)

    3.

    6.4: Quadratic Functions and Their Graphs (13)

    5.

    6.4: Quadratic Functions and Their Graphs (14)

    7.

    6.4: Quadratic Functions and Their Graphs (15)

    9.

    6.4: Quadratic Functions and Their Graphs (16)

    11.

    6.4: Quadratic Functions and Their Graphs (17)

    13.

    6.4: Quadratic Functions and Their Graphs (18)

    15.

    6.4: Quadratic Functions and Their Graphs (19)

    17.

    6.4: Quadratic Functions and Their Graphs (20)

    19.

    6.4: Quadratic Functions and Their Graphs (21)

    21.

    6.4: Quadratic Functions and Their Graphs (22)

    23.

    6.4: Quadratic Functions and Their Graphs (23)

    25.

    6.4: Quadratic Functions and Their Graphs (24)

    27.

    6.4: Quadratic Functions and Their Graphs (25)

    Exercise \(\PageIndex{7}\)

    Determine the maximum or minimum \(y\)-value.

    1. \(y=-x^{2}-6 x+1\)
    2. \(y=-x^{2}-4 x+8\)
    3. \(y=25 x^{2}-10 x+5\)
    4. \(y=16 x^{2}-24 x+7\)
    5. \(y=-x^{2}\)
    6. \(y=1-9 x^{2}\)
    7. \(y=20 x-10 x^{2}\)
    8. \(y=12 x+4 x^{2}\)
    9. \(y=3 x^{2}-4 x-2\)
    10. \(y=6 x^{2}-8 x+5\)
    11. \(y=x^{2}-5 x+1\)
    12. \(y=1-x-x^{2}\)
    Answer

    1. Maximum: \(y = 10\)

    3. Minimum: \(y = \frac{4}{5}\)

    5. Maximum: \(y = 0\)

    7. Maximum: \(y = 10\)

    9. Minimum: \(y = −\frac{10}{3}\)

    11. Minimum: \(y = −\frac{21}{4}\)

    Exercise \(\PageIndex{8}\)

    Given the following quadratic functions, determine the domain and range.

    1. \(f(x)=3 x^{2}+30 x+50\)
    2. \(f(x)=5 x^{2}-10 x+1\)
    3. \(g(x)=-2 x^{2}+4 x+1\)
    4. \(g(x)=-7 x^{2}-14 x-9\)
    5. \(f(x)=x^{2}+x-1\)
    6. \(f(x)=-x^{2}+3 x-2\)
    7. The height in feet reached by a baseball tossed upward at a speed of \(48\) feet per second from the ground is given by the function \(h(t) = −16t^{2} + 48t\), where \(t\) represents the time in seconds after the ball is thrown. What is the baseball’s maximum height and how long does it take to attain that height?
    8. The height in feet of a projectile launched straight up from a mound is given by the function \(h(t) = −16t^{2} + 96t + 4\), where \(t\) represents seconds after launch. What is the maximum height?
    9. The profit in dollars generated by producing and selling \(x\) custom lamps is given by the function \(P(x) = −10x^{2} + 800x − 12,000\). What is the maximum profit?
    10. The profit in dollars generated from producing and selling a particular item is modeled by the formula \(P(x) = 100x − 0.0025x^{2}\), where \(x\) represents the number of units produced and sold. What number of units must be produced and sold to maximize revenue?
    11. The average number of hits to a radio station Web site is modeled by the formula \(f(x) = 450t^{2} − 3,600t + 8,000\), where \(t\) represents the number of hours since \(8:00\) a.m. At what hour of the day is the number of hits to the Web site at a minimum?
    12. The value in dollars of a new car is modeled by the formula \(V(t) = 125t^{2} − 3,000t + 22,000\), where \(t\) represents the number of years since it was purchased. Determine the minimum value of the car.
    13. The daily production cost in dollars of a textile manufacturing company producing custom uniforms is modeled by the formula \(C(x) = 0.02x^{2} − 20x + 10,000\), where \(x\) represents the number of uniforms produced.
      1. How many uniforms should be produced to minimize the daily production costs?
      2. What is the minimum daily production cost?
    14. The area in square feet of a certain rectangular pen is given by the formula \(A = 14w − w^{2}\), where \(w\) represents the width in feet. Determine the width that produces the maximum area.
    Answer

    1. Domain: \((−∞, ∞)\); range:\([−25, ∞)\)

    3. Domain: \((−∞, ∞)\); range: \((−∞, 3]\)

    5. Domain: \((−∞, ∞)\); range: \([−\frac{5}{4}, ∞)\)

    7. The maximum height of \(36\) feet occurs after \(1.5\) seconds.

    9. $\(4,000\)

    11. \(12:00\) p.m.

    13. (1) \(500\) uniforms (2) $\(5,000\)

    Exercise \(\PageIndex{9}\)

    Determine the vertex.

    1. \(y=-(x-5)^{2}+3\)
    2. \(y=-2(x-1)^{2}+7\)
    3. \(y=5(x+1)^{2}+6\)
    4. \(y=3(x+4)^{2}+10\)
    5. \(y=-5(x+8)^{2}-1\)
    6. \(y=(x+2)^{2}-5\)
    Answer

    1. \((5, 3)\)

    3. \((−1, 6)\)

    5. \((−8, −1)\)

    Exercise \(\PageIndex{10}\)

    Rewrite in vertex form \(y=a(x-h)^{2}+k\) and determine the vertex.

    1. \(y=x^{2}-14 x+24\)
    2. \(y=x^{2}-12 x+40\)
    3. \(y=x^{2}+4 x-12\)
    4. \(y=x^{2}+6 x-1\)
    5. \(y=2 x^{2}-12 x-3\)
    6. \(y=3 x^{2}-6 x+5\)
    7. \(y=-x^{2}+16 x+17\)
    8. \(y=-x^{2}+10 x\)
    Answer

    1. \(y=(x-7)^{2}-25\); vertex: \((7, -25)\)

    3. \(y=(x+2)^{2}-16\); vertex: \((-2, -16)\)

    5. \(y=2(x-3)^{2}-21\); vertex: \((3, -21)\)

    7. \(y=-(x-8)^{2}+81\); vertex: \((8, 81)\)

    Exercise \(\PageIndex{11}\)

    Graph. Find the vertex and the \(y\)-intercept. In addition, find the \(x\)-intercepts if they exist.

    1. \(f(x)=x^{2}-1\)
    2. \(f(x)=x^{2}+1\)
    3. \(f(x)=(x-1)^{2}\)
    4. \(f(x)=(x+1)^{2}\)
    5. \(f(x)=(x-4)^{2}-9\)
    6. \(f(x)=(x-1)^{2}-4\)
    7. \(f(x)=-2(x+1)^{2}+8\)
    8. \(f(x)=-3(x+2)^{2}+12\)
    9. \(f(x)=-5(x-1)^{2}\)
    10. \(f(x)=-(x+2)^{2}\)
    11. \(f(x)=-4(x-1)^{2}-2\)
    12. \(f(x)=9(x+1)^{2}+2\)
    13. \(f(x)=(x+5)^{2}-15\)
    14. \(f(x)=2(x-5)^{2}-3\)
    15. \(f(x)=-2(x-4)^{2}+22\)
    16. \(f(x)=2(x+3)^{2}-13\)
    Answer

    1.

    6.4: Quadratic Functions and Their Graphs (26)

    3.

    6.4: Quadratic Functions and Their Graphs (27)

    5.

    6.4: Quadratic Functions and Their Graphs (28)

    7.

    6.4: Quadratic Functions and Their Graphs (29)

    9.

    6.4: Quadratic Functions and Their Graphs (30)

    11.

    6.4: Quadratic Functions and Their Graphs (31)

    13.

    6.4: Quadratic Functions and Their Graphs (32)

    15.

    6.4: Quadratic Functions and Their Graphs (33)

    Exercise \(\PageIndex{12}\)

    1. Write down your plan for graphing a parabola on an exam. What will you be looking for and how will you present your answer? Share your plan on the discussion board.
    2. Why is any parabola that opens upward or downward a function? Explain to a classmate how to determine the domain and range.
    3. Research and discuss ways of finding a quadratic function that has a graph passing through any three given points. Share a list of steps as well as an example of how to do this.
    Answer

    1. Answer may vary

    3. Answer may vary

    Footnotes

    10The U-shaped graph of any quadratic function defined by \(f (x) = ax^{2} + bx + c\), where \(a, b\), and \(c\) are real numbers and \(a ≠ 0\).

    11The point that defines the minimum or maximum of a parabola.

    12The vertical line through the vertex, \(x = −\frac{b}{2a}\), about which the parabola is symmetric.

    13A term used when referencing the line of symmetry.

    14A quadratic function written in the form \(f(x)=a(x-h)^{2}+k\).

    6.4: Quadratic Functions and Their Graphs (2024)

    References

    Top Articles
    Latest Posts
    Recommended Articles
    Article information

    Author: Catherine Tremblay

    Last Updated:

    Views: 5587

    Rating: 4.7 / 5 (67 voted)

    Reviews: 82% of readers found this page helpful

    Author information

    Name: Catherine Tremblay

    Birthday: 1999-09-23

    Address: Suite 461 73643 Sherril Loaf, Dickinsonland, AZ 47941-2379

    Phone: +2678139151039

    Job: International Administration Supervisor

    Hobby: Dowsing, Snowboarding, Rowing, Beekeeping, Calligraphy, Shooting, Air sports

    Introduction: My name is Catherine Tremblay, I am a precious, perfect, tasty, enthusiastic, inexpensive, vast, kind person who loves writing and wants to share my knowledge and understanding with you.