Is the line of symmetry in f(x)= -(x-2)^2+2 x=2

To determine the line of symmetry of a quadratic function, we need to find the x-coordinate of the vertex. The vertex form of a quadratic function is given by f(x) = a(x-h)^2 + k, where (h, k) represents the vertex.

In the given equation, f(x) = -(x-2)^2 + 2, we can identify the vertex form as f(x) = a(x-h)^2 + k, where a = -1, h = 2, and k = 2.

Since h represents the x-coordinate of the vertex, we can conclude that the line of symmetry is the vertical line x = 2.