Solve the differential equation:
This is a first-order ordinary differential equation that can be solved using separation of variables. The equation is separable because we can rearrange terms to isolate all expressions on one side with and all expressions on the other side with .
Starting with the given equation:
Rearrange to isolate the derivative:
Separate the variables by dividing both sides by (where ) and multiplying by :
Rewrite as to prepare for integration:
Integrate both sides:
Evaluate the left side using the power rule:
Evaluate the right side:
Equating both results:
Multiply both sides by :
Absorb the negative sign into the constant (letting ):
Alternative approach (as shown in the original derivation):
Starting from , multiply both sides by to obtain , then integrate: