9709 P32 - Jun 2022 - Q6
2335
The variables x and y satisfy the differential equation \(\frac{dy}{dx} = xe^{y-x}\), and \(y = 0\) when \(x = 0\).
(a) Solve the differential equation, obtaining an expression for y in terms of x.
(b) Find the value of y when \(x = 1\), giving your answer in the form \(a - \ln b\), where a and b are integers.
