Answer on Question #49494 – Math– Differential Calculus | Equations
Question:
Solve the second order differential equation
y′′−3y′+2y=3e∧(−x)−10cos(3x)y(0)=1y′(0)=2Solution:
Solve −3dxdy(x)+dx2d2y(x)+2y(x)=3e−x−10cos(3x), such that y(0)=2 and y′(0)=2:
The general solution will be the sum of the complementary solution and particular solution.
Find the complementary solution by solving dx2d2y(x)−3dxdy(x)+2y(x)=0:
Assume a solution will be proportional to eλx for some constant λ.
Substitute y(x)=eλx into the differential equation:
dx2d2(eλx)−3dxd(eλx)+2eλx=0
Substitute dx2d2(eλx)=λ2eλx and dxd(eλx)=λeλx:
λ2eλx−3λeλx+2eλx=0
Factor out eλx:
(λ2−3λ+2)eλx=0
Since eeλx=0 for any finite λ, the zeros must come from the polynomial:
λ2−3λ+2=0
Factor:
(λ−2)(λ−1)=0
Solve for λ:
λ=1 or λ=2
The root λ=1 gives y1(x)=c1ex as a solution, where c1 is an arbitrary constant.
The root λ=2 gives y2(x)=c2e2x as a solution, where c2 is an arbitrary constant.
The general solution is the sum of the above solutions:
y(x)=y1(x)+y2(x)=c1ex+c2e2x
Determine the particular solution to dx2d2y(x)+2y(x)−3dxdy(x)=3e−x−10cos(3x) by the method of undetermined coefficients:
The particular solution will be the sum of the particular solutions to
dx2d2y(x)+2y(x)−3dxdy(x)=3e−x and dx2d2y(x)+2y(x)−3dxdy(x)=−10cos(3x).
The particular solution to dx2d2y(x)+2y(x)−3dxdy(x)=3e−x is of the form:
yp1(x)=exa1
The particular solution to dx2d2y(x)+2y(x)−3dxdy(x)=−10cos(3x) is of the form:
yp2(x)=a2cos(3x)+a3sin(3x)
Sum yp1(x) and yp2(x) to obtain yp(x):
yp(x)=yp1(x)+yp2(x)=exa1+a2cos(3x)+a3sin(3x)
Solve for the unknown constants a1,a2, and a3:
Compute dxdyp(x):
dxdyp(x)=dxd(exa1+a2cos(3x)+a3sin(3x))=−exa1−3a2sin(3x)+3a3cos(3x)
Compute dx2d2yp(x) :
dx2d2yp(x)=dx2d2(exa1+a2cos(3x)+a3sin(3x))=exa1−9a2cos(3x)−9a3sin(3x)
Substitute the particular solution yp(x) into the differential equation:
dx2d2yp(x)−3dxdyp(x)+2yp(x)=ex3−10cos(3x)(exa1−9a2cos(3x)−9a3sin(3x))−3(−exa1−3a2sin(3x)+3a3cos(3x))+2(exa1+a2cos(3x)+a3sin(3x))=ex3−10cos(3x)
Simplify:
ex6a1+(−7a2−9a3)cos(3x)+(9a2−7a3)sin(3x)=ex3−10cos(3x)
Equate the coefficients of e−x on both sides of the equation:
6a1=3
Equate the coefficients of cos(3x) on both sides of the equation:
−7a2−9a3=−10
Equate the coefficients of sin(3x) on both sides of the equation:
9a2−7a3=0
Solve the system:
a1=21a2=137a3=139
Substitute a1,a2 , and a3 into yp(x)=a1e−x+a3sin(3x)+a2cos(3x) :
yp(x)=2ex1+137cos(3x)+139sin(3x)
The general solution is:
y(x)=yc(x)+yp(x)=2ex1+137cos(3x)+139sin(3x)+c1ex+c2e2x
Solve for the unknown constants using the initial conditions:
Compute dxdy(x):
dxdy(x)=dxd(2ex1+137cos(3x)+139sin(3x)+c1ex+c2e2x)=−2e21+1327cos(3x)−1321sin(3x)+c1ex+2c2e2x
Substitute y(0)=2 into y(x)=c1ex+c2e2x+2e−x+139sin(3x)+137cos(3x):
c1+c2+2627=2
Substitute y′(0)=2 into dxdy(x)=c1ex+2c2e2x−2e−x−1321sin(3x)+1327cos(3x):
c1+2c2+2641=2
Solve the system:
c1c2=23=−137
Substitute y(0)=2 into y(x)=c1ex+c2e2x+2e−x+139sin(3x)+137cos(3x):
c1+c2+2627=2
Substitute y′(0)=2 into dxdy(x)=c1ex+2c2e2x−2e−x−1321sin(3x)+1327cos(3x):
c1+2c2+2641=2
Solve the system:
c1=23c2=−137
Substitute c1=23 and c2=−137 into y(x)=
c1ex+c2e2x+2e−x+139sin(3x)+137cos(3x);
Answer:
y(x)=−137e2x+23ex+2e−x+139sin(3x)+137cos(3x)
www.AssignmentExpert.com