So as stated in the title I have to create a general formula for nth derivative of $f(x) = \cos(ax)$ and proving it with induction.
I get $f(x) = \cos(ax)$
$f'(x) = -a\sin(ax)$
$f''(x) = -a^2\cos(ax)$
$f'''(x) = a^3\sin(ax)$
$f''''(x) = a^4\cos(ax)$
How are you supposed to algrebraically write a formula for this? I obviously see a pattern but I don't know how to approach this. Any help would be greatly appriciated.