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.
y=2x
in blue and its integral y=2xln(2)
(with C = 0) in red.How to integrate 2ˣ
Method: exponential rule.
- 1Rewrite the base using e: 2ˣ = e^(x ln 2).
- 2Let u = x ln 2, so du = ln 2 dx.
- 3The integral becomes (1/ln 2) ∫eᵘ du = eᵘ/ln 2.
- 4Substitute back: 2ˣ/ln 2 + C.
- 5Check: 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.
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.
| x | 2ˣ | Slope of the answer |
|---|---|---|
| −2 | 1/4 | 1/4 |
| −1 | 1/2 | 1/2 |
| 0 | 1 | 1 |
| 1 | 2 | 2 |
| 2 | 4 | 4 |
| 3 | 8 | 8 |
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.