Salta al contenuto
Note per Studenti Separable Differential Equations Report

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 y′(t)=a(t)⋅b(y),a∈C(I), b∈C(J), I,J intervalsy'(t) = a(t)\cdot b(y), \qquad a \in C(I),\ b \in C(J),\ I, J \text{ intervals}

Example. y′=t y2y' = t\,y^2 is separable, with a(t)=ta(t) = t and b(y)=y2b(y) = y^2.

The right-hand side is the product of a function of tt alone and a function of yy alone: the two variables can be "separated".

Examples:

  • y′=log⁡t⋅yy' = \log t\cdot y: a(t)=log⁡ta(t) = \log t, b(y)=yb(y) = y (it is also linear: y′−log⁡t⋅y=0y' - \log t\cdot y = 0);
  • y′=log⁡t⋅y2y' = \log t\cdot y^2 (not linear);
  • y′=1+y23+t2=13+t2⋅1+y2y' = \sqrt{\dfrac{1 + y^2}{3 + t^2}} = \dfrac{1}{\sqrt{3 + t^2}}\cdot\sqrt{1 + y^2};
  • y′=et+y3=et⋅ey3y' = e^{t + y^3} = e^t\cdot e^{y^3}.

Not separable (there is a sum, or tt and yy are "mixed"):

  • y′=t+y3y' = t + y^3;
  • y′=log⁡1+y1+t2=log⁡(1+y)−log⁡(1+t2)y' = \log\dfrac{1 + y}{1 + t^2} = \log(1 + y) - \log(1 + t^2);
  • y′=sin⁡(t y)y' = \sin(t\,y).

Existence and uniqueness: only local

Theorem 1 (without proof). Let a∈C(I)a \in C(I), b∈C(J)b \in C(J), and fix an initial condition x0∈Jx_0 \in J at an instant t0∈It_0 \in I. For the Cauchy problem {y′=a(t) b(y)y(t0)=x0\begin{cases} y' = a(t)\,b(y) \\ y(t_0) = x_0 \end{cases}

  1. if aa and bb are only continuous, the solution exists but may not be unique, and the maximal interval Imax⁡I_{\max} may be strictly contained in II;
  2. if aa is continuous and b∈C1(J)b \in C^1(J), the solution is unique, but Imax⁡I_{\max} may still be smaller than II;
  3. if aa is continuous, b∈C1(R)b \in C^1(\mathbb{R}) and moreover bb or b′b' is bounded, there is a unique solution defined on all of II (Imax⁡=II_{\max} = I).

Example. y′=3y2/3y' = 3y^{2/3}, y(0)=0y(0) = 0 has the two solutions y=0y = 0 and y=t3y = t^3: if bb is only continuous uniqueness may fail.

Unlike linear equations (where Imax⁡I_{\max} is the whole interval of continuity of the coefficients), here the solution can "blow up" in finite time: for instance the solution of y′=t y2y' = t\,y^2 with y(0)=1y(0) = 1 is 22−t2\frac{2}{2 - t^2}, which goes to infinity as t→±2t \to \pm\sqrt2.

The solving method

The solutions of y′=a(t) b(y)y' = a(t)\,b(y) are of two kinds.

1. Constant solutions (singular integrals). Solve b(y)=0b(y) = 0 in JJ. Each zero yˉ\bar y of bb gives the constant solution y(t)=yˉ∀t∈Iy(t) = \bar y \qquad \forall t \in I Indeed a constant has y′=0y' = 0, and the right-hand side equals a(t) b(yˉ)=a(t)⋅0=0a(t)\,b(\bar y) = a(t)\cdot 0 = 0.

2. Solutions with b(y(t))≠0b(y(t)) \ne 0. One can divide by b(y(t))b(y(t)) and integrate in tt: y′(t)b(y(t))=a(t)⟹∫y′(t)b(y(t)) dt=∫a(t) dt\frac{y'(t)}{b(y(t))} = a(t) \quad\Longrightarrow\quad \int\frac{y'(t)}{b(y(t))}\,dt = \int a(t)\,dt On the left substitute y=y(t)y = y(t), dy=y′(t) dtdy = y'(t)\,dt: ∫dyb(y)=∫a(t) dt⟹B(y(t))=A(t)+c,c∈R\int\frac{dy}{b(y)} = \int a(t)\,dt \quad\Longrightarrow\quad B(y(t)) = A(t) + c, \qquad c \in \mathbb{R} where BB is a primitive of 1b\frac{1}{b} and AA a primitive of aa. If BB is invertible one gets y(t)=B−1(A(t)+c)y(t) = B^{-1}\big(A(t) + c\big)

In practice one writes dydt=a(t) b(y)\frac{dy}{dt} = a(t)\,b(y), "separates" the variables, dyb(y)=a(t) dt\frac{dy}{b(y)} = a(t)\,dt, 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 y(t)=B−1(A(t)+c)y(t) = B^{-1}(A(t) + c) (point 2).

Example. y′=yy' = y: the constant solution is y=0y = 0 and the others satisfy log⁡∣y∣=t+c\log|y| = t + c, that is y=k ety = k\,e^t; the general integral is y=k ety = k\,e^t, with k∈Rk \in \mathbb{R}.

The Cauchy problem, step by step

With the condition y(t0)=x0y(t_0) = x_0:

  1. First check whether b(x0)=0b(x_0) = 0. If so, the constant y(t)=x0y(t) = x_0 is a solution (and if b∈C1b \in C^1 it is the only one).
  2. If b(x0)≠0b(x_0) \ne 0, substitute t0t_0 and x0x_0 in the formula of point 2 and find cc.
  3. The maximal interval:
    • if b∈C1(R)b \in C^1(\mathbb{R}): Imax⁡I_{\max} is the intersection of II with the largest interval containing t0t_0 on which the formula for y(t)y(t) is defined;
    • if bb is defined only on JJ: in addition one must stay at the instants where y(t)∈Jy(t) \in J.

When an equation is both linear and separable

For instance y′=(y+a) ty' = (y + a)\,t is separable (a(t)=ta(t) = t, b(y)=y+ab(y) = y + a) but also linear: y′−t y=a ty' - t\,y = a\,t. 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 y′=g(yt)y' = g\left(\frac yt\right)

Equations like y′=t3+y3t y2=t2y2+yty' = \frac{t^3 + y^3}{t\,y^2} = \frac{t^2}{y^2} + \frac yt are neither linear nor separable. But the right-hand side depends only on yt\frac yt, and with the substitution z(t)=y(t)tz(t) = \frac{y(t)}{t} (that is y=tzy = tz, y′=z+tz′y' = z + t z') they become separable in zz. They may be needed in other courses; they are not in the exam program.

Common mistakes

  • Forgetting the constant solutions: when dividing by b(y)b(y) the solutions with b(y)=0b(y) = 0 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 t0t_0.
  • Thinking the solution of the Cauchy problem is always unique: with bb only continuous (like y3\sqrt[3]{y} at 00) there may be infinitely many.

Versione ripasso

The form

A first-order separable differential equation is y′(t)=a(t)⋅b(y),a∈C(I), b∈C(J)y'(t) = a(t)\cdot b(y), \qquad a \in C(I),\ b \in C(J)

Variables are separated by writing y′=dydty' = \frac{dy}{dt} and grouping terms: dyb(y)=a(t)dt\frac{dy}{b(y)} = a(t)dt. Not separable: y′=t+y3y' = t + y^3, y′=sin⁡(ty)y' = \sin(ty).

Existence and uniqueness

Theorem. For {y′=a(t) b(y)y(t0)=x0\begin{cases} y' = a(t)\,b(y) \\ y(t_0) = x_0 \end{cases}:

  1. If a,ba, b are continuous: a solution exists (not always unique), Imax⁡I_{\max} may be small.
  2. If aa is continuous, b∈C1(J)b \in C^1(J): unique solution, Imax⁡I_{\max} may be small.
  3. If aa is continuous, b∈C1(R)b \in C^1(\mathbb{R}) and bb (or b′b') is bounded: unique solution on all of II.

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: y′=t y2y' = t\,y^2, y(0)=1y(0) = 1 has solution 22−t2\frac{2}{2 - t^2}, defined only for ∣t∣<2|t| < \sqrt2.

Solving method

  1. Constant solutions (singular integrals): solve b(yˉ)=0b(\bar{y}) = 0. Every root yˉ\bar{y} gives the solution y(t)=yˉy(t) = \bar{y}.
  2. General solutions: if b(y)≠0b(y) \neq 0, divide and integrate: ∫dyb(y)=∫a(t)dt  ⟹  B(y)=A(t)+c\int \frac{dy}{b(y)} = \int a(t)dt \implies B(y) = A(t) + c (BB primitive of 1b\frac1b, AA primitive of aa, a single constant.) Then y(t)=B−1(A(t)+c)y(t) = B^{-1}(A(t) + c).

The general integral is the union of the constant solutions and those of point 2. If the equation is also linear (e.g. y′=(y+a) ty' = (y + a)\,t) the linear formula is better.

Procedure for the Cauchy problem

  1. Constant check: verify whether b(x0)=0b(x_0) = 0. If so, y(t)=x0y(t) = x_0 is a solution (the only one if b∈C1b \in C^1).
  2. Computation: if b(x0)≠0b(x_0) \neq 0, integrate and determine cc from y(t0)=x0y(t_0) = x_0.
  3. Maximal interval: Imax⁡I_{\max} is the largest interval containing t0t_0 on which the solution is defined and y(t)∈Jy(t) \in J.

Common mistakes

  • Losing solutions: not finding the zeros of b(y)b(y) (constant solutions).
  • Multiple constants: adding one constant per integral (one is enough).
  • Domain: not restricting to the maximal interval containing t0t_0.
  • Uniqueness: taking uniqueness for granted when bb is only continuous (e.g. y′=y3y' = \sqrt[3]{y}).

Teoria collegata