$$\frac{d^2 y}{dx^2} = e^x \left(2x \frac{dy}{dx} + y^2 + 1\right).$$
- Show that
$$\frac{d^4 y}{dx^4} = e^x \left[2x \frac{d^3 y}{dx^3} + 4 \frac{d^2 y}{dx^2} + 6y \frac{dy}{dx} + y^2 + 1\right],$$
where \(k\) is a constant to be found. [3]
Given that, at \(x = 0\), \(y = 1\) and \(\frac{dy}{dx} = 2\),
- find a series solution for \(y\) in ascending powers of \(x\), up to and including the term in \(x^4\). [4]