The differential equation
$$\frac{dy}{dx} + \frac{1}{1 - x^2} y = (1 - x)^{\frac{1}{2}}, \quad \text{where } |x| < 1,$$
can be solved by the integrating factor method.
- Use an appropriate result given in the List of Formulae (MF1) to show that the integrating factor can be written as \(\left(\frac{1 + x}{1 - x}\right)^{\frac{1}{2}}\). [2]
- Hence find the solution of the differential equation for which \(y = 2\) when \(x = 0\), giving your answer in the form \(y = f(x)\). [6]