Docsity

Problem Assignment 3 Solutions - Advanced Engineering Mathematics | MATH 271, Assignments of Mathematics

Toggle sidebar
bg1
Mathematics 271 Spring 2009 Problem Assignment # 3 Solutions
1) The characteristic equation is
2
2 50
with roots
2420
2
24
2
12
. So
a basis for the set of solutions is
y
1
x
cos
2x
and y
2
x
sin
2x
and the general solution is
y
x
c
1
cos
2
x
c
2
sin
2
x
.
To apply the initial conditions, we will
need the derivative:
y'
x
c
1
cos
2
x
c
2
sin
2
x
x
2
c
1
sin
2
x
2
c
2
cos
2
x
which we
can write as
y'
x
c
1
2
c
2
cos
2
x
e
x
2
c
1
c
2
sin
2
x
. Now we can apply the initial conditions:
y
2
0
2
c
1
cos
c
2
sin
0
2
c
1
0c
1
0.
y'
2
2
2
c
1
2c
2
1
2
2c
1
c
2
0
2 2c
2

2
2c
2
2 .
So the (unique) solution to the initial value problem is
ye
x

2
sin
2x
x
2
sin
2x
.
OR
Substitute
y
2
0
in
y
x
c
1
cos
2x
c
2
sin
2x
to get
0
2
c
1
c
1
0
.
So at this point, we know that
y
c
2
x
sin
2
x
. Now find the derivative:
y'c
2

x
sin
2x
2c
2
e
x
cos
2x
and apply the condition
y'
2
2
to get
22c
2

2
1
c
2
2 and so the solution to the IVP is
y
2

x
sin
2x
, as before.
2) (a) The characteristic equation is 3
2
20 with roots
1124
6
1
6
23 
6
and so
we have this basis for the set of solutions:
u
1
t
6
cos
23
6
t
and
u
2

t
6
sin
23
6
t
with general solution
uc
1

t
6
cos
23
6
t
c
2
t
6
sin
23
6
t
. Before we find the derivative,
let's apply the condition
u
0
2
to get
c
1

0
cos
0
c
2
e
0
sin
0
2c
1
2.
So now
u2
t
6
cos
23
6
t
c
2
t
6
sin
23
6
t
and
u'
t
6
3
cos
23
6
t
23 
t
6
3
sin
23
6
t
c
2
t
6
6
sin
23
6
t
23 
t
6
6
cos
23
6
t
and so
the condition that
u'
0
0
gives
1
3
0c
2
0
23
6
0
23
6
c
2
1
3
c
2
2
23
.
So the (unique) solution of the IVP is
u2
t
6
cos
23
6
t
2
23
t
6
sin
23
6
t
.
(b) Here are Mathematica commands that will define and plot this solution on the interval
0t20
:
u
t
2
t
6
Cos
23 t
6
2
23

t
6
Sin
23 t
6
2
t
6
Cos
23 t
6
2
t
6
Sin
23 t
6
23
pf3
pf4

Partial preview of the text

Download Problem Assignment 3 Solutions - Advanced Engineering Mathematics | MATH 271 and more Assignments Mathematics in PDF only on Docsity!

Mathematics 271 Spring 2009 Problem Assignment # 3 Solutions

1) The characteristic equation is ^2  2   5  0 with roots   2 ^24 ^20  2  2 4  1  2 . So a basis for the set of solutions is y 1   x cos 2  x  and y 2   x sin 2  x  and the general solution is y   x^  c 1 cos 2  x   c 2 sin 2  x . To apply the initial conditions, we will need the derivative: y '   x^  c 1 cos 2  x   c 2 sin 2  x    x^  2  c 1 sin 2  x   2  c 2 cos 2  x   which we can write as y '   x^  c 1  2  c 2 cos 2  x   ex^  2  c 1  c 2 sin 2  x . Now we can apply the initial conditions:

y  2   0  2  c 1 cos   c 2 sin   0  2  c 1   0 c 1  0.

y '  2   2  2  c 1  2  c 2  1    2  2  c 1  c 2  0   2  2  c 2  2  2 c 2   ^2.

So the (unique) solution to the initial value problem is y  ex ^2 sin 2  x     x ^2 sin 2  x . OR Substitute y  2   0 in y   x  c 1 cos 2  x   c 2 sin 2  x  to get 0   2  c 1  c 1  0. So at this point, we know that y  c 2  x sin 2  x . Now find the derivative: y '  c 2  x sin 2  x   2  c 2  ex cos 2  x  and apply the condition y '  2   2 to get 2  2  c 2  2  1  c 2   ^2 and so the solution to the IVP is y   ^2  x sin 2  x , as before.

2) (a) The characteristic equation is 3^2    2  0 with roots   1 ^16 ^24  16  236 and so

we have this basis for the set of solutions: u 1  

t (^6) cos 236  t  and u 2 

t (^6) sin 236  t 

with general solution u  c 1 

t (^6) cos 236  t   c 2 

t (^6) sin 236  t . Before we find the derivative, let's apply the condition u  0   2 to get c 1 ^0 cos 0   c 2  e^0 sin 0   2 c 1  2. So now u  2 

t (^6) cos 236  t   c 2 

t (^6) sin 236  t  and

u '  

t 6 3 cos^

23 6  t ^ ^

23  6^ t 3 sin^

23 6  t ^ ^ c^2



t 6 6 sin^

23 6  t ^ ^

23 

t 6 6 cos^

23 6  t ^ and so

the condition that u ' 0   0 gives 13  0  c 2  0  623   0 236  c 2   13 c 2   223.

So the (unique) solution of the IVP is u  2 

t (^6) cos 236  t   2 23 

t (^6) sin 236  t .

(b) Here are Mathematica commands that will define and plot this solution on the interval 0 t 20 :

u  t   2  

t 6  Cos 

23  t 6 ^ ^

2 23

 

t 6  Sin 

23  t 6 

2 t^6 Cos 23 t 6

 

2 t^6 Sin 236 t 23

Plot  u  t  ,  t, 0, 20 

5 10 15 20

 40

 20

20

Here are Mathematica commands that will verify the values of the constants that we found in the solution of the IVP:

y  t   a  

t 6  Cos ^23  t 6

  b  

t 6  Sin ^23  t 6



a t^6 Cos 23 t 6

  b t^6 Sin 23 t 6



Solve  y  0   2, y '  0   0  ,  a, b 

b   2 23

, a  2 

3) The characteristic equation is ^2  6   9  0   3 ^2  0   3, 3. So we have a double root and the solutions in our basis are y 1  ^3  x^ and y 2  x ^3  x^ with general solution y  ^3  x  c 1  c 2  x  and so y '  3 ^3  x  c 1  c 2  x   ^3  x  c 2   ^3  x  3  c 1  c 2  3  c 2  x . Applying the initial conditions gives the following: y  1   2 ^3  c 1  c 2   2 c 1  c 2  2 ^3  2  c 1  2  c 2   4 ^3 y ' 1   1 ^3  3  c 1  2  c 2   1 3  c 1  2  c 2  e^3 and adding the two rightmost equations gives c 1   3 ^3 and then c 2   5  e^3. Here are Mathematica commands that will produce these values. f  x   a ^3  x^  b x ^3  x a 3 x^  b 3 x^ x

   

W  y 1  y 2   c ^

2 x (^) for some constant c. Now if the Wronskian is 3 when x  2 , we see that 3  c ^1 c  3 . So W  y 1  y 2    3   ^

(^2) x and the value of the Wronskian when x  4 is  3   ^

1 (^2)  3    3  e.

7) (a) The auxilliary equation of this Cauchy -Euler differential equation is r^2  r  6  0  r  3  r  2   0 so the roots are 3 and 2, two linearly independent solutions are y 1  x ^3 and y 2  x^2 and the general solution is y  c 1  x ^3  c 2  x^2. Now y  1   15 c 1  c 2  15 and y  2    2 c 1 8 ^4  c^2  ^2 c^1 ^32  c^2  16.^ Now^ c^1 ^ c^2 ^ 15 and^ c^1 ^32  c^2  ^16 c^^2  ^1  c 1  16. Thus the unique solution of this BVP is y  16  x ^3  x^2.

(b) The characteristic equation is ^2  9  0 with roots    3 . So two linearly independent solutions are y 1  cos 3  x  and y 2  sin 3  x  and the general solution is y  c 1 cos 3  x   c 2 sin 3  x . The condition y  0   20 c 1  20 and the condition y     20  c 1   20 c 1  20. So c 1  20 but there is no condition on c 2. Conclusion: any function of the form y  20 cos 3  x   c 2 sin 3  x  is a solution of this BVP. So this is an example of a BVP that has infinitely many solutions.

(c) The characteristic equation ^2  4  0 has roots    2  i and the general solution of the differential equation is y  c 1 cos 2  x   c 2 sin 2  x . The condition y  2   271  c 1  271 c 1   271. However the condition y  32    2009  c 1  2009 c 1   2009. So we have reached a contradiction. Conclusion: there are no choices of c 1 and c 2 that will satisfy both of the boundary conditions. So this is an example of a BVP that has no solution.