Write the function LaTeX:  \displaystyle f(x)=x^{2} - 18 x + 102 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= 9 and LaTeX:  \displaystyle k = 21 . The vertex is located at LaTeX:  \displaystyle (9,21) and the vertex form is LaTeX:  \displaystyle f(x) = a(x-h)^2+k=\left(x - 9\right)^{2} + 21 .