AP · Physics C: Mechanics · Kinematics with Calculus

Velocity and Position by Integration

16 min readUpdated November 30, 2026FreeAP Physics C: Mechanics, Kinematics

In AP® Physics C: Mechanics, you go from acceleration back to velocity by integrating a(t)a(t) with respect to time and adding the initial velocity, then integrate v(t)v(t) and add the initial position to get x(t)x(t). The displacement over an interval is the definite integral of velocity; the distance traveled is the integral of speed, so you split the interval wherever v=0v = 0.

Quick check

  1. What is an antiderivative of 6t² with respect to t?Show answerHide answer

    2t3+C2t^3 + C. Raise the power by one and divide by the new power; differentiating 2t32t^3 gives back 6t26t^2.

  2. A particle's position is x(t) = t² − 4t, in meters. What is its velocity function?Show answerHide answer

    v(t)=2t−4v(t) = 2t - 4 m/s. The note on velocity and acceleration as derivatives covers this direction.

  3. A cart moves at a steady 3.0 m/s for 4.0 s. What is its displacement, and what area on the velocity–time graph is that?Show answerHide answer

    12 m: the area of the rectangle under the velocity–time graph, 3.0×4.03.0 \times 4.0. Integration finds that area when vv is not constant.

Know these already? Jump to the practice questions

What you'll be able to do

  • Calculate v(t)v(t) and x(t)x(t) from a time-varying a(t)a(t) using initial conditions.
  • Calculate a displacement as the definite integral of velocity.
  • Calculate the distance traveled by splitting the integral of speed at turning points.
  • Derive the constant-acceleration equations by integrating a constant acceleration.

Key terms

Initial condition

A known value of velocity or position at a stated time, usually t=0t = 0, used to fix the constant of integration.

In plain English
Where the object starts, or how fast it starts.
Don't write
"The constant of integration is zero" without checking the initial condition.

Displacement

The change in position over an interval, Δx=x(t2)−x(t1)=∫t1t2v dt\Delta x = x(t_2) - x(t_1) = \int_{t_1}^{t_2} v\,dt. It can be negative.

In plain English
How far the object ends up from where it began, with direction.
Don't write
"Displacement is the total distance moved."

Distance traveled

The total length of path covered, ∫t1t2∣v∣ dt\int_{t_1}^{t_2} |v|\,dt. It is never negative.

In plain English
What the odometer would add up.
Don't write
"Distance is the integral of velocity."

How do you get v(t) from a(t)?

Because a=dv/dta = dv/dt (on the AP® Physics C: Mechanics equation sheet), the velocity is an antiderivative of the acceleration. Integrating gives the change in velocity, so you add the starting velocity (Learn this):

v(t)=v0+∫0ta dt′v(t) = v_0 + \int_0^t a\,dt'

The two routes give the same result:

  1. Indefinite: integrate, write +C+C, then substitute t=0t = 0 and v=v0v = v_0 to find CC.
  2. Definite: integrate from 00 to tt and add v0v_0, as in the equation.

For a(t)=6.0ta(t) = 6.0t m/s² and v0=−4.0v_0 = -4.0 m/s, v(t)=3.0t2−4.0v(t) = 3.0t^2 - 4.0 m/s. Check by differentiating: d(3.0t2−4.0)/dt=6.0td(3.0t^2 - 4.0)/dt = 6.0t.

Integrating with respect to time multiplies the unit by seconds, so m/s² becomes m/s. Without an initial condition you only know the velocity up to a constant: every curve 3.0t2+C3.0t^2 + C has the same acceleration.

Check yourself

a(t) = 2.0t m/s² and v(0) = 5.0 m/s. What is v at t = 3.0 s?
Show answerHide answer

v=5.0+t2v = 5.0 + t^2, so v(3.0)=5.0+9.0=14v(3.0) = 5.0 + 9.0 = 14 m/s.

How do you get x(t) from v(t)?

Integrate again, because v=dx/dtv = dx/dt (on the equation sheet), and add the starting position (Learn this):

x(t)=x0+∫0tv dt′x(t) = x_0 + \int_0^t v\,dt'

Each integration brings its own constant, so going from a(t)a(t) all the way to x(t)x(t) needs two initial conditions: v0v_0 for the first integral and x0x_0 for the second.

Continuing the example, v(t)=3.0t2−4.0v(t) = 3.0t^2 - 4.0 m/s with x0=1.0x_0 = 1.0 m gives

x(t)=t3−4.0t+1.0 mx(t) = t^3 - 4.0t + 1.0 \ \text{m}

The coefficient 1 in front of t3t^3 carries the unit m/s³.

Check yourself

v(t) = 2.0t m/s and x(0) = 3.0 m. What is x(t)?
Show answerHide answer

x(t)=t2+3.0x(t) = t^2 + 3.0 m. Differentiating gives back 2.0t2.0t, and x(0)=3.0x(0) = 3.0 m.

How are displacement and distance different?

Displacement is the signed area under the velocity–time graph, Δx=∫t1t2v dt\Delta x = \int_{t_1}^{t_2} v\,dt. Area below the axis is negative, so motion back toward the start cancels motion away from it.

Distance traveled adds every part as positive, ∫t1t2∣v∣ dt\int_{t_1}^{t_2} |v|\,dt. To find it:

  1. Solve v(t)=0v(t) = 0 inside the interval.
  2. Integrate vv over each piece between those times.
  3. Add the sizes of the pieces.

For v(t)=2.0t−4.0v(t) = 2.0t - 4.0 m/s from 0 to 3.0 s, v=0v = 0 at t=2.0t = 2.0 s. The pieces are ∫02.0v dt=−4.0\int_0^{2.0} v\,dt = -4.0 m and ∫2.03.0v dt=+1.0\int_{2.0}^{3.0} v\,dt = +1.0 m. The displacement is −3.0-3.0 m; the distance is 4.0+1.0=5.04.0 + 1.0 = 5.0 m.

Key idea

If vv never changes sign in the interval, distance equals the size of the displacement; otherwise split at every turning point.

Check yourself

A cart moves at −2.0 m/s for 3.0 s, then at +2.0 m/s for 3.0 s. Find its displacement and distance.
Show answerHide answer

Displacement −6.0+6.0=0-6.0 + 6.0 = 0; distance 6.0+6.0=126.0 + 6.0 = 12 m.

Where do the constant-acceleration equations come from?

They are the special case aa = constant. Each step follows from integrating:

  1. v=v0+∫0ta dt′=v0+atv = v_0 + \int_0^t a\,dt' = v_0 + at, because the integral of a constant is the constant times tt.
  2. x=x0+∫0t(v0+at′) dt′=x0+v0t+12at2x = x_0 + \int_0^t (v_0 + at')\,dt' = x_0 + v_0t + \tfrac{1}{2}at^2.
  3. Eliminate tt using t=(v−v0)/at = (v - v_0)/a: v2=v02+2a(x−x0)v^2 = v_0^2 + 2a(x - x_0).

All three results are on the AP® Physics C: Mechanics equation sheet, and the AP® Physics 1 note on constant-acceleration equations shows how to use them. They hold only when aa is constant. If aa depends on time, integrate instead.

Examiner's eye

Marks for a derivation go to starting from a=dv/dta = dv/dt, showing the integral with its limits, and using the initial conditions.

Check yourself

a(t) = 6.0t m/s². Can you use v = v₀ + at to find the velocity?
Show answerHide answer

No. The acceleration changes with time, so integrate: v=v0+3.0t2v = v_0 + 3.0t^2.

Worked example 1: From acceleration to position

Question: A particle moves along the x-axis with a(t)=12t−6.0a(t) = 12t - 6.0, where aa is in m/s² and tt in seconds, and +x+x is to the right. At t=0t = 0, v=2.0v = 2.0 m/s and x=−1.0x = -1.0 m. Calculate (a) its velocity at t=2.0t = 2.0 s, in m/s to 2 significant figures, and (b) its position at t=2.0t = 2.0 s, in meters to 2 significant figures.

What tells you the method

aa depends on tt, so integrate twice, using each initial condition.

  1. Step 1: Integrate a(t) and add v₀.

    v(t)=2.0+∫0t(12t′−6.0) dt′=6.0t2−6.0t+2.0v(t) = 2.0 + \int_0^t (12t' - 6.0)\,dt' = 6.0t^2 - 6.0t + 2.0 m/s.

    Why

    The integral gives the change in velocity, so the starting velocity is added.

  2. Step 2: Evaluate at t = 2.0 s.

    v(2.0)=24−12+2.0=14v(2.0) = 24 - 12 + 2.0 = 14 m/s.

    Why

    Substitute only after the function is complete.

  3. Step 3: Integrate v(t) and add x₀.

    x(t)=−1.0+2.0t3−3.0t2+2.0tx(t) = -1.0 + 2.0t^3 - 3.0t^2 + 2.0t m, so x(2.0)=−1.0+16−12+4.0=7.0x(2.0) = -1.0 + 16 - 12 + 4.0 = 7.0 m.

    Why

    The second integration needs the second initial condition.

Check it

Differentiating x(t)x(t) gives 6.0t2−6.0t+2.06.0t^2 - 6.0t + 2.0, and again gives 12t−6.012t - 6.0. Also x(0)=−1.0x(0) = -1.0 m and v(0)=2.0v(0) = 2.0 m/s.

Answer

(a) 1414 m/s; (b) 7.07.0 m.

Worked example 2: A fan cart that is turned down

Question: In a class investigation, a fan cart starts from rest at x=0x = 0 while its fan is gradually turned down. Take +x+x in the direction of motion. An accelerometer gives these readings:

Time (s)Acceleration (m/s²)
00.60
1.00.50
2.00.40
3.00.30
4.00.20

Calculate (a) the cart's velocity at t=4.0t = 4.0 s, in m/s to 2 significant figures, and (b) its position at t=4.0t = 4.0 s, in meters to 2 significant figures.

What tells you the method

The acceleration changes with time, so the constant-acceleration equations do not apply.

  1. Step 1: Read the trend.

    The acceleration falls by 0.10 m/s² every second from 0.60 m/s², so a(t)=0.60−0.10ta(t) = 0.60 - 0.10t m/s².

    Why

    Equal drops in equal times mean a straight line.

  2. Step 2: Integrate for v.

    v(t)=0+0.60t−0.050t2v(t) = 0 + 0.60t - 0.050t^2, so v(4.0)=2.4−0.80=1.6v(4.0) = 2.4 - 0.80 = 1.6 m/s.

    Why

    The cart starts from rest, so v0=0v_0 = 0.

  3. Step 3: Integrate for x.

    x(t)=0.30t2−0.0503t3x(t) = 0.30t^2 - \tfrac{0.050}{3}t^3, so x(4.0)=4.8−1.07=3.7x(4.0) = 4.8 - 1.07 = 3.7 m.

    Why

    It starts at x=0x = 0, so x0=0x_0 = 0.

Check it

The area under the acceleration–time graph is a trapezoid, 12(0.60+0.20)(4.0)=1.6\tfrac{1}{2}(0.60 + 0.20)(4.0) = 1.6 m/s, matching the change in velocity.

Answer

(a) 1.61.6 m/s; (b) 3.73.7 m.

Worked example 3: Displacement and distance

Question: A particle moves along the x-axis with v(t)=3.0t2−18t+24v(t) = 3.0t^2 - 18t + 24, where vv is in m/s, tt is in seconds and +x+x is to the right. For 0≤t≤5.00 \le t \le 5.0 s, calculate (a) the displacement and (b) the distance traveled, each in meters to 2 significant figures.

What tells you the method

"Distance" means you must find where vv changes sign and split the integral.

  1. Step 1: Find an antiderivative.

    X(t)=t3−9.0t2+24tX(t) = t^3 - 9.0t^2 + 24t, so X(0)=0X(0) = 0, X(2.0)=20X(2.0) = 20, X(4.0)=16X(4.0) = 16 and X(5.0)=20X(5.0) = 20, all in meters.

    Why

    ∫t1t2v dt=X(t2)−X(t1)\int_{t_1}^{t_2} v\,dt = X(t_2) - X(t_1), so one antiderivative gives every piece.

  2. Step 2: Displacement.

    X(5.0)−X(0)=20X(5.0) - X(0) = 20 m.

    Why

    Displacement is the definite integral of vv over the whole interval.

  3. Step 3: Split at the turning points.

    v=3.0(t−2.0)(t−4.0)v = 3.0(t - 2.0)(t - 4.0) is zero at 2.0 s and 4.0 s. The pieces are +20+20 m, 16−20=−4.016 - 20 = -4.0 m and 20−16=+4.020 - 16 = +4.0 m, so the distance is 20+4.0+4.0=2820 + 4.0 + 4.0 = 28 m.

    Why

    Distance adds the size of every piece.

Check it

The middle piece is negative because v<0v < 0 between the roots (at 3.0 s, v=−3.0v = -3.0 m/s). The distance is larger than the displacement, as it must be when the particle turns around.

Answer

(a) 2020 m; (b) 2828 m.

Your turn

Question: A particle moves along the x-axis with a(t)=6.0t−2.0a(t) = 6.0t - 2.0, where aa is in m/s² and tt in seconds, and +x+x is to the right. At t=0t = 0, v=−3.0v = -3.0 m/s and x=2.0x = 2.0 m. Calculate its position at t=3.0t = 3.0 s, in meters to 2 significant figures.

  1. Step 1: Integrate a(t) and add v₀.

    v(t)=3.0t2−2.0t−3.0v(t) = 3.0t^2 - 2.0t - 3.0 m/s.

  2. Step 2: Your go: integrate v(t), add x₀ and substitute t = 3.0 s.

Show the full solutionHide the solution

Step 2. x(t)=2.0+t3−t2−3.0tx(t) = 2.0 + t^3 - t^2 - 3.0t m, so x(3.0)=2.0+27−9.0−9.0=11x(3.0) = 2.0 + 27 - 9.0 - 9.0 = 11 m.

Answer: 1111 m.

Traps

Trap

The integral of the acceleration is the velocity.

It seems right because a=dv/dta = dv/dt. But ∫0ta dt′\int_0^t a\,dt' is only the change in velocity since t=0t = 0; you must add v0v_0, unless the object starts from rest.

a(t) = 2.0t m/s² and v(0) = 3.0 m/s. Is the velocity at 2.0 s equal to 4.0 m/s or 7.0 m/s?

7.0 m/s. The integral gives a change of 4.0 m/s, added to the starting 3.0 m/s.

Trap

The constant-acceleration equations work whenever you know the acceleration at the instant you care about.

It seems right because they have aa in them. But they were derived assuming aa never changes; with a(t)a(t) you must integrate.

From rest at x = 0, a(t) = 6.0t m/s². Is x at t = 2.0 s equal to 8.0 m or 24 m?

8.0 m, from x=t3x = t^3. The 24 m comes from 12at2\tfrac{1}{2}at^2 with a=12a = 12 m/s², the acceleration at 2.0 s only.

What's examined

On the AP® Physics C: Mechanics exam (Unit 1: Kinematics), integrating acceleration and velocity appears in multiple-choice and free-response questions. Expect to calculate v(t)v(t) and x(t)x(t) from a(t)a(t) with initial conditions, calculate displacement and distance, and derive the constant-acceleration equations. Command words include Calculate, Derive and Determine. When the acceleration depends on velocity or position instead of time, see the note on acceleration that depends on velocity or position.

Practice questions

  1. Recall Which expression gives the displacement of an object between t=1t = 1 s and t=4t = 4 s?
  • A) ∫14a dt\int_1^4 a\,dt
  • B) v(4)−v(1)v(4) - v(1)
  • C) ∫14v dt\int_1^4 v\,dt
  • D) ∫14∣v∣ dt\int_1^4 |v|\,dt
Show answer

Answer: C. Displacement is the definite integral of velocity over the interval.

Why the others are wrong:

  • A integrates acceleration, which gives the change in velocity.
  • B is also the change in velocity, not position.
  • D integrates speed, which gives the distance traveled.
  1. Apply An object has a(t)=3.0t2a(t) = 3.0t^2 m/s² and v(0)=−2.0v(0) = -2.0 m/s, with +x+x to the right. Calculate its velocity at t=2.0t = 2.0 s, in m/s to 2 significant figures.
Show answer

Answer: 6.06.0 m/s.

Marking points:

  • v(t)=−2.0+t3v(t) = -2.0 + t^3 m/s.
  • v(2.0)=−2.0+8.0=6.0v(2.0) = -2.0 + 8.0 = 6.0 m/s.
  1. Apply A particle starts from rest at x=0x = 0 with a(t)=6.0ta(t) = 6.0t m/s². What is its position at t=2.0t = 2.0 s?
  • A) 8.08.0 m
  • B) 1212 m
  • C) 1616 m
  • D) 2424 m
Show answer

Answer: A. v=3.0t2v = 3.0t^2 and x=t3x = t^3, so x(2.0)=8.0x(2.0) = 8.0 m.

Why the others are wrong:

  • B integrates only once: 12 is the velocity in m/s.
  • C writes ∫6.0t dt=6.0t2\int 6.0t\,dt = 6.0t^2, forgetting to divide by 2.
  • D uses 12at2\tfrac{1}{2}at^2 with a(2.0)=12a(2.0) = 12 m/s², which assumes constant acceleration.

A particle moves along the x-axis with v(t)=3.0t2−12v(t) = 3.0t^2 - 12, where vv is in m/s, tt is in seconds and +x+x is to the right. The velocity function is for questions 4 and 5.

  1. Exam-style Calculate the particle's displacement from t=0t = 0 to t=3.0t = 3.0 s, in meters to 2 significant figures.
Show answer

Answer: −9.0-9.0 m.

Marking points:

  • ∫03.0(3.0t2−12) dt=[t3−12t]03.0\int_0^{3.0} (3.0t^2 - 12)\,dt = \left[t^3 - 12t\right]_0^{3.0}.
  • 27−36=−9.027 - 36 = -9.0 m: 9.0 m to the left of its start.
  1. Exam-style What distance does the particle travel from t=0t = 0 to t=3.0t = 3.0 s?
  • A) −9.0-9.0 m
  • B) 9.09.0 m
  • C) 1616 m
  • D) 2323 m
Show answer

Answer: D. v=0v = 0 at t=2.0t = 2.0 s. From 0 to 2.0 s the displacement is 8.0−24=−168.0 - 24 = -16 m; from 2.0 s to 3.0 s it is −9.0−(−16)=+7.0-9.0 - (-16) = +7.0 m. Distance =16+7.0=23= 16 + 7.0 = 23 m.

Why the others are wrong:

  • A is the displacement; a distance is never negative.
  • B is the size of the displacement, which ignores the turnaround.
  • C stops at the turning point and leaves out the last 7.0 m.
  1. Exam-style In a class investigation, a cart is pushed by a motor whose force rises steadily. The cart starts at x=0x = 0 with v=0.40v = 0.40 m/s, with +x+x in the direction of motion.
Time (s)Acceleration (m/s²)
00.00
0.500.40
1.000.80
1.501.20
2.001.60

Calculate (a) the cart's velocity at t=2.00t = 2.00 s, in m/s to 2 significant figures, and (b) its position at t=2.00t = 2.00 s, in meters to 2 significant figures.

Show answer

Answer: (a) 2.02.0 m/s; (b) 1.91.9 m.

Marking points:

  • The data fit a(t)=0.80ta(t) = 0.80t m/s².
  • v(t)=0.40+0.40t2v(t) = 0.40 + 0.40t^2, so v(2.00)=0.40+1.60=2.0v(2.00) = 0.40 + 1.60 = 2.0 m/s.
  • x(t)=0.40t+0.403t3x(t) = 0.40t + \tfrac{0.40}{3}t^3, so x(2.00)=0.80+1.07=1.9x(2.00) = 0.80 + 1.07 = 1.9 m.
  1. Recall Starting from a constant acceleration aa, which step gives x=x0+v0t+12at2x = x_0 + v_0t + \tfrac{1}{2}at^2?
  • A) Differentiate v=v0+atv = v_0 + at with respect to tt.
  • B) Integrate v=v0+atv = v_0 + at with respect to tt and use x(0)=x0x(0) = x_0.
  • C) Multiply v=v0+atv = v_0 + at by tt.
  • D) Integrate aa with respect to tt and use v(0)=v0v(0) = v_0.
Show answer

Answer: B. Position is the integral of velocity, and the constant is fixed by x(0)=x0x(0) = x_0.

Why the others are wrong:

  • A goes the wrong way: differentiating velocity gives acceleration.
  • C treats the velocity as constant and gives at2at^2, not 12at2\tfrac{1}{2}at^2.
  • D is the first integration, which gives v=v0+atv = v_0 + at, not xx.

Key points

Recall, then reveal

Say the main points from memory first, then check them.

Show key pointsHide key points
  • Integrating aa over time gives a change in velocity, so add v0v_0; integrating vv gives a change in position, so add x0x_0.
  • Two integrations need two initial conditions.
  • Displacement is ∫v dt\int v\,dt, signed; distance is ∫∣v∣ dt\int |v|\,dt, found by splitting where v=0v = 0.
  • The constant-acceleration equations come from integrating a constant aa and fail when aa varies.
  • Differentiating your answer back to the given function checks the integration.

Keep learning

Explore AP Physics C: Mechanics tutoring →

View the full Physics C: Mechanics syllabus →

More in this unit

Kinematics

All Kinematics with Calculus notes

Part of Novark's AP Physics C: Mechanics notes