Skip to content
ihateDesmos

Integral of x²

Updated 6 November 2026 · Checked numerically by the ihateDesmos engine
The integral of x²
∫
x2
dx =
x33+C

The integral of x² is x³/3 + C. The power rule for integrals raises the exponent by one and divides by the new exponent.

−2−112−550
Open in calculator
y=x2
in blue and its integral
y=x33
(with C = 0) in red.

How to integrate x²

Method: power rule.

  1. 1
    The power rule says ∫xⁿ dx = xⁿ⁺¹/(n + 1) + C, for any n except −1.
  2. 2
    Here n = 2, so the new exponent is 3.
  3. 3
    Divide by the new exponent: x³/3.
  4. 4
    Add the constant of integration: C.
  5. 5
    Check: the derivative of x³/3 is 3x²/3 = x².

What it means

The integral gives the area under y = x². Since x² is never negative, the area builds up steadily as x increases.

The integral from 0 to 2

Using the antiderivative: F(2) − F(0) = 8/3, which is about 8/3. A direct numerical integration of x² gives 8/3, which agrees.

−2.5−2−1.5−1−0.50.511.522.5−8−6−4−22468

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
xx²Slope of the answer
−244
−5/425/1625/16
−1/21/41/4
000
3/49/169/16
3/29/49/4
244

Common mistakes

  • Forgetting the + C.
  • Multiplying by the exponent instead of dividing, which is the derivative’s rule, not the integral’s.

Frequently asked questions

What is the integral of x²?
The integral of x² is x³/3 + C.
What is the integral of x² from 0 to 2?
8/3, which is about 8/3.

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