Question
How to use the substitution u = y(x) in a separable differential equation
Original question: Now, remember that y is really y(x) and so we can use the following substitution, $u = y(x) \qquad du = y'(x)\,dx = \frac{dy}{dx}\,dx$ Applying this substitution to the integral we get, $\int N(u)\,du = \int M(x)\,dx$
Expert Verified Solution
Key concept: This step often looks more mysterious than it is. The point is simply to rewrite the left side in a way that matches the derivative already present in the equation.
Step by step
When you have a separable equation in the form you can multiply by and write
At that point, the substitution just restates the same idea in standard calculus notation.
So the integral becomes
That is the key move:
- left side: integrate with respect to ,
- right side: integrate with respect to .
If the original equation came from separating variables, this is exactly what you want. After integrating, replace with again and solve for the solution if possible.
Pitfall alert
Don’t write unless you have clearly set up the dependence on . The safer identity here is . Also, make sure the differential on each side matches the variable of integration; mixing and in the same integral is a red flag.
Try different conditions
If the left-hand side is something like , the substitution is almost automatic and you may not need to rename the variable at all. If the equation includes an initial condition, plug it in after integrating to determine the constant before solving for .
Further reading
variable separation, integration substitution, implicit solution
FAQ
What does the substitution u = y(x) mean?
It means we treat y as a function of x and use du = y'(x) dx to rewrite the differential equation in standard integral form.
What happens after substituting u = y(x)?
The left integral becomes an integral in u, while the right side remains an integral in x. After integrating, replace u with y again.