UcenlyOpen in the app

Differential Equations & Numerical Methods · BE5B01DEN · Topic 1 of 13

Separable ODEs, slope fields & stability of equilibria

Week 1. Separate the variables, keep the stationary solutions, and always state the interval of validity.

Open the interactive lesson

Key ideas

Separate, then check the stationary solutions

Write y′=g(x)h(y). Every constant y₀ with h(y₀)=0 is a stationary solution. Where h≠0, move dy to the left and dx to the right, integrate both sides, and solve for y if you can.

State the interval of validity

A solution is complete only with its interval. It must be an open interval that contains x₀ and avoids the points where the equation is undefined.

Read equilibria and uniqueness from the equation

For y′=h(y) an equilibrium is stable when solutions that start nearby converge to it: check the sign of h on both sides. Picard’s theorem needs f continuous and Lipschitz in y (for example ∂f/∂y bounded); Peano’s theorem alone gives existence only.

In one line: A formula is not an answer until it comes with its interval; a missing stationary solution is the classic loss.

Formulas

Practice with worked solutions

Question 1

Solve the IVP by separation and give y(1/2).

y′=3x2y2,y(0)=1y'=3x^2y^2,\quad y(0)=1
Worked solution

Answer: 8/7

  1. ∫dyy2=∫3x2 dx ⇒ −1y=x3+C\int\frac{dy}{y^2}=\int3x^2\,dx\ \Rightarrow\ -\frac1y=x^3+C
  2. y(0)=1⇒C=−1,y=11−x3, x<1y(0)=1\Rightarrow C=-1,\qquad y=\frac1{1-x^3},\ x<1
  3. y(12)=11−1/8=87y\bigl(\tfrac12\bigr)=\frac1{1-1/8}=\frac87

Separate to ∫dy/y²=∫3x²dx, fix the constant from y(0)=1, then evaluate.

Question 2

Which equilibria of this equation are asymptotically stable?

y′=(y−1)(y+2)(y−3)y'=(y-1)(y+2)(y-3)
  1. Only y = −2
  2. Only y = 1 (correct)
  3. y = −2 and y = 3
  4. All three
Worked solution
  1. h(y)>0 on (−2,1),h(y)<0 on (1,3) ⇒ y=1 attractsh(y)>0\text{ on }(-2,1),\quad h(y)<0\text{ on }(1,3)\ \Rightarrow\ y=1\text{ attracts}
  2. h>0 on (3,∞), h<0 on (−∞,−2) ⇒ −2, 3 repelh>0\text{ on }(3,\infty),\ h<0\text{ on }(-\infty,-2)\ \Rightarrow\ -2,\,3\text{ repel}

Check the sign of the right-hand side on both sides of each equilibrium: stable means both sides point toward it.

Question 3

Solve the IVP and compute y(−3).

y′=−2(y−1)x,y(−1)=4y'=-\frac{2(y-1)}{x},\quad y(-1)=4
Worked solution

Answer: 4/3

  1. ∫dyy−1=−2∫dxx ⇒ y−1=Cx2\int\frac{dy}{y-1}=-2\int\frac{dx}x\ \Rightarrow\ y-1=\frac C{x^2}
  2. y(−1)=4⇒C=3,y=1+3x2, x<0y(-1)=4\Rightarrow C=3,\qquad y=1+\frac3{x^2},\ x<0
  3. y(−3)=1+39=43y(-3)=1+\frac39=\frac43

Separation gives y−1=C/x²; the initial point x₀=−1 fixes C and the interval (−∞,0).

More Differential Equations & Numerical Methods practice in Ucenly

Sources

Written by Ucenly. Based on the BE5B01DEN course materials: