Problem working out a second derivative 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) &gt; 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 &lt; a \Rightarrow f'(x) &lt; 0$ and $x &gt; a \Rightarrow f'(x) &gt; 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.
If the second derivative test fails, I usually check the first derivative at points enclosing the point of interest, e.g. 2 and 3
since the first derivative at x=2 is negative and that at x=3 is positive, I will conclude that it is a minima at x=2.5