Navigation: Wiki Home > Skills > Differentiating Trigonometric Expressions
Knowing that $\frac{d}{dx}\sin x = \cos x$ is just the beginning. Real problems involve expressions like $x^2 \sin x$ (product) or $\frac{\sec x}{1 + \tan x}$ (quotient). This skill bridges the gap between memorizing formulas and solving actual calculus problems.
The key insight: trig functions are just functions. They follow the same product rule, quotient rule, and sum rule as polynomials. The only new ingredient is the six derivative formulas from the previous skill.
| Property | Value |
|---|---|
| Concept | Derivatives |
| Chapter | 2.4 |
| Difficulty | Intermediate |
| Time | ~25 minutes |
Simple sums/differences: differentiate term by term.
Example: $f(x) = x^3 + \sin x - 2\cos x$
$$f'(x) = 3x^2 + \cos x - 2(-\sin x) = 3x^2 + \cos x + 2\sin x$$
Use the Product Rule: $(fg)' = f'g + fg'$
Example: $y = x^2 \sin x$
Let $f = x^2$ and $g = \sin x$:
$$y' = (x^2)' \cdot \sin x + x^2 \cdot (\sin x)' = 2x \sin x + x^2 \cos x$$
Use the Quotient Rule: $\left(\frac{f}{g}\right)' = \frac{f'g - fg'}{g^2}$
Example: $y = \frac{\sin x}{1 + \cos x}$
$$y' = \frac{(\cos x)(1 + \cos x) - (\sin x)(-\sin x)}{(1 + \cos x)^2}$$
$$= \frac{\cos x + \cos^2 x + \sin^2 x}{(1 + \cos x)^2} = \frac{\cos x + 1}{(1 + \cos x)^2} = \frac{1}{1 + \cos x}$$
Products of trig functions also need the product rule.
Example: $y = \sin x \cos x$
$$y' = (\cos x)(\cos x) + (\sin x)(-\sin x) = \cos^2 x - \sin^2 x = \cos 2x$$
Problem: For $f(x) = \frac{\sec x}{1 + \tan x}$, find where the graph has horizontal tangents.
Solution:
Step 1: Find $f'(x)$ using the quotient rule.
Let $u = \sec x$ and $v = 1 + \tan x$.
$$f'(x) = \frac{(\sec x \tan x)(1 + \tan x) - (\sec x)(\sec^2 x)}{(1 + \tan x)^2}$$
Step 2: Simplify the numerator.
$$= \frac{\sec x \tan x + \sec x \tan^2 x - \sec^3 x}{(1 + \tan x)^2}$$
Factor out $\sec x$:
$$= \frac{\sec x(\tan x + \tan^2 x - \sec^2 x)}{(1 + \tan x)^2}$$
Using $\sec^2 x = 1 + \tan^2 x$:
$$\tan x + \tan^2 x - \sec^2 x = \tan x + \tan^2 x - 1 - \tan^2 x = \tan x - 1$$
So:
$$f'(x) = \frac{\sec x(\tan x - 1)}{(1 + \tan x)^2}$$
Step 3: Solve $f'(x) = 0$.
Since $\sec x \neq 0$ for any $x$ in the domain, we need $\tan x - 1 = 0$, i.e., $\tan x = 1$.
Answer: Horizontal tangents occur at $x = \frac{\pi}{4} + n\pi$ for any integer $n$.
When an object oscillates on a spring, its position might be:
$$s(t) = 4\cos t \quad \text{(cm)}$$
The velocity is the derivative of position:
$$v(t) = s'(t) = -4\sin t \quad \text{(cm/s)}$$
The acceleration is the derivative of velocity:
$$a(t) = v'(t) = -4\cos t \quad \text{(cm/s}^2\text{)}$$
Observations:
Differentiate $f(x) = x^2 + \cot x$.
Differentiate $h(\theta) = \theta^3 \sin \theta$.
Differentiate $y = \frac{\cos x}{1 - \sin x}$.
Find an equation of the tangent line to $y = x + \sin x$ at the point $(\pi, \pi)$.
A mass on a spring vibrates according to $x(t) = 8\sin t$ cm, where $t$ is in seconds.
The function $f(x) = x + 2\sin x$ has horizontal tangents at certain points.
Without computing, predict: are there finitely many or infinitely many horizontal tangents? Explain your reasoning.
| Mistake | Correction |
|---|---|
| Forgetting the negative in $(\cos x)' = -\sin x$ | The "co" functions all have negative derivatives |
| Writing $(x \sin x)' = 1 \cdot \cos x$ | This is a product; use product rule: $\sin x + x\cos x$ |
| Simplifying $\sin^2 x + \cos^2 x$ to something other than 1 | This identity always equals 1 |
| Forgetting $\tan x$ has domain restrictions | $\tan x$ and $\sec x$ are undefined where $\cos x = 0$ |
Trig functions are just functions.
The product rule, quotient rule, and sum rule work exactly the same way whether you're dealing with polynomials or trig functions. The only difference is what you substitute for $f'$ and $g'$.
Think of the six trig derivative formulas as your "lookup table." Once you know them, everything else follows from the algebraic rules you already know.
Looking back:
Looking ahead:
Real-world connections:
| Previous | Up | Next |
|---|---|---|
| Trig Derivative Formulas | Skills Index | Chain Rule |
Last updated: 2026-01-22