How to differentiate tan(x)?

tanx = sinx/cosx. Express this as: sinx*(cosx)^-1. Remembering the product rule: "y = f(x)g(x), dy/dx = f'(x)g(x) + f(x)g'(x)". sinx differentiates to cosx and cosx differentiates to -sinx. Also, remembering the chain rule, (cosx)^-1 differentiates to -sinx*(cosx)^-2. So tanx differentiates to cosx*(cosx)^-1 + sinxsinx(cosx)^-2. Which simplifies to 1 + (tanx)^2. From the identity (sinx)^2 + (cosx)^2 = 1, it can be seen that dividing through by (cosx)^2 gives (tanx)^2 + 1 = (cosx)^-2. (secx)^2 equals (cosx)^-2. Hence (tanx)^2 + 1 = (secx)^2. Therefore differentiating tanx gives (secx)^2.

KA
Answered by Kai A. Maths tutor

12512 Views

See similar Maths A Level tutors

Related Maths A Level answers

All answers ▸

Find the 12th term and the sum of the first 9 terms on the following Arithmetic Progression: a = 2 and d = 3


Find the area enclosed between the curves y = f(x) and y = g(x)


Solve the equation 3sin^2(x) + sin(x) + 8 = 9cos^2(x), -180<X<180. Then find smallest positive solution of 3sin^2(2O-30) + sin(2O-30) + 8 = 9cos^2(2O-30).


A cannon at ground level is firing at a fort 200m away with 20m high walls. It aims at an angle 30 degrees above the horizontal and fires cannonballs at 50m/s. Assuming no air resistance, will the cannonballs fall short, hit the walls or enter the fort?


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