Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Big Idea

A linear first-order equation y′+p y=qy' + p\,y = q can always be solved in closed form: multiplying by μ=e∫p\mu = e^{\int p} turns the left side into the exact derivative (μy)′(\mu y)', and one integration finishes the job. For the equation of motion the result writes the velocity as a forgotten initial condition plus a weighted average of the recent force.

Every equation solved exactly in From Newton’s Second Law to a Force Balance is linear and first order. This page derives the one formula that solves all of them, and then shows where each of those exact solutions comes from.

Proposition 1 (Linear first-order equations)

Let pp and qq be continuous on [0,∞)[0, \infty) and put P(t)=∫0tp(s) dsP(t) = \int_0^t p(s)\,\dd s. The initial value problem

dydt+p(t) y=q(t),y(0)=y0,\frac{\dd y}{\dd t} + p(t)\,y = q(t), \qquad y(0) = y_0,

has exactly one solution, namely

y(t)=e−P(t)(y0+∫0teP(s) q(s) ds).y(t) = e^{-P(t)}\Bigl(y_0 + \int_0^t e^{P(s)}\,q(s)\,\dd s\Bigr) .

Proof 1

Put μ(t)=eP(t)\mu(t) = e^{P(t)}, the integrating factor. It is positive and satisfies μ′=p μ\mu' = p\,\mu with μ(0)=1\mu(0) = 1.

Every solution has the form (2). If yy solves (1), the product rule gives

ddt(μy)=μy′+μ′y=μ (y′+py)=μq.\frac{\dd}{\dd t}(\mu y) = \mu y' + \mu' y = \mu\,(y' + p y) = \mu q .

The left side is now an exact derivative. Integrating from 0 to tt and using μ(0)y(0)=y0\mu(0)y(0) = y_0,

μ(t) y(t)−y0=∫0tμ(s) q(s) ds,\mu(t)\,y(t) - y_0 = \int_0^t \mu(s)\,q(s)\,\dd s ,

and dividing by μ(t)>0\mu(t) > 0 gives (2). So there is at most one solution.

The formula is a solution. Differentiating (2) with the product rule and the fundamental theorem of calculus,

y′=−p e−P(y0+∫0teP(s)q(s) ds)+e−PePq=−p y+q,y' = -p\,e^{-P}\Bigl(y_0 + \int_0^t e^{P(s)}q(s)\,\dd s\Bigr) + e^{-P}e^{P}q = -p\,y + q ,

and at t=0t = 0 the integral vanishes, so y(0)=y0y(0) = y_0.

Remark 1 (The method in three steps)

As a recipe:

  1. Write the equation in the standard form (1) and form μ=exp⁡(∫p dt)\mu = \exp\bigl(\int p\,\dd t\bigr).

  2. Multiply through by μ\mu. The left side becomes (μy)′(\mu y)', because μ\mu was built to satisfy μ′=pμ\mu' = p\mu.

  3. Integrate both sides and divide by μ\mu. The arbitrary constant enters here, once, and is fixed by the initial condition.

The equation of motion

In scaled variables the equation of motion is ε dv~/dt~=F~(t~)−v~\ve\,\dd\tilde v/\dd\tilde t = \tilde F(\tilde t) - \tilde v with v~(0)=v~0\tilde v(0) = \tilde v_0. In the standard form (1),

dv~dt~+1ε v~=1ε F~(t~),p=1ε,P(t~)=t~ε,\frac{\dd\tilde v}{\dd\tilde t} + \frac{1}{\ve}\,\tilde v = \frac{1}{\ve}\,\tilde F(\tilde t), \qquad p = \frac{1}{\ve}, \quad P(\tilde t) = \frac{\tilde t}{\ve},

and (2) gives, for any continuous force,

v~(t~)=v~0 e−t~/ε+1ε∫0t~e−(t~−s)/ε F~(s) ds.\tilde v(\tilde t) = \tilde v_0\,e^{-\tilde t/\ve} + \frac{1}{\ve}\int_0^{\tilde t} e^{-(\tilde t - s)/\ve}\,\tilde F(s)\,\dd s .

The first term is the initial velocity, forgotten on the time ε\ve. The second is a weighted average of the force over the recent past, with weights ε−1e−(t~−s)/ε\ve^{-1}e^{-(\tilde t - s)/\ve} that integrate to 1−e−t~/ε1 - e^{-\tilde t/\ve} and are concentrated on the last few multiples of ε\ve. Every exact solution of the equation of motion is a case of (7).

Constant force. The integral is F~(1−e−t~/ε)\tilde F\bigl(1 - e^{-\tilde t/\ve}\bigr), so

v~(t~)=F~+(v~0−F~) e−t~/ε,\tilde v(\tilde t) = \tilde F + (\tilde v_0 - \tilde F)\,e^{-\tilde t/\ve} ,

which is (6) of The Singular Limit. In dimensional variables, with p=1/τip = 1/\tau_i and q=F/mq = F/m, the same computation gives (10).

Ramped force. For F~(s)=1+s\tilde F(s) = 1 + s and v~0=0\tilde v_0 = 0, integrate by parts with u=1+su = 1 + s and dg=ε−1e−(t~−s)/ε ds\dd g = \ve^{-1}e^{-(\tilde t - s)/\ve}\,\dd s, so that g=e−(t~−s)/εg = e^{-(\tilde t - s)/\ve}:

1ε∫0t~e−(t~−s)/ε(1+s) ds=[(1+s) e−(t~−s)/ε]0t~−∫0t~e−(t~−s)/ε ds=1+t~−e−t~/ε−ε(1−e−t~/ε).\frac{1}{\ve}\int_0^{\tilde t} e^{-(\tilde t - s)/\ve}(1 + s)\,\dd s = \Bigl[(1 + s)\,e^{-(\tilde t - s)/\ve}\Bigr]_0^{\tilde t} - \int_0^{\tilde t} e^{-(\tilde t - s)/\ve}\,\dd s = 1 + \tilde t - e^{-\tilde t/\ve} - \ve\bigl(1 - e^{-\tilde t/\ve}\bigr) .

This is 1+t~−ε+(ε−1)e−t~/ε1 + \tilde t - \ve + (\ve - 1)e^{-\tilde t/\ve}, which is (16).

The error of the composite. In the proof of Theorem 1 (The Singular Limit) the error w=v~−v~unifw = \tilde v - \tilde v_\mathrm{unif} satisfies w′+w/ε=−F~′w' + w/\ve = -\tilde F' with w(0)=0w(0) = 0. Here p=1/εp = 1/\ve, q=−F~′q = -\tilde F' and y0=0y_0 = 0, and (2) gives

w(t~)=−∫0t~e−(t~−s)/ε F~′(s) ds,w(\tilde t) = -\int_0^{\tilde t} e^{-(\tilde t - s)/\ve}\,\tilde F'(s)\,\dd s ,

the formula used there.