Skip to main content

Velocity and acceleration as functions in HSC Mathematics Extension 2: the calculus of rectilinear motion when acceleration depends on displacement or velocity

Syllabus dot point

“Apply calculus to rectilinear motion where acceleration is expressed as a function of displacement or velocity, using the forms a=v dv/dxa = v\,dv/dx and a=d(v2/2)/dxa = d(v^2/2)/dx”

HSCMaths Extension 2Applications of Calculus to Mechanics…14 min read

Quick answer

For motion along a line, v=dxdtv = \dfrac{dx}{dt} and acceleration can be written in three equivalent ways: a=dvdta = \dfrac{dv}{dt}, a=vdvdxa = v\dfrac{dv}{dx}, and a=ddx ⁣(12v2)a = \dfrac{d}{dx}\!\left(\tfrac{1}{2}v^2\right). When aa is a function of xx, use a=ddx(12v2)a = \dfrac{d}{dx}(\tfrac{1}{2}v^2). When aa is a function of vv, use a=vdvdxa = v\dfrac{dv}{dx} or a=dvdta = \dfrac{dv}{dt}, whichever separates cleanly.

Jump to a section
  1. What this dot point is asking
  2. The three forms of acceleration
  3. Acceleration as a function of displacement
  4. Acceleration as a function of velocity
  5. Recovering position
  6. Deciding the form from the question
  7. The energy interpretation
  8. Self-checking with initial conditions
  9. How exam questions ask about velocity and acceleration functions
  10. Exam-style questions

What this dot point is asking

NESA wants you to handle rectilinear (straight-line) motion when acceleration is not simply a function of time. Often acceleration is given as a function of displacement xx or of velocity vv. You must choose the right expression for acceleration so that the variables separate, then integrate to find velocity and position.

The three forms of acceleration

Velocity is the rate of change of displacement, v=dxdtv = \dfrac{dx}{dt}, and acceleration is the rate of change of velocity. The single most useful idea in this topic is that acceleration has three equivalent expressions:

a=dvdt,a=vdvdx,a=ddx ⁣(12v2).a = \frac{dv}{dt}, \qquad a = v\frac{dv}{dx}, \qquad a = \frac{d}{dx}\!\left(\frac{1}{2}v^2\right).

The second follows from the chain rule, dvdt=dvdxdxdt=vdvdx\dfrac{dv}{dt} = \dfrac{dv}{dx}\dfrac{dx}{dt} = v\dfrac{dv}{dx}. The third is just the second written as a single derivative, since ddx(12v2)=vdvdx\dfrac{d}{dx}(\tfrac{1}{2}v^2) = v\dfrac{dv}{dx}. Choosing the right form is what makes a problem solvable.

Key fact

Acceleration has three equal expressions: a=dvdt=vdvdx=ddx ⁣(12v2)a = \dfrac{dv}{dt} = v\dfrac{dv}{dx} = \dfrac{d}{dx}\!\left(\tfrac{1}{2}v^2\right). Pick the one that makes the variables separate, decided by what the question gives and what it asks. If a=f(x)a = f(x), use ddx ⁣(12v2)=f(x)\dfrac{d}{dx}\!\left(\tfrac{1}{2}v^2\right) = f(x) and integrate over xx to get v2v^2 in one step. If a=g(v)a = g(v), use dvdt=g(v)\dfrac{dv}{dt} = g(v) for a time and vdvdx=g(v)v\dfrac{dv}{dx} = g(v) for a distance. Then pin every constant of integration with an initial condition.

From acceleration to velocity, stage by stage

When acceleration is a function of displacement, the whole method is "choose the right form, integrate over xx, take the square root". The panels below run that method on the worked example below, a=−4x2a = -\dfrac{4}{x^2} with v=3v = 3 at x=1x = 1, so you can see each curve the calculation produces.

Stage 1, choose the form. First read off what aa depends on. The decision flow turns that into the form to use: a function of time integrates with dvdt\dfrac{dv}{dt}, a function of velocity uses vdvdxv\dfrac{dv}{dx} or dvdt\dfrac{dv}{dt}, and a function of displacement uses ddx ⁣(12v2)\dfrac{d}{dx}\!\left(\tfrac{1}{2}v^2\right), highlighted, because it hands you v2v^2 directly.

Stage 1: choosing the form of accelerationA decision flow. From the single quantity acceleration, three equivalent expressions branch out: d v by d t when acceleration is a function of time, the d by dx of half v squared form when it is a function of displacement, and v times d v by d x when it is a function of velocity and displacement is wanted. acceleration a a = dv/dt a = d(v²/2)/dx a = v dv/dx if a depends on t if a depends on x if a depends on v, and x is wanted Stage 1: pick the form so the variables separate. The two boxes on the right both avoid time; the highlighted one delivers v² directly when a = f(x). 1

Stage 2, plot what you are given. Here a=−4x2a = -\dfrac{4}{x^2}, a retarding acceleration: negative throughout, strongest near x=1x = 1 and fading towards zero as xx grows. Because it depends on xx, the highlighted form applies.

Stage 2: acceleration as a function of displacementThe given retarding acceleration a equals minus four over x squared is plotted against displacement x. It is negative throughout, large in magnitude near x equals one and shrinking towards zero as x increases. x a a = -4/x² Stage 2: a is given as a function of x, so use a = d(v²/2)/dx. 2

Stage 3, integrate to v2v^2. Integrating ddx ⁣(12v2)=−4x2\dfrac{d}{dx}\!\left(\tfrac{1}{2}v^2\right) = -\dfrac{4}{x^2} over xx and applying v=3v = 3 at x=1x = 1 gives v2=8x+1v^2 = \dfrac{8}{x} + 1. The retarding acceleration removes kinetic energy as xx grows, so v2v^2 falls from 99 towards 11.

Stage 3: v squared as a function of displacementIntegrating the acceleration with respect to x gives one half v squared, hence v squared equals eight over x plus one. It falls from nine at x equals one towards one as x increases, because the retarding acceleration is removing kinetic energy. x v² v² = 8/x + 1 Stage 3: integrate a with respect to x to get v² as a function of x. 3

Stage 4, square-root to vv. Finally take the positive square root, v=8x+1v = \sqrt{\dfrac{8}{x} + 1}, the velocity as a function of position. The sign of the root comes from the initial condition: the body starts with v=3>0v = 3 > 0, so the positive root is correct. Substituting x=1x = 1 returns v=3v = 3, confirming the answer.

Stage 4: velocity as a function of displacementTaking the positive square root of v squared equals eight over x plus one gives the velocity v as a function of x. It is three at x equals one and decreases towards one as x grows, matching the initial condition v equals three at x equals one. x v v = 3 at x = 1 (initial condition) v = √(8/x + 1) Stage 4: take the positive square root for v, using the initial condition. 4

Acceleration as a function of displacement

When a=f(x)a = f(x), the form

ddx ⁣(12v2)=f(x)\frac{d}{dx}\!\left(\frac{1}{2}v^2\right) = f(x)

is ideal, because integrating both sides with respect to xx gives 12v2\tfrac{1}{2}v^2 directly:

12v2=∫f(x) dx.\frac{1}{2}v^2 = \int f(x)\,dx.

This produces v2v^2 as a function of xx, from which vv follows. This is exactly how the velocity-displacement relation for simple harmonic motion is derived.

Acceleration as a function of velocity

When a=g(v)a = g(v), two routes are available. To find vv as a function of time, use dvdt=g(v)\dfrac{dv}{dt} = g(v) and separate:

∫dvg(v)=∫dt=t+C.\int \frac{dv}{g(v)} = \int dt = t + C.

To find vv as a function of position, use vdvdx=g(v)v\dfrac{dv}{dx} = g(v) and separate:

∫v dvg(v)=∫dx=x+C.\int \frac{v\,dv}{g(v)} = \int dx = x + C.

Pick the form matching what the question asks for, v(t)v(t) or v(x)v(x).

Recovering position

Once vv is known as a function of tt, position comes from x=∫v dtx = \int v\,dt. Once vv is known as a function of xx, separate dxdt=v(x)\dfrac{dx}{dt} = v(x) to find tt as a function of xx, then invert if a formula for x(t)x(t) is required. Always apply initial conditions to fix every constant of integration.

Deciding the form from the question

The decision tree is short and worth memorising. If acceleration is given as a function of time, integrate dvdt\dfrac{dv}{dt} directly. If acceleration is a function of displacement, use ddx(12v2)\dfrac{d}{dx}\left(\frac{1}{2}v^2\right), because integrating it with respect to xx delivers v2v^2 in one step. If acceleration is a function of velocity, choose dvdt\dfrac{dv}{dt} when the question wants time and vdvdxv\dfrac{dv}{dx} when it wants displacement. Picking the wrong form leaves variables tangled and the integral non-separable, so reading the question to see what the answer should depend on is the most important early move.

The energy interpretation

The form a=ddx(12v2)a = \dfrac{d}{dx}\left(\frac{1}{2}v^2\right) is more than a trick; it is the work-energy principle in disguise. The quantity 12v2\frac{1}{2}v^2 is the kinetic energy per unit mass, and integrating acceleration (force per unit mass) over distance gives the change in that energy. This is why a displacement-dependent acceleration integrates so cleanly to v2v^2: you are summing the work done. Recognising the energy structure helps you anticipate the shape of the answer and provides a physical check on the algebra.

Self-checking with initial conditions

Every integration introduces a constant, and every constant must be pinned down by a stated initial condition. A reliable final step is to substitute the initial values back into your result: if the model does not reproduce the given starting velocity at the starting position, a constant is wrong. This single check, shown in the worked example, catches most sign and arithmetic slips before they cost marks.

How exam questions ask about velocity and acceleration functions

The phrasing tells you which acceleration form to reach for:

  • "The acceleration is a=f(x)a = f(x). Find v2v^2 / the speed at x=…x = \ldots" Use ddx ⁣(12v2)=f(x)\dfrac{d}{dx}\!\left(\tfrac{1}{2}v^2\right) = f(x) and integrate over xx; this is the most common type and the one the velocity-displacement relation for SHM is built on.
  • "The acceleration is a=g(v)a = g(v). Find vv as a function of time" / "the time to reach a given speed." Use dvdt=g(v)\dfrac{dv}{dt} = g(v) and separate, integrating ∫dvg(v)=t+C\int \dfrac{dv}{g(v)} = t + C.
  • "The acceleration is a=g(v)a = g(v). Find vv as a function of distance" / "the distance to come to rest." Use vdvdx=g(v)v\dfrac{dv}{dx} = g(v) instead, integrating ∫v dvg(v)=x+C\int \dfrac{v\,dv}{g(v)} = x + C. Time never appears.
  • "Show that v=…v = \ldots" A "show that" almost always wants the separation and integration written out, then the initial condition applied to fix the constant; quoting the final formula earns little.
  • "Hence find xx as a function of vv" / "tt as a function of vv." Rearrange the relation you derived; you usually do not need to invert it to x(t)x(t) unless the question explicitly asks.
  • "A particle is released from rest ..." The initial condition is v=0v = 0 at the given position; use it to fix the constant.
  • "Find where the particle comes to rest / its limiting speed." Set v=0v = 0 (rest) or let x→∞x \to \infty (limiting behaviour) in your v2(x)v^2(x) relation.
A particle has acceleration a=−4x2a = -\dfrac{4}{x^2} for x>0x > 0, with v=3v = 3 when x=1x = 1. Find v2v^2 as a function of xx

Find v2v^2 as a function of xx for acceleration a=−4x2a = -\dfrac{4}{x^2}

Acceleration is given as a function of displacement, not time. The correct form to use here is a=ddx ⁣(12v2)a = \dfrac{d}{dx}\!\left(\tfrac{1}{2}v^2\right), because integrating with respect to xx gives v2v^2 directly without needing to eliminate time.

Set up the differential equation in the correct form: Because aa depends on xx, we use the form a=ddx ⁣(12v2)a = \dfrac{d}{dx}\!\left(\tfrac{1}{2}v^2\right). Substituting the given acceleration:

ddx ⁣(12v2)=−4x2.\frac{d}{dx}\!\left(\frac{1}{2}v^2\right) = -\frac{4}{x^2}.

Integrate both sides with respect to xx: Integrating −4x−2-4x^{-2} gives 4x\dfrac{4}{x} (using the power rule, raising the exponent from −2-2 to −1-1):

12v2=∫−4x−2 dx=4x+C.\frac{1}{2}v^2 = \int -4x^{-2}\,dx = \frac{4}{x} + C.

Apply the initial condition to find CC: Substitute v=3v = 3 at x=1x = 1: 12(9)=41+C\tfrac{1}{2}(9) = \tfrac{4}{1} + C, so 92=4+C\tfrac{9}{2} = 4 + C, giving C=12C = \tfrac{1}{2}.

Write the final answer and verify: Substituting C=12C = \tfrac{1}{2} and multiplying through by 22:

12v2=4x+12⟹v2=8x+1.\frac{1}{2}v^2 = \frac{4}{x} + \frac{1}{2} \quad\Longrightarrow\quad v^2 = \frac{8}{x} + 1.

Check: at x=1x = 1, v2=8+1=9v^2 = 8 + 1 = 9, so v=3v = 3. This matches the given initial condition.

Final answer: v2=8x+1v^2 = \dfrac{8}{x} + 1.

Acceleration as a function of velocity: the same problem two ways

A unit-mass particle starts at the origin with velocity 4040 to the right and meets a resistance giving acceleration a=−kv2a = -kv^2. The same physical setup is asked for both v(x)v(x) and v(t)v(t); the only choice is the acceleration form, which shows why the decision in Stage 1 matters.

For v(x)v(x), choose a=vdvdxa = v\dfrac{dv}{dx}
We want a relation with displacement, so use vdvdx=−kv2v\dfrac{dv}{dx} = -kv^2. Dividing by vv (the particle is moving, so v≠0v \neq 0): dvdx=−kv\dfrac{dv}{dx} = -kv, hence 1v dv=−k dx\dfrac{1}{v}\,dv = -k\,dx.
Integrate and apply v=40v = 40 at x=0x = 0
Integrating gives ln⁡v=−kx+C\ln v = -kx + C. At x=0x = 0, v=40v = 40, so C=ln⁡40C = \ln 40, and ln⁡v40=−kx\ln\dfrac{v}{40} = -kx. Therefore v=40 e−kxv = 40\,e^{-kx}: the speed decays exponentially with distance.
For v(t)v(t), choose a=dvdta = \dfrac{dv}{dt} instead
Now we want time, so use dvdt=−kv2\dfrac{dv}{dt} = -kv^2. Separating, 1v2 dv=−k dt\dfrac{1}{v^2}\,dv = -k\,dt, and integrating gives −1v=−kt+D-\dfrac{1}{v} = -kt + D.
Apply the initial condition and compare
At t=0t = 0, v=40v = 40, so D=−140D = -\dfrac{1}{40}. Then 1v=kt+140\dfrac{1}{v} = kt + \dfrac{1}{40}, giving v=1kt+140=401+40ktv = \dfrac{1}{kt + \frac{1}{40}} = \dfrac{40}{1 + 40kt}. The same motion gives an exponential decay in xx but a reciprocal decay in tt, purely because of which acceleration form separates cleanly.
Final answer
v=40 e−kxv = 40\,e^{-kx} as a function of distance; v=401+40ktv = \dfrac{40}{1 + 40kt} as a function of time.
Exam technique

Before integrating, write what aa depends on and what the answer should depend on, then pick the matching form from the three; this one decision is what makes the integral separable, and choosing wrongly is the commonest way to get stuck. Show the separation and the integration explicitly on "show that" questions, since the working carries the marks. Apply the initial condition immediately to fix the constant, then substitute it back as a check. When you take a square root of v2v^2, choose the sign from the direction of motion, and keep the domain (x>0x > 0, v≠0v \neq 0) in view when you divide.

Common traps

Using a=dvdta = \dfrac{dv}{dt} when aa depends on xx. This leaves three variables tangled. Switch to a=ddx(12v2)a = \dfrac{d}{dx}(\tfrac{1}{2}v^2) so the variables separate.

Losing the constant of integration
Each integration introduces a constant that must be fixed by the initial conditions. Skipping this gives a wrong velocity or position.
Sign of acceleration
A retarding or restoring acceleration is negative. Track the sign carefully, especially with inverse-power laws.
Taking the wrong square root
From v2=⋯v^2 = \cdots the sign of vv depends on the direction of motion. Use the initial condition to choose the correct sign.

Exam-style questions

Questions in the style of NESA exam questions on this dot point, each with a worked answer. They are written by ExamExplained unless tagged "Past paper"; the year shows the paper a question is modelled on.

HSC 2024-style3 marks
A particle of unit mass moves horizontally in a straight line. It experiences a resistive force proportional to v2v^2, so the acceleration is −kv2-k v^2. Initially the particle is at the origin with velocity 4040 m/s to the right. Show that v=40e−kxv = 40 e^{-k x}.
Show worked answer →

Because acceleration is given in terms of velocity and we want a relation with displacement xx, use the form a=vdvdxa = v\frac{dv}{dx}.

vdvdx=−kv2v\frac{dv}{dx} = -k v^2.

Divide by vv (the particle is moving, so v≠0v \neq 0): dvdx=−kv\frac{dv}{dx} = -k v, so 1v dv=−k dx\frac{1}{v}\,dv = -k\,dx.

Integrate both sides: ln⁡v=−kx+C\ln v = -k x + C.

Apply x=0x = 0, v=40v = 40: ln⁡40=C\ln 40 = C. Then ln⁡v40=−kx\ln\frac{v}{40} = -k x, giving v40=e−kx\frac{v}{40} = e^{-k x}.

Therefore v=40e−kxv = 40 e^{-k x}, as required.

Mark notes: 1 mark for using a=vdvdxa = v\frac{dv}{dx}, 1 mark for separating and integrating to ln⁡v=−kx+C\ln v = -k x + C, 1 mark for applying v(0)=40v(0) = 40.

HSC 2022-style3 marks
A particle of mass 11 kg moves along the xx-axis, starting at the origin with speed uu m/s to the right. It experiences a resistive force of magnitude v+3v2v + 3v^2 newtons. The particle is never at rest. (i) Show that dvdx=−(1+3v)\frac{dv}{dx} = -(1 + 3v). (ii) Hence find xx as a function of vv.
Show worked answer →

Part (i). With mass 11, the resistive force gives acceleration −(v+3v2)-(v + 3v^2). Use a=vdvdxa = v\frac{dv}{dx}:

vdvdx=−(v+3v2)=−v(1+3v)v\frac{dv}{dx} = -(v + 3v^2) = -v(1 + 3v).

Dividing by vv (never at rest, so v≠0v \neq 0): dvdx=−(1+3v)\frac{dv}{dx} = -(1 + 3v).

Part (ii). Separate: dx=−dv1+3vdx = -\frac{dv}{1 + 3v}. Integrate: x=−13ln⁡∣1+3v∣+Cx = -\frac{1}{3}\ln|1 + 3v| + C.

Apply x=0x = 0 when v=uv = u: C=13ln⁡(1+3u)C = \frac{1}{3}\ln(1 + 3u).

Therefore x=13ln⁡(1+3u)−13ln⁡(1+3v)=13ln⁡ ⁣(1+3u1+3v)x = \frac{1}{3}\ln(1 + 3u) - \frac{1}{3}\ln(1 + 3v) = \frac{1}{3}\ln\!\left(\frac{1 + 3u}{1 + 3v}\right).

Mark notes: 1 mark for using a=vdvdxa = v\frac{dv}{dx} and cancelling vv; 1 mark for integrating; 1 mark for applying the initial condition.

HSC 2024-style4 marks
An object is released from rest at distance xx above a magnet, with total acceleration a=27gx3−ga = \frac{27g}{x^3} - g. It is released from rest at x=6x = 6. Show that v2=g(514−2x−27x2)v^2 = g\left(\frac{51}{4} - 2x - \frac{27}{x^2}\right).
Show worked answer →

Acceleration is a function of displacement xx, so use a=ddx ⁣(12v2)a = \frac{d}{dx}\!\left(\frac{1}{2}v^2\right).

ddx ⁣(12v2)=27gx−3−g\frac{d}{dx}\!\left(\frac{1}{2}v^2\right) = 27 g x^{-3} - g.

Integrate with respect to xx:

12v2=27g⋅x−2−2−gx+C=−27g2x2−gx+C\frac{1}{2}v^2 = 27 g \cdot \frac{x^{-2}}{-2} - g x + C = -\frac{27g}{2 x^2} - g x + C.

Multiply by 22: v2=−27gx2−2gx+Dv^2 = -\frac{27g}{x^2} - 2 g x + D, where D=2CD = 2C.

Apply v=0v = 0 at x=6x = 6: 0=−27g36−12g+D=−34g−12g+D0 = -\frac{27g}{36} - 12 g + D = -\frac{3}{4}g - 12 g + D, so D=51g4D = \frac{51g}{4}.

Therefore v2=−27gx2−2gx+51g4=g(514−2x−27x2)v^2 = -\frac{27g}{x^2} - 2 g x + \frac{51g}{4} = g\left(\frac{51}{4} - 2x - \frac{27}{x^2}\right), as required.

Mark notes: 1 mark for using a=ddx(12v2)a = \frac{d}{dx}(\frac{1}{2}v^2), 1 mark for integrating, 1 mark for applying v=0v = 0 at x=6x = 6, 1 mark for the final expression.

Practise this

Sources & how we know this

ExamExplained