I am studying maths as a hobby and feel I am having problems working out second derivatives.
The problem is as follows:
Find the maximum or minimum values of the function $y = (2x - 5)^4$
Here is my working:
$$dy/dx = 4(2x - 5)^3\cdot 2 = 8(2x -5)^3 ,$$ Which is zero when $x = 2\frac {1}{2}$.
To find whether this is a maximum or a minimum I find the second derivative:
$$d^2y/dx^2 = 24(2x - 5)^2.2 = 48(2x - 5)^2.$$
But this is where I feel I must have gone wrong because this is zero when $x = 2\frac {1}{2}$.
The second derivative test, that is, computing the second derivative of $f$ does not always tell you whether or not a point is a local maximum or local minimum. It is only always true that if $f''(a) > 0$, then $f$ has a local minimum at $a$.
Hence, when you encounter (as in this case) $f''(a) = 0$, a simple alternative would be to fall back to inspecting the first derivative in an interval around the critical point. For instance, if $x < a \Rightarrow f'(x) < 0$ and $x > a \Rightarrow f'(x) > 0$, then we can safely conclude that the critical point at $x=a$ is a local minimum.
The computations should be trivial given that you have worked out the value of $x = 2\frac{1}{2}$ to be a stationary point.