Skip to main content

Code Scholars Tutoring · AP Calculus AB

Separation, initial conditions, and lost equilibria

Unit 7 · Topics 7.6, 7.7. Original AP Calculus AB notes, worked example, and self-check.

Understand the idea

For a separable equation move the factors involving y\displaystyle y to the dy\displaystyle dy side and the factors involving x\displaystyle x to the dx\displaystyle dx side, then integrate. Keep an integration constant until applying the initial condition. Dividing by a function of y\displaystyle y can discard equilibrium solutions, so inspect those separately. State the interval containing the initial point on which the expression solves the equation.

dydx=g(x)h(y)⇒∫dyh(y)=∫g(x) dxwhen h(y)≠0\frac{dy}{dx}=g(x)h(y)\quad\Rightarrow\quad\int\frac{dy}{h(y)}=\int g(x)\,dx\quad\text{when }h(y)\ne0

Worked example

Solve y′=2xy\displaystyle y'=2xy with y(0)=3\displaystyle y(0)=3.

For y≠0\displaystyle y\ne0, separate to get dy/y=2x dx\displaystyle dy/y=2x\,dx. Integration gives ln⁡∣y∣=x2+C\displaystyle \ln|y|=x^2+C, hence y=Aex2\displaystyle y=Ae^{x^2}. Applying the initial condition gives A=3\displaystyle A=3. Thus y=3ex2\displaystyle y=3e^{x^2} for all real x\displaystyle x. The discarded equilibrium y=0\displaystyle y=0 does not meet this initial condition.

Try it yourself

Solve y′=y2\displaystyle y'=y^2 with y(0)=1\displaystyle y(0)=1 and state its maximal interval.

Show solution and reasoning

dy/y2=dx\displaystyle dy/y^2=dx gives −1/y=x+C\displaystyle -1/y=x+C. With y(0)=1\displaystyle y(0)=1, C=−1\displaystyle C=-1, so y=1/(1−x)\displaystyle y=1/(1-x) on (−∞,1)\displaystyle (-\infty,1).