Linear Differential Equation: when x=x(y)

Click For Summary
The discussion revolves around solving the linear differential equation (x+y^2)dy=ydx, which is rewritten as dx/dy - x/y = y. The user identifies the need for an integrating factor and attempts to make the equation exact by manipulating the variables. There is confusion regarding the correct application of partial derivatives, particularly whether to use M and N in terms of y or x. The conversation also explores rewriting the equation to express it in terms of dy/dx and the implications of differentiating the ratio y/x. The thread highlights the complexities involved in correctly applying differential equation techniques.
rygza
Messages
37
Reaction score
0
(x+y^2)dy=ydx
rewrote as: dx/dy - x/y = y
Realized I had P(y)x and Q(y) rather than the P(x) and Q(x) from equations where y is a function of x. My problem now is after I multiply by the Integrating factor (-1/y):

-1 - x/(y^2) + 1/y(dx/dy)

I tried to make exact but i don't know the proper variables to use. I used

(partial derivative. M/partial deriv. x) = - 1/(y^2) = (partial N/partial y)

Is this proper? Usually for y=y(x) functions it's (partial M/partial y) but if i use that for this problem it doesn't make the equation exact. OR Am I supposed to rewrite so i have dy/dx (and then use the y=y(x) method)?
 
Last edited:
Physics news on Phys.org
How about if I write it as:

xdy+y^2dy=ydx

xdy-ydx=-y^2dy

Ok, we know:

d\left(\frac{y}{x}\right)=\frac{xdy-ydx}{x^2}

So that left side could be written as:

x^2d\left(\frac{y}{x}\right)=-y^2dy

Now what happens if I divide throughout by y^2?
 
jackmell said:
How about if I write it as:

xdy+y^2dy=ydx

xdy-ydx=-y^2dy

Ok, we know:

d\left(\frac{y}{x}\right)=\frac{xdy-ydx}{x^2}

So that left side could be written as:

x^2d\left(\frac{y}{x}\right)=-y^2dy

Now what happens if I divide throughout by y^2?

lost me on the d(y/x) = ... part
 
rygza said:
lost me on the d(y/x) = ... part

hi rygza! :smile:

i suppose you're happy with d(xy) = xdy + ydx ?

that's the equivalent of (xy)' = xy' + yx'.

ok, now start with (y/x)' = (xy' - yx')/x2,

and you get d(y/x) = (xdy - ydx)/x2.
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 1 ·
Replies
1
Views
612
  • · Replies 16 ·
Replies
16
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K