Question:medium

Solve : \( \log_e\left(\frac{dy}{dx}\right) = ax + by \).

Show Hint

Write \( \frac{dy}{dx} = e^{ax} e^{by} \) and separate the variables.
Show Solution

Solution and Explanation

Step 1: Idea:
We remove the logarithm and then use the substitution $ v = e^{-by} $ so that the equation becomes a plain first order equation in $ v $.

Step 2: Exponentiate:
From $ \log_e \frac{dy}{dx} = ax + by $ we get $ \frac{dy}{dx} = e^{ax} e^{by} $. Multiply by $ e^{-by} $:
\[ e^{-by} \frac{dy}{dx} = e^{ax} \]

Step 3: Substitute:
Let $ v = e^{-by} $. Then $ \frac{dv}{dx} = -b\, e^{-by} \frac{dy}{dx} $, so $ e^{-by}\frac{dy}{dx} = -\frac{1}{b}\frac{dv}{dx} $. The equation becomes
\[ -\frac{1}{b}\frac{dv}{dx} = e^{ax} \quad \Rightarrow \quad \frac{dv}{dx} = -b\, e^{ax} \]

Step 4: Integrate:
\[ v = -\frac{b}{a} e^{ax} + K \]
where $ K $ is a constant and $ a \ne 0 $.

Step 5: Back to y:
Replace $ v $ by $ e^{-by} $ and multiply by $ a $:
\[ a\,e^{-by} = -b\,e^{ax} + aK \]

Final Answer:
Writing $ C = aK $, the general solution is \[ \boxed{a\,e^{-by} + b\,e^{ax} = C} \]
Was this answer helpful?
0