Using Integration
Integration reverses the calculus chain — from acceleration back to velocity, and velocity back to displacement — provided you know one value along the way to pin down each constant of integration.
Integrating: acceleration back to velocity and displacement
Differentiation goes from $s$ to $v$ to $a$; integration reverses each step. Integrating acceleration gives velocity, and integrating velocity gives displacement — but each integration introduces a constant that must be pinned down using extra information, such as an initial velocity or starting position.
$$v = \int a\, dt \qquad s = \int v\, dt$$
Each integral carries a constant of integration. Without an initial condition — a known value of $v$ or $s$ at a specific $t$, almost always $t=0$ — the constant cannot be found, and $v(t)$ or $s(t)$ is only known up to an unknown shift.
Worked example 1
Displacement as a definite integral
If the acceleration or velocity function is already known, and the constants of integration aren't needed for the question being asked, a definite integral gives the displacement over an interval directly — this is the same "area under a velocity–time graph" idea from constant acceleration, now applied to a curved graph.
Worked example 2
Worked example 3
A single integral $\displaystyle\int_0^5(t^2-6t+8)\,dt = \tfrac{20}{3}-\tfrac43+\tfrac43 = \tfrac{20}{3} \approx 6.67\ \text{m}$ gives the net displacement — smaller than the total distance of $9.33\ \text{m}$, because the backward and forward pieces partly cancel when added with their signs.
Forgetting the constant of integration entirely, or assuming it is always zero — it represents whatever initial condition the question gives, and is only zero when the particle genuinely starts from rest or from the origin. The second frequent error is reporting $\displaystyle\int_a^b v\,dt$ as the "distance travelled" without first checking whether $v$ changes sign anywhere in $[a,b]$.
Check yourself
A particle starts at rest at the origin, and its acceleration at time $t$ seconds is $a = 6t-8\ \text{m s}^{-2}$. Find expressions for $v(t)$ and $s(t)$, and find the displacement when $t=3$.
(Hint: "starts at rest at the origin" fixes both constants of integration to zero.)
$v = \displaystyle\int(6t-8)\,dt = 3t^2-8t+c$. Since $v=0$ at $t=0$, $c=0$, so $v=3t^2-8t$.
$s = \displaystyle\int(3t^2-8t)\,dt = t^3-4t^2+k$. Since $s=0$ at $t=0$, $k=0$, so $s=t^3-4t^2$. At $t=3$: $s = 27-36 = -9\ \text{m}$.