Question Number 119065 by benjo_mathlover last updated on 21/Oct/20
$${solve}\:\left({D}^{\mathrm{2}} −\mathrm{2}{D}+\mathrm{1}\right){y}\:=\:{e}^{{x}} \:\mathrm{ln}\:{x}\: \\ $$$${by}\:{using}\:{the}\:{method}\:{of}\:{variation} \\ $$$${of}\:{parameters}. \\ $$
Answered by Olaf last updated on 22/Oct/20
$${y}\:=\:{e}^{{x}} {u} \\ $$$${y}'\:=\:\left({u}'+{u}\right){e}^{{x}} \\ $$$${y}''\:=\:\left({u}''+\mathrm{2}{u}'+{u}\right){e}^{{x}} \\ $$$$ \\ $$$${u}''+\mathrm{2}{u}'+{u}−\mathrm{2}\left({u}'+{u}\right)+{u}\:=\:\mathrm{ln}{x} \\ $$$${u}''\:=\:\mathrm{ln}{x} \\ $$$${u}'\:=\:\int\mathrm{ln}{xdx}\:=\:{x}\mathrm{ln}{x}−{x}+\mathrm{C}_{\mathrm{1}} \\ $$$${u}\:=\:\int\left({x}\mathrm{ln}{x}−{x}+\mathrm{C}_{\mathrm{1}} \right){dx} \\ $$$${u}\:=\:\frac{{x}^{\mathrm{2}} }{\mathrm{2}}\mathrm{ln}{x}−\int\frac{{x}^{\mathrm{2}} }{\mathrm{2}}.\frac{\mathrm{1}}{{x}}{dx}−\frac{{x}^{\mathrm{2}} }{\mathrm{2}}+\mathrm{C}_{\mathrm{1}} {x}+\mathrm{C}_{\mathrm{2}} \\ $$$${u}\:=\:\frac{{x}^{\mathrm{2}} }{\mathrm{2}}\mathrm{ln}{x}−\frac{{x}^{\mathrm{2}} }{\mathrm{4}}−\frac{{x}^{\mathrm{2}} }{\mathrm{2}}+\mathrm{C}_{\mathrm{1}} {x}+\mathrm{C}_{\mathrm{2}} \\ $$$${u}\:=\:\frac{{x}^{\mathrm{2}} }{\mathrm{2}}\mathrm{ln}{x}−\frac{\mathrm{3}{x}^{\mathrm{2}} }{\mathrm{4}}+\mathrm{C}_{\mathrm{1}} {x}+\mathrm{C}_{\mathrm{2}} \\ $$$${y}\:=\:\left(\frac{{x}^{\mathrm{2}} }{\mathrm{2}}\mathrm{ln}{x}−\frac{\mathrm{3}{x}^{\mathrm{2}} }{\mathrm{4}}+\mathrm{C}_{\mathrm{1}} {x}+\mathrm{C}_{\mathrm{2}} \right){e}^{{x}} \\ $$
Commented by benjo_mathlover last updated on 22/Oct/20
$${thank}\:{you} \\ $$
Answered by john santu last updated on 27/Oct/20
$${For}\:{the}\:{homogenous}\:{solution}\:{we}\:{solve}\:{the}\: \\ $$$${characteristic}\:{equation} \\ $$$$\lambda^{\mathrm{2}} −\mathrm{2}\lambda+\mathrm{1}\:=\:\mathrm{0}\:,\:{which}\:{has}\:{a}\:{double}\:{root}\:\lambda=\mathrm{1} \\ $$$${hence}\:{the}\:{homogenous}\:{solution}\:{can}\:{be}\: \\ $$$${written}\:{as}\:{y}_{{h}} \:=\:\left({C}_{\mathrm{1}} +{C}_{\mathrm{2}} {x}\right){e}^{{x}} \\ $$$${using}\:{the}\:{homogenous}\:{solution}\:{we}\: \\ $$$${can}\:{now}\:{begin}\:{using}\:{variation}\:{of} \\ $$$${parameters}\:{method}\: \\ $$$${let}\:{y}_{{p}} \:=\:{u}.{e}^{{x}} \:+\:{v}.{xe}^{{x}} \\ $$$${Differentiating}\:{yields}\: \\ $$$${y}\:'\:=\:\left({ue}^{{x}} +{u}'{e}^{{x}} \right)+\left({v}.\left({x}+\mathrm{1}\right){e}^{{x}} +{v}'.{xe}^{{x}} \right) \\ $$$${set}\:{u}'{e}^{{x}} \:+\:{v}'{xe}^{{x}} \:=\:\mathrm{0}\:{or}\:{u}'+{xv}'\:=\:\mathrm{0} \\ $$$${we}\:{get}\:{y}'\:=\:{ue}^{{x}} +{v}.\left({x}+\mathrm{1}\right){e}^{{x}} \\ $$$${Differentiating}\:{again}\:{gives}\: \\ $$$${y}''\:=\:{ue}^{{x}} +{u}'{e}^{{x}} +{v}\left({x}+\mathrm{2}\right){e}^{{x}} +{v}'\left({x}+\mathrm{1}\right){e}^{{x}} \\ $$$${substituting}\:{into}\:{the}\:{original}\: \\ $$$${differential}\:{equation}\: \\ $$$$\left({ue}^{{x}} +{u}'{e}^{{x}} +{v}\left({x}+\mathrm{2}\right){e}^{{x}} +{v}'\left({x}+\mathrm{1}\right){e}^{{x}} \right)− \\ $$$$\mathrm{2}\left({ue}^{{x}} +{v}\left({x}+\mathrm{1}\right){e}^{{x}} \right)\:+\:\left({ue}^{{x}} +{v}.{xe}^{{x}} \right)\:=\:{e}^{{x}} .\mathrm{ln}\:{x} \\ $$$${this}\:{reduces}\:{to}\: \\ $$$${u}'+\left({x}+\mathrm{1}\right){v}'\:=\:\mathrm{ln}\:{x} \\ $$$${now}\:{we}\:{have}\:{two}\:{equation}\:{in}\:{u}'\:{and}\:{v}' \\ $$$$\begin{cases}{{u}'+{xv}'\:=\:\mathrm{0}}\\{{u}'+\left({x}+\mathrm{1}\right){v}'\:=\:\mathrm{ln}\:{x}}\end{cases} \\ $$$$\begin{pmatrix}{\mathrm{1}\:\:\:\:\:{x}}\\{\mathrm{1}\:\:\:{x}+\mathrm{1}}\end{pmatrix}\:\begin{pmatrix}{{u}'}\\{{v}'}\end{pmatrix}\:=\:\begin{pmatrix}{\:\:\:\mathrm{0}}\\{\mathrm{ln}\:{x}}\end{pmatrix} \\ $$$$\rightarrow\begin{cases}{{u}'\:=\:−{x}\:\mathrm{ln}\:{x}}\\{{v}'\:=\:\mathrm{ln}\:{x}}\end{cases} \\ $$$${integrating}\:{with}\:{by}\:{parts}\:{gives} \\ $$$$\begin{cases}{{u}\:=\:−\frac{\mathrm{1}}{\mathrm{2}}{x}^{\mathrm{2}} \mathrm{ln}\:{x}\:+\:\frac{\mathrm{1}}{\mathrm{4}}{x}^{\mathrm{2}\:} }\\{{v}\:=\:{x}\:\mathrm{ln}\:{x}−{x}\:}\end{cases} \\ $$$${thus}\:{particular}\:{solution}\:{equal}\:{to} \\ $$$${y}_{{p}} \:=\:−\frac{\mathrm{1}}{\mathrm{2}}{x}^{\mathrm{2}} \:{e}^{{x}} \:\mathrm{ln}\:{x}\:+\:\frac{\mathrm{1}}{\mathrm{4}}{x}^{\mathrm{2}} \:{e}^{{x}} \:\: \\ $$$$\:\:\:\:\:\:+\:{x}^{\mathrm{2}} \:{e}^{{x}} \:\mathrm{ln}\:{x}\:−{x}^{\mathrm{2}} {e}^{{x}} \: \\ $$$${y}_{{p}} \:=\:\frac{\mathrm{1}}{\mathrm{2}}{x}^{\mathrm{2}} \:{e}^{{x}} \:\mathrm{ln}\:{x}\:−\frac{\mathrm{3}}{\mathrm{4}}{x}^{\mathrm{2}} {e}^{{x}} \\ $$$${Therefore}\:{we}\:{conclude}\:{that}\:{a}\:{general} \\ $$$${solution}\:{y}\:=\:{y}_{{h}} \:+\:{y}_{{p}} \\ $$$${y}\:=\:\left({C}_{\mathrm{1}} +{C}_{\mathrm{2}} {x}\right){e}^{{x}} +\:\frac{\mathrm{1}}{\mathrm{4}}\left(\mathrm{2ln}\:{x}−\mathrm{3}\right){x}^{\mathrm{2}} {e}^{{x}} \\ $$
Answered by TANMAY PANACEA last updated on 22/Oct/20
$${P}.{I}=\frac{{e}^{{x}} {lnx}}{\left({D}−\mathrm{1}\right)^{\mathrm{2}} }={e}^{{x}} ×\frac{\mathrm{1}}{\left({D}+\mathrm{1}−\mathrm{1}\right)^{\mathrm{2}} }×{lnx} \\ $$$$=\frac{{e}^{{x}} }{\mathrm{1}}×\frac{{lnx}}{{D}^{\mathrm{2}} } \\ $$$$\frac{\mathrm{1}}{{D}}×{lnx}={xlnx}−{x} \\ $$$$\frac{\mathrm{1}}{{D}^{\mathrm{2}} }{lnx}=\int\left({xlnx}−{x}\right){dx} \\ $$$$={lnx}×\frac{{x}^{\mathrm{2}} }{\mathrm{2}}−\int\frac{\mathrm{1}}{{x}}×\frac{{x}^{\mathrm{2}} }{\mathrm{2}}{dx}−\frac{{x}^{\mathrm{2}} }{\mathrm{2}} \\ $$$$=\frac{{x}^{\mathrm{2}} {lnx}}{\mathrm{2}}−\frac{{x}^{\mathrm{2}} }{\mathrm{4}}−\frac{{x}^{\mathrm{2}} }{\mathrm{2}} \\ $$$$=\frac{{x}^{\mathrm{2}} }{\mathrm{2}}\left({lnx}−\frac{\mathrm{1}}{\mathrm{2}}−\mathrm{1}\right)=\frac{{x}^{\mathrm{2}} }{\mathrm{2}}\left(\frac{−\mathrm{3}}{\mathrm{2}}+{lnx}\right) \\ $$$${snsser} \\ $$$$\frac{{e}^{{x}} ×{x}^{\mathrm{2}} }{\mathrm{2}}{o}\left(\frac{−\mathrm{3}}{\mathrm{2}}+{lnx}\right) \\ $$