Redirected from Differential equations/Examples
The simplest differential equations are ordinary, linear differential equations of the first order with constant coefficients. For example:
where <math>f(t)</math> is some known function. We may solve this simply by rearranging it (using the chain rule) as
where <math>F(t) = \int f(t)\,dt</math>. Integrating this, we have
where <math>A</math> is an arbitrary constant. (We can easily check this is a solution)
Some elaboration is needed since <math>f(t)</math> is not in fact a constant, indeed it might not even be integrable. Arguably, one must also assume something about the domains of the functions involved before the equation is fully defined. Are we talking complex functions, or just real, for example? The usual textbook approach is to discuss forming the equations well before considering how to solve them.
Suppose a mass is attached to a spring, which exerts an attractive force on the mass proportional to the extension/compression of the spring and ignore any other forces (gravity, friction etc). We shall write the extension of the spring at a time <math>t</math> as <math>x(t)</math>. Now, using Newton's second law we can write (using convenient units)
If we look for solutions that have the form <math>C e^{kt}</math>, where <math>C</math> is a constant, we discover the relationship <math>k^2 + 1 = 0</math>, and thus <math>k</math> must be one of the complex numbers <math>i</math> or <math>-i</math>. Thus, using Euler's theorem we can say that the solution must be of the form:
To fix the unknown constants <math>A</math> and <math>B</math>, we need initial conditions, i.e. to specify the state of the system at a given time (usually taken to be <math>t = 0</math>).
For example, if we suppose at <math>t = 0</math> the extension is a unit distance (<math>x = 1</math>), and the particle is not moving (<math>dx/dt = 0</math>). We have
and so <math>A = 1</math>.
and so <math>B = 0</math>.
Therefore <math>x(t) = \cos t</math>. (This is an example of simple harmonic motion)
The above model of an oscillating mass on a spring is plausible but not really realistic. For a start, we've invented a perpetual motion machine which violates the second law of thermodynamics. So lets consider adding some friction for realism. Now, experimental scientists[?] will tell us that friction will tend to deccelerate the mass and have magnitude proportional to its velocity (i.e. <math>dx/dt</math>). Our new differential equation, expressing the balancing of the acceleration and the forces, is
where <math>c</math> is our coefficient of friction, and <math>c > 0</math>. Again looking for solutions of the form <math>A e^{kt}</math>, we find that
This is a quadratic equation which we can solve. If <math>c < 2</math> we have complex roots <math>a \pm i b</math>, and the solution (with the above boundary conditions) will look like this:
(We can show that <math>a < 0</math>)
This is a damped oscillator, and the plot of displacement against time would look something like this:
which does resemble how we'd expect a vibrating spring to behave as friction removed the energy from the system.
See also Laplace transform, eigenvalues, eigenvectors, Vector field, Slope field[?], Integration, Partial derivative, Vector calculus
Search Encyclopedia
|
Featured Article
|