SECTION 1
Historical Context & Motivation
Calculus didn't appear overnight. For centuries, mathematicians struggled with a seemingly simple question: how do you measure the rate at which something changes at a single instant? The functions sin x, cos x, ex, and ln x kept showing up in problems about planetary motion, population growth, and sound waves. Finding their derivatives — the formulas that describe how these functions change — became one of the great achievements of early calculus. Understanding the history helps you see why these four results matter so much.
~1670 • Newton & Leibniz Invent Calculus
1748 • Euler Formalizes eˣ and ln x
1821 • Cauchy's Rigorous Limit Definition
1800s–Today • Applications Explode
So what exactly are the derivatives of sin x, cos x, ex, and ln x, and why do they take the forms they do? That's the question this lesson answers, step by step.
SECTION 2
Core Principles & Definitions
Before memorizing formulas, you need to understand what a derivative actually tells you. The derivative of a function at any point gives the instantaneous rate of change — the slope of the tangent line at that point. For functions like sin x and ex, these slopes follow elegant patterns that you can capture with simple formulas.
d/dx [sin x] = cos x
d/dx [cos x] = −sin x
d/dx [eˣ] = eˣ
d/dx [ln x] = 1/x
KEY TAKEAWAY
SECTION 3
Visual Explanation — Functions and Their Derivatives
The best way to understand these derivative relationships is to see a function and its derivative plotted together. In the diagram below, you can observe how the slope of each original function (the solid curve) matches the value of its derivative (the dashed curve) at every point.
This visual pattern reveals a deep truth: the value of the derivative at any x-coordinate equals the slope of the original function at that same x-coordinate. When you see the sine curve at a hilltop, its slope is zero, and sure enough, the cosine curve passes through zero right there. When the sine curve is falling steeply, the cosine curve dips to its most negative value.
SECTION 4
Mathematical Framework
Each of these four derivative formulas can be proven using the limit definition of the derivative: f′(x) = lim(h→0) [f(x + h) − f(x)] / h. Here we state each result precisely, define the variables, and note the domain.
DERIVATIVE OF SINE
Valid for all real numbers x, where x is measured in radians. This formula does not work if x is in degrees — always convert to radians first.
DERIVATIVE OF COSINE
Valid for all real numbers x (in radians). The negative sign is the most common source of errors — always include it.
DERIVATIVE OF THE NATURAL EXPONENTIAL
Valid for all real numbers x. Here e ≈ 2.71828 is Euler's number. The function ex is the only function (up to constant multiples) that equals its own derivative.
DERIVATIVE OF THE NATURAL LOGARITHM
Valid for x > 0. Since ln x is only defined for positive inputs, its derivative 1/x shares this domain restriction. Note that 1/x is never zero, so the ln x curve never has a horizontal tangent.
Radian Requirement
SECTION 5
Detailed Breakdown — How the Four Derivatives Compare
Seeing all four derivative rules side by side makes it easier to spot patterns and avoid mix-ups. The table below summarizes each function, its derivative, domain, and a quick memory tip. The diagram that follows shows the exponential and logarithm pair together.
| Function f(x) | Derivative f′(x) | Domain | Memory Tip |
|---|---|---|---|
| sin x | cos x | All real numbers | "Sine becomes cosine" — they cycle together. |
| cos x | −sin x | All real numbers | "Cosine picks up a negative." Don't forget the minus! |
| eˣ | eˣ | All real numbers | "e to the x is its own twin." It never changes. |
| ln x | 1/x | x > 0 | "Log drops down to one over x." Reciprocal of the input. |
Summary of the four essential derivative formulas
Notice a beautiful pattern: ex and ln x are inverse functions (each undoes the other). Similarly, sin and cos are deeply linked — differentiating sin gives cos, and differentiating cos gives −sin. If you differentiate sin x four times, you cycle back to sin x. These cyclic and inverse relationships are why these four functions form a tightly connected family in calculus.
SECTION 6
Worked Example
Let's put these derivative rules to work with a function that combines all four types. We'll find the derivative of f(x) = 3 sin x + 2ex − 5 cos x + 4 ln x. This will require the constant multiple rule and the sum/difference rule alongside our four formulas.
Find f′(x) for f(x) = 3 sin x + 2eˣ − 5 cos x + 4 ln x
- 1
Step 1 — Identify Each Term
The function has four terms: 3 sin x, 2ex, −5 cos x, and 4 ln x. By the sum/difference rule, we differentiate each term separately and combine the results. - 2
Step 2 — Differentiate 3 sin x
Using d/dx [sin x] = cos x and the constant multiple rule: d/dx [3 sin x] = 3 × cos x = 3 cos x.3 cos x - 3
Step 3 — Differentiate 2eˣ
Using d/dx [ex] = ex and the constant multiple rule: d/dx [2ex] = 2ex.2eˣ - 4
Step 4 — Differentiate −5 cos x
Using d/dx [cos x] = −sin x: d/dx [−5 cos x] = −5 × (−sin x) = 5 sin x. The two negatives cancel, giving a positive result.5 sin x - 5
Step 5 — Differentiate 4 ln x
Using d/dx [ln x] = 1/x: d/dx [4 ln x] = 4 × (1/x) = 4/x.4/x - 6
Step 6 — Combine All Terms
Adding the derivatives of all four terms together gives the final answer.f′(x) = 3 cos x + 2eˣ + 5 sin x + 4/x
Common Mistake Alert
SECTION 7
Common Errors & How to Avoid Them
These four derivative formulas are simple to state, but students frequently make errors when applying them. The table below lists the most common mistakes and provides strategies to avoid each one.
| Common Error | What Goes Wrong | How to Fix It |
|---|---|---|
| Missing the negative in d/dx [cos x] | Writing cos x → sin x instead of −sin x | Remember: "cosine carries a negative." Write −sin x immediately. |
| Using degrees instead of radians | The formulas give wrong slopes because they assume radian measure. | Always convert to radians. Set your calculator to radian mode. |
| Writing d/dx [eˣ] = xeˣ⁻¹ | Confusing the exponential rule with the power rule d/dx [xⁿ] = nxⁿ⁻¹. | The power rule is for x raised to a constant. eˣ has the variable in the exponent — totally different. |
| Writing d/dx [ln x] = 1/(ln x) | Confusing 1/x with 1/(ln x). | The derivative of ln x is 1/x, not 1 divided by ln x. They look similar but are completely different expressions. |
| Forgetting domain of ln x | Evaluating d/dx [ln x] at x = 0 or x < 0. | ln x and 1/x share the domain x > 0. Neither exists at x = 0. |
Five common errors and their corrections
KEY TAKEAWAY
SECTION 8
Connection to the Chain Rule & Beyond
So far, we've differentiated simple versions of these functions — sin x, cos x, ex, and ln x. But in real problems, you'll see things like sin(3x), e2x, or ln(x²). To handle those, you'll need the chain rule, which multiplies your derivative by the derivative of the inner function. The table below previews how these formulas extend.
| Basic Rule (This Lesson) | With Chain Rule (Coming Soon) |
|---|---|
| d/dx [sin x] = cos x | d/dx [sin(u)] = cos(u) × u′ |
| d/dx [cos x] = −sin x | d/dx [cos(u)] = −sin(u) × u′ |
| d/dx [eˣ] = eˣ | d/dx [eᵘ] = eᵘ × u′ |
| d/dx [ln x] = 1/x | d/dx [ln(u)] = (1/u) × u′ |
How the basic rules extend with the chain rule
The formulas you learned today are the building blocks. Once you master the chain rule, you'll be able to differentiate nearly any function involving trig, exponentials, and logarithms. You'll also encounter implicit differentiation and logarithmic differentiation, both of which lean heavily on d/dx [ln x] = 1/x. Mastering these four basic rules now sets you up for success in every calculus topic ahead.
SECTION 9
Practice Problems
Test your understanding of the four derivative formulas with these five problems, arranged from conceptual to challenging. Try each one on paper before reading the answer.
Question 1: CONCEPTUAL
Show answer
Question 2: BASIC CALCULATION
Show answer
Question 3: INTERMEDIATE
Show answer
Question 4: APPLIED
Show answer
Question 5: CRITICAL THINKING
Show answer
SUMMARY
Lesson Summary
Summary
This lesson covered the four fundamental derivative formulas that every calculus student must know. The derivative of sin x is cos x, and the derivative of cos x is −sin x — with the crucial negative sign that many students forget. The derivative of eˣ is eˣ itself, making it the only function that equals its own derivative. Finally, the derivative of ln x is 1/x, valid only for x > 0. All trig derivatives require radian measure.
These formulas combine with the constant multiple rule and sum/difference rule to let you differentiate any linear combination of these functions. Do not confuse the exponential rule with the power rule — the power rule handles xⁿ while the exponential rule handles eˣ. Looking ahead, the chain rule will extend these formulas to handle compositions like sin(3x) and e2x. Master these four building blocks, and the rest of differential calculus becomes far more accessible.