Skip to content
CalcGospel 國際數學圖譜
返回

IAL 2020 Oct Q6

A Level / Edexcel / FP2

IAL 2020 Oct Paper · Question 6

题目

Problem

Obtain the general solution of the equation

x2dydx+(xcotx+2)xy=4sinx0<x<π\begin{align*} x^2\frac{\mathrm{d}y}{\mathrm{d}x} +(x\cot x+2)xy=4\sin x \qquad 0<x<\pi \end{align*}

Give your answer in the form y=f(x)y=f(x)

(8)

解答

解法一

思路

展开

这是一个一阶线性微分方程。先除以 x2x^2,化成 dydx+P(x)y=Q(x)\dfrac{\mathrm{d}y}{\mathrm{d}x}+P(x)y=Q(x)。 积分因子来自 (cotx+2x)dx\int(\cot x+\frac2x)\,\mathrm{d}x。由于 0<x<π0<x<\pisinx>0\sin x>0,所以 ln(sinx)\ln(\sin x) 不需要额外讨论绝对值符号。

### 答题过程
展开

Divide by x2x^2:

dydx+(cotx+2x)y=4sinxx2\begin{align*} \frac{\mathrm{d}y}{\mathrm{d}x} +\left(\cot x+\frac2x\right)y =&\,\frac{4\sin x}{x^2} \end{align*}

The integrating factor is

IF=e(cotx+2x)dx=eln(sinx)+2lnx=x2sinx\begin{align*} \mathrm{IF} =&\,\mathrm{e}^{\int\left(\cot x+\frac2x\right)\,\mathrm{d}x}\\[4mm] =&\,\mathrm{e}^{\ln(\sin x)+2\ln x}\\[4mm] =&\,x^2\sin x \end{align*}

Multiplying the differential equation by x2sinxx^2\sin x gives

ddx(x2sinxy)=x2sinx4sinxx2=4sin2x\begin{align*} \frac{\mathrm{d}}{\mathrm{d}x} \left(x^2\sin x\,y\right) =&\,x^2\sin x\cdot \frac{4\sin x}{x^2}\\[4mm] =&\,4\sin^2x \end{align*}

Integrate:

x2sinxy=4sin2xdx=2(1cos2x)dx=2xsin2x+C\begin{align*} x^2\sin x\,y =&\,\int 4\sin^2x\,\mathrm{d}x\\[4mm] =&\,\int 2(1-\cos2x)\,\mathrm{d}x\\[4mm] =&\,2x-\sin2x+C \end{align*}

Therefore

y=2xsin2x+Cx2sinx\begin{align*} y=\frac{2x-\sin2x+C}{x^2\sin x} \end{align*}