Solve the differential equation:
subject to the initial condition .
This is a homogeneous differential equation, where can be expressed as a function of the ratio . Such equations are typically solved using the substitution , which transforms the equation into a separable form.
First, rewrite the differential equation in standard form by dividing both sides by :
Notice that the right-hand side can be written as a function of alone, confirming this is a homogeneous equation.
Step 1: Substitution
Let , where is a function of . Differentiating with respect to using the product rule:
Step 2: Transform the equation
Substitute and into equation (1):
Simplify the right-hand side by factoring out in the numerator and calculating the denominator ():
Step 3: Separate variables
Subtract from both sides and combine terms:
Rearrange to separate the variables and :
Step 4: Integrate both sides
Rearranging to group the constant:
Step 5: Back-substitute
Since , we have . Substituting into equation (2):
Step 6: Apply the initial condition
Given , substitute and into equation (3):
Step 7: Final solution
Substitute back into equation (3):
Multiply through by 3 to clear the fraction:
This can also be written as: