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

thumb_up100%(1 rated)

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 N(y)dydx=M(x),N(y)\frac{dy}{dx}=M(x), you can multiply by dxdx and write N(y)dy=M(x)dx.N(y)\,dy=M(x)\,dx.

At that point, the substitution u=y(x),du=y(x)dx=dydxdxu=y(x),\qquad du=y'(x)\,dx=\frac{dy}{dx}\,dx just restates the same idea in standard calculus notation.

So the integral becomes N(u)du=M(x)dx.\int N(u)\,du=\int M(x)\,dx.

That is the key move:

  • left side: integrate with respect to uu,
  • right side: integrate with respect to xx.

If the original equation came from separating variables, this is exactly what you want. After integrating, replace uu with yy again and solve for the solution if possible.

Pitfall alert

Don’t write du=dydu = dy unless you have clearly set up the dependence on xx. The safer identity here is du=y(x)dx=dydxdxdu = y'(x)\,dx = \frac{dy}{dx}\,dx. Also, make sure the differential on each side matches the variable of integration; mixing dxdx and dydy in the same integral is a red flag.

Try different conditions

If the left-hand side is something like ydy\int y\,dy, 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 y(x)y(x).

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.

chat