Task
In ''Building an explicit quadratic function'' a particular quadratic function was rewritten by completing the square. The quadratic function used was $q(x) = 2x^2 + 4x  16$ and this function was rewritten as $$ q(x) = 2\left(x+1\right)^2  18 = 2\left((x+1)^2  9\right). $$ Some of the advantages to this form are that the $x$coordinate of the vertex of the graph of $q$ can be found more easily and the two roots of $q$ can also be found readily. The right hand side of this equation can be seen as a horizontal translation by $1$, then squaring, then a vertical translation by $9$, and finally a multiplicative scaling by $2$. The goal of this task is first to employ the same technique on a general quadratic function and then derive the quadratic formula. To assist in this process, we first rewrite the equation above: $$ \frac{q(x)}{2} = \left(x+1\right)^2  9. $$
Let $f$ be a quadratic function, so we have $$ f(x) = ax^2 + bx + c. $$ Here $a,b,c$ are real numbers and we assume that $a$ is nonzero.

Following the lead of our example problem, we begin by dividing out the leading coefficient:
Multiplying $f(x)$ by $\frac{1}{a}$ gives $$ \frac{f(x)}{a} = x^2 + \frac{b}{a}x + \frac{c}{a}. $$ We wish to write this as the square of a linear function $x + d$ plus a constant. Find numbers $d$ and $k$ so that $\frac{f(x)}{a} = (x+d)^2 + k$.
 Using the values for $d$ and $k$ found in part (b), rewrite $f(x) = ax^2 + bx + c$ as $$ \frac{f(x)}{a} = \left(x+d\right)^2 + k. $$ Why do the expressions $f(x)$ and $\frac{f(x)}{a}$ have the same roots?
 Explain how to deduce the quadratic formula for the roots of $f$ from part (c).
IM Commentary
This task is for instructional purposes only and builds on ''Building an explicit quadratic function.''
First, it is vital that students have worked through ''Building an explicit quadratic function'' before undertaking this task. The instructor may wish to recall the steps used to manipulate the quadratic function $q(x) = 2x^2 + 4x  16$ given in the following series of equations:
\begin{align} q(x) &= 2x^2 + 4x  16,\\ \frac{q(x)}{2} &= x^2 + 2x  8, \\ \frac{q(x)}{2} &= (x+1)^2  1  8, \\ \frac{q(x)}{2} &= (x+1)^2  9. \end{align}
The last equation can also be written as $$ q(x) = 2\left((x+1)^2  9\right). $$ In this form, the function $q$ is seen to arise from $4$ different operations:
 a horizontal shift by $1$,
 squaring,
 a vertical shift by $9$,
 a multiplicative scaling by $2$.
This task performs the same operations with a general quadratic function $f(x) = ax^2 + bx + c$. The operations take place in the opposite order because $f$ is the starting place and the goal is to slowly decode $f$ to find the horizontal shift, the vertical shift, and the multiplicative scaling as was done for $q$. The first step is to find the multiplicative scaling and the other three steps, the horizontal and vertical displacements and the squaring operation are done together via the process known as completing the square, corresponding to the third displayed equation above in the case of $q(x) = 2x^2 + 4x 16$.
Working with so many variables, as are present in this problem, can be a challenge. An alternative or a warmup to this problem would be to work with several concrete quadratic functions, like $q(x) = 2x^2 + 4x = 16$, and run through this problem to find, in part (c), the expression $2\left((x1)^2  9\right)$ for $q(x)$ which then allows to find the roots of $q(x)$ as was done in ''Building an explicit quadratic function.'' Students who can manipulate these expressions with explicit numbers rather than variables are on very solid footing with respect to the standard FBF.3.
The quadratic formula, which arises naturally in part (d), can also be derived in a purely geometric way which explains the name ''completing the square'' often given to part (b) of this process. In the method used here, there is also an underlying geometric intuition but it has to do with the graphs of the functions at the different steps of the process.