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

5990 Views

See similar Maths A Level tutors

Related Maths A Level answers

All answers ▸

Find the equation of the tangent line to the graph of y=2x^4-7x^3+x^2+3x when x=5


Differentiate y=x^2 from first principles


If y = sec(z)tan(z)/sqrt(sec(z)) then find the indefinite integral of y with respect to z.


A particle of mass 5kg is held at rests on a slope inclined at 30 degrees to the horizontal. The coefficient of friction for the slope is 0.7, determine whether the particle will move when released.


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