Jump to content

Science:Math Exam Resources/Courses/MATH215/December 2011/Question 06 (c)/Solution 1

From UBC Wiki

As there are constants and exponentials in this first-order linear ODE, we will use undetermined coefficients, postulating that the particular solution is

xp(t)=(B1B2)e2t+(C1C2).

so that

xp(t)=(2B12B2)e2t.

Substituting our solution into the system we get,

Ax+(2e2t1)=(3141)(B1e2t+C1B2e2t+C2)+(2e2t1)=(3B1+B224B1B2)e2t+(3C1+C24C1C2+1).

This must equal xp and so we have

(3B1+B224B1B2)e2t+(3C1+C24C1C2+1)=(2B12B2)e2t(B1+B224B13B2)e2t+(3C1+C24C1C2+1)=𝟎

This gives us the system of equations

B1+B22=04B13B2=0

(based on the e2t terms)

and

3C1+C2=04C1C2=1

(based on comparing the constant vectors).

Looking at the first equation of the first system of equations, we have B1=2B2 so that in the second equation,

4(2B2)3B2=0B2=8.

Using the first equation again, we get

B1=6.

Looking at the first equation of the second system of equations, we have C2=3C1. From the second equation we get

4C1(3C1)=1C1=1.

and hence

C2=3

after substituting back into the first equation.

The general solution to the ODE system will be up+uh where uh is our homogeneous solution from part (b).

Thus,

x(t)=(13)+(68)e2t+(ctet+bet2ctet+(c2b)et).

If

x(0)=(1,5)T

then

(15)=(16+b3+8+(c2b))).

The first component tells us that b=6 while using this value of b in the second component gives c=2.

Therefore, the solution is

x(t)=(13)+(68)e2t+(2tet+6et4tet10et).