O.D.E. Question: What Do Most People Need to Think Of?

  • Thread starter Thread starter asdf1
  • Start date Start date
AI Thread Summary
The discussion revolves around solving the ordinary differential equation (O.D.E.) xy' = y^2 + y. Participants initially debate whether the equation is separable, with some confirming it is and discussing methods for integration. They explore techniques like partial fractions and logarithmic derivatives to arrive at solutions, while also clarifying that different forms of the solution can be equivalent. The conversation highlights the importance of understanding the relationship between variables and the flexibility in expressing solutions. Ultimately, they conclude that different representations of the solution can be valid, emphasizing the commonality of encountering various forms in O.D.E. problems.
asdf1
Messages
734
Reaction score
0
In this O.D.E. question,
xy`=y^2 +y
i don't think it's separable,
but I'm not sure what other steps to take...
does someone have an idea?
btw, what do most people need to think of when they encounter O.D.E. problems?
 
Physics news on Phys.org
asdf1 said:
In this O.D.E. question,
xy`=y^2 +y
i don't think it's separable,
but I'm not sure what other steps to take...
does someone have an idea?
btw, what do most people need to think of when they encounter O.D.E. problems?
It is obviously seperatable
y'/(y^2+y)=1/x
it may be helpful to write it in the form
(y^-2)y'/(1+y^-1)=1/x
I do not know what most people think when they enconter O.D.E.
I know what I think when I see this one
-This is obviously separatable
-I see logarithmic derivatives (things of form f'/f)
 
:P
sorry, my mistake!
hmm... so
dy/(y^2+y)=xdx
but how do you integrate the left side?
 
I think you mean:

\frac{{dy}}{{y^2 + y}} = \frac{{dx}}{x}

You can either do what lurflurf said, but if you don't see that you could just split in partial fractions, giving simple logarithms:

\frac{1}{{y^2 + y}} = \frac{1}{y} - \frac{1}{{y + 1}}
 
thank you very much! :)
if you want to do it using lurflurf's way, using logarithmic derivatives, how is that done?
 
This one will give logarithmes as well - since we have f'/f too - it's just that lurflurf re-wrote it in such a way that the partial fractions weren't necessary.
When you don't just "see" that like lurflurf, I suggest you do it like above.
 
ok, good suggestion~
thanks again!
 
ok, here's my work:
dy/(1+y^2 +y)=dx/x
=> [1/y-1/(y+1)]=dx/x
=> ln[absolute value (y)]- ln{absolute value [1/(y+1)]}=ln[absolute value (x)]+c`
=> ln{absolute value [y/(y+1)]}=ln[absolute value (x)]+c`
=> y/(y+1)=cx
however, the correct answer should be y=x/(c-x)
does anybody know where my calculations went wrong?
 
asdf1 said:
ok, here's my work:
dy/(1+y^2 +y)=dx/x
=> [1/y-1/(y+1)]=dx/x
=> ln[absolute value (y)]- ln{absolute value [1/(y+1)]}=ln[absolute value (x)]+c`
=> ln{absolute value [y/(y+1)]}=ln[absolute value (x)]+c`
=> y/(y+1)=cx
however, the correct answer should be y=x/(c-x)
does anybody know where my calculations went wrong?
Those are the same, one is in terms of x and one y and their constants are multiplicative inverses, but they represent the same family of solutions.
 
  • #10
@@a
that idea is new to me, so I'm still in a little surprised state~
you mean you can flip-flop the x and y variables?
but i thought that you can start out with same x and y variable in the same state, so it shouldn't be alright to flip-flop them? (i mean if you double-checked that O.D.E by using the v=y/x substitution, you start out at the same step, because that ends up with the original answer...)
 
  • #11
asdf1 said:
@@a
that idea is new to me, so I'm still in a little surprised state~
you mean you can flip-flop the x and y variables?
but i thought that you can start out with same x and y variable in the same state, so it shouldn't be alright to flip-flop them? (i mean if you double-checked that O.D.E by using the v=y/x substitution, you start out at the same step, because that ends up with the original answer...)
I don't mean interchange them. I mean solving either equation for the other variable gives the other equation. The constants are multiplicative inverses so I will use c and c' to represent them.
y/(y+1)=cx
(y+1)/y=1/(cx)
1+1/y=1/(cx)
1/y=1/(cx)-1
y=1/(1/(cx)-1)
y=cx/(1-cx)
y=x/(1/c-x)
y=x/(c'-x)
ditto reverse
y=x/(c'-x)
y=x/(1/c-x)
y=cx/(1-cx)
y=1/(1/(cx)-1)
1/y=1/(cx)-1
1+1/y=1/(cx)
(y+1)/y=1/(cx)
y/(y+1)=cx
 
  • #12
i see now...
thank you very much! :)
 
  • #13
by the way, that's amazing!
how'd you think of doing it that way?
 
  • #14
He just solved y/(y+1)=cx for y, which is obviously what you're after.
If you solve it you get:

y=\frac{cx}{1-cx}=\frac{x}{1/c-x}
Now 1/c is just as arbitrary a variable as c, so it doesn't matter which one you use. You could introduce a new variable c'=1/c and you have the solution in the same form as the book.
 
  • #15
asdf1 said:
by the way, that's amazing!
how'd you think of doing it that way?
It is very common in working a differential equation to find answers that very in form. It is traditional to consider the variable differented (y in the question as asked) to be the dependent variable and express the answer as that variable as function a function of the other when it is easily done. When confronted with two answer that are not immediately seen to be equivalent there are a few things that can be done
-If it is know that each has the form of the most general solution (with possible exceptions for singular solutions) checking that each satisfys the original question is sufficient.
-one may do as I have done and reduce one two the form of the other (it is possible that one form is more general than the other if some steps in such a reduction are not reversible)
-substitute one equation into the other and show an identity results.

In this particular case I saw by your work that you were likely correct (My answer mached the other form). I then made doubly sure my checking your equation in the original equation. Convinced that you were correct I set about reducing each equation to the other, as I knew getting the same answer in different forms is a common occurance.
 
  • #16
wow~ thank you very much! :)
 
Back
Top