Independent study guide

Separable differential equations: keep the solutions you divide out

Separate variables, keep equilibrium solutions and use the initial value to choose a branch and interval. Worked examples include exponential growth and an optional logistic model.

Nablio · 35 minPublished

Return to Seneca Polytechnic AMT453 course guide. Tutoring coverage for this course must be confirmed before booking and payment.

Stuck on a step? Text us Email us Request a lesson

For course topics and one-to-one help, see Dawson 201-MA2-DW tutoring.

A differential equation gives a rule for a function’s rate of change. Solving it means finding a function that obeys that rule on an interval. Separation of variables turns some first-order equations into two integrals. The important decisions come before and after the integration: which divisions are valid, which constant solutions need their own check, and which interval contains the initial value?

This original lesson develops those decisions through a worked initial-value problem and two growth models. The logistic model is an optional extension. For Dawson 201-MA2-DW, use the sections that match your current outline; this is neither an official exam nor a complete course review. Return to Dawson 201-MA2-DW tutoring for help with your own chapter.

What to know first

You need basic derivatives and antiderivatives, the chain rule, exponentials and natural logarithms. A prime denotes differentiation with respect to the independent variable. The symbol ln⁡\ln means natural logarithm, and CC denotes an arbitrary real integration constant.

If integration is the obstacle, use choosing an integration method. That lesson already explains substitution and partial fractions. Here we use those tools to solve an equation for an unknown function.

1. Recognize a separable equation

An equation is separable when it can be written, on its stated domain, as

dydx=f(x)g(y).\frac{dy}{dx}=f(x)g(y).

The right side is a function of xx multiplied by a function of yy. For example, y′=2x(y−3)y'=2x(y-3) is separable. So is y′=x2y'=x^2: take g(y)=1g(y)=1.

By contrast, the right side of y′=x−yy'=x-y is a sum whose terms cannot be separated into one such product on an open region. Do not write dy/y=(x−1) dxdy/y=(x-1)\,dx: dividing x−yx-y by yy gives x/y−1x/y-1. This equation has the linear form y′+y=xy'+y=x, so use the integrating-factor lesson.

The categories can overlap. The equation y′=2yy'=2y is both separable and linear. Choose a method because its steps are valid, rather than assuming every first-order equation has the same method.

2. Check constant solutions before dividing

For y′=f(x)g(y)y'=f(x)g(y), a value aa with g(a)=0g(a)=0 is a candidate constant solution y(x)=ay(x)=a. Substitute it into the original equation, and check that the equation is defined there. Such a constant solution is called an equilibrium solution.

For y′=2x(y−3)y'=2x(y-3), the constant function y=3y=3 works: its derivative and the right side are both zero for every xx. Dividing by y−3y-3 would exclude it from the following algebra, so record it first.

The factor 2x2x also vanishes at x=0x=0. That says every solution has zero derivative at that particular input. It does not say every solution is constant on an interval.

Now work on an interval where g(y(x))≠0g(y(x))\ne0. There,

y′g(y)=f(x),∫1g(y) dy=∫f(x) dx.\begin{gathered}\frac{y'}{g(y)}=f(x), \\ \int\frac{1}{g(y)}\,dy=\int f(x)\,dx.\end{gathered}

Why does the left integral use dydy? If H′(y)=1/g(y)H'(y)=1/g(y), the chain rule gives

ddxH(y(x))=y′(x)g(y(x)).\frac{d}{dx}H(y(x))=\frac{y'(x)}{g(y(x))}.

Separation is a convenient notation for this chain-rule calculation. Do not integrate yy as though it were a constant with respect to xx.

Keep one integration constant after combining the constants from both sides. An implicit relation is acceptable when isolating yy is inconvenient, provided it defines the required differentiable branch and you check it in the original equation.

3. Work through an initial value

Solve

y′=2x(y−3),y(0)=5.\begin{gathered}y'=2x(y-3), \\ y(0)=5.\end{gathered}

Keep the excluded case

The equilibrium y=3y=3 solves the equation, but it does not satisfy y(0)=5y(0)=5. For the branch through the prescribed point, begin where y−3≠0y-3\ne0:

dyy−3=2x dx.\frac{dy}{y-3}=2x\,dx.

Integrate with the correct logarithm

ln⁡∣y−3∣=x2+C.\ln|y-3|=x^2+C.

The absolute value allows either sign of y−3y-3. Differentiating ln⁡∣y−3∣\ln|y-3| along a nonzero branch gives y′/(y−3)y'/(y-3).

Apply the initial condition

At x=0x=0, y=5y=5, so C=ln⁡2C=\ln2. On the branch through this point, y−3y-3 is positive. Hence

y−3=2ex2,y=3+2ex2.\begin{gathered}y-3=2e^{x^2}, \\ y=3+2e^{x^2}.\end{gathered}

More generally, exponentiating the logarithmic relation gives y=3+Aex2y=3+Ae^{x^2} with a nonzero signed constant AA. The value A=0A=0 is justified separately by the equilibrium check, not by claiming eC=0e^C=0. With it included, this family covers the equilibrium as well.

Verify the equation and the interval

y′=4xex2,2x(y−3)=4xex2,y(0)=5.\begin{gathered}y'=4xe^{x^2}, \\ 2x(y-3)=4xe^{x^2}, \\ y(0)=5.\end{gathered}

The solution is defined and differentiable for every real xx, and y−3=2ex2>0y-3=2e^{x^2}>0. Its maximal interval is R\mathbb R. There is no lost crossing through the divided-out value in this solution.

Graph of y equals 3 plus 2 exp(x squared), the horizontal equilibrium y equals 3, and y equals 3 minus 2 exp(x squared), through initial values 5, 3 and 1 at x equals zero.
The two nonconstant solutions stay on opposite sides of the equilibrium. Each initial value selects one branch.

Try a changed initial value: what if y(0)=1y(0)=1? The answer is y=3−2ex2y=3-2e^{x^2}, still defined on R\mathbb R. A negative value of y−3y-3 is allowed. It is precisely why the absolute value and signed constant matter.

4. Interpret a growth model

In a simplified continuous model, a community has population P(t)P(t), measured in people, at time tt, measured in years. Suppose the growth rate is proportional to its current population:

P′=0.04P,P(0)=1500.\begin{gathered}P'=0.04P, \\ P(0)=1500.\end{gathered}

The coefficient has units year−1\mathrm{year}^{-1}; therefore the right side has units people per year. It is a constant relative growth rate, not an addition of 0.04 people per year.

First, P=0P=0 is an equilibrium. For the positive initial population, separation gives dP/P=0.04 dtdP/P=0.04\,dt. A definite-integral form makes the initial value especially clear:

∫1500P(t)1u du=∫0t0.04 ds,\int_{1500}^{P(t)}\frac{1}{u}\,du =\int_0^t0.04\,ds,

ln⁡(P(t)1500)=0.04t,P(t)=1500e0.04t.\begin{gathered}\ln\left(\frac{P(t)}{1500}\right)=0.04t, \\ P(t)=1500e^{0.04t}.\end{gathered}

The ratio inside the logarithm is dimensionless. Direct differentiation returns 0.04P(t)0.04P(t), and substitution at zero returns 1500. The formula is mathematically defined for all real time; the stated forward model uses t≥0t\ge0.

The doubling time satisfies e0.04t=2e^{0.04t}=2, so

t=ln⁡20.04≈17.33 years.t=\frac{\ln2}{0.04}\approx17.33\text{ years}.

After one year the multiplier is e0.04≈1.04081e^{0.04}\approx1.04081. A continuous relative rate of 0.04 per year therefore gives an effective one-year increase of about 4.081%, rather than exactly 4%.

The model predicts unbounded growth as t→∞t\to\infty. That is a property of the assumptions. It is not evidence that a real population can grow without limits.

5. Keep the interval containing the initial point

A formula may solve an equation on several disconnected intervals. An initial-value solution belongs on an interval containing its initial input; it cannot jump over a singularity.

Consider

y′=y2,y(0)=1.\begin{gathered}y'=y^2, \\ y(0)=1.\end{gathered}

The equilibrium y=0y=0 does not meet the initial value. For y≠0y\ne0, separation and integration give

∫y−2 dy=∫dt,−1y=t+C.\begin{gathered}\int y^{-2}\,dy=\int dt, \\ -\frac1y=t+C.\end{gathered}

The initial condition yields C=−1C=-1, so

y(t)=11−t.y(t)=\frac1{1-t}.

Its derivative is 1/(1−t)2=y21/(1-t)^2=y^2, but the formula is undefined at t=1t=1. The maximal solution interval containing zero is (−∞,1)(-\infty,1). For forward time, it is [0,1)[0,1). The expression also satisfies the equation on (1,∞)(1,\infty), but that separate branch is not a continuation through the infinite blow-up.

Number line marks the initial time zero and an excluded point at one. Only the interval from negative infinity to one is highlighted.
Keep the interval containing the initial point. The formula cannot carry this solution through t = 1.

Check three things: restrictions already in the original equation, restrictions introduced while solving, and the selected solution’s own singularities. These may differ. For example, y′=t/yy'=t/y excludes y=0y=0 in the original equation; multiplying by yy does not make zero an admissible equilibrium.

6. Optional extension: growth with a limiting population

Use this section if logistic growth is in your assigned material or you want a further application. The official Dawson evidence establishes separation of variables, not logistic growth in every section.

Suppose a simplified population model uses

P′=0.3P(1−P600),P(0)=100.\begin{gathered}P'=0.3P\left(1-\frac{P}{600}\right), \\ P(0)=100.\end{gathered}

Time is measured in years, population in people, and 600 people is the model’s carrying capacity. The coefficient 0.3 has units year−1\mathrm{year}^{-1}. The extra factor reduces the relative growth rate as the population approaches 600.

Find the equilibria and the sign

Both P=0P=0 and P=600P=600 are equilibrium solutions. For 0<P<6000<P<600, the right side is positive. For P>600P>600, it is negative. These signs predict growth below capacity and decline above it. At either equilibrium, P(1−P/600)=0P(1-P/600)=0, so division by this product is invalid.

Separate on the branch between the equilibria

For 0<P<6000<P<600,

dPP(1−P/600)=0.3 dt,\frac{dP}{P(1-P/600)}=0.3\,dt,

1P(1−P/600)=1P+1600−P.\frac{1}{P(1-P/600)} =\frac1P+\frac1{600-P}.

Check the identity by combining the fractions. The second antiderivative has a minus sign because d(600−P)/dP=−1d(600-P)/dP=-1:

ln⁡(P600−P)=0.3t+C.\ln\left(\frac{P}{600-P}\right)=0.3t+C.

Here the ratio is positive and dimensionless. The initial value gives C=ln⁡(1/5)C=\ln(1/5). Thus

P600−P=15e0.3t,P(t)=6001+5e−0.3t.\begin{gathered}\frac{P}{600-P}=\frac15e^{0.3t}, \\ P(t)=\frac{600}{1+5e^{-0.3t}}.\end{gathered}

The denominator is positive for every real tt, and the formula stays strictly between zero and 600. It therefore validates the branch used in separation. Its mathematical interval is R\mathbb R; the forward population model uses t≥0t\ge0.

Check and interpret

Writing D=1+5e−0.3tD=1+5e^{-0.3t} temporarily,

P′=900e−0.3tD2,P'=\frac{900e^{-0.3t}}{D^2},

0.3P(1−P600)=0.3600D5e−0.3tD=900e−0.3tD2.\begin{aligned}&0.3P\left(1-\frac P{600}\right)\\&=0.3\frac{600}{D}\frac{5e^{-0.3t}}{D}\\&=\frac{900e^{-0.3t}}{D^2}.\end{aligned}

Also P(0)=100P(0)=100, and P(t)→600P(t)\to600 as t→∞t\to\infty. It approaches capacity without reaching it at any finite time. It reaches 300 people when 5e−0.3t=15e^{-0.3t}=1, or t=ln⁡5/0.3≈5.365t=\ln5/0.3\approx5.365 years. For comparison, the exponential model with the same initial value and coefficient would be 100e0.3t100e^{0.3t}, with no capacity limit. Its coefficient is the same, but its initial absolute growth rate is 30 people per year; the logistic model starts at 25.

An exponential curve grows above 600 while a logistic curve starting at the same population remains below 600 and approaches it. Their initial slopes differ.
Both models start at 100 and use coefficient 0.3 per year. The logistic factor lowers the initial rate and makes the population approach 600.

The explicit formula derived by dividing misses P=0P=0. The family 600/(1+Ae−0.3t)600/(1+Ae^{-0.3t}) recovers P=600P=600 when A=0A=0, but both equilibria must still be checked directly. For other initial values, inspect the denominator and interval again; do not carry this positive-denominator conclusion over automatically.

7. Check your reasoning and practise

Before calling a solution complete, ask:

  • Did the equation really separate, on the original domain?
  • Which factors did I divide by, and which constant solutions did I check separately?
  • Did I integrate with the correct variable and keep logarithm absolute values where needed?
  • Does the initial value select a sign or branch?
  • Do the function and its derivative satisfy the original equation on the stated interval?
  • Does my interpretation distinguish the mathematical formula from the model’s intended range?

The examples here have smooth right-hand sides near their initial data. For less regular equations, separate branches can sometimes join an equilibrium, so separation plus a list of constant solutions is not a universal proof that every solution has been found. An initial value also needs an existence-and-uniqueness check before you claim uniqueness in general.

Try six progressive questions with changed retries. If you are reviewing Dawson 201-MA2-DW, bring your separation step, initial condition and interval to a course tutoring session.

Further reading

These examples and explanations are original. For standard background, see OpenStax Calculus Volume 2: separable equations and the logistic equation.

Useful for

Dawson’s catalogue includes differential equations in 201-MA2-DW. Official 2025 finals explicitly use separation of variables. Match practice to the current section outline. Logistic growth is an optional extension, not verified as mandatory course content.

Work on the step you’re missing.

Tell us the subject and your preferred time. Nablio confirms the details by text or email.

Request a lesson