Professional Documents
Culture Documents
2nd. Order DEs - 29 Pgs
2nd. Order DEs - 29 Pgs
Al-Ne’aimi
M(x,y)dx + N(x,y)dy = 0
Theorem A. If y1( x) and y2( x) are linearly independent solutions of the linear
homogeneous equation (2), then every solution is a linear combination of y1 and
y2. That is, the general solution of the linear homogeneous equation is
y=c1y1+c2y2
= h +̃
Chapter 1: Second Order Differential Equations Assistant prof. / Dr. Rafi’ M.S. Al-Ne’aimi
ay’’ + by’ + cy = 0
The trick is to substitute y = e mx (m a constant) into the equation; you will see
shortly why this approach works. If y = e mx, then y′ = me mx and y″ = m2 e mx , so the
differential equation becomes
The term e mx can be factored out and immediately canceled (since e mx never
equals zero):
m=-1 and 2
are solutions. Since these functions are linearly independent (neither is a constant
multiple of the other), Theorem A says that the general linear combination
In this case, the roots are real and distinct. If the two roots are denoted m1 and
m2, then the general solution of the differential equation is
In this case, the roots are real and identical; that is, the polynomial equation has a
double (repeated) root. If this double root is denoted simply by m, then the
general solution of the differential equation is
In this case, the roots are distinct conjugate complex numbers, r ± si. The general
solution of the differential equation is then
m= -3±4i
Y(0)=1, y’(0)=2
Since the roots are real and distinct, this problem falls into Case 1, and the
general solution of the differential equation is therefore
All that remains is to use the two given initial conditions to determine the values
of the constants c1 and c2:
These two equations for c1 and c2 can be solved by first adding them to yield
Here's an example of a function that does not have a finite family of derivatives: d
= tan x. Its first four derivatives are
So just what are the functions d(x) whose derivative families are finite? See the
Table below: -
Function Family
x n ( n: a nonnegative integer) { x n , x n−1 ,… x, 1}
e kx { e kx }
sin kx {sin kx, cos kx}
cos kx {sin kx, cos kx}
a finite product of any of the preceding {all products of the individual family
types 1: If d(x) = 5 x2, then its family is members}
Example { x2, x, 1}.
Example 2: Since the function d(x) = x sin 2x is the product of x and sin 2x, the
family of d(x) would consist of all products of the family members of the functions
x and sin 2x. That is,
Chapter 1: Second Order Differential Equations Assistant prof. / Dr. Rafi’ M.S. Al-Ne’aimi
As noted in Example 1, the family of d = 5x2 is { x2, x, 1}; therefore, the most
general linear combination of the functions in the family is y = Ax 2 + Bx + C (where
A, B, and C are the undetermined coefficients). Substituting this into the given
differential equation gives
In order for this last equation to be an identity, the coefficients of like powers of x
on both sides of the equation must be equated. That is, A, B, and C must be
chosen so that
The first equation immediately gives A=1/2. Substituting this into the second
equation gives B=-3/10, and finally, substituting both of these values into the last
equation yields C=-19/100. Therefore, a particular solution of the given
differential equation is
Since the family of d = sin x is {sin x, cos x}, the most general linear combination of
the functions in the family is y = Asin x + Bcos x (where A and B are the
undetermined coefficients). Substituting this into the given differential equation
gives
In order for this last equation to be an identity, the coefficients A and B must be
chosen so that
According to Theorem B, combining this y with the result of Example 12 yields the
complete solution of the given non-homogeneous differential equation: y = c1 ex +
c2xex + ½ cos x.
Since the family of d = 8 e−7 x is just { e−7x }, the most general linear combination of
the functions in the family is simply y = Ae −7x (where A is the undetermined
coefficient). Substituting this into the given differential equation gives
Chapter 1: Second Order Differential Equations Assistant prof. / Dr. Rafi’ M.S. Al-Ne’aimi
Simplifying yields
In order for this last equation to be an identity, the coefficient A must be chosen
so that
Now, since the non-homogeneous term d(x) is a (finite) sum of functions from
Table 1 , the family of d( x) is the union of the families of the individual functions.
That is, since the family of − e x is { ex }, and the family of 12 x is {x, 1},
Chapter 1: Second Order Differential Equations Assistant prof. / Dr. Rafi’ M.S. Al-Ne’aimi
In order for this last equation to be an identity, the coefficients A, B, and C must
be chosen so that
The first two equations immediately give A =1/6 and B = −2, whereupon the third
implies C = ⅓. A particular solution of the given differential equation is therefore
Solving these last two equations yields c1 = ⅓ and c2 =1/6. Therefore, the desired
solution of the IVP is
Chapter 1: Second Order Differential Equations Assistant prof. / Dr. Rafi’ M.S. Al-Ne’aimi
Now that the basic process of the method of undetermined coefficients has been
illustrated, it is time to mention that is isn't always this straightforward.
The family for the 6x2 term is {x2, x, 1}, and the family for the −3e x/2 term is simply
{ex/2}. The family {x2, x, 1} does
The family that will be used to construct the linear combination y is now the
union
This implies that y = Ax3 + Bx2 + Cx + Dex/2 (where A, B, C, and D are the
undetermined coefficients) should be substituted into the given non-
homogeneous differential equation. Doing so yields
y = – x3 x2 x + 4 e x/2
Since the auxiliary polynomial equation has distinct conjugate complex roots,
Note that this family contains sin 2x and cos 2x, which are solutions of the
corresponding homogeneous equation. Therefore, this entire family must be
modified:
The first step is to obtain the general solution of the corresponding homogeneous
equation, which will have the form
where y1 and y2 are known functions. The next step is to vary the parameters; that
is, to replace the constants c1 and c2 by (as yet unknown) functions v1( x) and v2( x)
to obtain the form of a particular solution y of the given non-homogeneous
equation:
The goal is to determine these functions v1 and v2. Then, since the functions y1
and y2 are already known, the expression above for y yields a particular solution
of the non-homogeneous equation. Combining y with y h then gives the general
solution of the non-homogeneous differential equation, as guaranteed by
Theorem B.
Since there are two unknowns to be determined, v1 and v2, two equations or
conditions are required to obtain a solution. One of these conditions will naturally
be satisfying the given differential equation. But another condition will be
imposed first. Since y will be substituted into equation (*), its derivatives must be
evaluated. The first derivative of y is
Now, to simplify the rest of the process and to produce the first condition on v1
and v2
set
This will always be the first condition in determining v1 and v2; the second
condition will be the satisfaction of the given differential equation (*).
Differentiation yields
that is,
To solve these two equations for v1′ and v2′, first multiply the first equation by sin
x; then multiply the second equation by cos x:
Chapter 1: Second Order Differential Equations Assistant prof. / Dr. Rafi’ M.S. Al-Ne’aimi
Substituting v1′ = sin x back into equation (1) [or equation (2)] then gives
Now, integrate to find v1 and v2 (and ignore the constant of integration in each
case):
Because of the In x term, the right-hand side is not one of the special forms that
the method of undetermined coefficients can handle; variation of parameters is
required. The first step requires obtaining the general solution of the
corresponding homogeneous equation, y″ – 2 y′ + y = 0:
Cancel out the common factor of e x in both equations; then subtract the resulting
equations to obtain
Now, integrate (by parts, in both these cases) to obtain v1 and v2 from v2′ and v2′:
Chapter 1: Second Order Differential Equations Assistant prof. / Dr. Rafi’ M.S. Al-Ne’aimi
Example 3: Give the general solution of the following differential equation, given
that y1 = x and y2 = x3 are solutions of its corresponding homogeneous equation:
Varying the parameters c1 and c2 gives the form of a particular solution of the
given non-homogeneous equation:
where the functions v1 and v2 are as yet undetermined. The two conditions on v1
and v2 which follow from the method of variation of parameters are
where a, b, and c are constants (and a ≠ 0). The quickest way to solve this linear
equation is to is to substitute y = xm and solve for m. If y = xm , then
If the two roots are denoted m1 and m2, then the general solution of the second-
order homogeneous equi-dimensional differential equation in this case is
If the double (repeated) root is denoted simply by m, then the general solution of
the homogeneous equi-dimensional differential equation in this case is
If the roots are denoted r ± si, then the general solution of the homogeneous
equi-dimensional differential equation in this case is
Substitution of y = xm results in
Chapter 1: Second Order Differential Equations Assistant prof. / Dr. Rafi’ M.S. Al-Ne’aimi
Since the roots of the resulting quadratic equation are real and distinct (Case 1),
both y = x1 = x and y = x3 are solutions and linearly independent, and the general
solution of this homogeneous equation is
Example 2: For the following equi dimensional equation, give the general solution
which is valid in the domain x > 0:
Substitution of y = xm
Since the roots of the resulting quadratic equation are real and identical (Case 2),
both y = x2 and y = x2 In x are (linearly independent) solutions, so the general
solution (valid for x > 0) of this homogeneous equation is
5. Reduction of Order
The defining characteristic is this: The dependent variable, y, does not explicitly
appear in the equation. This type of second-order equation is easily reduced to a
first-order equation by the transformation
This substitution obviously implies y″ = w′, and the original equation becomes a
first-order equation for w. Solve for the function w; then integrate it to recover y.
which is in standard form. Applying the method for solving such equations, the
integrating factor is first determined,
Again, the dependent variable y is missing from this second-order equation, so its
order will be reduced by making the substitutions y′ = w and y″ = w′:
Integrating w gives y:
Although this equation is nonlinear [because of the term ( y′)2; the substitutions y′
= w and y″ = w′ will still reduce this to a first-order equation, since the variable y
does not explicitly appear. The differential equation is transformed into
which is separable:
The independent variable, x, does not explicitly appear in the equation. The
method for reducing the order of these second-order equations begins with the
same substitution as for Type 1 equations, namely, replacing y′ by w.
But instead of simply writing y″ as w′, the trick here is to express y″ in terms of a
first derivative with respect to y. This is accomplished using the chain rule:
y2y’’ – (y’)3 = 0
Note that this resulting equation is a Type 1 equation for v (because the
dependent variable, v, does not explicitly appear). So, letting v′ = w and v” = w′,
this second-order equation for v becomes the following first-order eqution for w:
The general solution of the original equation is any linear combination of y1 and y2