Differential Equations
Differential Equations
Allen Star Batch
Grade 12

Question:

The solution of $\frac{dy}{dx} + x = xe^{(n-1)y}$ is:
$\frac{1}{n-1}\log\left(\frac{e^{(n-1)y}-1}{e^{(n-1)y}}\right) = \frac{x^2}{2} + C$
$e^{(n-1)y} = Ce^{(n-1)y+(n-1)^2/2} + 1$
$\log\left(\frac{e^{(n-1)y}-1}{(n-1)e^{(n-1)y}}\right) = x^2 + C$
$e^{(n-1)y} = ce^{(n-1)x^2/2} + 1$

Step-by-Step Solution

Key Concept: Recognize this as a Bernoulli differential equation separable after rearrangement. The transformation u = e^{(n-1)y} converts the equation into a linear form ∫du/(u(u-1)) = (n-1)∫xdx, which requires partial fractions decomposition: 1/(u(u-1)) = 1/(u-1) - 1/u.
Rewriting $\frac{dy}{dx} = x(e^{n-1}y - 1)$ and rearranging gives $\frac{dy}{e^{(n-1)y}-1} = xdx$. Substituting $u = e^{(n-1)y}$ transforms this to $\frac{1}{n-1}\int\frac{du}{u(u-1)} = \frac{x^2}{2} + C$. Using partial fractions and integrating: $\frac{1}{n-1}\log\frac{u-1}{u} = \frac{x^2}{2} + C$, which yields the final solution $e^{(n-1)y} = Ce^{(n-1)y+n-1}x^2/2 + 1$.
Correct Answer: 1,2

Master Differential Equations with Mathbee

Practice this topic under real exam conditions with strict timers, or ask our AI Mentor to explain the concepts step-by-step.

Start Practicing for Free