Documente Academic
Documente Profesional
Documente Cultură
2.3
(a) If 2e4x x cos x is a solution, then e4x cos x is a solution, corresponding to the root = 4 + i
of the characteristic equation. Since e4x x cos x is a solution, this root has multilpicity at
least two. However, 4 i must also be a root of the same multiplicity. Thus the roots are
4 i, 4 i. Note that = 4 i satisfies ( 4)2 = 1, hence the characteristic equation
of degree four is necessarily
2
0 = ( 4)2 + 1 = 4 163 + 982 272 + 289
The ODE is therefore
y(4) 16y000 + 98y00 272y + 289y = 0
1
y( x ) = 2e4x x cos x
= y(0) = 0
= y0 (0) = 2
= y00 (0) = 16
= y000 (0) = 90
(a) The characteristic equation has factors 3 for the 3, and 2 + 4 for the 2i. Hence
0 = ( 3)(2 + 4) = 3 32 + 4 12
(b) The differential equation is
y000 3y00 + 4y0 12y = 0
(c) The general solution is
y( x ) = c1 e3x + c2 cos 2x + c3 sin 2x
103 You can fight your way through the characteristic equation process if you like, or. . .
Observe that y( x ) 0 solves the equation with the given initial conditions. Since this equation
satisfies the existence and uniqueness theorem, such is indeed the solution.
2.5
Nonhomogeneous Equations
2 Try y P = ae2x . Then y0P = 2ae2x and y00P = 4ae2x , thus
y00P y0P 6y P = 4ae2x
We therefore require a = 14 for a particular solution y P = 41 e2x
3 Try y P = ae2x . Then y0P = 2ae2x and y00P = 4ae2x , thus
y00P 4y0P + 4y P = 0
This is no good. Indeed y( x ) = (c1 + c2 x )e2x is the complementary function, so we must instead
try y P = ax2 e2x . Then y0P = 2a( x2 + x )e2x and y00P = 2a(2x2 + 4x + 1)e2x , thus
y00P 4y0P + 4y P = 2a(2x2 + 4x + 1)e2x 8a( x2 + x )e2x + 4ax2 e2x = 2ae2x
We therefore require a = 21 for a particular solution y P = 21 e2x
2
= 6a sin 3x + 6b cos 3x
We therefore require a = 16 and b = 16 for a particular solution y P = 61 x (sin 3x cos 3x ).
The general solution to the ODE is therefore
1
y( x ) = yC + y P = c1 cos 3x + c2 sin 3x + x (sin 3x cos 3x )
6
Now apply the initial conditions.
(
7
18
y( x ) = 2 cos 3x +
y (0) = 2 = c1
y0 (0) = 1 = 3c2
1
6
7
1
sin 3x + x (sin 3x cos 3x )
18
6
(since c = 1 = c2 = 1. . . )
1
whence a = 2c
.
A particular solution is therefore
1
cx
c 6 = 1
c2 1 e
1
x
y P ( x ) = 2 xe
c=1
1 x
2 xe
c = 1
102
y00P = ae x + 6bx + 2c
whence
y00P + 2y P = ae x + 6bx + 2c + 2( ae x + bx3 + cx2 + dx + e)
y00P = 2a
whence
y00P + 2y0P + y P = 2a + 2(2ax + b) + ax2 + bx + c = ax2 + (4a + b) x + 2a + 2b + c
= x2 a = 1, b = 4a = 4, c = 2a 2b = 6
The general solution to the ODE is therefore
y( x ) = yC + y P = c1 cos x + c2 sin x + x2 4x + 6
Now apply the initial conditions.
(
y( x ) = c1 cos x + c2 sin x + x2 4x + 6
y0 ( x ) = c1 sin x + c2 cos x + 2x 4
y (0) = 1 = c1 + 6
y 0 (0) = 2 = c2 4
y C ( x ) = c1 e
2x
+ c2 e
2x
Try a particular solution y P = a sin( x + c) (Dont need the cosine since the second derivative of sine
is also sine. . . ). Then
1
y00P 2y P = a(1 2) sin( x + c) = sin( x + c) a =
3
The general solution is therefore
y ( x ) = c1 e
2x
+ c2 e
2x
1
sin( x + c)
3