Salta al contenuto
Note per Studenti First-Order Equations - Separable and Reducible Types Report

First-Order Equations - Separable and Reducible Types

In questa pagina 6

Prerequisite: Existence and Uniqueness for the Cauchy ProblemFor y' = f(t, y), y(t0) = y0, Peano's theorem gives local existence when f is continuous (not uniqueness: y' = sqrt|y|), Cauchy-Lipschitz gives local existence and uniqueness when f is also Lipschitz in y (it suffices that f and df/dy are continuous), solutions may blow up in finite time (y' = y^2), global existence holds when f is Lipschitz on the whole strip, and an equation of order n reduces to a first-order system.Existence and Uniqueness for the Cauchy Problem →. Next: Linear Differential Equations and SystemsFor linear systems Y' = A(t)Y + B(t) with continuous coefficients the Cauchy problem has a unique solution on the whole interval, the homogeneous solutions form an n-dimensional space spanned by the columns of a fundamental matrix, constant coefficients are handled with eigenvalues and eigenvectors, the matrix exponential or elimination, and variation of constants gives particular solutions for any continuous forcing term.Linear Differential Equations and Systems →.

Separable equations

Definition. A first-order equation is separablean equation of the form y'(t) = h(t) g(y(t)) if the right-hand side factors into a function of the independent variable alone times a function of the unknown alone.

Example: y′=tyy'=ty, h=th=t, g=yg=y: dyy=t dt\frac{dy}{y}=t\,dt gives y=cet2/2y=ce^{t^2/2}.

Solution. If g(y0)=0g(y_0)=0 for some y0y_0, the constant function y≡y0y\equiv y_0 is a stationary solutiona solution that does not vary in time. For non-constant solutions separate: ∫dyg(y)=∫h(t) dt.\int\frac{dy}{g(y)}=\int h(t)\,dt. The maximal interval of existence is limited by the points where the solution diverges or by the constraints of the initial datum y(t0)=y0y(t_0)=y_0.

Example y′=y2y'=y^2.

  1. Stationary solution: y2=0⇒y=0y^2=0\Rightarrow y=0.
  2. Separation: ∫y−2dy=∫dt⇒−y−1=t+C⇒y=−1t+C\int y^{-2}dy=\int dt\Rightarrow-y^{-1}=t+C\Rightarrow y=\frac{-1}{t+C}.
  3. With y(0)=y0y(0)=y_0: −1/C=y0⇒C=−1/y0-1/C=y_0\Rightarrow C=-1/y_0.
  4. Solution y=y01−y0ty=\frac{y_0}{1-y_0t} (for y0≠0y_0\ne0; for y0=0y_0=0 the stationary one). It blows up as t→1/y0t\to1/y_0: if y0>0y_0>0 it exists on ]−∞,1y0[\left]-\infty,\frac1{y_0}\right[, if y0<0y_0<0 on ]1y0,+∞[\left]\frac1{y_0},+\infty\right[. The interval depends on the initial datum.

Example y′=−1yy'=-\frac1y, y(0)=y0≠0y(0)=y_0\ne0. No stationary solutions (−1y-\frac1y never vanishes) and y0=0y_0=0 is not allowed. Separating, y dy=−dty\,dy=-dt, y22=y022−t\frac{y^2}2=\frac{y_0^2}2-t, so y(t)=sgn⁡(y0)y02−2t,t<y022,y(t)=\operatorname{sgn}(y_0)\sqrt{y_0^2-2t},\qquad t<\frac{y_0^2}2, with the sign of the initial datum (the solution is continuous and cannot cross y=0y=0, where the equation is undefined). As t→y022t\to\frac{y_0^2}2, y→0y\to0 and y′=−1yy'=-\frac1y becomes infinite: the solution reaches the boundary of the domain of ff and stops.

Homogeneous equations

Definition. An equation is called homogeneous if it has the form y′=f(yt)y'=f\left(\frac yt\right).

Substitute z=ytz=\frac yt, so y=zty=zt, y′=z′t+zy'=z't+z: z′t+z=f(z) ⟹ z′=f(z)−zt,z't+z=f(z)\ \Longrightarrow\ z'=\frac{f(z)-z}t, which is separable in zz, with h=1th=\frac1t, g(z)=f(z)−zg(z)=f(z)-z. Zeros z0z_0 of f(z)−zf(z)-z give stationary solutions z=z0z=z_0, i.e. the lines y=z0ty=z_0t. One recognizes it when, dividing numerator and denominator by a power of tt, only a function of yt\frac yt is left: e.g. y′=t2+y2ty=ty+yty'=\frac{t^2+y^2}{ty}=\frac ty+\frac yt.

Example y′=yt+tyy'=\frac yt+\frac ty. With z=y/tz=y/t: z′t+z=z+1z⇒z′t=1z⇒z dz=dttz't+z=z+\frac1z\Rightarrow z't=\frac1z\Rightarrow z\,dz=\frac{dt}t, so z22=ln⁡∣t∣+C\frac{z^2}2=\ln|t|+C. With y(1)=1y(1)=1: z(1)=1z(1)=1, C=12C=\frac12, z2=1+2ln⁡tz^2=1+2\ln t (work on t>0t>0, the interval containing t0=1t_0=1). Take the positive root since z(1)=1>0z(1)=1>0: y(t)=t1+2ln⁡t,t>e−1/2.y(t)=t\sqrt{1+2\ln t},\qquad t>e^{-1/2}. As t→e−1/2t\to e^{-1/2} the root vanishes, y→0y\to0 and the equation (which contains ty\frac ty) is no longer defined: this is the left end of the existence interval.

Equations y′=f(at+by+c)y'=f(at+by+c)

Set z(t)=at+by(t)+cz(t)=at+by(t)+c. Then z′=a+by′z'=a+by', i.e. y′=z′−aby'=\frac{z'-a}b, and the equation becomes z′=a+bf(z),z'=a+bf(z), separable, indeed autonomous (the right side does not depend on tt). It requires b≠0b\ne0; otherwise the equation is already y′=f(at+c)y'=f(at+c), solved by integration.

Example y′=(y−t)2y'=(y-t)^2, y(0)=0y(0)=0. With z=y−tz=y-t: z′=y′−1=z2−1z'=y'-1=z^2-1, z(0)=0z(0)=0.

  1. Stationary solutions of z′=z2−1z'=z^2-1: z=±1z=\pm1. The datum z(0)=0z(0)=0 is not among them, so by uniqueness zz stays strictly between −1-1 and 11.
  2. Separating, with 1z2−1=12(1z−1−1z+1)\frac1{z^2-1}=\frac12\left(\frac1{z-1}-\frac1{z+1}\right): 12ln⁡∣z−1z+1∣=t+C\frac12\ln\left|\frac{z-1}{z+1}\right|=t+C, and z(0)=0z(0)=0 gives C=0C=0.
  3. For ∣z∣<1|z|<1, z−1z+1<0\frac{z-1}{z+1}<0, so 1−z1+z=e2t\frac{1-z}{1+z}=e^{2t}, whence z=1−e2t1+e2t=−tanh⁡tz=\frac{1-e^{2t}}{1+e^{2t}}=-\tanh t.
  4. Solution: y(t)=t−tanh⁡ty(t)=t-\tanh t, defined for all tt. Check: y′=1−(1−tanh⁡2t)=tanh⁡2t=(y−t)2y'=1-(1-\tanh^2t)=\tanh^2t=(y-t)^2.

Bernoulli equations

Definition. Bernoulli equations have the form y′=a(t)y+b(t)yαy'=a(t)y+b(t)y^\alpha, α∈R\alpha\in\mathbb{R}.

For α≠0,1\alpha\ne0,1 multiply by (1−α)y−α(1-\alpha)y^{-\alpha} and set z=y1−αz=y^{1-\alpha}, so z′=(1−α)y−αy′z'=(1-\alpha)y^{-\alpha}y': z′=(1−α)a(t)z+(1−α)b(t),z'=(1-\alpha)a(t)z+(1-\alpha)b(t), a linear first-order equation in zz. Why it works: the left side (1−α)y−αy′(1-\alpha)y^{-\alpha}y' is the derivative of y1−αy^{1-\alpha}, and the term yαy^\alpha that made the equation nonlinear becomes a constant. For α>0\alpha>0 the solution y≡0y\equiv0, lost when dividing by yαy^\alpha, must be added separately.

Logistic equation y′=y−y2y'=y-y^2. Bernoulli with a=1a=1, b=−1b=-1, α=2\alpha=2 (also separable). With z=y−1z=y^{-1}: z′=−y−2y′=−y−y2y2=−z+1z'=-y^{-2}y'=-\frac{y-y^2}{y^2}=-z+1, whose solution is z=1+Ce−tz=1+Ce^{-t}, hence y(t)=11+Ce−tplus y≡0.y(t)=\frac1{1+Ce^{-t}}\quad\text{plus }y\equiv0. For C>0C>0 (i.e. 0<y(0)<10<y(0)<1) solutions grow from 00 to 11 with the typical S shape, tending to the equilibrium y=1y=1.

Summary of first-order equations

Form Method
y′=h(t)g(y)y'=h(t)g(y) stationary solutions (g=0g=0) and separation
y′=a(t)y+b(t)y'=a(t)y+b(t) linear formula
y′=f(yt)y'=f\left(\frac yt\right) z=ytz=\frac yt
y′=f(at+by+c)y'=f(at+by+c) z=at+by+cz=at+by+c
y′=a(t)y+b(t)yαy'=a(t)y+b(t)y^\alpha z=y1−αz=y^{1-\alpha}, plus y≡0y\equiv0 if α>0\alpha>0

Common mistakes

Versione ripasso

Separable y′=h(t)g(y)y'=h(t)g(y). Stationary solutions y≡y0y\equiv y_0 with g(y0)=0g(y_0)=0; the others from ∫dyg=∫h dt\int\frac{dy}{g}=\int h\,dt.

  • y′=y2y'=y^2: stationary 00; y=y01−y0ty=\frac{y_0}{1-y_0t}, on ]−∞,1y0[]-\infty,\frac1{y_0}[ if y0>0y_0>0, on ]1y0,+∞[]\frac1{y_0},+\infty[ if y0<0y_0<0.
  • y′=−1yy'=-\frac1y, y(0)=y0≠0y(0)=y_0\ne0: y=sgn⁡(y0)y02−2ty=\operatorname{sgn}(y_0)\sqrt{y_0^2-2t}, t<y022t<\frac{y_0^2}2; cannot cross y=0y=0.

Homogeneous y′=f(y/t)y'=f(y/t). z=ytz=\frac yt, y′=z′t+zy'=z't+z, so z′=f(z)−ztz'=\frac{f(z)-z}t (separable); zeros of f(z)−zf(z)-z give the lines y=z0ty=z_0t. Example y′=yt+tyy'=\frac yt+\frac ty, y(1)=1y(1)=1: z dz=dttz\,dz=\frac{dt}t, z2=1+2ln⁡tz^2=1+2\ln t, y=t1+2ln⁡ty=t\sqrt{1+2\ln t} for t>e−1/2t>e^{-1/2}.

y′=f(at+by+c)y'=f(at+by+c), b≠0b\ne0. z=at+by+cz=at+by+c, z′=a+bf(z)z'=a+bf(z) (autonomous). Example y′=(y−t)2y'=(y-t)^2, y(0)=0y(0)=0: z=y−tz=y-t, z′=z2−1z'=z^2-1, ∣z∣<1|z|<1, z=−tanh⁡tz=-\tanh t, y=t−tanh⁡ty=t-\tanh t on R\mathbb{R}.

Bernoulli y′=a(t)y+b(t)yαy'=a(t)y+b(t)y^\alpha, α≠0,1\alpha\ne0,1. z=y1−αz=y^{1-\alpha} gives the linear z′=(1−α)a(t)z+(1−α)b(t)z'=(1-\alpha)a(t)z+(1-\alpha)b(t); add y≡0y\equiv0 if α>0\alpha>0. Logistic y′=y−y2y'=y-y^2: z=y−1z=y^{-1}, z′=−z+1z'=-z+1, y=11+Ce−ty=\frac1{1+Ce^{-t}} plus 00.

Form Method
h(t)g(y)h(t)g(y) stationary + separation
a(t)y+b(t)a(t)y+b(t) linear formula
f(y/t)f(y/t) z=y/tz=y/t
f(at+by+c)f(at+by+c) z=at+by+cz=at+by+c
Bernoulli z=y1−αz=y^{1-\alpha}

Typical errors. Dividing by g(y)g(y) without finding stationary solutions; wrong root sign (use y(t0)y(t_0)); domain excluding t0t_0; forgetting that distinct solutions never cross.

Teoria collegata