Differential Equations - Motivation and Separable Case

A good motivation for the study of differential equations can be found in physics. For example, Newton's second law states that: ma=F
where m is the mass of a body, a is the acceleration of said body, and F is the vector sum of all forces acting on the body. Say we have a raindrop falling vertically downwards close to the ground. (we are therefore only considering one-dimensional motion) Say it is subject to a drag force proportional to its velocity, (acting upwards on the drop) and a gravitational force g taken to be constant. (acting downwards on the drop) Let the raindrop's acceleration be a, its velocity be v and its mass be m. Then: ma=mgkv
for some constant v. We know the acceleration to be the rate of change of velocity with time, so we can write this as: mdvdt=mgkv
which you might prefer to write as: mdvdt+kv=mg
This is an example of a separable linear first-order differential equation, which we can solve for v as a function of t. This would enable us to find the terminal velocity of the raindrop, and also its acceleration and displacement from its starting position as functions of t.
Second order differential equations pop up in simple harmonic motion, situations where a body is in periodic motion about a fixed point, subject to a force proportional to its displacement from said point. From Newton's second law, we then have that the acceleration of this body will be proportional to its displacement from its starting point. (as at non-relativistic speeds, the increase in mass of the body will be negligible) We can write this as: a=kx
We know that acceleration is the rate of change of velocity with respect to time, and that velocity is the rate of change of displacement with respect to time. So we can write a=d2xdt2. (or as physicists may prefer, ¨x) The constant of proportional is usually written ω2. (the utility of this will be seen when we cover SHM) So the above is most commonly seen as: d2xdt2=ω2x
This is an example of a linear second-order differential equation, which we will look into solving in a later section.
Solving separable equations
Separable differential equations are those of the form: dydx=f(x)g(y)
We can divide through g(y) to get: 1g(y)dydx=f(x)
We can now integrate both sides with respect to x: 1g(y)dydxdx=f(x)dx
From integration by substitution, we know that: 1g(y)dydxdx=1g(y)dy
So effectively we are integrating the LHS with respect to y and the RHS with respect to x. If we're lucky, we can now easily integrate 1g(y) and f(x), we can obtain a relationship between y and x. If we're luckier yet, we may even be able to nicely write a solution in the form y=f where f depends only on x. To take an example, let's look at: mdvdt=mgkv
From earlier, we can divide through mgkv: mmgkvdvdt=1
Which is in a form we can now solve as: mmgkvdv=mk1mgkvdv=mklog(mgkv)
The RHS is simply t+C for some (as yet unknown) constant C. Then: t+C=mklog(mgkv)
This can be relatively straightforwardly rearranged for v: kmt+C=log(mgkv)
(where C=kmC) Giving: Aekmt=mgkv
(where A=eC) So: v=mgkAekmt
We would need some more information about the body to find this constant A, such as the body's velocity at a point in time. (this is called a boundary condition) We can see however, without that information, that as t, vmgk, giving us the terminal velocity of the body. We can also differentiate/integrate this function to obtain its acceleration or the displacement from its start point, in terms of t, though this would introduce further constants which we would need even more information to determine. For example, if we knew that the body started from rest we would have: v(0)=0=mgkAe0=mgkA
So: A=mgk
Giving: v=mgkmgkekmt
Sometimes it won't be possible to separate the variables, for example if we had: sinxdydx+ycosx=exsinx
We would not be able to apply this technique, we must instead look at alternatives. We will look at these in the next section.

Comments