Integral of 2x
Updated 6 November 2026 · Checked numerically by the ihateDesmos engine
The integral of 2x
∫
2x
dx =x2+C
The integral of 2x is x² + C. It is the reverse of the most familiar derivative: the derivative of x² is 2x.
y=2x
in blue and its integral y=x2
(with C = 0) in red.How to integrate 2x
Method: power rule.
- 1Take the constant outside: 2 ∫x dx.
- 2The power rule gives ∫x dx = x²/2.
- 3Multiply: 2 · x²/2 = x².
- 4Add the constant: x² + C.
What it means
y = 2x is a straight line, so the area under it is a triangle. From 0 to a, that triangle has base a and height 2a, so its area is a², matching the formula.
The integral from 0 to 3
Using the antiderivative: F(3) − F(0) = 9, which is about 9. A direct numerical integration of 2x gives 9, 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 | 2x | Slope of the answer |
|---|---|---|
| −12/5 | −24/5 | −24/5 |
| −3/2 | −3 | −3 |
| −3/5 | −6/5 | −6/5 |
| 0 | 0 | 0 |
| 9/10 | 9/5 | 9/5 |
| 9/5 | 18/5 | 18/5 |
| 12/5 | 24/5 | 24/5 |
Common mistakes
- Writing 2 with no x, which is the derivative of 2x, not its integral.
- Forgetting the + C.
Frequently asked questions
What is the integral of 2x?
The integral of 2x is x² + C.
What is the integral of 2x from 0 to 3?
9, which is about 9.
Keep going
Integrate any function
Type your own function into the integral calculator for the steps, the answer and a graph.