Using Lagrange method (variation of constants),
"B(x) = \\int \\frac{1}{W} y_1(x) 3 \\sin(3x)dx = 2\\sqrt{3} \\int e^{\\frac{x}{2}} \\cos{\\frac{\\sqrt{3}x}{2}}\\sin{3x}dx"
"A(x) = \\sqrt{3}e^{x\/2}\\left(\\frac{\\left(\\sqrt{3}-6\\right) \\sin \\left(\\frac{1}{2} \\left(\\sqrt{3}-6\\right) x\\right)+\\cos \\left(\\frac{1}{2} \\left(\\sqrt{3}-6\\right) x\\right)}{6 \\sqrt{3}-20}+\\frac{\\left(\\sqrt{3}+6\\right) \\sin \\left(\\frac{1}{2} \\left(\\sqrt{3}+6\\right) x\\right)+\\cos \\left(\\frac{1}{2} \\left(\\sqrt{3}+6\\right) x\\right)}{6 \\sqrt{3}+20}\\right."
"B(x) = \\sqrt{3} e^{x\/2} \\left(\\frac{\\sin \\left(\\frac{1}{2} \\left(\\sqrt{3}+6\\right) x\\right)-\\left(\\sqrt{3}+6\\right) \\cos \\left(\\frac{1}{2} \\left(\\sqrt{3}+6\\right) x\\right)}{6 \\sqrt{3}+20}-\\frac{\\sin \\left(3 x-\\frac{\\sqrt{3} x}{2}\\right)+\\left(\\sqrt{3}-6\\right) \\cos \\left(\\frac{1}{2} \\left(\\sqrt{3}-6\\right) x\\right)}{6 \\sqrt{3}-20}\\right)"
Substituting A(x) and B(x) to the general solution of the homogeneous eq. we get general solution of the nonhomogeneous eq.:
Comments
Leave a comment