Browsing as Guest. Progress, bookmarks and attempts are disabled.
Log in to track your work.
June 2022 p31 q4
2271
The variables x and y satisfy the differential equation \(\frac{dy}{dx} = \frac{xy}{1+x^2}\), and \(y = 2\) when \(x = 0\). Solve the differential equation, obtaining a simplified expression for y in terms of x.
Solution
To solve the differential equation \(\frac{dy}{dx} = \frac{xy}{1+x^2}\), we first separate the variables:
\(\frac{1}{y} \, dy = \frac{x}{1+x^2} \, dx\).
Integrate both sides:
\(\int \frac{1}{y} \, dy = \int \frac{x}{1+x^2} \, dx\).
This gives:
\(\ln |y| = \frac{1}{2} \ln(1+x^2) + C\).
Exponentiate both sides to solve for \(y\):
\(|y| = e^C \sqrt{1+x^2}\).
Using the initial condition \(y = 2\) when \(x = 0\), we find: