Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

Solve 7

xHtL
t

+ 12.5 xHtL 2, such that xH0L 5 and x H0L 0:

2 xHtL
t2

The general solution will be the sum of the complementary solution and
particular solution.
2 xHtL
t2

Find the complementary solution by solving

+7

xHtL
t

+ 12.5 xHtL 0:

Assume a solution will be proportional to t for some constant .


Substitute xHtL t into the differential equation:
2
I t M
t2

+7

Substitute

I t M
t

+ 12.5 t 0

2
I t M
t2
t

I t M
t

2 t and

t :

1. 2 t + 7. + 12.5 t 0

Factor out t :

I1. 2 + 7. + 12.5M t 0

Since t 0 for any finite , the zeros must come from the polynomial:
1. 2 + 7. + 12.5 0

Factor:

1. I1. 2 + 7. + 12.5M 0

Solve for :
-3.5 - 0.5 or -3.5 + 0.5
The roots -3.5 0.5 give x1 HtL c1 H-3.5+0.5 L t , x2 HtL c2 H-3.5-0.5 L t as
solutions, where c1 and c2 are arbitrary constants.
The general solution is the sum of the above solutions:
xHtL x1 HtL + x2 HtL

c1
H3.5-0.5 L t

c2
H3.5+0.5 L t

Apply Euler's identity + cosHL + sinHL:


tL
xHtL c1 I cosH0.5
+
3.5 t

sinH0.5 tL
M
3.5 t

Regroup terms:
xHtL

Hc1 +c2 L cosH0.5 tL


3.5 t

tL
+ c2 I cosH0.5
3.5 t

sinH0.5 tL
M
3.5 t

Hc1 -c2 L sinH0.5 tL


3.5 t

Redefine c1 + c2 as c1 and Hc1 - c2 L as c2 , since these are arbitrary constants:


xHtL

c1 cosH0.5 tL
3.5 t

c2 sinH0.5 tL
3.5 t

Determine the particular solution to

2 xHtL
t2

+ 12.5 xHtL + 7

xHtL
t

2. by variation of

parameters:

List the basis solutions in xc HtL:


xb1 HtL

cosH0.5 tL
3.5 t

and xb2 HtL

sinH0.5 tL
3.5 t

Compute the Wronskian of xb1 HtL and xb2 HtL:


cosH0.5 tL
3.5 t
cosH0.5 tL
I 3.5 t M
t

WHtL

sinH0.5 tL
3.5 t
sinH0.5 tL
I 3.5 t M
t

cosH0.5 tL
3.5 t
tL
0.5 sinH0.5 tL
- 3.5 cosH0.5
3.5 t

3.5 t

Let f HtL 2.:

Let v1 HtL -

f HtL xb2 HtL


WHtL

sinH0.5 tL
3.5 t
0.5 cosH0.5 tL
3.5 sinH0.5 tL
3.5 t

3.5 t

t and v2 HtL

f HtL xb1 HtL


WHtL

0.5
7. t

t:

The particular solution will be given by:


x p HtL v1 HtL xb1 HtL + v2 HtL xb2 HtL
Compute v1 HtL:

v1 HtL - 4. 3.5 t sinH0.5 tL t -4. 3.5 t H-0.04 cosH0.5 tL + 0.28 sinH0.5 tLL

Compute v2 HtL:

v2 HtL 4. 3.5 t cosH0.5 tL t 4. 3.5 t H0.28 cosH0.5 tL + 0.04 sinH0.5 tLL

The particular solution is thus:

x p HtL v1 HtL xb1 HtL + v2 HtL xb2 HtL -4. cosH0.5 tL H-0.04 cosH0.5 tL + 0.28 sinH0.5 tLL +
4. H0.28 cosH0.5 tL + 0.04 sinH0.5 tLL sinH0.5 tL

Simplify:
x p HtL 0.16

The general solution is given by:


xHtL xc HtL + x p HtL

c1 cosH0.5 tL
3.5 t

c2 sinH0.5 tL
3.5 t

+ 0.16

Solve for the unknown constants using the initial conditions:


xHtL
:
t
tL
c1 cosH0.5 tL
I 3.5 t + c2 sinH0.5
+ 0.16M
t
3.5 t
tL
tL
tL
- 3.5 c1cosH0.5
- 0.5 c1sinH0.5
+ 0.5 c2cosH0.5
3.5 t
3.5 t
3.5 t

Compute
xHtL
t

3.5 c2 sinH0.5 tL
3.5 t

Substitute xH0L 5 into xHtL c2 -3.5 t sinH0.5 tL + c1 -3.5 t cosH0.5 tL + 0.16:


1. c1 + 0.16 5
Substitute x H0L 0 into

xHtL
t

-0.5 c1 -3.5 t sinH0.5 tL - 3.5 c2 -3.5 t sinH0.5 tL - 3.5 c1 -3.5 t cosH0.5 tL + 0.5 c2 :
-3.5 t cosH0.5 tL
-3.5 c1 + 0.5 c2 + 0. 0

Solve the system:


c1 4.84
c2 33.88

Substitute c1 4.84 and c2 33.88 into xHtL


c2 -3.5 t sinH0.5 tL + c1 -3.5 t cosH0.5 tL + 0.16:
Answer:

xHtL

4.84 cosH0.5 tL
3.5 t

Computed by WolframAlpha

33.88 sinH0.5 tL
3.5 t

+ 0.16

You might also like