94 3 Linear ordinary differential equations
we set y(x) = v(x) exp{−
1
2
x
0
p
1
(ξ)dξ} and find that v obeys
v
+ v = 0, (3.40)
where
= p
2
−
1
2
p
1
−
1
4
p
2
1
. (3.41)
Reducing an equation to normal form gives us the best chance of solving it by inspec-
tion. For physicists, another advantage is that a second-order equation in normal form
can be thought of as a Schrödinger equation,
−
d
2
ψ
dx
2
+ (V (x) − E)ψ = 0, (3.42)
and we can gain insight into the properties of the solution by bringing our physics
intuition and experience to bear.
3.3 Inhomogeneous equations
A linear inhomogeneous equation is one with a source term:
p
0
(x)y
(n)
+ p
1
(x)y
(n−1)
+···+p
n
(x)y = f (x). (3.43)
It is called “inhomogeneous” because the source term f (x) does not contain y, and so is
different from the rest. We will devote an entire chapter to the solution of such equations
by the method of Green functions. Here, we simply review some elementary material.
3.3.1 Particular integral and complementary function
One method of dealing with inhomogeneous problems, one that is especially effective
when the equation has constant coefficients, is simply to try and guess a solution to
(3.43). If you are successful, the guessed solution y
PI
is then called a particular integral.
We may add any solution y
CF
of the homogeneous equation
p
0
(x)y
(n)
+ p
1
(x)y
(n−1)
+···+p
n
(x)y = 0 (3.44)
to y
PI
and it will still be a solution of the inhomogeneous problem. We use this freedom
to satisfy the boundary or initial conditions. The added solution, y
CF
, is called the
complementary function.
Example: Charging capacitor. The capacitor in the circuit in Figure 3.1 is initially
uncharged. The switch is closed at t = 0.