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

10914 Views

See similar Maths A Level tutors

Related Maths A Level answers

All answers ▸

If y=2x+4x^3+3x^4 and z=(1+x)^2, find dy/dx and dz/dx.


Where does integration by parts come from?


Express: (x^2 + 5x - 14) / (2x^2 - 4x) as a fraction in it's simplest form.


In a triangle ABC, side AB=10 cm, side AC=5cm and the angle BAC=θ, measured in degrees. The area of triangle ABC is 15cm(sq). Find 2 possible values for cosθ and the exact length of BC, given that it is the longest side of the triangle.


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:

© 2025 by IXL Learning