Separable Differential Equations
In questa pagina 7
In questa pagina 5
Prerequisites: Introduction to Ordinary Differential EquationsAn ordinary differential equation of order n has an unknown function y(t) and links the n-th derivative to t, y, y', ..., y^(n-1). The general integral is the set of solutions, defined on an interval; there are usually infinitely many, depending on n constants. The Cauchy problem adds n initial conditions at a time t0 and under suitable hypotheses has a single solution. The equation y^(n) = f(t) is solved by integrating n times.Introduction to Ordinary Differential Equations →, integration by substitution, First-Order Linear Differential EquationsFor y' + a(t)y = b(t) with a, b continuous on an interval I, solutions are defined on all of I and the Cauchy problem has a unique solution. General integral: y = e^(-A(t))[c + integral of e^(A(t)) b(t)], with A a primitive of a; for the homogeneous equation (b = 0) y = c e^(-A(t)). The proof multiplies by the integrating factor e^(A(t)).First-Order Linear Differential Equations →.
The form
Definition (separable equation). A first-order separable (or variables-separated) differential equation is
Example. is separable, with and .
The right-hand side is the product of a function of alone and a function of alone: the two variables can be "separated".
Examples:
- : , (it is also linear: );
- (not linear);
- ;
- .
Not separable (there is a sum, or and are "mixed"):
- ;
- ;
- .
Existence and uniqueness: only local
Theorem 1 (without proof). Let , , and fix an initial condition at an instant . For the Cauchy problem
- if and are only continuous, the solution exists but may not be unique, and the maximal interval may be strictly contained in ;
- if is continuous and , the solution is unique, but may still be smaller than ;
- if is continuous, and moreover or is bounded, there is a unique solution defined on all of ().
Example. , has the two solutions and : if is only continuous uniqueness may fail.
Unlike linear equations (where is the whole interval of continuity of the coefficients), here the solution can "blow up" in finite time: for instance the solution of with is , which goes to infinity as .
The solving method
The solutions of are of two kinds.
1. Constant solutions (singular integrals). Solve in . Each zero of gives the constant solution Indeed a constant has , and the right-hand side equals .
2. Solutions with . One can divide by and integrate in : On the left substitute , : where is a primitive of and a primitive of . If is invertible one gets
In practice one writes , "separates" the variables, , and integrates both sides, each with respect to its own variable, with a single constant.
Property (general integral of separable equations). The general integral is the union of the constant solutions (point 1) and of the solutions (point 2).
Example. : the constant solution is and the others satisfy , that is ; the general integral is , with .
The Cauchy problem, step by step
With the condition :
- First check whether . If so, the constant is a solution (and if it is the only one).
- If , substitute and in the formula of point 2 and find .
- The maximal interval:
- if : is the intersection of with the largest interval containing on which the formula for is defined;
- if is defined only on : in addition one must stay at the instants where .
When an equation is both linear and separable
For instance is separable (, ) but also linear: . It is usually better to solve it as linear, with the formula, which gives all solutions at once without having to distinguish the singular integrals.
An extension: the equations
Equations like are neither linear nor separable. But the right-hand side depends only on , and with the substitution (that is , ) they become separable in . They may be needed in other courses; they are not in the exam program.
Common mistakes
- Forgetting the constant solutions: when dividing by the solutions with are lost.
- Using two constants (one for each integral): one is enough, because the difference of two constants is a constant.
- Forgetting the maximal interval: the formula may make sense on a set that is not an interval; take the largest interval containing .
- Thinking the solution of the Cauchy problem is always unique: with only continuous (like at ) there may be infinitely many.
Versione ripasso
The form
A first-order separable differential equation is
Variables are separated by writing and grouping terms: . Not separable: , .
Existence and uniqueness
Theorem. For :
- If are continuous: a solution exists (not always unique), may be small.
- If is continuous, : unique solution, may be small.
- If is continuous, and (or ) is bounded: unique solution on all of .
Note: unlike First-Order Linear Differential EquationsFor y' + a(t)y = b(t) with a, b continuous on an interval I, solutions are defined on all of I and the Cauchy problem has a unique solution. General integral: y = e^(-A(t))[c + integral of e^(A(t)) b(t)], with A a primitive of a; for the homogeneous equation (b = 0) y = c e^(-A(t)). The proof multiplies by the integrating factor e^(A(t)).First-Order Linear Differential Equations →, the solution may "blow up" in finite time: , has solution , defined only for .
Solving method
- Constant solutions (singular integrals): solve . Every root gives the solution .
- General solutions: if , divide and integrate: ( primitive of , primitive of , a single constant.) Then .
The general integral is the union of the constant solutions and those of point 2. If the equation is also linear (e.g. ) the linear formula is better.
Procedure for the Cauchy problem
- Constant check: verify whether . If so, is a solution (the only one if ).
- Computation: if , integrate and determine from .
- Maximal interval: is the largest interval containing on which the solution is defined and .
Common mistakes
- Losing solutions: not finding the zeros of (constant solutions).
- Multiple constants: adding one constant per integral (one is enough).
- Domain: not restricting to the maximal interval containing .
- Uniqueness: taking uniqueness for granted when is only continuous (e.g. ).