Question

What are x and y in a differential equation like dy/dx = f(x)g(y)?

Expert Verified Solution

thumb_up100%(1 rated)

Key takeaway: This question comes up a lot when students first meet separable differential equations. The notation looks compact, but each symbol has a job.

In a differential equation such as

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

think of it like this:

  • xx is the independent variable.
  • yy is the dependent variable, usually written as a function of xx, such as y=y(x)y=y(x).
  • dydx\frac{dy}{dx} means the derivative of that function with respect to xx.

So yes, yy depends on xx.

What does g(y)g(y) mean?

It means the value of the function depends on the current value of yy, not directly on xx. Since yy itself changes with xx, the term g(y)g(y) changes as xx changes too.

That is why the equation is called separable:

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

can be rearranged into

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

At that point, you integrate both sides:

1g(y)dy=f(x)dx.\int \frac{1}{g(y)}\,dy=\int f(x)\,dx.

A simple way to picture it

  • f(x)f(x) uses the input xx
  • g(y)g(y) uses the output value yy, which is itself changing with xx

So the equation links how fast yy changes to both the current position xx and the current value yy.


Pitfalls the pros know 👇 A frequent mix-up is thinking that g(y)g(y) means "the same y as in dy/dxdy/dx" in a separate sense. It is the same dependent variable, but now it is being fed into another function. Also, don’t treat dydy and dxdx as ordinary numbers too early; the rearrangement works here because the equation is separable.

What if the problem changes? If the equation were

dydx=f(x),\frac{dy}{dx}=f(x),

then yy would still be a function of xx, but the rate of change would depend only on xx. If instead it were

dydx=g(y),\frac{dy}{dx}=g(y),

then the change rate depends only on yy. In both cases, yy is still the unknown function you are solving for.

Tags: dependent variable, separable differential equation, initial value problem

FAQ

What are x and y in dy/dx = f(x)g(y)?

x is the independent variable and y is the dependent variable, usually written as a function y(x). The derivative dy/dx measures how y changes as x changes.

What does g(y) mean in a differential equation?

g(y) means a function whose input is the current value of y. Because y depends on x, the term g(y) also varies as x changes.

chat