Stuck with integration of differential equation by seperation of variables

  • #1
21
0

Homework Statement



dy/dx=-ylny/x initial conditions y(x=1)=1

express answer in the form f(x,y)=0

Homework Equations



The Attempt at a Solution



i let u=ln y

du/dy=1/y

y*du=dy

subbing into equation gives int(y/yu du)=-int dx

which is equal to int(1/u du)=-int(1/x) dx

ln (u)=-ln (x) +c

subbing back in for u gives ln(ln (y))=-ln (x)+c

ln (y)=1/x +c

when x= 1 y=1

ln(1)=1/1 +c

0=1+c

c=-1

equation becomes ln(ln(y))=-ln(x)+c

rearranging (here I am concerned that i make a mistake but I am not sure)

ln(ln(y))+ln(x)+1=0

thank you for your time

dooogle
 
  • #2
It looks like you used c to mean two different things near the end. You need to fix that.

You could solve for y explicitly in terms of x and plug that back into the original equation to verify it's a solution.
 

Suggested for: Stuck with integration of differential equation by seperation of variables

Replies
11
Views
381
Replies
9
Views
586
Replies
10
Views
257
Replies
4
Views
233
Replies
2
Views
395
Replies
21
Views
840
Replies
7
Views
521
Back
Top