Solve the following first-order differential equation:
This is a first-order ordinary differential equation (ODE) that can be solved using the separation of variables method. This technique involves rearranging the equation so that all terms involving are on one side and all terms involving are on the other before integrating.
To solve the equation, we follow these steps:
We begin by moving all terms to the left side and all terms to the right side.
Starting with:
Multiply both sides by :
Divide both sides by and to isolate the variables:
Now that the variables are separated, we apply the integral to both sides of the equation:
Performing the integration gives us:
Note: We use as the constant of integration to make the subsequent algebraic simplification easier.
We can use the power rule of logarithms () to rewrite the right side:
Next, use the product rule of logarithms ():
By taking the exponential of both sides (or simply removing the natural logs), we find the general solution: