d2y/dx2−2dy/dx=3exsinx
Find the eigenvectors of the differential operator d2/dx2−2d/dx. Since this operator is linear and with constant coefficients, the eigenvectors may be found of the following form: eλx.
(d2/dx2−2d/dx)eλx=(λ2−2λ)eλx
Therefore, the null-space o f this operator is generated by the functions eλx with such λ, that λ2−2λ=0, i.e. λ1=0 and λ2=2.
The general solution of linear ODE is the sum of a partial solution and an arbitrary function from the null space of the differential operator, that is, the function ae2x+b with any a,b.
Since 3exsinx has neither the form p1(x)eλ1x, nor the form p2(x)eλ2x with p1(x),p2(x) polynomials on x, but has the form eλxsin(ax), we can seek a partial solution to be of the form
y=ex(a1sinx+a2cosx)
Let's differentiate:
y′=ex(a1sinx+a2cosx+a1cosx−a2sinx)=ex((a1−a2)sinx+(a1+a2)cosx)
y′′=ex(((a1−a2)−(a1+a2))sinx+((a1−a2)+(a1+a2))cosx)=
=ex(−2a2sinx+2a1cosx)
Hence
y′′−2y′=ex(−2a2sinx+2a1cosx)−2ex((a1−a2)sinx+(a1+a2)cosx)=
=ex(−2a1sinx−2a2cosx)=3exsinx
Therefore, a1=−3/2, a2=0.
Answer. y=−23exsinx+ae2x+b
Comments