If the image vertex of quadratic function y = 4x ^ 2 + MX + 1 is on the X axis, then M equals? If its vertex is on the Y axis, then M equals?

If the image vertex of quadratic function y = 4x ^ 2 + MX + 1 is on the X axis, then M equals? If its vertex is on the Y axis, then M equals?

Y = 4x ^ 2 + MX + 1y = 4 (x + m / 8) & # - 178; - (M / 8) & # - 178; × 4 + 1 = 4 (x + m / 8) & # - 178; - 16 + 1 the vertex coordinates are (- M / 8, - M & # - 178; - 16 + 1) ① the vertex is on the x-axis, so - M & # - 178; - 16 + 1 = 0m & # - 178; - 16m = ± 4; ② the vertex is on the y-axis, so - M / 8 = 0, M = 0