What is the formula for the nth derivative of #sin (ax +b)# and #cos(ax+b)#?
1 Answer
Let's make some explicit computations, and from there let's try to find a general formula.
First of all, let's recall the chain rule, which states that if you have a composite function
In your case,
We are ready for the final answer: every time we derive, we know which trigonometric function will appear, and we also know that there will be a certain power
#\sin(x)# if#n=4k# (i.e.,#n# is a multiple of 4 (including#n=0# ))#\cos(x)# if#n=4k+1# (i.e.,#n# is one unit away from a multiple of 4)#-\sin(x)# if#n=4k+2# (i.e.,#n# is two units away from a multiple of 4)#-\cos(x)# if#n=4k+3# (i.e.,#n# is three units away from a multiple of 4)
As for the cosine function, the logic is identical, you only need to shift the values of the function I called
#\cos(x)# if#n=4k# (i.e.,#n# is a multiple of 4 (including#n=0# ))#-\sin(x)# if#n=4k+1# (i.e.,#n# is one unit away from a multiple of 4)#-\cos(x)# if#n=4k+2# (i.e.,#n# is two units away from a multiple of 4)#\sin(x)# if#n=4k+3# (i.e.,#n# is three units away from a multiple of 4)