d/dx 2^x = 2^x · ln 2 · the exponential rule for a general base

Derivative of 2x

0methods worked0practice questions0students taught0teaching online since
the answer

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 rule

📐 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.

step by step

✍️ Differentiating 2x

  1. Write 2x with base e: 2 = eln 2, so 2x = ex·ln 2.
  2. Chain rule: d/dx ex·ln 2 = ex·ln 2 × ln 2.
  3. Change back: ex·ln 2 = 2x, so d/dx 2x = 2x · ln 2 ≈ 0.6931 × 2x.
why it is true

🔍 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.

at a point

📍 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.

Point2x2x · ln 2Tangent line
x = −20.250.1733y = 0.1733x + 0.5966
x = −10.50.3466y = 0.3466x + 0.8466
x = −0.50.70710.4901y = 0.4901x + 0.9522
x = 010.6931y = 0.6931x + 1
x = 0.51.41420.9803y = 0.9803x + 0.9241
x = 121.3863y = 1.3863x + 0.6137
x = 242.7726y = 2.7726x − 1.5452
x = 385.5452y = 5.5452x − 8.6355
the family

👪 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.

FunctionDerivative
3x3x · ln 3the page
5x5x · ln 5the page
10x10x · ln 10the page
mistakes

⚠️ 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.
try another number

🧮 Calculator

The answer appears here, with the working in words.

practice

✏️ 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

where this is taught

📚 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.

Book a free demoLet's go!

The maths library, by topic
Questions

Asked about Derivative of 2x

1What is the derivative of 2^x?
2^x · ln 2, by the exponential rule for a general base.
2Which rule differentiates 2^x?
The exponential rule for a general base: d/dx a^x = a^x · ln a.
3What is the second derivative of 2^x?
2^x · (ln 2)^2: differentiate 2^x · ln 2 once more.
4What is the slope of y = 2^x at x = 3?
5.5452 (to four decimal places): the derivative evaluated at that point. The tangent line there is y = 5.5452x − 8.6355.