To find the vertex and axis of simmetry we need to complete the squared on the function:
Now the function is written in the form:
in this form the vertex is (h,k). Comparing the equations we conclude that the vertex is at the point (2,-2).
Now, the axis of symmetry on a vertical parabola has the form:
Therefore, the axis of symmetry is:
To graph the function we need to find points on it:
Now we plot this points on the plane and join them with a smooth line:
From the graph we notice that the domain is:
and the range is: