Skip to main content

Thomas’ Calculus · Chapter 03 · Section 3.5

By Muhammad Abdullah Athar · SymPy Verified

Derivatives of Trigonometric Functions

❦

Read this page the way you would a book: first the notes, then the key ideas, then every worked example in order — each step explains not only what to do, but why it works.

Part One

Section Notes

❧

Section 3.5: Derivatives of Trigonometric Functions

Trigonometric functions model periodic and oscillatory phenomena. Their derivatives depend fundamentally on radian angle measure.


1. Primary Derivatives

ddx[sin⁡x]=cos⁡x,ddx[cos⁡x]=−sin⁡x\frac{d}{dx}[\sin x] = \cos x, \qquad \frac{d}{dx}[\cos x] = -\sin x

2. Derived Trigonometric Rules

Using the Quotient Rule:

  • ddx[tan⁡x]=sec⁡2x\frac{d}{dx}[\tan x] = \sec^2 x
  • ddx[sec⁡x]=sec⁡xtan⁡x\frac{d}{dx}[\sec x] = \sec x \tan x
  • ddx[cot⁡x]=−csc⁡2x\frac{d}{dx}[\cot x] = -\csc^2 x
  • ddx[csc⁡x]=−csc⁡xcot⁡x\frac{d}{dx}[\csc x] = -\csc x \cot x

Part Two

Key Ideas to Remember

1 essential statements for this section, each with a plain-words explanation.

Theorem #1Sec 3.5

Derivatives of the Six Trigonometric Functions

ddx[sin⁡x]=cos⁡x,  ddx[cos⁡x]=−sin⁡x,  ddx[tan⁡x]=sec⁡2x,  ddx[sec⁡x]=sec⁡xtan⁡x,  ddx[csc⁡x]=−csc⁡xcot⁡x,  ddx[cot⁡x]=−csc⁡2x\frac{d}{dx}[\sin x] = \cos x, \; \frac{d}{dx}[\cos x] = -\sin x, \; \frac{d}{dx}[\tan x] = \sec^2 x, \; \frac{d}{dx}[\sec x] = \sec x \tan x, \; \frac{d}{dx}[\csc x] = -\csc x \cot x, \; \frac{d}{dx}[\cot x] = -\csc^2 x

The derivatives of all six trigonometric functions exist wherever the functions are defined, with radian measure assumed throughout.

Conditions: x measured in radians; x is in the domain of the respective trig function

In plain words: Notice the cofunction pattern: every 'co' function (cosine, cotangent, cosecant) has a negative sign in its derivative.

Remember — All 'co' trigonometric derivatives have a negative sign.

Part Three

Worked Examples

5 exercises, solved in full. Every answer has been checked symbolically with SymPy before printing.

Example 01(Section 3.5, Exercise 1)

Warm-up

Problem. Differentiate y = x^2*sin(x) + 2x*cos(x) - 2*sin(x).

Step-by-Step Derivation (2 steps)

1

Differentiate Each Group Using Product Rule

ddx[x2sin⁡x]=2xsin⁡x+x2cos⁡x;ddx[2xcos⁡x]=2cos⁡x−2xsin⁡x;ddx[−2sin⁡x]=−2cos⁡x\frac{d}{dx}[x^2 \sin x] = 2x\sin x + x^2\cos x; \quad \frac{d}{dx}[2x\cos x] = 2\cos x - 2x\sin x; \quad \frac{d}{dx}[-2\sin x] = -2\cos x

Differentiate each term individually.

Why this works: Linearity of derivative operator.
2

Combine and Cancel Terms

(2xsin⁡x+x2cos⁡x)+(2cos⁡x−2xsin⁡x)−2cos⁡x=x2cos⁡x(2x\sin x + x^2\cos x) + (2\cos x - 2x\sin x) - 2\cos x = x^2\cos x

Notice that 2x*sin(x) cancels with -2x*sin(x), and 2*cos(x) cancels with -2*cos(x).

Why this works: Algebraic cancellation yields a single term.

Answer: dydx=x2cos⁡x\frac{dy}{dx} = x^2 \cos x

✓ Verified by SymPy CAS

Example 02(Section 3.5, Exercise 2)

Core practice

Problem. Differentiate y = sec(x) / (1 + tan(x)).

Step-by-Step Derivation (3 steps)

1

Apply Quotient Rule

y′=ddx[sec⁡x](1+tan⁡x)−sec⁡xddx[1+tan⁡x](1+tan⁡x)2y' = \frac{\frac{d}{dx}[\sec x](1 + \tan x) - \sec x \frac{d}{dx}[1 + \tan x]}{(1 + \tan x)^2}

Set up the quotient rule formula.

Why this works: Quotient rule structure.
2

Substitute Derivatives and Factor

(sec⁡xtan⁡x)(1+tan⁡x)−sec⁡x(sec⁡2x)(1+tan⁡x)2=sec⁡x[tan⁡x+tan⁡2x−sec⁡2x](1+tan⁡x)2\frac{(\sec x \tan x)(1 + \tan x) - \sec x(\sec^2 x)}{(1 + \tan x)^2} = \frac{\sec x [\tan x + \tan^2 x - \sec^2 x]}{(1 + \tan x)^2}

Factor out sec(x) from both terms in the numerator.

Why this works: Factoring exposes trigonometric identities.
3

Use Pythagorean Identity tan^2(x) - sec^2(x) = -1

tan⁡2x−sec⁡2x=−1  ⟹  y′=sec⁡x(tan⁡x−1)(1+tan⁡x)2\tan^2 x - \sec^2 x = -1 \implies y' = \frac{\sec x (\tan x - 1)}{(1 + \tan x)^2}

Replace tan^2(x) - sec^2(x) with -1.

Why this works: Fundamental Pythagorean identity 1 + tan^2(x) = sec^2(x).

Answer: dydx=sec⁡(x)(tan⁡(x)−1)(1+tan⁡(x))2\frac{dy}{dx} = \frac{\sec(x)(\tan(x) - 1)}{(1 + \tan(x))^2}

✓ Verified by SymPy CAS

Example 03(Section 3.5, Exercise 3)

Warm-up

Problem. Find the equation of the tangent line to y = 3*tan(x) - 2*cos(x) at x = 0.

Step-by-Step Derivation (3 steps)

1

Find y-Coordinate at x = 0

y(0)=3tan⁡(0)−2cos⁡(0)=3(0)−2(1)=−2y(0) = 3\tan(0) - 2\cos(0) = 3(0) - 2(1) = -2

Evaluate the function at x = 0 to get point (0, -2).

Why this works: Point of tangency.
2

Compute Derivative y'

y′=3sec⁡2x−2(−sin⁡x)=3sec⁡2x+2sin⁡xy' = 3\sec^2 x - 2(-\sin x) = 3\sec^2 x + 2\sin x

Differentiate each trigonometric term.

Why this works: Standard trigonometric derivatives.
3

Evaluate Slope at x = 0 and Form Line Equation

m=y′(0)=3sec⁡2(0)+2sin⁡(0)=3(1)+0=3;y−(−2)=3(x−0)  ⟹  y=3x−2m = y'(0) = 3\sec^2(0) + 2\sin(0) = 3(1) + 0 = 3; \quad y - (-2) = 3(x - 0) \implies y = 3x - 2

Substitute slope m = 3 and point (0, -2) into point-slope form.

Why this works: Tangent line equation.

Answer: y=3x−2y = 3x - 2

✓ Verified by SymPy CAS

Example 04(Section 3.5, Exercise 4)

Core practice

Problem. Prove that d/dx[tan x] = sec^2(x) using the quotient identity tan(x) = sin(x)/cos(x).

Step-by-Step Derivation (2 steps)

1

Apply Quotient Rule to sin(x)/cos(x)

ddx[sin⁡xcos⁡x]=(cos⁡x)(cos⁡x)−(sin⁡x)(−sin⁡x)cos⁡2x\frac{d}{dx}\left[\frac{\sin x}{\cos x}\right] = \frac{(\cos x)(\cos x) - (\sin x)(-\sin x)}{\cos^2 x}

Numerator derivative is cos(x); denominator derivative is -sin(x).

Why this works: Quotient rule.
2

Simplify Numerator via Pythagorean Identity

cos⁡2x+sin⁡2xcos⁡2x=1cos⁡2x=sec⁡2x\frac{\cos^2 x + \sin^2 x}{\cos^2 x} = \frac{1}{\cos^2 x} = \sec^2 x

Apply cos^2(x) + sin^2(x) = 1 and reciprocal identity 1/cos(x) = sec(x).

Why this works: Pythagorean and reciprocal trigonometric identities.

Answer: ddx[tan⁡x]=sec⁡2x\frac{d}{dx}[\tan x] = \sec^2 x

✓ Verified by SymPy CAS

Example 05(Section 3.5, Exercise 5)

Core practice

Problem. Determine the 50th derivative of f(x) = sin(x).

Step-by-Step Derivation (3 steps)

1

Establish the 4-Cycle Pattern of Derivatives

f′(x)=cos⁡x,f′′(x)=−sin⁡x,f′′′(x)=−cos⁡x,f(4)(x)=sin⁡xf'(x) = \cos x, \quad f''(x) = -\sin x, \quad f'''(x) = -\cos x, \quad f^{(4)}(x) = \sin x

The derivatives of sin(x) repeat in a cycle of length 4.

Why this works: Differentiation cycle of circular functions.
2

Reduce Exponent Modulo 4

50=4×12+2  ⟹  50≡2(mod4)50 = 4 \times 12 + 2 \implies 50 \equiv 2 \pmod 4

Divide 50 by the cycle length 4; the remainder is 2.

Why this works: Cyclic repetition allows modular reduction.
3

Conclude with the Second Derivative

f(50)(x)=f′′(x)=−sin⁡xf^{(50)}(x) = f''(x) = -\sin x

The 50th derivative is identical to the second derivative.

Why this works: Cycle alignment.

Answer: f(50)(x)=−sin⁡xf^{(50)}(x) = -\sin x

✓ Verified by SymPy CAS