How do you graph #f(x) = (x + 2)^2#?
1 Answer
graph{(x+2)^2 [-10, 10, -5, 5]} This is the actual graph, for a sketch graph read the explanation
Explanation:
f(x) is just another way of writing y, by the way
First, find the vertex.
To find the x coordinate, set
Now, find the y coordinate by substituting -2 in for x.
The vertex is (-2,0). Plot this point on the graph.
To find the roots (or x-intercepts), set y equal to 0 and solve the equation to find both values of x.
As we can see, the graph has a repeated root at (-2,0). (Coincidentally, this is the same as the vertex). Plot this point.
Now, find the y-intercept by substituting 0 for the value of x in the equation.
Now, draw a smooth symmetrical curve joining the plotted points, with the line of symmetry being the line