System of First Order ODE

arepeace

New member
Joined
Apr 12, 2015
Messages
5
Find the solutions of
x' = x + 4y - et
y' = x + y + 2et
Given x(0)=4 and y(0)=5/4


Solution:
x' = x + 4y - et
(D-1)x - 4y = -et -------- (1)

y' = x + y + 2et
(D-1)y - x = 2et -----------(2)

Solve (1) and (2) I got
x" - 2x' - 3x = 8et ---------(3)
y" - 2y' - 3y = -et --------- (4)


Solve (3) and (4) using homogeneous equation and particular solution x = xh + xp​ and y = yh +yp I got
x = ae3t + be-t - 2et --------(5)
y = ae3t + be-t + 1/4*et ---(6)


Plug in x(0)=4 and y(0)=5/4 I got
(5): a + b = 6
(6): a + b = 1
Then of course I can't proceed. Can somebody tell me what went wrong? Thank you.

NOTE: the solutions are:
x = 4e3t + 2e-t - 2et
y = 2e3t - e-t + 1/4*et
 
Last edited:
Find the solutions of
x' = x + 4y - et
y' = x + y + 2et
Given x(0)=4 and y(0)=5/4


Solution:
x' = x + 4y - et
(D-1)x - 4y = -et -------- (1)

y' = x + y + 2et
(D-1)y - x = 2et -----------(2)

Solve (1) and (2) I got
x" - 2x' - 3x = 8et ---------(3)
y" - 2y' - 3y = -et --------- (4)


Solve (3) and (4) using homogeneous equation and particular solution x = xh + xp​ and y = yh +yp I got
x = ae3t + be-t - 2et --------(5)
y = ae3t + be-t + 1/4*et ---(6)


Plug in x(0)=4 and y(0)=5/4 I got
(5): a + b = 6
(6): a + b = 1
Then of course I can't proceed. Can somebody tell me what went wrong? Thank you.

NOTE: the solutions are:
x = 4e3t + 2e-t - 2et
y = 2e3t - e-t + 1/4*et
You found the correct eigenvalues (-1 and 3) of the appropriate matrix and the correct particular solution. What you did wrong was to continue to 'steps 2 and 3' properly for the homogeneous equation, see
http://en.wikipedia.org/wiki/Matrix_differential_equation#Solved_example_of_a_matrix_ODE

That is, your homogeneous solution as written is only partially correct. You must find the eigenvectors v1 and v2 to write the homogeneous solution as
\(\displaystyle \begin{pmatrix} x\\ y \end{pmatrix}\, =\, a\, e^{3t}\, \boldsymbol{v_1}\, +\, b\, e^{-t}\, \boldsymbol{v_2}\),
and use the initial conditions to solve for a and b
 
Thanks. I was confused by expression et. Jeez, this is actually very easy though. :lol:
 
Top