How do I differentiate tan(x) ?

To differentiate tan(x):

Note: Here, we use d/dx f(x) to mean "the derivative of f(x) with respect to x". 

1) rewrite tan(x) as sin(x)/cos(x)

2) Apply the quotient rule (or, alternatively, you could use the product rule using functions sin(x) and 1/cos(x)):

Using the quotient rule:

d/dx tan(x) = (cos(x)cos(x) - sin(x)(-sin(x))) / cos2(x)

d/dx tan(x) = (cos2(x) + sin2(x)) / cos2(x)

3) Recall/Note the following identity: cos2(x) + sin2(x) = 1

So, d/dx tan(x) = 1 / cos2(x)

4) Use the definition of sec(x):

So, d/dx tan(x) = sec2(x), as required 

 

JH
Answered by Joseph H. Further Mathematics tutor

152032 Views

See similar Further Mathematics A Level tutors

Related Further Mathematics A Level answers

All answers ▸

What is the general solution to the equation d2y/dx2 + dy/dx - 2y = -3sinx + cosx (d2y/dx2 signals a second order derivative)


prove by induction that, f(n) = 2^(3n+1) + 3(5^(2n+1)) is divisible by 17 for all n>0.


For f(x) = (3x+4)^(-2), find f'(x) and f''(x) and hence write down the Maclaurin series up to and including the term in x^2.


Why is the integral of 1/sqrt(1-x^2)dx = sin^{-1}(x)?


We're here to help

contact us iconContact ustelephone icon+44 (0) 203 773 6020
Facebook logoInstagram logoLinkedIn logo

MyTutor is part of the IXL family of brands:

© 2026 by IXL Learning