So, here we have the function:
We want to check if there's a relative maxima or minima using the second deritative test.
So, let's find the first deritative of f(x). That is:
And, the second deritative can be found if we differenciate the first deritative:
The second deritative test tells us that:
If f(x) has a critical point for which f'(x)=0, and the second deritative is negative at this point, then f has a local maximum.
So, as you can see, f''(x) = -2, so the second deritative will always be negative. That means, that there's a relative maxima.
Now, let's find the critical point:
The critical point is located at x=-2. So, if we replace x=-2 in the function, we'll obtain the y-coordinate of this relative maximum.
Therefore, there's a relative maxima at the point (-2,9)