Second Order ODE-1-44
Second Order ODE-1-44
Equation
Example
Verify that y = cos x and y = sin x are solutions of the homogeneous
linear ODE
′′
y +y =0
for all x.
Example
Verify that y = cos x and y = sin x are solutions of the homogeneous
linear ODE
′′
y +y =0
for all x.
′′ ′ ′′ ′
y + p(x)y + q(x)y = (c1 y1 + c2 y2 ) + p(c1 y1 + c2 y2 )
+ q(c1 y1 + c2 y2 )
′′ ′′ ′ ′
= c1 y1 + c2 y2 + p(c1 y1 + c2 y2 ) + q(c1 y1 + c2 y2 )
′′ ′ ′′ ′
= c1 (y1 + py1 + qy1 ) + c2 (y2 + py2 + qy2 )
= 0 Since y1 and y2 are solutions, by assumption
y = c1 cos x + c2 sin x
y = c1 y1 + c2 y2 (B)
Example
′′
cos x and sin x form a basis of solutions od the ODE y + y = 0 for
all x because their quotient is cot x ̸= constant(or tan x ̸= constant).
Hence y = c1 cos x + c2 sin x is a general solution. The solution
y = 3.0 cos x − 0.5 sin x of the initial value problem is a particular
solution.
′′ ′ ′ ′′ ′
(x 2 − x)(u x + 2u ) − x 2 u = 0, (x 2 − x)u + (x − 2)u = 0
dv x −2 1 2
=− 2 dx = ( − )dx (8)
v x −x x −1 x
(λ2 + aλ + b)e λx = 0.
y 1 = e λ1 x and y2 = e λ2 x
λ2 + λ − 2 = 0.
y = c1 e x + c2 e −2x .
′
Now, y (x) = c1 e x − 2c2 e −2x , so from the initial conditions and
general solution we have,
y (0) = c1 + c2 = 4,
′
y (0) = c1 − 2c2 = −5
y = e x + 3e −2x .
e λ1 x = e (α+iβ)x = e αx e iβx
= e αx [cos βx + i sin βx]
= e αx cos βx + ie α x sin βx
Similarly, e λ2 x = e αx [cos βx − i sin βx]
e λ1 x + e λ2 x
Then = e αx cos βx = y1
2
e λ1 x − e λ2 x
= e αx sin βx = y2
2i
y = c1 e αx cos βx + c2 e αx sin βx
or
y = (c1 cos βx + c2 sin βx)e αx
Sol.
y = c1 x m1 + c2 x m2 (c1 , c2 arbitrary)
1
y = (c1 + c2 lnx)x m , m = (1 − a)
2
′′ ′ 1
x 2 y + axy + (1 − a)2 y = 0 (15)
4
or
′′ a ′ (1 − a)2
y + y + y =0 (16)
x 4x 2
−a
R
−pdx
From (16), p = xa . Hence e = e (−alnx) = e lnx = x −a
Divide by y12 = x 1−a gives U = 1/x so that u = lnx by integration.
Thus, y2 = uy1 = y1 lnx = ln x x (1−a)/2 .
y1 = x α cos (β ln x)
y2 = x α sin (β ln x)
are two linearly independent solutions and hence the general solution
is
y = x α c1 cos (β ln x) + c2 sin (β ln x)