Suppose $f(x) = (x+1)^2$ for $x \ge -1$. If $g(x)$ is a function whose graph is a reflection of $f(x)$ in the line $y = x$, then $g(x)$ =
Solution
The correct answer is $\sqrt{x} - 1$
Explanation
Given that $f(x) = (x+1)^2$ for $x \ge -1$. If $g(x)$ is a function whose graph is a reflection of $f(x)$ in the line $y = x$ then $g(x)$ is inverse of $f(x)$