Derivatives of Trig &
Logarithmic Functions
Master the derivatives of \(\sin x\), \(\cos x\), \(e^x\), and \(\ln x\): the four building blocks of calculus.
What Is a Derivative?
A derivative measures the instantaneous rate of change of a function. Geometrically, it is the slope of the tangent line at any point on a curve.
Today we focus on four essential functions: \(\sin x\), \(\cos x\), \(e^x\), and \(\ln x\).
Why These Four Functions?
Visualizing \(\sin x\) and Its Derivative
Core Rules: Trigonometric Derivatives
Core Rules: \(e^x\) and \(\ln x\)
Visualizing \(e^x\) and \(\ln x\)
Trig vs. Exp/Log: Key Differences
| Trigonometric | Exponential / Log | |
|---|---|---|
| Functions | \(\sin x, \cos x\) | \(e^x, \ln x\) |
| Derivative Pattern | Cycles through trig functions | Returns same type or algebraic |
| Sign Changes | Yes: \(\cos x \to -\sin x\) | No sign changes |
| Domain | All real numbers | \(e^x\): all reals; \(\ln x\): \(x > 0\) |
| Behavior | Periodic (oscillating) | Monotonic (always increasing) |
The Trig Derivative Cycle
How to Apply These Rules
Example 1: Basic Derivatives
Find the derivative of each:
Solution: \(f'(x) = \cos x + e^x\)
Solution: \(g'(x) = -3\sin x - \dfrac{2}{x}\)
Solution: \(h'(x) = 5e^x + 4\cos x\)
Example 2: Combined Functions
Find \(\dfrac{d}{dx}\bigl[x^2 \cdot \ln x\bigr]\)
Example 3: Higher Difficulty
Find \(\dfrac{d}{dx}\!\left[\dfrac{e^x}{\cos x}\right]\)
Example 4: Tangent Line Application
Find the equation of the tangent line to \(f(x) = e^x\) at \(x = 0\).
Common Mistakes to Avoid
Summary Table
| Function \(f(x)\) | Derivative \(f'(x)\) | Key Note |
|---|---|---|
| \(\sin x\) | \(\cos x\) | No sign change |
| \(\cos x\) | \(-\sin x\) | Negative sign! |
| \(e^x\) | \(e^x\) | Its own derivative |
| \(\ln x\) | \(\frac{1}{x}\) | Domain: \(x > 0\) |
Question 1 of 5
What is \(\dfrac{d}{dx}[\sin x]\)?
Question 2 of 5
What is \(\dfrac{d}{dx}[\cos x]\)?
Question 3 of 5
If \(f(x) = e^x + \ln x\), what is \(f'(x)\)?
Question 4 of 5
What is the slope of the tangent line to \(f(x) = \ln x\) at \(x = e\)?
Question 5 of 5
If you differentiate \(\sin x\) four times, you get: