Separable Equations
students, in this lesson you will learn one of the most useful starting points in differential equations: separable equations π±. These equations matter because they let us turn a difficult rate-of-change problem into two easier pieces we can integrate. By the end of this lesson, you should be able to recognize a separable differential equation, separate the variables correctly, solve it step by step, and explain why this method fits into the larger study of first-order differential equations.
What makes an equation separable?
A first-order differential equation is called separable if the variables can be rearranged so that all the $x$ terms are on one side and all the $y$ terms are on the other. In a simple form, a separable equation looks like
$$\frac{dy}{dx}=f(x)g(y).$$
The key idea is that this product structure lets us rewrite it as
$$\frac{1}{g(y)}\,dy=f(x)\,dx,$$
which means we can integrate both sides separately.
This is important because many real-world change processes are described by equations where the rate depends on both the current amount and time, or on the current amount alone. For example, population growth, radioactive decay, and cooling processes often begin with separable models π.
The word separable means exactly what it sounds like: the variables can be separated. That is the main test you should use. If you can rewrite the equation into a form where one side contains only $y$ and $dy$, and the other side contains only $x$ and $dx$, then the equation is separable.
How to solve a separable equation
Letβs walk through the general procedure.
Suppose we have
$$\frac{dy}{dx}=f(x)g(y).$$
Step 1: Separate the variables
Divide by $g(y)$, assuming $g(y)\neq 0$, to get
$$\frac{1}{g(y)}\frac{dy}{dx}=f(x).$$
Then multiply by $dx$:
$$\frac{1}{g(y)}\,dy=f(x)\,dx.$$
Step 2: Integrate both sides
Now integrate:
$$\int \frac{1}{g(y)}\,dy=\int f(x)\,dx.$$
Step 3: Solve for $y$ if possible
After integrating, you may get an implicit solution, such as an equation involving both $x$ and $y$. Sometimes you can solve explicitly for $y$, and sometimes the implicit form is the best exact answer.
Step 4: Use an initial condition if given
If the problem gives a starting value like $y(x_0)=y_0$, substitute it into the solution to find the constant of integration.
A big reason this method is powerful is that integration often turns a differential equation into an algebra problem. That makes separable equations a gateway topic in first-order equations β¨.
Example 1: A basic separable equation
Solve
$$\frac{dy}{dx}=xy.$$
This equation is separable because the right-hand side is a product of a function of $x$ and a function of $y$.
Separate variables
Divide both sides by $y$:
$$\frac{1}{y}\frac{dy}{dx}=x.$$
Multiply by $dx$:
$$\frac{1}{y}\,dy=x\,dx.$$
Integrate
$$\int \frac{1}{y}\,dy=\int x\,dx.$$
So we get
$$\ln|y|=\frac{x^2}{2}+C.$$
Solve for $y$
Exponentiate both sides:
$$|y|=e^{C}e^{x^2/2}.$$
Since $e^C$ is just another constant, we can write
$$y=Ce^{x^2/2}.$$
This is the general solution.
What this means
The solution shows that if $x$ gets larger, $y$ grows very quickly because of the exponential term. This is one reason separable equations are useful in modeling growth processes.
Example 2: A separable equation with an initial condition
Solve
$$\frac{dy}{dx}=3y,$$
with $y(0)=5$.
Separate and integrate
$$\frac{1}{y}\,dy=3\,dx.$$
Integrate:
$$\ln|y|=3x+C.$$
Exponentiate:
$$y=Ce^{3x}.$$
Use the initial condition
Substitute $x=0$ and $y=5$:
$$5=Ce^0.$$
So $C=5$, and the particular solution is
$$y=5e^{3x}.$$
This is a classic exponential growth model. If $y$ represents a number of bacteria, the equation says the growth rate is proportional to the current population. That is a standard pattern in biology and chemistry π§«.
Important special idea: equilibrium solutions
Sometimes a separable differential equation has solutions where the dependent variable stays constant. These are called equilibrium solutions.
For example, in
$$\frac{dy}{dx}=y(1-y),$$
if $y=0$ or $y=1$, then the right-hand side becomes $0$. That means
$$\frac{dy}{dx}=0,$$
so the solution is constant.
These equilibrium solutions matter because they can describe steady states in real systems. In population models, one equilibrium might represent extinction, while another might represent a carrying capacity.
When solving separable equations, do not forget to check whether any values were lost when you divided by $g(y)$. If $g(y)=0$ gives a solution, that solution should be included separately.
Example 3: A logistic-style separable equation
Consider
$$\frac{dy}{dx}=y(1-y).$$
This is separable. Separate the variables:
$$\frac{1}{y(1-y)}\,dy=dx.$$
To integrate the left side, use partial fractions:
$$\frac{1}{y(1-y)}=\frac{1}{y}+\frac{1}{1-y}.$$
So
$$\int \left(\frac{1}{y}+\frac{1}{1-y}\right)dy=\int dx.$$
This gives
$$\ln|y|-\ln|1-y|=x+C.$$
Combine logarithms:
$$\ln\left|\frac{y}{1-y}\right|=x+C.$$
Then exponentiate:
$$\frac{y}{1-y}=Ce^x.$$
This can be solved for $y$:
$$y=\frac{Ce^x}{1+Ce^x}.$$
This type of equation is closely related to the logistic model, which appears in population dynamics. The growth rate starts out fast when the population is small, then slows down as $y$ approaches $1$. The key feature is that the rate depends on both the current amount and the amount of remaining capacity.
Why separable equations matter in First-Order Equations I
Separable equations are one of the first major families in first-order differential equations. They help build the core ideas that appear again and again in the topic.
Here is why they are important:
- They connect the derivative $\frac{dy}{dx}$ to a real change process.
- They show how integration can be used to recover a function from its rate of change.
- They introduce exact terminology such as general solution, particular solution, and equilibrium solution.
- They provide models for exponential growth, decay, and logistic behavior.
In the broader topic of First-Order Equations I, separable equations often come before more advanced methods like linear equations, integrating factors, and numerical methods. Understanding separation gives you a strong base for recognizing whether a differential equation can be solved by direct integration or whether a different method is needed.
Common mistakes to avoid
students, here are a few mistakes students often make:
- Forgetting to separate completely
Make sure all $y$ terms, including $dy$, are on one side and all $x$ terms, including $dx$, are on the other.
- Dropping the constant of integration
After integrating, always include $C$.
- Ignoring domain restrictions
Expressions like $\ln|y|$ require $y\neq 0$.
- Losing equilibrium solutions
If you divide by $g(y)$, check whether $g(y)=0$ gives a valid solution.
- Stopping too early
Sometimes the solution is implicit, and that can still be correct.
Being careful with these steps will help you avoid algebra errors and build confidence.
Connection to growth and decay
Many separable equations model growth and decay. A classic decay equation is
$$\frac{dy}{dx}=-ky,$$
where $k>0$.
Separate variables:
$$\frac{1}{y}\,dy=-k\,dx.$$
Integrate:
$$\ln|y|=-kx+C.$$
So
$$y=Ce^{-kx}.$$
This model shows that the quantity decreases at a rate proportional to its current size. That idea is used for radioactive decay, cooling approximations, and other processes where something diminishes over time.
The same separable method also helps with growth models, where the sign is positive instead of negative. The structure is the same, but the behavior is different.
Conclusion
Separable equations are a foundational part of first-order differential equations. The main idea is simple but powerful: if the equation can be written so that all $y$ terms are separated from all $x$ terms, then you can integrate both sides to find the solution. This method works for many important models, including exponential growth, decay, and logistic behavior.
students, as you continue in Differential Equations, keep asking: Can this equation be separated? If the answer is yes, you often have a direct path to an exact solution. That skill will support everything you learn later in the course π.
Study Notes
- A separable differential equation can be written in the form $\frac{dy}{dx}=f(x)g(y)$.
- The goal is to rewrite it as $\frac{1}{g(y)}\,dy=f(x)\,dx$ and then integrate both sides.
- A general solution includes a constant $C$.
- A particular solution uses an initial condition such as $y(x_0)=y_0$.
- An equilibrium solution happens when $\frac{dy}{dx}=0$.
- Always check whether dividing by $g(y)$ removed any valid solutions.
- Exponential growth and decay equations are often separable.
- Logistic-type equations are also separable and model growth with a limiting capacity.
- Separable equations are one of the main entry points into First-Order Equations I.
- The method relies on algebraic rearrangement and integration to recover $y$ from its rate of change.
