Implicit and explicit solution for a given initial-value problem

  • Thread starter Thread starter Cheruby
  • Start date Start date
  • Tags Tags
    Explicit Implicit
Cheruby
Messages
3
Reaction score
0
The equation is:
x2 dy/dx= y - xy
IC (initial conditions): y(-1) = -1 (This is used to solve for C)
Must first separate the variables x and y and then integrate them and solve for y, but I got stuck...

x2dy = (y - xy)dx
x2dy = y(1-x)dx
dy= y(1-x)dx/x2 <-- not sure what to do with the y now... I figure I could divide everything by y so I could bring it to the left side but the right side would have dx/y

The answer is y = e-(1+1/x)/x
 
Last edited:
Physics news on Phys.org
Cheruby said:
The equation is:
x2 dy/dx= y - xy
IC (initial conditions): y(-1) = -1 (This is used to solve for C)
Must first separate the variables x and y and then integrate them and solve for y, but I got stuck...

x2dy = (y - xy)dx
x2dy = y(1-x)dx
dy= y(1-x)dx/x2 <-- not sure what to do with the y now... I figure I could divide everything by y so I could bring it to the left side but the right side would have dx/y

The answer is y = e-(1+1/x)/x

You are doing it right, but when you divide by Y you will have dy/y, and that is perfectly acceptable. The right side you will have (1-x)/x^2 dx. Then integrate both sides.
 
Jackx said:
You are doing it right, but when you divide by Y you will have dy/y, and that is perfectly acceptable. The right side you will have (1-x)/x^2 dx. Then integrate both sides.

But wouldn't the right side have dx/y? That's why I'm stuck, I'm not sure if it's acceptable!
 
dx can be treated as just another factor on the right side. So since they are all factors when you divide by y the y just goes away on the right side.

Now if it was y + (whatever)dx, then yes if you divided by y you would have a dx/y.
 
Alright thank you Jackx
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top