What is the second, third, fourth and fifth derivative of tan(x)?

1 Answer
Apr 20, 2015

This is a possible way, I don't know if it is the easier o faster, but it is enjoying:

y=tanx

y(1)=1+tan2x=1+y2

y(2)=2yy(1)=2y(1+y2)=2y+2y3

y(3)=2y(1)+6y2y(1)=2(1+y2)+6y2(1+y2)=

=2+2y2+6y2+6y4=2+8y2+6y4

y(4)=16yy(1)+24y3y(1)=16y(1+y2)+24y3(1+y2)=

=16y+16y3+24y3+24y5=16y+40y3+24y5

y(5)=16y(1)+120y2y(1)+120y4y(1)=

=16(1+y2)+120y2(1+y2)+120y4(1+y2)=

=16+16y2+120y2+120y4+120y4+120y6=

=16+136y2+240y4+120y6=

=16+136tan2x+240tan4x+120tan6x.

I hope that it is correct, and... enjoying...