How can I find the derivative of y = tan(x)?

Let's first recall the definition of tan(x) = sin(x)/cos(x). Hence, y' = d/dx( sin(x)/cos(x) ). Recall quotient rule for differentiation: ( f(x)/g(x) )' = ( f '(x)^2*g(x) - f(x)*g'(x)^2 ) / g(x)^2 and that d/dx( sin(x) ) = cos(x), and d/dx( cos(x) ) = - sin(x). Then, y' = ( cos(x)cos(x) - sin(x)(-sin(x)) )/cos^2(x) => y' = ( cos^2(x) + sin^2(x) ) /cos^2(x). Recalling that cos^2(x) + sin^2(x) = 1 by the Pythagorean trigonometric identity, then y' = 1 / cos^2(x). Since sec(x) = 1/cos(x), we can state our result as: y' = d/dx( tan(x) ) = sec^2(x).

RB
Answered by Riccardo B. Maths tutor

5641 Views

See similar Maths A Level tutors

Related Maths A Level answers

All answers ▸

Find the area under the curve y = (4x^3) + (9x^2) - 2x + 7 between x=0 and x=2


Why do we get cos(x) when we differentiate sin(x)?


Find the value of cot(π/3)


Integrate 4/x^2


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