- #1
2sin54
- 109
- 1
Homework Statement
Solve the following system of differential equations:
##y''(x) = y'(x) + z'(x) - z(x)##
##z''(x) = -5*y'(x) - z'(x) -4*y(x) + z(x)##
2. The attempt at a solution
I converted the two second order equations to 4 first order equations by substituting:
##g(x) = y'(x)## and ##h(x) = z'(x)##
So now I have the following system of equations:
##g' = g + h - z##
##h' = -5g - h - 4y + z##
##y' = g##
##z' = h##
I wrote the system in matrix form, solved the characteristic equation for 4 eigenvalues and got
λ1 = ##1##
λ2 = ##-1##
λ3 = ##2i##
λ4 = ##-2i##
So the eigenvectors are as follows:
V1 = ##(-1,9,-1,9)##
V2 = ##(-1,1,1,-1)##
V3 = ##(1,2i,-i/2,1)##
V4 = ##(1,-2i,i/2,1)##
So then
X1 = ##exp(x)##V1
X2 = ##exp(-x)##V2
X3 = ##(cos2x+i*sin2x)##V3
X4 = ##(cos2x-i*sin2x)##V4
Skipping some steps (separating complex and real parts of the matrices)
I get that the general solution is (in matrix form):
ϒ = C1*X1 + C2*X2 + C3*X3 + C4*X4
Now, since I need the solution just to the last two functions ( ##y(x)## and ##z(x)## )
I multiply out the last two rows of the matrices and get:
##y(x) = -C_1exp(x) + C_2exp(-x) + (C_3/2)sin2x-(C_4/2)cos2x + (C_5/2)sin2x + (C_6/2)cos2x##
I am not too sure how to proceed further because if I group some arbitrary constants together (near sines and cosines), these constants will not match with the constants in the solution for function Z(x). Nevertheless, ##y(x)## appears to not agree with WolframAlpha:
http://www.wolframalpha.com/input/?i=system of equations&a=*C.system of equations-_*Calculator.dflt-&a=FSelect_**SolveSystemOf2EquationsCalculator--&f3=y''(x)=y'(x)+z'(x)-z(x)&f=SolveSystemOf4EquationsCalculator.equation1_y''(x)=y'(x)+z'(x)-z(x)&f4= z''(x)=-5*y'(x)-z'(x)-4*y(x)+z(x)&f=SolveSystemOf4EquationsCalculator.equation2_ z''(x)=-5*y'(x)-z'(x)-4*y(x)+z(x)&f5=&f=SolveSystemOf4EquationsCalculator.equation3_&f6=&f=SolveSystemOf4EquationsCalculator.equation4_I can't seem to find a mistake. Can anyone help me?