題目
Problem
(N). Solve the differential equation tdtdy+2y=et with the initial condition y(1)=2. Answer. (15).
解答
解法一
思路
展開
- 初始點在 t=1>0,在 t>0 上除以 t 後用一階線性方程的積分因子 t2。
答題過程
展開
方程化為 y′+t2y=tet,積分因子是 t2,故
(t2y)′=tet.
因此
t2y=et(t−1)+C.
由 y(1)=2 得 C=2,所以
(15)=y=t2et(t−1)+2(t>0).