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

12814 Views

See similar Maths A Level tutors

Related Maths A Level answers

All answers ▸

Derive 2*x^(3/2)+x+4


A ball is released on a smooth ramp at a distance of 5 metres from the ground. Calculate its speed when it reaches the bottom of the ramp.


Write down the coordinates of the centre and the radius of the circle with equation x^2+y^2-4x-8y+11=0


Why is the definite integral between negative limits of a function with positive values negative even though the area bound by the x-axis is positive? for example the integral of y=x^2 between x=-2 and x=-1


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