Skip to content
ihateDesmos

Integral of 2ˣ

Updated 6 November 2026 · Checked numerically by the ihateDesmos engine
The integral of 2ˣ
∫
2x
dx =
2xln(2)+C

The integral of 2ˣ is 2ˣ/ln 2 + C. In general, ∫aˣ dx = aˣ/ln a + C, for any positive base other than 1.

−3−2−11235100
Open in calculator
y=2x
in blue and its integral
y=2xln(2)
(with C = 0) in red.

How to integrate 2ˣ

Method: exponential rule.

  1. 1
    Rewrite the base using e: 2ˣ = e^(x ln 2).
  2. 2
    Let u = x ln 2, so du = ln 2 dx.
  3. 3
    The integral becomes (1/ln 2) ∫eᵘ du = eᵘ/ln 2.
  4. 4
    Substitute back: 2ˣ/ln 2 + C.
  5. 5
    Check: the derivative of 2ˣ/ln 2 is 2ˣ ln 2/ln 2 = 2ˣ.

What it means

Because ln 2 ≈ 0.693, the area up to x is about 1.44 times the height at x.

The integral from 0 to 1

Using the antiderivative: F(1) − F(0) = 1/ln 2, which is about 1.4427. A direct numerical integration of 2ˣ gives 1.4427, which agrees.

−4−3−2−112324681012

Check by differentiating

The derivative of the answer should give back the original function. The last column measures that slope directly from the answer, and it matches.

Checking the integral
x2ˣSlope of the answer
−21/41/4
−11/21/2
011
122
244
388

Common mistakes

  • Using the power rule to get 2^(x + 1)/(x + 1).
  • Multiplying by ln 2 instead of dividing. That is the derivative’s rule.

Frequently asked questions

What is the integral of 2ˣ?
The integral of 2ˣ is 2ˣ/ln 2 + C.
What is the integral of 2ˣ from 0 to 1?
1/ln 2, which is about 1.4427.

Keep going

Integrate any function

Type your own function into the integral calculator for the steps, the answer and a graph.

Open the integral calculator