Write an equation for the function graphed above.

Check the final answer first, then review the worked steps.

Answer

\(g(x) = (x+3)^2 - 2\)

Work

Vertex $(h, k) = (-3, -2) \implies g(x) = a(x+3)^2 - 2
Point $(-2, -1) \implies -1 = a(-2+3)^2 - 2
-1 = a(1)^2 - 2 \implies a = 1
Result: g(x) = (x+3)^2 - 2

Step-by-step solution

The vertex of the parabola is at $(-3, -2)$. Using the vertex form $g(x) = a(x-h)^2 + k$, we have $g(x) = a(x+3)^2 - 2$. Since the point $(-2, -1)$ is on the graph, $-1 = a(-2+3)^2 - 2$, which gives $a=1$.