Separation of Variable - What's REALLY going on?

  • Context: Undergrad 
  • Thread starter Thread starter MaxL
  • Start date Start date
  • Tags Tags
    Separation Variable
Click For Summary
SUMMARY

The discussion centers on the method of separation of variables in ordinary differential equations (ODEs), specifically the equation dy/dx = A*y. Participants clarify that while this method appears straightforward, it involves an abuse of notation since dy/dx is not a true fraction. The rigorous approach involves integrating both sides with respect to x, leading to the conclusion that H(y) = G(x) + C, where H and G are the antiderivatives of h(y) and g(x), respectively. This formalization validates the separation of variables technique and explains its underlying mechanics.

PREREQUISITES
  • Understanding of ordinary differential equations (ODEs)
  • Familiarity with integration techniques
  • Knowledge of antiderivatives and the chain rule
  • Basic concepts of differential notation
NEXT STEPS
  • Study the rigorous derivation of the separation of variables method in ODEs
  • Explore the application of the chain rule in differential equations
  • Learn about antiderivatives and their significance in integration
  • Investigate common pitfalls in differential notation and their implications
USEFUL FOR

Mathematics students, educators, and anyone interested in mastering the theory and application of ordinary differential equations, particularly those utilizing the separation of variables method.

MaxL
Messages
60
Reaction score
0
So I've always done simple ODEs by the method of separation of variables. You know,

dy/dx = A*y
dy/y = A*dx
IndefiniteIntegral[1/y dy] = IndefiniteIntegral[A dx]
ln(y) = A*x + Constant
y = Constant*e^(A*x)

It's easy to remember and it usually works. A lot of the PDEs I know how to do involve this process at some point.

The problem is, all my professors were quick to point out that this is an abuse of notation. That is, dy/dx isn't really a fraction, and can't necessarily be treated as such--it just happens to work out well if you pretend in a simple ODE.

So what's the rigorous way to do this ODE? What's really going on when you use the 'pretend derivatives are fractions' trick?
 
Physics news on Phys.org
When writing equations linear in terms lik dx, it is "shorthand" for expressions that are within integrals.

dy/dx = A*y

1/y * dy/dx = A

\int 1/y * (dy/dx) dx = A*\int dx

\int 1/y dy =A*\int dx

ln(y) = A*x + C

y = const*exp(A*x)

When the integral on the left is converted to an x-integral, I have used a change of integration variables from x to y. So it's the same, only more correctly written.

Torquil
 
The type of DE which you can separate always has this form:

h(y)y' = g(x)

In separation of variables you write it as

h(y)dy = g(x)dx

Then you integrate the left side with respect to y and the right side with respect to x yielding

H(y) = G(x) + C

where H and G are the antiderivatives of h and g. Why indeed should this work, given that you did different things to opposite sides of the equation? Should be a no-no shouldn't it?

Let's instead integrate both sides with respect to x in the first place

\int h(y)y'\, dx = \int g(x)\, dx

Now, notice that if H is an antiderivative of h then:

\frac d {dx} H(y) = H'(y)\frac{dy}{dx}= h(y)y'

where the first step is the chain rule. So H(y) is an antiderivative on the left side and G(x) on the right and we get:

H(y) = G(x) + C.

That is what justifies the shortcut method of separation of variables. It gives the correct answer and this shows why.
 
Last edited:

Similar threads

  • · Replies 16 ·
Replies
16
Views
4K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 7 ·
Replies
7
Views
5K
  • · Replies 13 ·
Replies
13
Views
2K
  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
7K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 9 ·
Replies
9
Views
3K