If the image of the quadratic function y = x ^ 2 + BX + C (C ≠ 0) passes through point a (C, 0) and the abscissa of the vertex is 2, then the expression of the quadratic function is

If the image of the quadratic function y = x ^ 2 + BX + C (C ≠ 0) passes through point a (C, 0) and the abscissa of the vertex is 2, then the expression of the quadratic function is

The abscissa of the vertex is 2, that is, the axis of symmetry is x = 2, so - B / 2 = 2, B = - 4
y=x^2-4x+c
Substituting point (C, 0): 0 = C ^ 2-4c + C = C ^ 2-3c = C (C-3)
So C = 3
So y = x ^ 2-4x + 3