Skip to content
ihateDesmos

Derivative of 2ˣ

Updated 6 November 2026 · Checked numerically by the ihateDesmos engine
The derivative of 2ˣ
ddx(2x)=2xln(2)

The derivative of 2ˣ is 2ˣ ln 2, which is about 0.693 · 2ˣ. Every exponential’s derivative is itself times the natural log of its base.

−3−2−112324680
Open in calculator
y=2x
in blue and its derivative
y=2xln(2)
in red.

How to find the derivative of 2ˣ

Method: exponential rule.

  1. 1
    Rewrite the base using e: 2ˣ = e^(x ln 2).
  2. 2
    Apply the chain rule, with u = x ln 2 and du/dx = ln 2.
  3. 3
    This gives e^(x ln 2) · ln 2.
  4. 4
    Rewrite it: 2ˣ ln 2.

What it means on the graph

The slope of y = 2ˣ is always about 0.693 times its height. It doubles for each step in x, and so does its slope. At x = 0, the slope is ln 2 ≈ 0.693.

Table of values

The derivative column uses the formula. The last column estimates the slope directly from the original function, as an independent check.

Values of 2ˣ and its derivative
x2ˣ2ˣ ln 2Slope, measured
−21/4ln 2/4ln 2/4
−11/2ln 2/2ln 2/2
01ln 2ln 2
122ln 22ln 2
244ln 24ln 2
388ln 28ln 2

Second derivative

Differentiating once more gives:

d2dx2(2x)=2xln(2)2

The second derivative tells you which way the graph bends: positive means it curves upward, and negative means it curves downward.

Related derivatives

The same result with the chain or product rule. Each of these is checked numerically too.

Related derivatives
FunctionDerivative
23x
3ln(2)23x
2x2
2xln(2)2x2

Common mistakes

  • Using the power rule to get x·2^(x − 1). The power rule needs a constant exponent, and here the exponent is the variable.
  • Forgetting the ln 2.

Frequently asked questions

What is the derivative of 2ˣ?
The derivative of 2ˣ is 2ˣ ln 2.
What is the second derivative of 2ˣ?
Differentiate 2ˣ ln 2 again to get the second derivative. The result is shown on this page under “Second derivative”.
What is the derivative of aˣ in general?
aˣ ln a, for any positive base a. When a = e, ln e = 1, which is why eˣ is its own derivative.

Keep going

Differentiate any function

Type your own function into the derivative calculator and see every rule applied, step by step.

Open the derivative calculator