Question
Question: Solve the following differential equations. $\ln \frac{dy}{dx} = ax + by$...
Solve the following differential equations.
lndxdy=ax+by

ae−by+beax=C
aeby+be−ax=C
beby−aeax=C
None of these
A ae−by+beax=C
Solution
The given differential equation is: lndxdy=ax+by
Step 1: Convert the logarithmic equation into an exponential form. To remove the natural logarithm, we exponentiate both sides with base e: elndxdy=eax+by dxdy=eax+by
Step 2: Separate the variables. Using the property of exponents em+n=em⋅en, we can write: dxdy=eax⋅eby
Now, separate the variables x and y by moving all terms involving y to one side with dy and all terms involving x to the other side with dx: ebydy=eaxdx We can rewrite eby1 as e−by: e−bydy=eaxdx
Step 3: Integrate both sides. Now, integrate both sides of the equation: ∫e−bydy=∫eaxdx
For the left side, ∫e−bydy: The integral of ekx is k1ekx. Here k=−b. ∫e−bydy=−be−by+C1=−b1e−by+C1
For the right side, ∫eaxdx: Here k=a. ∫eaxdx=aeax+C2
Equating the results of the integration: −b1e−by=a1eax+C′ (where C′ is the combined constant of integration, C′=C2−C1)
Step 4: Rearrange the terms to match the given options. To eliminate the denominators a and b, multiply the entire equation by ab: ab(−b1e−by)=ab(a1eax+C′) −ae−by=beax+abC′
Now, rearrange the terms to match the format of the options. Move all terms involving eax and e−by to one side: 0=beax+ae−by+abC′
Let C=−abC′. Since C′ is an arbitrary constant, C is also an arbitrary constant. So, the solution becomes: beax+ae−by=C
This matches option A.