
Percy M. answered 12/03/21
Mathematics Tutor
The characteristic equation of the differential equation
y''+2y+2y=0 (Eq. 1)
is
r2+2r+2=0. (Eq. 2)
The solutions of (Eq. 2( are the conjugate cimplex numbers
r1=a+bi = -(-2 +√(22-4(1)(2))/2=1+i
and
r2=a-bi==1-i
The general solution of (Eq. 1) is therefore
y(x)=(C1cos(bx)+C2sin(bx))eax=(C1cos(x)+C2sin(x))ex, (Eq. 3)
where C1 and C2 are real constants that can be found using the initial conditions.
Since
y'(x)=(C1cos(x)+C2sin(x))'ex+(C1cos(x)+C2sin(x))(ex)'
=(-C1sin(x)+C2coss(x))ex+(C1cos(x)+C2sin(x))ex
=[C1(cos(x)-sin(x))+C2(cos(x)+sin(x))]ex (Eq. 4)
Using the initial conditions together with (Eq. 3() and (Eq. 4) we get the system equations in C1 and C2
y(0)=C1=2 (S1)
y'(0)=C1+C2=0 (S2)
Plugging (S1) in (S2), we get C2 =-2
It follows that the solution to the initial value problem is
y(x)=(2cos(x)-2sin(x))ex=2)=(cos(x)-sin(x))ex=