Professional Documents
Culture Documents
Higher Order
Higher Order
Eegunjobi A S
August 1, 2023
Second Order Differential Equations
Definition:
F (x, y , y 0 , y 00 ) = 0,
for any numbers A; B, that makes sense through the open interval I.
For each of the following IVPs, and intervals, decide whether the
theorem promises you that there is a unique solution.
(a)
(b)
(c)
sin x (x 3 + 1) ex
y 00 (x) + y 0
(x) + y (x) =
(x 2 + 1) (x 2 + 1) (x 2 + 1)
sin x (x 3 + 1) ex
P(x) = q(x) = , f (x) =
(x 2 + 1) (x 2 + 1) (x 2 + 1)
The numerators are all nice (continuous) functions, and the
denominator in these, x 2 + 1 never vanishes in the interval
(−10; 10), so everything is nice, and the theorem promises a
unique solution.
sin x 0 (x 3 + 1) ex
y 00 (x) + y (x) + y (x) =
x2 x2 x2
sin x x3 + 1 ex
p(x) = q(x) = f (x) =
x2 x2 x2
The numerators are all nice (continuous) functions, but the
denominator in these, x 2 vanishes at x = 0, and x = 0 happens to
lie in the given interval, so (at least one of, but in this case all of)
p(x); q(x); f (x) blow up, so are not continuous, and there is no
guarantee.
(a) and (d) are guaranteed to have a unique solution, but (b) and (c)
are not.
Solution
After dividing by the coefficient of y 00 (x), (x − 1)(x + 3), we get the IVP
sin x cos x x
y 00 (X ) + y 0 (x) + y (x) =
(x − 1)(x + 3) (x − 1)(x + 3) (x − 1)(x + 3)
Find the largest open interval for which the solutions of the following
ODEs exist and are unique
(a) (x −1)(x −4)y 00 (x)+sin xy 0 (x)+cos xy (x) = ex ; y (0) = 1; y 0 (0) = 3
Find the largest open interval for which the solutions of the following
ODEs exist and are unique
(a) (x −1)(x −4)y 00 (x)+sin xy 0 (x)+cos xy (x) = ex ; y (0) = 1; y 0 (0) = 3
(b) (x + 100)(x − 200)y 00 (x) + sin xy 0 (x) + cos ex y (x) = x 3 ; y (10) =
1; y 0 (10) = 3
y 00 + p(x)y 0 + q(x)y = 0
c1 y1 (x) + c2 y2 (x)
y 00 + p(x)y 0 + q(x)y
= (c1 y1 (x) + c2 y2 (x))00 + p(x)(c1 y1 (x) + c2 y2 (x))0
+ q(x)(c1 y1 (x) + c2 y2 (x))
= (c1 y100 (x) + c2 y200 (x)) + p(x)(c1 y10 (x) + c2 y20 (x))
+ q(x)(c1 y1 (x) + c2 y2 (x))
= c1 y100 (x) + p(x)y10 (x) + q(x)y1 (x)
+ c2 y200 (x) + p(x)y20 (x) + q(x)y2 (x)
= c1 (0) + c2 (0) = 0
If y1 (x) = ex and y2 (x) = e−x verify that y1 (x) and y2 (x) and any
linear combination y (x) = c1 ex + c2 e−x are all solution of the
differential equation
y 00 (x) − y (x) = 0.
Hence
y 00 (x) − y (x) = ex − ex = 0.
Therefore y1 (x) = ex is a solution.
To show y2 (x) = e−x is a solution, we have
Hence
y 00 (x) − y (x) = e−x − e−x = 0.
Therefore y2 (x) = e−x is a solution.
Hence
for all x ∈ I. If f (x) and g(x) are not linearly dependent, then we say
they are linearly Independent.
(a) Since f (x) = sin 2x = 2 sin x cos x, then f (x) = 2g(x) for all x.
Therefore they are linearly dependent on (−∞, ∞).
(a) Since f (x) = sin 2x = 2 sin x cos x, then f (x) = 2g(x) for all x.
Therefore they are linearly dependent on (−∞, ∞).
(b) We see that neither of the two functions is a constant multiple of
the other. Suppose there exit a constant k such that
ex = k (x + 1)
e0 = k (0 + 1), k =1
e
e1 = k (1 + 1), k=
2
x
This is contradiction, hence f (x) = e and g(x) = x + 1 are
linearly independent on (−∞, ∞).
Show whether or not y1 (x) = cos x and y2 (x) = sin x are linearly
independent?
Solution
cos x sin x
W (y1 (x), y2 (x)) = = cos2 x + sin2 x = 1 6= 0
− sin x cos x
Hence y1 (x) and y2 (x) are linearly independent.
Let us begin by
and
y200 (x) + p(x)y20 (x) + q(x)y2 (x) = 0
(y1 (x)y200 (x) − y2 (x)y100 (x)) + p(x)(y1 (x)y20 (x) − y10 (x)y2 (x)) = 0
or
W 0 (x) + P(x)W (x) = 0.
The general solution of this first order equation is
R
W (x) = ce− p(x)dx
.
Solution
x y2
W (y1 (x), y2 (x)) = = xy20 − y2 = x 2 − 2
1 y20
y2 x 2 −2
which is y20 − x = x . This is not exact, therefore p(x) = − x1
R R 1 1
µ(x) = e P(x)dx
= e− x
dx
=
x
y20 y2 2
− 2 =1− 2
x x x
d y2 2
=1− 2
dx x x
Z
y2 2
= 1 − 2 dx
x x
y2 2
=x+
x x
y2 = x 2 + 2 + c
Recall that y2 (0) = 2, therefore
2 = 0 + 2 + c, c=0
y2 = x 2 + 2
y1 (x) = e−2x ,
the WronskianW (y1 , y2 ) = (2x − 3)e−2x
and y2 (0) = −2.
e−2x y2
W (y1 (x), y2 (x)) = = (2x − 3)e−2x
−2e−2x y20
e−2x y20 (x) + 2e−2x y2 (x) = (2x − 3)e−2x
∴ y20 (x) + 2y2 (x) = 2x − 3
p(x) = 2
Eegunjobi A S Higher order Differential Equations August 1, 2023 30 / 160
solution conts
R R
p(x)dx 2dx
µ(x) = e =e = e2x
e2x y20 (x) + 2e2x y2 (x) = (2x − 3)e2x
d
y2 (x)e2x = (2x − 3)e2x
dx
d y2 (x)e2x = (2x − 3)e2x dx
Z
y2 (x)e2x = (2x − 3)e2x dx
but Z
3 1
(2x − 3)e2x dx = − e2x + xe2x − e2x + c
2 2
therefore
3 1
y2 (x)e2x = − e2x + xe2x − e2x + c
2 2
3 1
y2 (x) = − + x − + ce−2x
2 2
y2 (x) = x − 2 + ce−2x
but y2 (0) = −2 ∴c=0
then
y2 (x) = x − 2.
Find y2 (x) given y1 (x), the W (y1 (x), y2 (x)), and y2 (0).
(a) y1 (x) = 2x + 1, W (y1 , y2 ) = 2x 2 + 2x + 1 and y2 (0) = 0.
(b) y1 (x) = 3x − 1, W (y1 , y2 ) = −3x 2 + 2x − 3 and y2 (0) = 1.
(c) y1 (x) = x + 1, W (y1 , y2 ) = (1 + x) cos x − sin x and y2 (0) = 0.
(d) y1 (x) = x − 2, W (y1 , y2 ) = (3 − 2x)e−2x and y2 (0) = 1.
(e) y1 (x) = 2x − 1, W (y1 , y2 ) = (2x 2 − x − 1)ex and y2 (0) = 0.
(f) y1 (x) = 4x + 1, W (y1 , y2 ) = cos x − (4x 2 + x) sin x and y2 (0) = 0.
am2 + bm + c = 0 (b)
Solving the characteristic equation (b), with roots m1 and m2 gives the
two solutions y1 (x) = em1 x and y2 (x) = em2 x
Solution
Let y (x) = erx , then the characteristic equation is
r 2 − 2r + 6 = 0
Let v = u 0 , we have
(2y10 + p(x)y1 )
v0 + v =0
y1
Assume
(2y10 + p(x)y1 )
g(x) =
y1
we have
v 0 + g(x)v = 0
This is first-order differential equation which can be solved by variable
separable. Solving we obtain:
R
v (x) = e− g(x)dx
,
hence, Z R
u= e− g(x)dx
dx,
We said earlier on that if y1 (x) and y2 (x) form the fundamental set of
solutions of the homogeneous equation, then the general solution is
given by
yc (x) = c1 y1 (x) + c2 y2 (x),
where c1 and c2 are constants to be determined.
We look for a particular solution yp (x) by replacing c1 and c2 with u(x)
and v (x), therefore
Z Z
y2 (x)f (x) y1 (x)f (x)
u(x) = − dx, v (x) =
W W
e2x e−x
W (y1 , y2 ) = = −ex − 2ex = −3ex
2e2x −e−x
ex +e−x
y2 (x)f (x) e−x 2 e−x + e−3x
u 0 (x) = − =− =
W −3ex 6
cos x sin x
W (y1 , y2 ) = = cos2 x + sin2 x = 1
− sin x cos x
y2 (x)f (x) sin x × sec x
u 0 (x) = − =−
W
Z 1
sin x
u(x) = − dx = ln cos x
cos x
y 00 + py 0 + qy = f (x)
y (x) = c1 x λ1 + c2 x λ2 .
d 2y dy
2x 2 + 7x − 3y = 0, x >0
dx 2 dx
Solution Letting y (x) = x λ Differentiate first and second times and
subtitute into the given problem , we have
2λ(λ − 1) + 7λ − 3 = 0
x iβ = eiβ ln x
therefore
y (x) = x α c1 x iβ + c2 x −iβ = x α c1 eiβ ln x + c2 e−iβ ln x
Note that
e±iθ = cos θ ± i sin θ
x x3
W (y1 , y2 ) = = 3x 3 − x 3 = 2x 3
1 3x 2
3 0 3
∴ y 00 − y + 2 y = 2x 2 ex =⇒ f (x) = 2x 2 ex
x x
Z
y1 (x)f (x)
v (x) = dx
W
2x 3 ex
Z Z
= dx = ex dx = −ex
2x 3
y 0 (t) − 5y (t)
From y 0 (t) = 2x(t) + 5y (t) =⇒ x(t) =
2
d y 0 (t) − 5y (t) y 0 (t) − 5y (t)
∴ −7 + y (t) = 0
dt 2 2
1
=⇒ (y 00 (t) − 5y 0 (t) − 7y 0 (t) + 35y (t)) + y (t) = 0
2
=⇒ y 00 (t) − 12y 0 (t) + 35y (t) + 2y (t) = 0
=⇒ y 00 (t) − 12y 0 (t) + 37y (t) = 0
∴m =6±i
y (t) = e6t c1 cos t + c2 sin t
y 0 (t) − 5y (t)
x(t) =
2
∴ y 0 (t) = 6e6t c1 cos t + c2 sin t + e6t − c1 sin t + c2 cos t
= e6t cos t 6c1 − c2 + e6t sin t 6c2 − c1
we have
yc (t) = c1 e−2t + c2 et
yp (t) = A sin t + B cos t
Solve for A and B, we have
1 3 1 3
A= B=− =⇒ yp (t) = sin t − cos t
10 10 10 10
1 3
yG (t) = yc (t) + yp (t) = c1 e−2t + c2 et + sin t − cos t
10 10