题目
Problem
dxdy−3ytanx=sec2x
(a) Show that an integrating factor for this differential equation is given by
p(x)=cos3x
(2)
Given that y=4 when x=4π
(b) determine the particular solution of the differential equation.
Give your answer in the form y=f(x).
(4)
解答
(a)
解法一
思路
展开
一阶线性方程 dxdy+P(x)y=Q(x) 的积分因子是 e∫P(x)dx。这里 P(x)=−3tanx。
答题过程
展开
The differential equation is in the form
dxdy+P(x)y=Q(x)
where
P(x)=−3tanx
Therefore an integrating factor is
I.F.===exp(∫−3tanxdx)exp(3ln(cosx))cos3x
So
p(x)=cos3x
解法二
思路
展开
也可以直接验证。若乘上 cos3x 后,左边正好是 dxd(ycos3x),那么 cos3x 就是积分因子。
答题过程
展开
Differentiate ycos3x:
dxd(ycos3x)===cos3xdxdyy⋅3cos2x(−sinx)cos3xdxdy−3ysinxcos2xcos3x(dxdy−3ytanx)
Thus multiplying the differential equation by cos3x makes the left hand side an exact derivative. Hence
p(x)=cos3x
(b)
解法一
思路
展开
用 (a) 的积分因子乘整条方程。左边变成乘积的导数,右边 sec2xcos3x 化简成 cosx,所以积分很短。最后代入 x=4π,y=4 求常数。
答题过程
展开
Multiply the differential equation by cos3x:
cos3xdxdy−3ycos3xtanx=dxd(ycos3x)=sec2xcos3xcosx
Integrate:
ycos3x==∫cosxdxsinx+C
Use y=4 when x=4π:
4cos34π=4(22)3=2=sin4π+C22+C22+C
Hence
C=22
So
ycos3x=y=cos3xsinx+22sinx+22
Equivalently,
y=tanxsec2x+22sec3x