题目
Problem
4. (a) Determine the general solution of the differential equation
=(x+1)dxdy−xye3x,x>−1.
giving your answer in the form y=f(x).
(7)
(b) Determine the particular solution of the differential equation for which y=5 when x=0.
(2)
题目中文翻译
4. (a) 求微分方程
=(x+1)dxdy−xye3x,x>−1.
的通解,将答案写成 y=f(x) 的形式。
(7)
(b) 求此微分方程在 x=0 时满足 y=5 的特解。
(2)
解答
(a)
解法一
思路
展开
先把微分方程写成一阶线性标准形式
dxdy+P(x)y=Q(x).
这里 x>−1,所以 ln(x+1) 可以直接使用,不需要写成 ln∣x+1∣。
答题过程
展开
The differential equation is
(x+1)dxdy−xy=e3x.
Divide by x+1:
dxdy−x+1xy=x+1e3x.
The integrating factor is
I(x)=e∫−x+1xdx.
Rewrite the integrand:
−x+1x==−x+1x+1−1−1+x+11.
So
==∫−x+1xdx∫(−1+x+11)dx−x+ln(x+1),
since x>−1. Hence
I(x)==e−x+ln(x+1)(x+1)e−x.
Multiply the linear differential equation by (x+1)e−x:
=(x+1)e−xdxdy−xe−xye2x.
The left hand side is
dxd[y(x+1)e−x].
Therefore
dxd[y(x+1)e−x]=e2x.
Integrate:
y(x+1)e−x==∫e2xdx21e2x+C.
So
y==(x+1)e−x21e2x+C2(x+1)e3x+x+1Cex.
(b)
解法一
思路
展开
把 x=0、y=5 代入 (a) 的 general solution,就能求出常数 C。
答题过程
展开
From part (a),
y=2(x+1)e3x+x+1Cex.
Use x=0 and y=5:
5==2(1)e0+1Ce021+C.
Thus
C=29.
Therefore the particular solution is
y=2(x+1)e3x+2(x+1)9ex.