Thank you for that very comprehensive answer Alan.
f(x) = x^4 - 3x^2
This is an extremely important concept for you to assimilate!
$$\\f(x)=x^4-3x^2\\\\
f'(x)=4x^3-6x$$
That is it. f'(x) will give you the value of the gradient to the curve for any specific x value!