Semantics And Examples
Let us introduce (or remember) some terminology that will be used in this
chapter.
We start with the general form for a first order differential
equation (order referring to the power of the derivative)
where the derivative function f(t,y) is arbitrary.
Likewise, a second order differential equation has the form
This should be familiar from Newton's law (1).
In the differential equations (4) and
(6), the variable t is
independent while y is dependent, that is, we
imagine being able to vary or measure any value of t as desired,
with the corresponding value of y(t) depending on our choice for
t. (In many applications t will be time -- but it really is an
arbitrary variable).
The differential equations (1) and
(4) are all ordinary, whereas the
Schrödinger equation (2) is a
partial differential equation. In this chapter we discuss
ordinary differential equations. Since partial differential equations
are often solved by reducing them to ordinary equations, the current
discussions will still be useful for partial differential equations. In
a later chapter we examine some techniques especially applicable to
partial equations.
One of the nice things about solving differential equations with
computers is that we are not limited to the linear equations
accessible to analytic techniques. A linear equation contains
only the first power of y or dy/dt in them, while a
nonlinear equation is not so restricted. For example
![[linear eqn]](img8a.gif)
One of the nice properties of linear equations is that the
principle of linear superposition holds,
that is, if a(t) and b(t) are solutions of
(8), then
is also a solution for arbitrary values of the constants
and
. This is
not true for nonlinear equations, a fact we invite the reader to
verify with the following nonlinear equation and its analytic solution:
For a given derivative function f there are entire classes of solutions
to (4). The specific solution for a specific
problem is required to satisfy initial conditions specific to that
problem. For our first-order equation, the initial condition is usually the
specification of the value of the y(t) at some time, for example
.
Higher order equations need more than one initial condition, and often these
will be values of the y(t) and y'(t) at one
``time''.
If not all initial conditions are at the same ``time'' t, you will
need modify the strategies discussed here to obtain solutions. In particular,
there is a class of solutions to differential equations known as
boundary value problems in which the solution is constrained
to have some property at more than one point in space (and possibly an
entire region for a multidimensional problem). Problems of this sort
are usually more demanding and require a search to find
the particular values of parameters (called eigenvalues) for
which solutions exist. We discuss them in a later chapter.
In this chapter we consider the oscillations of a particle when special
forces are applied.