For , the separable differential equation gives . Integrating gives , orEach solution is considered on an interval not containing its pole. The additional stationary solution is excluded by the stated condition.
For the solution through , work on the connected domain . While , separation of variables givesThe initial condition gives , soThe restriction matters: the unsquared equation requires . The solution reaches zero at . Continuing the squared formula beyond that point would give a positive derivative, contradicting the original negative square-root right-hand side.
The nonnegative forward continuation is insteadThe two pieces join with , and both satisfy the original equation. Because the right-hand side is nonpositive for , a nonnegative solution cannot leave zero in the forward direction. This is a finite-time extinction phenomenon for a separable differential equation.
For real solutions with , the square root requires . First retain the solution , which would be lost by dividing by a square root of .
For , use the homogeneous first-order differential equation substitution , so , and . The equation becomesThis is now a separable differential equation. Integration gives . Since , the positive solutions satisfyThe implicit family is sufficient here because only parts (a) and (b) request an explicit expression. It also shows why the nonnegative choice of matters: denotes the positive square root.
Near the initial condition , divide by and separate variables: . Integration gives ; the initial value fixes . Thus the solution of the separable differential equation isThe stated interval is the maximal connected interval containing zero: the solution diverges at its left endpoint. The constant solution does not satisfy the initial condition.
For the Gaussian ansatz, partial differentiation givesCancel the positive exponential and compare the constant and quadratic powers of in the diffusion equation. The two coupled ordinary differential equations areThe initial profile requires and . The second equation is a separable differential equation:Substitute this into the first equation and integrate its logarithmic derivative:Thusand the solution isThis is Gaussian diffusion of a smooth initial profile: its width grows while its peak decreases. The Gaussian integral gives , independent of time, which checks conservation of the total amount under the diffusion equation.
Because the equation depends on the ratio , set , so . Dividing by and substituting givesThis reduces the homogeneous first-order differential equation to a separable differential equation. For ,At , the condition gives , so and . HenceThe interval displayed is the maximal solution interval containing : there is a pole at . Separating variables omitted the solution , or , but that solution does not satisfy the given condition.
On an interval with , division by gives the separable differential equation . For , take antiderivatives:Renaming the constant yields the explicit nonzero familyFor , the interval of definition must avoid zeros of the denominator. Division by excluded the additional solution , which must also be included.
The original undivided differential equation also makes sense at , where it requires . For continuation through a zero of the leading ODE coefficient, rewrite the nonzero family asIt extends differentiably with and , since . One may choose the integration constants independently on the two sides of zero and obtain a differentiable solution through zero. The zero solution also extends through zero, with derivative ; joining a nonzero branch on just one side to a zero branch on the other would fail differentiability.
Use the substitution for a homogeneous first-order differential equation. Since , it givesWhere , this separable differential equation integrates to , hence . One can obtain the same relation without division by : the equation gives , so , including .
All real branches of the inverse sine are captured byEach branch is used on an interval with and , with fixed . The strict inequality excludes zeros of , where the original tangent is undefined. When , the formula includes all straight-line solutions . Keeping both families of inverse sine branches is essential for the two different initial conditions below.
On an interval with , the equation is a separable differential equation. For ,Taking antiderivatives gives . Renaming the constant, the explicit general nonzero solution isIt is defined on any interval avoiding and zeros of its denominator. The separation divided by , so the additional solution must be included.
Where , the separable differential equation is . Separating and taking antiderivatives gives , for nonzero . Including the zero solution, the explicit general solution ison any interval with . It can also be obtained without dividing by : the product rule gives .
The product rule gives for , reducing the displayed equation to the autonomous separable differential equation . On an interval where , integrate and recover for . Zeros of give additional constant solutions for and must be considered before division. A solution for extends through zero only if the recovered quotient has the necessary finite derivatives and satisfies the undivided original equation there.
An implicit homogeneous first-order differential equation , where , can be reduced by treating the slope as an auxiliary variable. Differentiating givesWhere the divisions are valid, this is a separable differential equation. Constant slopes lost when dividing by must be checked in the original equation.
For , the reduced equation is and its nonconstant solutions obey . Substitution recovers the parabolas , together with the constant solution . Real graph branches must have , and the original restrictions , still apply. The constant slopes solve the reduced equation but are excluded from the original equation.