If you're seeing this message, it means we're having trouble loading external resources on our website.

If you're behind a web filter, please make sure that the domains *.kastatic.org and *.kasandbox.org are unblocked.

Main content

Separable differential equations

Separation of variables is a common method for solving differential equations. Learn how it's done and why it's called this way.
Separation of variables is a common method for solving differential equations. Let's see how it's done by solving the differential equation dydx=2x3y2:
(1)dydx=2x3y2(2)3y2dydx=2xMultiply by 3y2(3)3y2dy=2xdxMultiply by dx(4)3y2dy=2xdxTake integral(5)y3=x2+CIntegrate(6)y=Ax2+C3Isolate y

Let's review this solution.

In rows (1) to (3) we manipulated the equation so it was in the form f(y)dy=g(x)dx. In other words, we separated x and y so each variable had its own side, including the dx and the dy that formed the derivative expression dydx. This is why the method is called "separation of variables."
In row (4) we took the indefinite integral of each side of the equation. The underlying principle, as always with equations, is that if f(y)dy is equal to g(x)dx, then their indefinite integrals must also be equal.
In rows (5) and (6) we performed the integration with respect to y (on the left-hand side) and with respect to x (on the right-hand side) and then isolated y.
We only added a constant C on the right-hand side. Adding a constant to both sides would be unnecessary, because we can then move one of the constants to the other side and end up with a single constant.
In conclusion, the general solution of dydx=2x3y2 is y=Ax2+C3. You can differentiate y to verify this solution.
Looking back at the equation's solution, notice how the separation of variables that we performed in rows (1) to (3) allowed us to integrate each side and obtain an equation without a derivative.
Problem 1.A
Problem set 1 will walk you through the process of solving this differential equation:
dydx=exy2
How does the equation look after the separation of variables?
صرف 1 جواب چنو