If you spot any errors, or come up with any improvements, please drop me a line.

Separable First-Order Equations

It's easiest to introduce the idea of these with an example.

A man is pushing a car of mass 1000kg with a force of 200N along a flat track, against a resistive force of strength 2v2N (where v is the speed of the car). If he is trying to get the car to reach a speed of 4ms-1 from rest,

  1. Find how long the man has to push the car.
  2. Find out how far the man has to push the car.

Okay, that's quite a lot of information, so we break the problem down into blocks. How many bodies are we interested in the motion of? Only one - the car. This has mass m = 1000. What forces does this body experience? Two forces: 200 forwards, and 2v^2 backwards. What do we know about its initial state? Well, at time t = 0, it is at position x = 0, and its velocity is v = 0 (because it is at rest).

First, let's write down the simple statement F=ma. Now in this equation, we know what F is (because we know all the forces) and we know what m is, but we are not interested in a, since we do not know the acceleration, and we do not want to work it out.

But wait - for part 1, we are interested in t plus we know v, and we know a=\frac{dv}{dt} - acceleration is the rate of change of velocity. So we can write 200-2v^2=1000\frac{dv}{dt} by filling in the sum of forces (remembering the negative backwards force), the mass, and our differential representation of acceleration.

This gives us a formula which relates only time and velocity, which is perfect for answering part 1. Often, we might be asked to rearrange it, usually just by dividing/multiplying by some whole number, to get something like \begin{array}{rcl}\frac{dv}{dt}&=&\frac{200-2v^{2}}{1000}\\&=&\frac{100-v^{2}}{500}\end{array}. We've just answered part of the question - forming the differential equation that v satisfies. The problem is, we can't do anything with it next, as it stands.

The only way we know how to get rid of differentiation is integration, but it's not at all clear what we can integrate at the moment - this is because the variables are mixed up. But - good news! - M3 only contains separable equations; this means that you can always pull apart the two variables: 
\begin{array}{rcl}
dv&=&\frac{100-v^{2}}{500}dt \\
\frac{dv}{100-v^{2}}&=&\frac{dt}{500}
\end{array}

This problem can now be solved by integrating both sides, using the technique of partial fractions to do the v side - we'll do this first: 
\begin{array}{rcl}
\frac{1}{100-v^{2}}&=&\frac{1}{(10-v)(10+v)}\\\frac{1}{(10-v)(10+v)}&=&\frac{A}{10-v}+\frac{B}{10+v}\\1&=&A(10+v)+B(10-v)\\1&=&10A+10B\\0&=&A-B\\0&=&10A-10B\\1&=&20A\\A&=&\frac{1}{20}\\B&=&\frac{1}{20}
\end{array}

Now we can integrate the function: 
\begin{array}{rcl}
\int\left(\frac{\frac{1}{20}}{10-v}+\frac{\frac{1}{20}}{10+v}\right)dv&=\int&\frac{dt}{500}\\\frac{1}{20}\int\left(\frac{1}{10-v}+\frac{1}{10+v}\right)dv&=&\frac{t}{500}+C\\\frac{1}{20}\left(-\ln\left|10-v\right|+\ln\left|10+v\right|\right)&=&\frac{t}{500}+C \\
\frac{1}{20}\ln\frac{\left|10+v\right|}{\left|10-v\right|}=\frac{1}{20}\ln\left|\frac{10+v}{10-v}\right| &=& \frac{t}{500}+C
\end{array}
... which leaves us with a direct relationship between v and t, except for our constant of integration C. There are two ways of dealing with this (that are essentially the same thing); either we integrate using the definite limits of the problem, or we just fill in our initial conditions and solve for C and then work out the answer. We'll demonstrate both methods here - choose the one you prefer!

First, here's the substitution method, using v = 0 when t = 0: 
\begin{array}{rcl}
\frac{1}{20}\ln\left|\frac{10+0}{10-0}\right|&=&\frac{0}{500}+C\\\frac{1}{20}\ln\left|1\right|&=&C\\C&=&0
\end{array}
So we can plug in v = 4 and work out t: 
\begin{array}{rcl}
\frac{1}{20}\ln\left|\frac{10+4}{10-4}\right|&=&\frac{t}{500}\\t&=&\frac{500}{20}\ln\frac{14}{6}\\&\approx&21.18\text{s}
\end{array}

Alternatively, we can use our initial conditions in the limits of our integration. We do the same integration before, except with v being integrated from 0 to 4 (the initial velocity to the final velocity), and with t being integrated from 0 to t (the initial time, to the final time - which is, of course, the unknown we are solving for!): 
\begin{array}{rcl}
\left[\frac{1}{20}\ln\left|\frac{10+v}{10-v}\right|\right]_{0}^{4}&=&\left[\frac{t}{500}\right]_{0}^{t}\\\frac{1}{20}\left(\ln\left|\frac{10+4}{10-4}\right|-\ln\left|\frac{10+0}{10-0}\right|\right)&=&\frac{t-0}{500}\\\frac{1}{20}\left(\ln\frac{14}{6}-\ln1\right)&=&\frac{t}{500}\\t&=&\frac{500}{20}\left(\ln\frac{14}{6}-\ln1\right)\\&\approx&21.18\text{s}
\end{array}

The second method is probably shorter, since it fits in well with the rest of the question, but the first is possibly easier to understand.

The velocity-displacement form of acceleration

For part 2 of the above question, we are asked to relate velocity (the same 4ms-1) and displacement (which we must calculate). The naïve approach to this might be to try and integrate the velocity-time equation we discovered, and plug in the value of the time we found. However, this is often considerably more difficult (to the point of impossibility) than the following method.

Since, as before, we know F and m in Newton's formula, we might be able to use a different form of a relating velocity and displacement to our advantage here. Consider the a=\frac{dv}{dt} formula we have used above - we want to eliminate time t, but not velocity v, and introduce displacement x. What relates these terms? It is, of course, v=\frac{dx}{dt}. How can we use this? Well (to use a technically slightly dubious bit of rearranging) this second formula means dt=\frac{dx}{v} - substituting this into the first expression gives a=\frac{dv}{dt}=\frac{dv}{\frac{dx}{v}}=v\frac{dv}{dx} which is exactly the kind of expression we wanted!

You should memorize the formula a=v\frac{dv}{dx} since it makes these questions much easier. Note that we can see it is right (avoiding the dubious line above) by using the Chain Rule: 
a = \frac{dv}{dt} = \frac{dv}{dx}\frac{dx}{dt} = \frac{dv}{dx}v

Now we can actually work out the answer to part 2, beginning in exactly the same way as above: 
\begin{array}{rcl}
200-2v^{2}&=&1000v\frac{dv}{dx}\\v\frac{dv}{dx}&=&\frac{200-2v^{2}}{1000}\\&=&\frac{100-v^{2}}{500}\\vdv&=&\frac{100-v^{2}}{500}dx\\\frac{vdv}{100-v^{2}}&=&\frac{dx}{500}
\end{array}

Now this can be integrated more easily than last time, because of the extra v term - the derivative of the denominator is -2v which is very nearly the numerator, so if we divide and multiply by -2 then the function is of the form \frac{f'(x)}{f(x)} which integrates to \ln\left|f(x)\right|: 
\begin{array}{rcl}
\frac{1}{-2}\int_{0}^{4}\frac{-2vdv}{100-v^{2}}&=&\int_{0}^{x}\frac{dx}{500}\\-\frac{1}{2}\left[\ln\left|100-v^{2}\right|\right]_{0}^{4}&=&\frac{x-0}{500}\\x&=&-\frac{1}{2}500\left(\ln\left|100-4^{2}\right|-\ln\left|100-0^{2}\right|\right)\\&=&-250\left(\ln84-\ln100\right)\\&=&250\ln\frac{100}{84}\\&\approx&43.59\text{m}
\end{array}

Using the Power Equation

When a body is being driven by an engine operating at a constant power, it does not necessarily experience a constant force. This is because the force is smaller at larger velocities: F=\frac{P}{v} (If you're curious, this comes from differentiating the formula W=F.s, work done is force times distance, with respect to time, giving P=F.v).

This makes it possible to work with cars, including those on slopes, like the following:

A car of mass 800kg is driving straight up a hill at 30° to the horizontal against frictional forces of kv2.

  1. Given it is driving with an engine power of 50kW at a constant speed of 10ms-1, calculate k.
  2. If the car now turns off its engine,
    1. how far up the slope would it roll?
    2. at what speed is it travelling after 5 metres?
  3. If the car has turned off its engine, and after 5m the road becomes instantaneously flat, at what power would the engine have to work to return to 10ms-1 over the same distance of 5m?

For the first part, we use the fact that the resultant force up and down the slope (the sum of the forces) is 0, since the velocity is not changing.

The driving force is F_d=\frac{50000\text{W}}{10\text{ms}^{-1}}=5000\text{N}. The two other forces acting are a component of gravity and the resistive force: F_g=800g\times\sin 30^\circ=3924\text{N} and F_r=10^{2}k=100k\text{N}. Therefore 
\begin{array}{rcl}
F_d - F_g - F_r &=& 0 \\
5000 - 3924 - 100k &=& 0 \\
k &=& \frac{1076}{100} \\
 &=& 10.76
\end{array}

For the next part, we need to form F=ma using the new value of the driving force, 0 - this means also using our velocity-displacement representation of the acceleration: 
\begin{array}{rcl}
0-3924-10.76v^{2}&=&800v\frac{dv}{dx}\\\int_{10}^{v}\frac{-800vdv}{3924+10.76v^{2}}&=&\int_{0}^{x}dx\\x&=&-\frac{800}{2\times10.76}\int_{10}^{v}\frac{2\times10.76vdv}{3924+10.76v^{2}}\\&=&-\frac{10000}{269}\left[\ln\left|3924+10.76v^{2}\right|\right]_{10}^{v}
\end{array}
which we can expand to 
\begin{array}{rcl}
x&=&\frac{10000}{269}\left(\ln\left|3924+10.76\times10^{2}\right|-\ln\left|3924+10.76v^{2}\right|\right)\\&=&\frac{10000}{269}\ln\left|\frac{5000}{3924+10.76v^{2}}\right|
\end{array}

Now firstly, we want the highest point - clearly, this is where v = 0, so 
\begin{array}{rcl}
x&=&\frac{10000}{269}\ln\left|\frac{5000}{3924}\right|\\&\approx&9.00842\text{m}
\end{array}

Next, we want to know the velocity v when x = 5: 
\begin{array}{rcl}
\ln\left|\frac{3924+10.76\times10^{2}}{3924+10.76v^{2}}\right|&=&5\times\frac{269}{10000}\\\frac{3924+1076}{3924+10.76v^{2}}&=&e^{\frac{269}{2000}}\\3924+10.76v^{2}&=&\frac{5000}{e^{\frac{269}{2000}}}=5000e^{-\frac{269}{2000}}\\v&=&\sqrt{\frac{5000e^{-\frac{269}{2000}}-3924}{10.76}}\\&\approx&6.44367\text{ms}^{-1}
\end{array}

Finally, we consider what happens if the car is suddenly on the level (so Fg = 0) and travelling at this velocity, approximately 6.44367ms-1. We want to calculate the power necessary to reach 10ms-1 in 5m. We form the new force sum, separate the variables, integrate over the appropriate changes in velocity and displacement, and solve the resulting equation for P: 
\begin{array}{rcl}
\sum F=\frac{P}{v}-10.76v^{2}&=&800v\frac{dv}{dx}\\\int_{0}^{5}dx&=&\int_{6.44367}^{10}\frac{800vdv}{\frac{P}{v}-10.76v^{2}}\\5&=&\int_{6.44367}^{10}\frac{800v^{2}dx}{P-10.76v^{3}}\\&=&\frac{800}{-3\times10.76}\int_{6.44367}^{10}\frac{-3\times10.76v^{2}dx}{P-10.76v^{3}}\\&=&\frac{20000}{807}\left[\ln\left|P-10.76v^{3}\right|\right]_{6.44367}^{10}
\end{array}
So 
\begin{array}{rcl}
\left[\ln\left|P-10.76v^{3}\right|\right]_{6.44367}^{10}&=&-\frac{807}{4000}\\\ln\left|\frac{P-10.76\times10^{3}}{P-10.76\times6.44367^{3}}\right|&=&-\frac{807}{4000}\\\frac{P-10.76\times10^{3}}{P-10.76\times6.44367^{3}}&=&e^{-\frac{807}{4000}}
\end{array}
Now we can solve this for P by multiplying through: 
\begin{array}{rcl}
P-10.76\times10^{3}&=&e^{-\frac{807}{4000}}\left(P-10.76\times6.44367^{3}\right)\\P(1-e^{-\frac{807}{4000}})&=&10.76\times\left(10^{3}-6.44367^{3}\times e^{-\frac{807}{4000}}\right)\\P&=&\frac{10.76\times\left(10^{3}-6.44367^{3}\times e^{-\frac{807}{4000}}\right)}{1-e^{-\frac{807}{4000}}}\\&\approx&46.016\text{kW}
\end{array}

Second-Order Equations

The next problem we come across in our newly discovered differential approach to dynamics is what happens when, for example, the force applied to a particle varies not just with velocity, but displacement or time as well. We can still use similar methods to form differential equations, but we will need entirely new techniques to solve them. First, though, we'll split these equations up into two different types, the first being a special (easier) version of the second:

Homogeneous Equations

As above, let's introduce this topic with an example question:

...

Inhomogeneous Equations

M3: Differential Equations

A guide to the M3 topic

top / xhtml / css
© Carl Turner 2008-2017
design & engine by suchideas / hosted by xenSmart