题目
Problem
(a) Find the general solution of the differential equation
dx2d2y−6dxdy+8y=2x2+x
(8)
(b) Find the particular solution of this differential equation for which y=1 and dxdy=0 when x=0
(5)
解答
(a)
解法一
思路
展开
这是二阶常系数非齐次微分方程。先求 complementary function,再设 particular integral。右边是二次多项式 2x2+x,所以 particular integral 也设成二次多项式。
答题过程
展开
The auxiliary equation is
m2−6m+8=0.
So
(m−2)(m−4)=0,
giving
m=2,4.
Hence the complementary function is
yc=Ae2x+Be4x.
For a particular integral, let
yp=λx2+μx+ν.
Then
yp′=yp′′=2λx+μ,2λ.
Substitute into the differential equation:
2λ−6(2λx+μ)+8(λx2+μx+ν)=2x2+x.
Compare coefficients:
x2:8λ=x:−12λ+8μ=constant:2λ−6μ+8ν=2,1,0.
Solving,
λ=41,μ=21,ν=165.
Therefore,
y=Ae2x+Be4x+41x2+21x+165.
(b)
解法一
思路
展开
把 x=0、y=1 代入通解得到一个关于 A,B 的方程。再对通解求导,用 x=0、y′=0 得到第二个方程。
答题过程
展开
Using y=1 at x=0,
1=A+B+165.
So
A+B=1611.
Differentiate the general solution:
dxdy=2Ae2x+4Be4x+21x+21.
Using y′=0 at x=0,
0=2A+4B+21.
So
2A+4B=−21.
Solve the simultaneous equations:
A+B=A+2B=1611,−41.
Subtracting gives
B=−1615.
Then
A=1611+1615=813.
Therefore the particular solution is
y=813e2x−1615e4x+41x2+21x+165.