First, we can differentiate the first equation with respect to t:
x′′=x′+2y′ Substitute y′=x into the above equation: x′′=x′+2x Rearrange the equation:
x′′−x′−2x=0 This is a second-order linear homogeneous differential equation with constant coefficients.
We assume a solution of the form x(t)=ert. Substituting this into the equation, we get the characteristic equation: r2−r−2=0 (r−2)(r+1)=0 So, r=2 or r=−1. The general solution for x(t) is: x(t)=c1e2t+c2e−t Now we use the initial condition x(0)=0: x(0)=c1e0+c2e0=c1+c2=0 Therefore, c2=−c1. x(t)=c1e2t−c1e−t=c1(e2t−e−t) Since y′=x, we have y′=c1(e2t−e−t). Integrating this with respect to t, we obtain: y(t)=∫c1(e2t−e−t)dt=c1(21e2t+e−t)+c3 Now we use the initial condition y(0)=3: y(0)=c1(21e0+e0)+c3=c1(21+1)+c3=23c1+c3=3 Also, from the original equation x′=x+2y, when t=0, x′(0)=x(0)+2y(0)=0+2(3)=6 Since x(t)=c1(e2t−e−t), we have x′(t)=c1(2e2t+e−t) x′(0)=c1(2e0+e0)=3c1=6, so c1=2. Substitute c1=2 into 23c1+c3=3: 23(2)+c3=3 3+c3=3, so c3=0. Therefore, x(t)=2(e2t−e−t) y(t)=2(21e2t+e−t)=e2t+2e−t We want to find y(2): y(2)=e2(2)+2e−2=e4+2e−2