82
Free
Fall
and
Harmonic
Oscillators
hOT?og~neous
problem. Namely, we
gue~s
Yp
(x) =
Axe-
3x
.
We
c~mpute
~he
derIvative
of
our guess,
Y~
= A(1 - 3x)e-.)x and
Y"P
=
A(9x
- 6)e-
3x
. Insertmg
these into the equation, we obtain
[(9x - 6) + 2(1 - 3x) -
3x]Ae-
3
-,;
= 2e-
3
X,
or
-4A
= 2.
I
-3x
So,
A = -112 and
ypCx)
=-'2
xe
.
Method of Variation of Parameters
A more systematic way to find particular solutions
is
through the use
of
the Method
of
Variation
of
Parameters. The derivation
is
a little messy and
the solution
is
sometimes messy, but the application
of
the method
is
straight
forward
if
you can do the required integrals.
We
will first derive the needed
equations and then do some examples.
We begin with the nonhomogeneous equation. Let's assume it
is
of
the
standard form
a(x)y"
(x) +
b(x)y'
(x) + c(x)y(x) =
f(x).
We know that the solution
of
the homogeneous equation can be written
in
terms
of
two linearly independent solutions, which we will call YI (x) and
Yix).
yh(x)
=
clYI(x)
+
c2Y2(x).
If
one replaces the constants with functions, then you now longer have a
solution to the homogeneous equation. Is it possible that you could stumble
across the right functions with which to replace the constants and somehow
end up
withf(x)
when inserted into the left side
of
the differential equation?
It turns out that you can.
So,
let's
assume that the constants are replaced with two unknown
functions, which we will call
c
i
(x) and c
2
(x). This change
of
the parameters
is where the name
of
the method derives. Thus, we are assuming that a
particular solution takes the form
YP
(x) = cI(x)YI(x) +
ci
x
)Y2(x).
If
this
is
to
be
a solution, then insertion into the differential equation should
make it true. To do this we will first need to compute some derivatives.
The first derivative
is
given by
Y~
(x) =
cI(x)Yl
(x) +
cix)y;
(x) + c'l (x)Yl (x) +
c;
(x)Y2
(x).
Next we will need the second derivative. But, this will give use eight
terms.
So, we will first make an assumption.
Let's
assume that the last two
terms add to zero.
C;(X)Yl (x) +
c;
(x)Y2
(x) =
o.