Solution

ID: past-exam-of-the-year-1-of-the-computer-science-course-of-the-university-of-oxford/2016/discrete-mathematics-continuous-mathematics-and-probability-resit/4/c/solution

On an interval avoiding , divide by to obtain the first-order linear ordinary differential equation
An integrating factor is . Multiplying through and using the product rule gives
By integration by parts, . Consequently
The formula differentiates back to the original equation. Although division excluded , this formula has a smooth extension there with , satisfying the original equation at zero as well.

New to topics? Read the docs here!