Worked examples · Sheet 1
Separable equations
Theory used: Separable equationMethod of separation of variablesGeneral solution and particular solution
Go to: Exercise 1Exercise 2Exercise 3
Exercise 1
Find the general solution of
The constant function is a solution. For :
For one recovers the zero solution, so the general solution is with .
The equation has the form with and , so it is separable. The factor vanishes for , therefore the zero function is a constant solution and must be recorded before dividing. In the regions where one divides both sides by and integrates: the left-hand side with respect to , the right-hand side with respect to . From the equality one obtains , and removing the absolute value turns the constant into a nonzero constant . Since the choice gives back the zero solution, a single formula collects all the solutions.
Exercise 2
Find the general solution of
on every interval where .
By the properties of powers, is the product , so the equation is separable with and . The factor never vanishes, therefore there are no constant solutions. Dividing by , that is, multiplying by , separates the variables, and integrating both sides gives . The left-hand side is always positive, so the equality defines a solution only where is positive: for on all of , for on the half-line . Applying the logarithm gives the explicit form of the solution.
Exercise 3
Find the general solution of
on every interval where stays within an interval of the form .
The equation is separable with and . The factor is always greater than or equal to , so there are no constant solutions and the division is legitimate everywhere. An antiderivative of is , therefore integrating both sides gives . Applying the tangent gives the explicit form , which by direct verification satisfies the equation on every interval where the tangent is defined. Since the tangent has vertical asymptotes at the points , each solution is defined only on the intervals where the argument avoids these values.