Derivative of 2x
The derivative of 2^x is 2^x · ln 2, by the exponential rule for a general base. The second derivative is 2^x · (ln 2)^2.
📐 The exponential rule for a general base
d/dx ax = ax · ln a.
d/dx 2x = 2x · ln 2, and d²/dx² 2x = 2x · (ln 2)2.
✍️ Differentiating 2x
- Write 2x with base e: 2 = eln 2, so 2x = ex·ln 2.
- Chain rule: d/dx ex·ln 2 = ex·ln 2 × ln 2.
- Change back: ex·ln 2 = 2x, so d/dx 2x = 2x · ln 2 ≈ 0.6931 × 2x.
🔍 Where the rule comes from
Only ex is its own derivative. Every other base is ex stretched along the x-axis by ln 2 (because 2x = ex ln 2), and stretching multiplies the slope by the same factor. The number ln 2 ≈ 0.6931 is the slope of 2x at x = 0.
📍 The slope of 2x at a point, and the tangent line
f′(a) is the slope of the graph at x = a, and the tangent line there is y = f′(a)(x − a) + f(a). Values to four decimal places; the calculator below gives any other point.
| Point | 2x | 2x · ln 2 | Tangent line |
|---|---|---|---|
| x = −2 | 0.25 | 0.1733 | y = 0.1733x + 0.5966 |
| x = −1 | 0.5 | 0.3466 | y = 0.3466x + 0.8466 |
| x = −0.5 | 0.7071 | 0.4901 | y = 0.4901x + 0.9522 |
| x = 0 | 1 | 0.6931 | y = 0.6931x + 1 |
| x = 0.5 | 1.4142 | 0.9803 | y = 0.9803x + 0.9241 |
| x = 1 | 2 | 1.3863 | y = 1.3863x + 0.6137 |
| x = 2 | 4 | 2.7726 | y = 2.7726x − 1.5452 |
| x = 3 | 8 | 5.5452 | y = 5.5452x − 8.6355 |
👪 Exponentials with other bases: the derivatives side by side
The same rule, or the same trap, runs through the whole family; each row has its own worked page.
⚠️ The mistakes that lose the marks
- Using the power rule: d/dx 2x is not x·2x−1; the variable is in the exponent.
- Forgetting ln 2: only ex has derivative equal to itself.
🧮 Calculator
The answer appears here, with the working in words.
✏️ Five questions, answers hidden
1. Differentiate 3^x.
Answer: 3^x · ln 3
2. Differentiate 2^(2x).
Answer: 2·2^(2x) · ln 2
3. Differentiate 5·2^x.
Answer: 5·2^x · ln 2
4. What is the slope of y = 2^x at x = 0?
Answer: ln 2 ≈ 0.6931
5. Differentiate 2^(−x).
Answer: −2^(−x) · ln 2
📚 The class this belongs to
Derivatives are taught in AP Calculus AB and BC and in Calculus 1 in the US (the power, product, quotient and chain rules, trigonometric, exponential and logarithmic derivatives, implicit differentiation), in A-level Maths (Year 12 and 13, Pure) in the UK, in IB Mathematics Analysis and Approaches (Topic 5), in Class 11 and 12 in CBSE (NCERT Limits and Derivatives, Continuity and Differentiability) and in Mathematical Methods (Units 3 and 4) and Specialist Mathematics in Australia.
If this page is the homework and the method is not sticking, that is what a 1-on-1 class fixes: one tutor with a master's degree, one child, on a shared whiteboard, in your time zone, about US$10 to $13 an hour. How 1-on-1 online tutoring works.
