I'm going over some completing the square questions and I need to express, in the form: $(px+q)^2+r, p > 0$
the quadratic equation is $16x^2-8x+11$
I know how to get it in the form $p(x+q)^2+r$
So can someone show me how to get from $ax^2+bx+c$ to $(px+q)^2+r, p > 0$
To get from $ax^2+bx+c$ to $(px+q)^2+r$, you can do the following:- $$\begin{align}ax^2+bx+c&=a\left(x^2+\frac{b}{a}x+\color{red}{\left(\frac{b}{2a}\right)^2-\left(\frac{b}{2a}\right)^2}+\frac{c}{a}\right)\\&=a\left(\left(x+\frac{b}{2a}\right)^2+\frac{c}{a}-\frac{b^2}{4a^2}\right)\\&=a\left(x+\frac{b}{2a}\right)^2+\left(c-\frac{b^2}{4a}\right)\\&=\left(\sqrt{a}x+\frac{b}{2\sqrt{a}}\right)^2+\left(c-\frac{b^2}{4a}\right)\end{align}$$ For the particular polynomial in question, just plug in the values ($a=16$, $b=-8$,$c=11$)