Is there a mistake in dividing differentials for this equation?

  • Context: Graduate 
  • Thread starter Thread starter inglezakis
  • Start date Start date
  • Tags Tags
    Differentials
Click For Summary

Discussion Overview

The discussion revolves around the manipulation of differential equations, specifically the equation dx + ydy = 0, and the implications of dividing by different variables or functions. Participants explore the consequences of imposing constraints, such as y/x = constant, and how these affect the solutions derived from the equations. The scope includes theoretical reasoning and mathematical exploration.

Discussion Character

  • Exploratory
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • One participant presents the differential equation dx + ydy = 0 and questions the validity of solutions obtained by dividing by x or y.
  • Another participant argues that the assumption y/x = constant is false, suggesting that this leads to incorrect conclusions.
  • A participant challenges the assertion that the assumption is wrong, stating that the equation can still be solved and represents a physical system.
  • Concerns are raised about the validity of dividing by functions, with examples provided that show different solutions arising from such manipulations.
  • Some participants assert that dividing by arbitrary functions is permissible, while others caution against dividing by different functions simultaneously.
  • There is a discussion about the implications of constraints on the solutions of the differential equations, particularly when introducing conditions like xy = a.

Areas of Agreement / Disagreement

Participants express differing views on the validity of the assumption y/x = constant and the implications of dividing by functions in differential equations. There is no consensus on whether the assumption is correct or the conditions under which division is permissible.

Contextual Notes

Participants highlight that dividing by certain functions can lead to different equations and solutions, raising questions about the conditions under which such operations are valid. The discussion remains unresolved regarding the implications of these manipulations.

inglezakis
Messages
6
Reaction score
0
Consider the differential equation

dx+ydy=0, the integration leads to (x2-x1)+(y2^2-y1^2)/2=0 (1)

Suppose we know that y/x = const.

Lest proceed to the following manipulation on the initial equation, by dividing by (x), then

dx/x+(y/x)dy=0, now the integration gives ln(x2/x1)+(y/x)*(y2-y1) (2)

Correct? Well solutions (1) and (2) are different, i.e. for the same set of x1,x2,y1 they give different values of y2.

Where is the mistake?
 
Physics news on Phys.org
Hi !
You suppose that y/x = const.
This supposition is false. So, all consequences of the supposition are false.
 
And why the supposition is wrong?
 
The condition y/x=constant means y=ax.
Thus dx + ydy = dx + ax*adx = dx + a^2 xdx = (1+a^2 x)dx = 0

But this means that (1 + a^2 x)=0, so x is not a variable: your constraint converted a differential equation anto an algebraic equation.
 
The point of my question is that when we divide a differential equation by a function or variable we result in different solution (not always). Take the example:

ydx+ydy=0, constaint: xy=a

By substituting x with y/a and after some manipulations we arrive to

(-a/y)dy+ydy=0 and on integration we have -aln(y2/y1)+(y2^2-y1^2)/2=0

Suppose we divide the original equation by y. We have

dx+dy=0 and then the solution is (x2-x1) + (y2-y1) =0 (the constraint is eliminated by eliminating y)

Or, we divide by (y^2), we have

dx/y+dy/y=0 and the solution is (x2^2-x1^2)/2a+ln(y2/y1)=0

Here the constraint is needed in order to substitute y for x in the dx term.

So, by dividing the original equation we arrive in different solutions. I don't have the space here, but it can be shown that the 3 solutions above converge for small (x1-x2). Anyway, the issue is when and under what condition we are allowed to divide the differential equation, the purpose being to arrive in the same solution.
 
inglezakis said:
Take the example:
ydx+ydy=0, constaint: xy=a
By substituting x with y/a and after some manipulations we arrive to
(-a/y)dy+ydy=0

You suppose x=y/a , then :
dx = dy/a
y(dy/a)+ydy=0
Mistake : you wrote (-a/y)dy+ydy=0
 
But you are _not_ dividing by an arbitrary function, or even a specified function; you are imposing a _constraint_ on the solutions. In this case your original equation,

ydx + ydy=0 is the same as dx + dy=0 which integrates to x+y=c - a line with slope of -1.

But then you impose a constraint: xy=a, which is a hyperbolic constraint. This will give you a solution space with at most two points which vary with the parameter a and the boundary conditions which fix c.

You should sit down with your instructor; you have a misconception at work here which is detrimental to your progress.
 
Hi inglezakis !

One must not beat around the bush:
The solutions of dx+ydy=0 are x=-y²/2 +constant. You can check it by puting it back into dx+ydy=0.
If you suppose y/x=c then x=y/c which is not equal to -y²/2 + constant. The supposition is false. That's all.
 
Hi JJacquelin,

i don't think the supposition is wrong. You can still solve the equation and get the result. By the way, this equation represents a physical system (fluid flow) and i know that is true and the solution is correct. The target of the question is to find out what happens to a differential equation when we divide it with y^2, or in general with a function. I know that this is permitted, there is no rule, unless the function is zero. But as you can see (you can check other examples) when you start dividing by a condition then you arrive with a different equation and so, the solutions are different. This is the point
 
  • #10
Yes, and I explained what is happening!

Of course you can divide/multiply by an arbitrary function ... that is what you do with integrating factors.
 
  • Like
Likes   Reactions: 1 person
  • #11
The constraint in the example we discuss is, xy=a, so f(x)=y=a/x and thus it is a function. What you mean by arbitrary function?

Lets say you don't eliminate y and you use the constraint to solve the equation:

ydx+ydy=0, constaint: xy=a

By substituting x with a/y and after some manipulations we arrive to

(-a/y)dy+ydy=0 and on integration we have -aln(y2/y1)+(y2^2-y1^2)/2=0

Fine, this is straightforward and clear. But, if you first divide by y and then introduce the constraint you arrive in a different equation, by dividing by y^2 another and so on.
 
  • #12
Good bye!
 
  • #13
Thats a good answer indeed.
 
  • #14
Of course one can divide by an arbitrary function.
For example, starting from dx+ydy=0 :
one can divide by y, leading to the correct equation : dx/y+dy=0
or one can divide by ax, leading to the correct equation : dx/(ax)+ydy/(ax)=0
But one cannot divide by two different functions, for example dividing the first term by ax and dividing the second term by y:
dx/(ax)+ydy/y=0 is false.
because supposing that y=ax is the big mistake !
Of course, one is allowed to say "I suppose that y=ax" when one doesn't know. But as soon as it is prouved that y is not equal to ax, one must admit that the supposition was false.
 
Last edited:
  • Like
Likes   Reactions: 1 person
  • #15
I just see the message #11 from inglezakis !
Good bye inglezakis !
That is also my good answer indeed.
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
7
Views
2K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K