`f(x) = -x + tan(x)` Find the derivative of the trigonometric function.

Expert Answers
hkj1385 eNotes educator| Certified Educator

Note:- 1) If y = tanx ; then dy/dx = sec^2(x)

2) If y = x^n ; then dy/dx = n*x^(n-1)

Now, 

`f(x) = -x + tanx`

`f'(x) = -1 + sec^2(x)`

``