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

12693 Views

See similar Maths A Level tutors

Related Maths A Level answers

All answers ▸

The function f is defined for all real values of x as f(x) = c + 8x - x^2, where c is a constant. Given that the range of f is f(x) <= 19, find the value of c. Given instead that ff(2) = 8, find the possible values of c.


How do you differentiate y = 5 x^3 + 1/2 x^2 + 3x -4


Find dy/dx in terms of t for the curve defined by the parametric equations: x = (t-1)^3, y = 3t - 8/t^2, where t≠0


differentiate y=(5x-2)^5


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