Question and Answers Forum

All Questions      Topic List

Differential Equation Questions

Previous in All Question      Next in All Question      

Previous in Differential Equation      Next in Differential Equation      

Question Number 105257 by bemath last updated on 27/Jul/20

y′′−2y′+y = xe^x sin x

y2y+y=xexsinx

Answered by john santu last updated on 27/Jul/20

homogenous solution  λ^2 −2λ+1 = 0 ⇒λ = 1;1  y_h  = C_1 e^x +C_2 xe^x   let y_1 = e^x →y′_1 =e^x   y_2 = xe^x →y′_2 = e^x +xe^x    W(y_1 ,y_2 ) =  determinant (((e^x      xe^x )),((e^x    e^x +xe^x )))= e^(2x)   u_1  = −∫((xe^x .(xe^x sin x))/e^(2x) ) dx   u_1 =−∫ x^2 sin x dx   u_1 =−{−x^2 cos x+2x sin x +2 cos x}  u_1 =x^2  cos x −2x sin x −2cos x   u_2 = ∫((e^x (xe^x sin x))/e^(2x) ) dx = ∫x sin x dx  u_2  = −x cos x + sin x   particular solution  y_p  = y_1 u_1 +y_2 u_2   y_p  = e^x {x^2 cos x −2x sin x −2cos x}  + xe^x  {−xcos x + sin x }  Y_p = x^2 e^x cos x−2xe^x  sin x−2e^x cos x  −x^2 e^x cos x+xe^x sin x  Y_p  = −xe^x sin x−2e^x cos x  General solution  Y_g = C_1 e^x +C_2 xe^x −xe^x sin x−2e^x cos x  (JS ♠⧫)

homogenoussolutionλ22λ+1=0λ=1;1yh=C1ex+C2xexlety1=exy1=exy2=xexy2=ex+xexW(y1,y2)=|exxexexex+xex|=e2xu1=xex.(xexsinx)e2xdxu1=x2sinxdxu1={x2cosx+2xsinx+2cosx}u1=x2cosx2xsinx2cosxu2=ex(xexsinx)e2xdx=xsinxdxu2=xcosx+sinxparticularsolutionyp=y1u1+y2u2yp=ex{x2cosx2xsinx2cosx}+xex{xcosx+sinx}Yp=x2excosx2xexsinx2excosxx2excosx+xexsinxYp=xexsinx2excosxGeneralsolutionYg=C1ex+C2xexxexsinx2excosx(JS)

Commented by bemath last updated on 27/Jul/20

cooll

cooll

Answered by abdomathmax last updated on 27/Jul/20

h→r^2 −2r +1 =0 ⇒(r−1)^2  =0 ⇒r=1 ⇒  y =(ax +b)e^x  =axe^(x )  +be^x  =au_1  +bu_2   W(u_1  ,u_2 ) = determinant (((xe^x         e^x )),(((x+1)e^x   e^x )))=xe^(2x) −(x+1)e^(2x) =−e^(2x)  ≠0  W_1 = determinant (((o         e^x )),((xe^x sinx  e^x )))=−xe^(2x) sinx  W_2 = determinant (((xe^x          0)),(((x+1)e^x    xe^x sinx)))=x^2  e^(2x)  sinx  v_1 =∫ (w_1 /w)dx =∫ ((−xe^(2x) sinx)/(−e^(2x) ))dx =∫ xsinx dx  =−xcosx +∫ cosx dx =−xcosx +sinx  v_2 =∫ (w_2 /w)dx =∫ ((x^2  e^(2x) sinx)/(−e^(2x) ))dx  =−∫ x^2  sinx dx =−{ −x^2  cosx +∫ 2x cosx dx}  =x^2  cosx−2 ∫  xcosx dx  =x^2  cosx −2{ xsinx −∫ sinx dx}  =x^2  cosx −2{xsinx +cosx}  =(x^2 −2)cosx−2x sinx ⇒  y_p =u_1 v_(1 )  +u_2 v_2 =xe^x (−x cosx+sinx)   +e^x { (x^2 −2)cosx −2xsinx}  =−x^2  e^x  cosx +xe^x  sinx+(x^2 −2)e^(x ) cosx−2xe^x  sinx  =−2 e^x  cosx  −x e^x  sinx  the veneral solution is  y =y_(h ) +y_p  =axe^x  +be^(x )  −2e^x  cosx−xe^x  sinx

hr22r+1=0(r1)2=0r=1y=(ax+b)ex=axex+bex=au1+bu2W(u1,u2)=|xexex(x+1)exex|=xe2x(x+1)e2x=e2x0W1=|oexxexsinxex|=xe2xsinxW2=|xex0(x+1)exxexsinx|=x2e2xsinxv1=w1wdx=xe2xsinxe2xdx=xsinxdx=xcosx+cosxdx=xcosx+sinxv2=w2wdx=x2e2xsinxe2xdx=x2sinxdx={x2cosx+2xcosxdx}=x2cosx2xcosxdx=x2cosx2{xsinxsinxdx}=x2cosx2{xsinx+cosx}=(x22)cosx2xsinxyp=u1v1+u2v2=xex(xcosx+sinx)+ex{(x22)cosx2xsinx}=x2excosx+xexsinx+(x22)excosx2xexsinx=2excosxxexsinxtheveneralsolutionisy=yh+yp=axex+bex2excosxxexsinx

Terms of Service

Privacy Policy

Contact: info@tinkutara.com