(i)
\(\frac{\mathrm{d}y}{\mathrm{d}x} + y = 3xy^4\) is a *Bernoulli (differential) equation*
\(u = \frac{1}{y^3} \Rightarrow \frac{\mathrm{d}u}{\mathrm{d}x} = -\frac{3}{y^4} \times \frac{\mathrm{d}y}{\mathrm{d}x}\) B1
Then \(\frac{\mathrm{d}y}{\mathrm{d}x} + y = 3xy^4\) becomes \(-\frac{3}{y^4}\frac{\mathrm{d}y}{\mathrm{d}x} - \frac{3}{y^3} = -9x \Rightarrow \frac{\mathrm{d}u}{\mathrm{d}x} - 3u = -9x\) AG M1 A1
(ii) Method 1
IF is \(\mathrm{e}^{-3x}\) M1 A1
\(\Rightarrow u\mathrm{e}^{-3x} = \int -9x\mathrm{e}^{-3x}\,\mathrm{d}x\) M1
\(= 3x\mathrm{e}^{-3x} - \int 3\mathrm{e}^{-3x}\,\mathrm{d}x\) — Use of "parts" M1
\(= (3x+1)\mathrm{e}^{-3x} + C\) A1
General solution is \(u = 3x + 1 + C\mathrm{e}^{3x}\) ft B1
\(\Rightarrow y^{-3} = \frac{1}{3x+1+C\mathrm{e}^{3x}}\) ft B1
Using \(x = 0\), \(y = \frac{1}{2}\) to find \(C\): \(C = 7\) or \(y^3 = \frac{1}{3x+1+7\mathrm{e}^{3x}}\) M1 A1
Method 2
Auxiliary equation \(m - 3 = 0 \Rightarrow u_C = A\mathrm{e}^{3x}\) is the complementary function M1 A1
For particular integral try \(u_P = ax + b\), \(u_P' = a\) M1
Substituting \(u_P = ax+b\) and \(u_P' = a\) into the d.e. and comparing terms M1
\(a - 3ax - 3b = -9x \Rightarrow a = 3,\, b = 1\) i.e. \(u_P = 3x+1\) A1
General solution is \(u = 3x + 1 + A\mathrm{e}^{3x}\) ft particular integral + complementary function B1
\(\Rightarrow y^{-3} = \frac{1}{3x+1+A\mathrm{e}^{3x}}\) ft B1
Using \(x=0\), \(y = \frac{1}{2}\) to find \(A\): \(A = 7\) or \(y^3 = \frac{1}{3x+1+7\mathrm{e}^{3x}}\) M1 A1
Total: 13 marks