Detailed Explanation
To verify that a given function is a solution of a differential equation, we differentiate the function and then substitute the result into the differential equation. If both sides match, the function is a valid solution. Here the function is given implicitly as \( xy = \log y + C \), meaning \( y \) is not isolated. So we use implicit differentiation, differentiating both sides with respect to \( x \) and applying the product rule to \( xy \) and the chain rule to \( \log y \). Our goal is to isolate \( y' \) and check that it equals \( \dfrac{y^2}{1 - xy} \).
Formula Used
Product rule: \( \dfrac{d}{dx}(uv) = u\,v' + v\,u' \). Chain rule: \( \dfrac{d}{dx}(\log y) = \dfrac{1}{y}\dfrac{dy}{dx} \).
Solution
- Step 1: Write down the given relation. \[ xy = \log y + C \] We must show this leads to \( y' = \dfrac{y^2}{1 - xy} \).
- Step 2: Differentiate both sides with respect to \( x \). For the left side use the product rule, and for the right side note that \( C \) is constant. \[ \frac{d}{dx}(xy) = \frac{d}{dx}(\log y + C) \]
- Step 3: Apply the product rule to \( xy \) and the chain rule to \( \log y \). \[ x\frac{dy}{dx} + y\cdot 1 = \frac{1}{y}\frac{dy}{dx} \] Writing \( \dfrac{dy}{dx} = y' \): \[ x y' + y = \frac{1}{y} y' \]
- Step 4: Collect the terms containing \( y' \) on one side. \[ x y' - \frac{1}{y} y' = -y \] Factor out \( y' \): \[ y'\left( x - \frac{1}{y} \right) = -y \]
- Step 5: Simplify the bracket by taking LCM. \[ x - \frac{1}{y} = \frac{xy - 1}{y} \] So the equation becomes: \[ y'\cdot \frac{xy - 1}{y} = -y \]
- Step 6: Solve for \( y' \) by multiplying both sides by \( \dfrac{y}{xy - 1} \). \[ y' = \frac{-y \cdot y}{xy - 1} = \frac{-y^2}{xy - 1} \] Multiply numerator and denominator by \( -1 \): \[ y' = \frac{y^2}{1 - xy} \]
- Step 7: This is exactly the given differential equation. Hence the function \( xy = \log y + C \) is verified as a solution (for \( xy \ne 1 \), so the denominator is not zero).
Final Answer
On differentiating \( xy = \log y + C \) implicitly, we obtain \( y' = \dfrac{y^2}{1 - xy} \), which matches the given differential equation. Therefore the given function is a solution (valid for \( xy \ne 1 \)).
Common Mistake
A common mistake is forgetting the chain rule when differentiating \( \log y \); students write \( \dfrac{d}{dx}(\log y) = \dfrac{1}{y} \) instead of \( \dfrac{1}{y}\dfrac{dy}{dx} \). This drops the \( y' \) term and gives a wrong result.