Solve following ODE by method of undetermined coefficients.
(π«^πβππ«+ππ)π=πππ^ππ, π(π)= π,πβ²(π)=ππ
Solution
First letβs find fundamental solutions as solution of homogeneous equation.
Yββ - 8Yβ + 15 = 0
Characteristic equation for it is Ξ»2-8 Ξ» +15=0. => Ξ»1=3, Ξ»2=5
Therefore solution for Y(x) is Y = C1e3x + C2e5x where C1 and C2 are arbitrary constants.
Solution of nonhomogeneous equation letβs find as Yp(x)=(Ax+B)e2x
Substitution in equation gives
Ypβ=(A+2Ax+2B)e2x , Ypββ=(2A+2A+4Ax+4B)e2x = 4(A+Ax+B)e2x =>
[4(A+Ax+B)-8(A+2Ax+2B)+15(Ax+B)] e2x = 9xe2x
(-4A+3B+3Ax) e2x = 9xe2x
3A = 9, 3B-4A = 0 => A = 3, B = 4 => Yp(x)=(3x+4)e2x
So y(x) = Y(x)+Yp(x) = C1e3x + C2e5x +(3x+4)e2x
From initial conditions C1 + C2 + 4 = 5, 3C1 + 5C2 +11 =10 => C1 + C2 = 1, 3C1 + 5C2 = -1 =>
2C1 = 6, C1 = 3, C2 = 1 - C1 = -2 =>
y(x) = 3e3x - 2e5x +(3x+4)e2x
Answer
y(x) = 3e3x - 2e5x +(3x+4)e2x
Comments