Lesson 2.9 · Differentiation: Definition and Basic Rules
Derivatives of other trig functions
You already know the derivatives of sine and cosine. The other four trig functions are all built from those two, tanx=cosxsinx, secx=cosx1 and so on, so the quotient rule is all you need to find their derivatives. This lesson derives them and shows how they fit with the rest of your rules.
Cotangent and cosecant work the same way, starting from cotx=sinxcosx and cscx=sinx1. You'll derive one in the practice.
Derivatives of the six trig functions
f(x)
f′(x)
f(x)
f′(x)
sinx
cosx
cosx
−sinx
tanx
sec2x
cotx
−csc2x
secx
secxtanx
cscx
−cscxcotx
Notice the pattern: each function in the right column is the "co-" partner of the one on its left, and every co-function derivative has a minus sign and swaps each function for its co-partner. If you remember the left column, you can build the right one.
You don't need to memorize these by rote if you remember where they come from. Every one of them is the quotient rule applied to sine and cosine, followed by a Pythagorean identity or a split into two familiar ratios. If you ever blank on a sign during a test, you can rebuild the formula in under a minute. Also note which functions have slopes that are always positive: sec2x is never negative, so tanx is increasing on every interval where it's defined, while −csc2x is never positive, so cotx is always decreasing.
Combining with other rules
Worked example: Product rule with a trig function
Differentiate y=xtanx.
dxdy=1⋅tanx+x⋅sec2x=tanx+xsec2x
Worked example: A tangent line to sec x
Find the tangent line to y=secx at x=3π.
The point: sec3π=cos(π/3)1=1/21=2, so the point is (3π,2).
The slope: sec3πtan3π=23.
The tangent line is
y−2=23(x−3π)
Point-slope form like this is the expected final answer on the AP exam; there's no need to distribute.
Worked example: Recognizing a derivative
Evaluate h→0limhtan(6π+h)−tan6π.
This is the derivative of tanx at x=6π:
sec26π=cos2(π/6)1=3/41=34
Common mistake
sec2x means (secx)2, not sec(x2). When you evaluate it, find secx first and then square: sec24π=(2)2=2. And keep the minus signs on the co-functions; dropping one is the most common error in this lesson.
Tip
To evaluate secant, cosecant and cotangent at special angles, convert to sine and cosine first: secθ=cosθ1, cscθ=sinθ1, cotθ=sinθcosθ.
Practice
Practice 1
Find f′(x) for f(x)=3tanx−2secx.
Enter an expression, e.g. 3x^2 - 2x + 1
Practice 2
Find dxdy for y=x2cotx.
Enter an expression, e.g. 3x^2 - 2x + 1
Practice 3
Let f(x)=tanx. Find f′(3π).
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Practice 4
Find the slope of the tangent line to y=secx at x=4π.
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Practice 5
Find an equation of the tangent line to y=tanx at x=4π.
Enter an expression, e.g. 3x^2 - 2x + 1
Practice 6
Use the quotient rule on cscx=sinx1. What is dxd[cscx]?
Practice 7
Let f(x)=extanx. Find f′(0).
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Practice 8
For 0<x<2π, at what value of x does y=2x−tanx have a horizontal tangent line?
Enter a number. Fractions like 3/4 and sqrt(2) are OK.