Non-Linear Logarithmic Bernoulli Differential Equation
Board: JEE Foundation | Grade: Class 12 | Chapter: Differential Equations
Problem
A curve $y = y(x)$ ($x > 0, y > 1$) satisfies the differential equation $$\frac{dy}{dx} + \frac{y}{x}\ln y = \frac{y}{x^2}(\ln y)^2,$$ with the initial condition $y(1) = e$. Find the exact value of $y(2)$.
Step-by-Step Textbook Solution
Step 1: Reduce to a linear ODE
Divide both sides by $y(\ln y)^2$:
$$\frac{1}{y(\ln y)^2}\frac{dy}{dx} + \frac{1}{x \ln y} = \frac{1}{x^2}.$$
Let $v = \frac{1}{\ln y}$. Differentiating gives $\frac{dv}{dx} = -\frac{1}{y(\ln y)^2}\frac{dy}{dx}$.
Substituting into the equation:
$$-\frac{dv}{dx} + \frac{v}{x} = \frac{1}{x^2} \implies \frac{dv}{dx} - \frac{1}{x}v = -\frac{1}{x^2}.$$
Step 2: Find the integrating factor
$$\text{I.F.} = e^{\int -\frac{1}{x},dx} = e^{-\ln x} = \frac{1}{x}.$$
Multiplying through by $\frac{1}{x}$:
$$\frac{d}{dx}\left(\frac{v}{x}\right) = -\frac{1}{x^3} \implies \frac{v}{x} = \frac{1}{2x^2} + C.$$
Step 3: Apply the initial condition
At $x = 1$, $y = e \implies v = \frac{1}{\ln e} = 1$:
$$\frac{1}{1} = \frac{1}{2} + C \implies C = \frac{1}{2}.$$
Hence $\frac{v}{x} = \frac{1 + x^2}{2x^2} \implies \frac{1}{\ln y} = \frac{1 + x^2}{2x} \implies \ln y = \frac{2x}{1 + x^2}$.
Thus $y(x) = e^{\frac{2x}{1+x^2}}$, and at $x = 2$:
$$y(2) = e^{4/5}.$$
Final Answer: $e^{4/5}$.
NityaDhi Solution (Intuitive Method)
NityaDhi Two-Step Log-Bernoulli Collapse:
Set $u = \ln y$ first so $\frac{dy}{y} = du$. The ODE immediately becomes a standard Bernoulli equation in $u$:
$$\frac{du}{dx} + \frac{u}{x} = \frac{u^2}{x^2}.$$
Notice the homogeneous symmetry $u \propto x$? Try $v = \frac{x}{u}$ directly! Then $\frac{u}{x} = \frac{1}{v}$, and $\frac{du}{dx} = \frac{v - x v'}{v^2}$ simplifies straight to $x v' = \dots$ or $\frac{d}{dx}(v/x) = -x^{-3}$.
Common Mistakes to Avoid
- Missing the negative sign when differentiating $v = (\ln y)^{-1}$, which turns the integrating factor from $1/x$ into $x$.
- Applying $y(1) = e$ as $v(1) = e$ instead of $v(1) = \frac{1}{\ln e} = 1$.