Write the function LaTeX:  \displaystyle f(x)=x^{2} - 14 x + 51 in vertex form and identify the vertex.

LaTeX:  \displaystyle h = -\frac{b}{2a} and LaTeX:  \displaystyle k=f(h) . Using each formula gives LaTeX:  \displaystyle h= 7 and LaTeX:  \displaystyle k = 2 . The vertex is located at LaTeX:  \displaystyle (7,2) and the vertex form is LaTeX:  \displaystyle f(x) = a(x-h)^2+k=\left(x - 7\right)^{2} + 2 .