integrate x^2 from 0 to 1

Definite integral

integral_0^1 x^2 dx = 1/3≈0.33333

Visual representation of the integral

Visual representation of the integral

Riemann sums

left sum | ((n - 1) (2 n - 1))/(6 n^2) = 1/3 - 1/(2 n) + O((1/n)^2)
(assuming subintervals of equal length)

Indefinite integral

integral x^2 dx = x^3/3 + constant