求微分方程y'+y/x=cosx/x满足条件x=π时y=1的特解
问题描述:
求微分方程y'+y/x=cosx/x满足条件x=π时y=1的特解
答
令t[x] = y[x]·x
t'[x] = y[x] + y'[x]·x
所以
t'[x]/x = y[x]/x + y'[x] = Cos[x]/x
t'[x] = Cos[x]
t[x] = Sin[x] + C
y[x] = t[x]/x = (Sin[x] + C)/x
y[π] = 1
所以C = π
y[x] = (Sin[x] + π)/x
答
∵y'+y/x=cosx/x==>xy'+y=cosx
==>xdy+ydx=cosxdx
==>d(xy)=d(sinx)
∴xy=sinx+C (C是积分常数)
∵微分方程满足条件x=π时y=1
∴π*1=sinπ+C==>C=π
故原方程的解是:xy=sinx+π