verifica si estos calculos están correctos: To solve the differential equation…
- User
verifica si estos calculos están correctos:
To solve the differential equation y′′+3y=−48x2e3x y′′+3y=−48x2e3x using the method of undetermined coefficients, we need to follow these steps:
codeFind the complementary solution yc yc by solving the homogeneous equation y′′+3y=0 y′′+3y=0.The characteristic equation is: r2+3=0 r2+3=0 r2=−3 r2=−3 r=±i3 r=±i3
So, the complementary solution is: yc=c1cos(3x)+c2sin(3x) yc=c1cos(3 x)+c2sin(3
x)
codeFind the particular solution yp yp by assuming a form based on the right-hand side −48x2e3x −48x2e3x.Since the right-hand side is a polynomial of degree 2 multiplied by e3x e3x, and 3 3 is not a root of the characteristic equation, we assume: yp=(Ax2+Bx+C)e3x yp=(Ax2+Bx+C)e3x
codeCompute the first and second derivatives of yp yp.First derivative: yp′=(2Ax+B)e3x+3(Ax2+Bx+C)e3x yp′=(2Ax+B)e3x+3(Ax2+Bx+C)e3x yp′=(3Ax2+(2A+3B)x+(B+3C))e3x yp′=(3Ax2+(2A+3B)x+(B+3C))e3x
Second derivative: yp′′=(6Ax+(2A+3B))e3x+3(3Ax2+(2A+3B)x+(B+3C))e3x yp′′=(6Ax+(2A+3B))e3x+3(3Ax2+(2A+3B)x+(B+3C))e3x yp′′=(9Ax2+(6A+9B)x+(2A+3B+3B+9C))e3x yp′′=(9Ax2+(6A+9B)x+(2A+3B+3B+9C))e3x yp′′=(9Ax2+(6A+9B)x+(2A+6B+9C))e3x yp′′=(9Ax2+(6A+9B)x+(2A+6B+9C))e3x
codeSubstitute yp yp and its derivatives into the original differential equation.yp′′+3yp=(9Ax2+(6A+9B)x+(2A+6B+9C))e3x+3(Ax2+Bx+C)e3x yp′′+3yp=(9Ax2+(6A+9B)x+(2A+6B+9C))e3x+3(Ax2+Bx+C)e3x yp′′+3yp=(9Ax2+(6A+9B)x+(2A+6B+9C)+3Ax2+3Bx+3C)e3x yp′′+3yp=(9Ax2+(6A+9B)x+(2A+6B+9C)+3Ax2+3Bx+3C)e3x yp′′+3yp=(12Ax2+(6A+12B)x+(2A+6B+12C))e3x yp′′+3yp=(12Ax2+(6A+12B)x+(2A+6B+12C))e3x
codeSet the coefficients of e3x e3x, xe3x xe3x, and x2e3x x2e3x equal to the corresponding coefficients on the right-hand side −48x2e3x −48x2e3x.12A=−48 12A=−48 6A+12B=0 6A+12B=0 2A+6B+12C=0 2A+6B+12C=0
Solve these equations step by step.
From the first equation: A=−4 A=−4
Substitute A=−4 A=−4 into the second equation: 6(−4)+12B=0 6(−4)+12B=0 −24+12B=0 −24+12B=0 12B=24 12B=24 B=2 B=2
Substitute A=−4 A=−4 and B=2 B=2 into the third equation: 2(−4)+6(2)+12C=0 2(−4)+6(2)+12C=0 −8+12+12C=0 −8+12+12C=0 4+12C=0 4+12C=0 12C=−4 12C=−4 C=−13 C=−31
- Assistant