Differentiating Trigonometric Expressions
Combining Trig Derivatives with Algebraic Rules
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.
Prerequisite Map
Quick Reference
| Property | Value |
|---|---|
| Concept | Derivatives |
| Chapter | 2.4 |
| Difficulty | Intermediate |
| Time | ~25 minutes |
Common Expression Types
Type 1: Trig + Polynomial
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$$
Type 2: Products with Trig
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$$
Type 3: Quotients with Trig
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}$$
Type 4: Multiple Trig Functions
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$$
Worked Example: Finding Horizontal Tangents
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$.
- $u' = \sec x \tan x$
- $v' = \sec^2 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$.
Application: Simple Harmonic Motion
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:
- The object is at rest ($v = 0$) when $\sin t = 0$, i.e., at the extremes of motion
- The acceleration is maximum when $\cos t = \pm 1$, i.e., at the extremes
- Notice that $a(t) = -s(t)$: acceleration is proportional and opposite to displacement
Practice Problems
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.
- Find the velocity and acceleration at time $t$.
- Find the position, velocity, and acceleration at $t = 2\pi/3$.
- At $t = 2\pi/3$, is the mass moving toward or away from equilibrium? Is it speeding up or slowing down?
Conceptual Check (CCI-Style)
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.
Common Mistakes
| 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$ |
Common Misconceptions
$\frac{d}{dx}[\sin(x^2)] = \cos(x^2)$. The sine function is composed with $x^2$, so the chain rule applies. The outer derivative gives $\cos(x^2)$, and the inner derivative gives $2x$, producing $\frac{d}{dx}[\sin(x^2)] = 2x\cos(x^2)$. Omitting the inner derivative $2x$ is the chain rule error; it occurs because students apply the basic formula $(\sin u)' = \cos u$ while treating $u$ as if it were the final variable.
$(\sin x)^2$ and $\sin(x^2)$ have the same derivative. These are different functions composed in different ways. For $(\sin x)^2 = \sin^2 x$, the chain rule gives $2\sin x \cos x$. For $\sin(x^2)$, the chain rule gives $2x\cos(x^2)$. Neither is $2\sin x$ or $2x\cos x$ alone.
Mastery Checklist
Mental Model
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.
Connections
Looking back:
- Trig Derivative Formulas provides the six building blocks
- Product Rule and Quotient Rule are the combining mechanisms
Looking ahead:
- Chain Rule extends this to compositions like $\sin(x^2)$
- Related Rates applies these derivatives to real-world rate problems
Real-world connections:
- Harmonic oscillators (springs, pendulums) have trig position functions
- Circular motion involves sine and cosine of time
- Signal processing uses trig functions extensively
| Previous | Up | Next |
|---|---|---|
| Trig Derivative Formulas | Skills Index | Chain Rule |
Last updated: 2026-01-22