Derivative of Trigonometric Functions: Formulas, Rules & Easy Examples

Learn the derivatives of sine, cosine, tangent and other trig functions. Master key formulas and apply them step-by-step to solve problems quickly.

Core Theorem
Basic Trigonometric Derivatives:
ddx(sinx)=cosx\frac{d}{dx}(\sin x) = \cos x

ddx(cosx)=sinx\frac{d}{dx}(\cos x) = -\sin x

ddx(tanx)=sec2x\frac{d}{dx}(\tan x) = \sec^2 x

ddx(cotx)=csc2x\frac{d}{dx}(\cot x) = -\csc^2 x

ddx(secx)=secxtanx\frac{d}{dx}(\sec x) = \sec x \tan x

ddx(cscx)=cscxcotx\frac{d}{dx}(\csc x) = -\csc x \cot x

Practice Exercises


Example 01Easy
Find ddx(sinx)\frac{d}{dx}(\sin x).
NEED A HINT?
Recall the basic derivative rule for sine.
SHOW DETAILED EXPLANATION

Step 1: Identify Function

The function is sinx\sin x.

Step 2: Apply Formula

Derivative of sinx\sin x is cosx\cos x.

Final Answer

cosx\cos x
Example 02Easy
Find ddx(cosx)\frac{d}{dx}(\cos x).
NEED A HINT?
Be careful with the negative sign.
SHOW DETAILED EXPLANATION

Step 1: Identify Function

The function is cosx\cos x.

Step 2: Apply Formula

Derivative of cosx\cos x is sinx-\sin x.

Final Answer

sinx-\sin x
Example 03Medium
Find ddx(tanx)\frac{d}{dx}(\tan x).
NEED A HINT?
Tangent derivative is not cosine or sine.
SHOW DETAILED EXPLANATION

Step 1: Identify Function

The function is tanx\tan x.

Step 2: Apply Formula

Derivative of tanx\tan x is sec2x\sec^2 x.

Final Answer

sec2x\sec^2 x
Example 04Medium
Find ddx(sin(3x))\frac{d}{dx}(\sin(3x)).
NEED A HINT?
Use the chain rule.
SHOW DETAILED EXPLANATION

Step 1: Outer Function

Derivative of sin(u)\sin(u) is cos(u)\cos(u).

Step 2: Inner Function

Derivative of 3x3x is 33.

Step 3: Multiply

cos(3x)3\cos(3x) \cdot 3

Final Answer

3cos(3x)3\cos(3x)
Example 05Medium
Find ddx(xsinx)\frac{d}{dx}(x\sin x).
NEED A HINT?
Use the product rule.
SHOW DETAILED EXPLANATION

Step 1: Product Rule

(uv)=uv+uv(uv)' = u'v + uv'

Step 2: Differentiate

1sinx+xcosx1 \cdot \sin x + x \cdot \cos x

Final Answer

sinx+xcosx\sin x + x\cos x
Common Pitfalls
  • Forgetting the negative signddx(cosx)=sinx\frac{d}{dx}(\cos x) = -\sin x, not sinx\sin x.
  • Confusing $\tan x$ derivativeIt is sec2x\sec^2 x, NOT secx\sec x.
  • Ignoring chain ruleddx(sin(2x))cos(2x)\frac{d}{dx}(\sin(2x)) \neq \cos(2x) — you must multiply by 2.
  • Mixing up reciprocal trig functionsddx(secx)=secxtanx\frac{d}{dx}(\sec x) = \sec x \tan x, not tanx\tan x.
Gary Chang

Gary Chang

Calculus Educator

5+ Years of Calculus Teaching Experience | AP Calculus Specialist. Dedicated to helping students master calculus through step-by-step logic and clear visualizations.

Recommended Learning Path

Want a Structured Way to Score a 5 in ap calculus ab?

Don not learn in fragments. Follow our proven 30-day roadmap that connects every concept from Limits to Integrals.

Start Your 30-Day Journey →

Join thousands of students mastering AP Calculus with us.