A function satisfies the differential equation
with the initial condition . Find the particular solution.
Spot that the equation is separable and check the special solution. The right-hand side is a function of times a function of , so the variables can be split. Before dividing, note that makes the right side zero and is itself a constant solution; the initial value tells us our solution is not that one, so dividing by is legitimate near the initial point.
Separate the variables. Move all to the left and all to the right:
Integrate both sides. The left is a logarithm, the right a power:
Only one constant is needed because the two sides' constants can be merged.
Exponentiate to solve for . Applying to both sides,
Since is an arbitrary positive constant and the sign of is absorbed by allowing the constant to be negative, write
with any real constant ( recovers the special solution ).
Apply the initial condition. Substituting , and using :
So the particular solution is
Verify the solution satisfies both requirements. Differentiating, , while — identical. A central-difference check at , and matches to five decimal places, and as required.
Need to solve a different problem like this? Open the solver →