Answer to Question #49513 – Math – Differential Calculus | Equations
So, we have a next problem:
find the solution of an ordinary differential equation
y′′−3y′+2y=3e−x−10cos(3x),
that satisfies initial conditions (a Cauchy problem):
y(0)=1,y′(0)=2
**Solution**
**The first step:** Let's find the particular solution yh of homogeneous equation:
y′′−3y′+2y=0
Let's write the characteristic equation:
λ2−3λ+2=0.
Solving this equation we obtain two values of λ, namely λ1=1 and λ2=2.
So, yh=C1ex+C2e2x, where C1 and C2 are unknown coefficients, which will be determined below.
**The second step:** Taking into account the right-hand side of equation (1), let's find the particular solution yp of the equation (1):
yp=Acos(3x)+Bsin(3x)+Ce−x,
where A, B and C are unknown coefficients. Let's find these coefficients.
yp′=−3Asin(3x)+3Bcos(3x)−Ce−xyp′′=−9Acos(3x)−9Bsin(3x)+Ce−x.
Substituting yp,yp′,yp′′ for y and its derivatives in the initial equation (1), we will obtain the next three equations to determine A, B and C:
−9Acos(3x)−9Bsin(3x)+Ce−x−3(−3Asin(3x)+3Bcos(3x)−Ce−x)+2(Acos(3x)+Bsin(3x)+Ce−x)==3e−x−10cos(3x)
Now let's collect the coefficients for cos(3x):
(−9A−9B+2A)=−10.
Similarly, collect the coefficients for sin(3x):
−9B+9A+2B=0
In the same way, for e−x:
C+3C+2C=3⇒C=21.
Solving the system of equations:
{−7A−9B=−10−7B+9A=0,
we will find A=137,B=139 .
Thus, yp=137cos(3x)+139sin(3x)+21e−x .
The third step: Let's write the general solution of (1) as yh+yp :
y=yh+yp=C1ex+C2e2x+137cos(3x)+139sin(3x)+21e−x.
The fourth step: Recall conditions (2) and solve the Cauchy problem, determine the coefficients C1 and C2 . From (3) we obtain
y′=C1ex+2C2e2x−1321sin(3x)+1327cos(3x)−21e−x
Plug (3) and (4) into (2):
{y(0)=1y′(0)=2⇒{C1e0+C2e0+137+21e0=1C1e0+2C2e0+1327−21e0=2⇒{C1+C2+137+21=1C1+2C2+1327−21=2⇒{C1=−21C2=136
So, y=−21ex+136e2x+137cos(3x)+139sin(3x)+21e−x .
Answer: y=−21ex+136e2x+137cos(3x)+139sin(3x)+21e−x .
www.AssignmentExpert.com