Solve Separable Diff. Eqn.: (y-1)dx+x(x+1)dy=0

  • Thread starter Thread starter Arman777
  • Start date Start date
  • Tags Tags
    Separable
Click For Summary
The discussion revolves around solving the separable differential equation (y-1)dx + x(x+1)dy = 0. The user attempts to simplify the equation by multiplying through by 1/((y-1)x(x+1)), leading to the integral form ln(x) - ln(x+1) + ln(y-1) = ln(c). A discrepancy arises when comparing their solution, xy - x = c(x + 1), with the book's solution, xy + 1 = c(x + 1). It is clarified that both solutions are equivalent with a different constant choice, specifically by substituting c - 1 for c. The user acknowledges the mistake and confirms their approach was correct.
Arman777
Insights Author
Gold Member
Messages
2,163
Reaction score
191

Homework Statement


##(y-1)dx+x(x+1)dy=0##

Homework Equations

The Attempt at a Solution


[/B]
I multiplied both equation with, ##\frac {1} {(y-1)x(x+1)}## so I get
##\frac {dx} {x(x+1)}+\frac {dy} {y-1}=0##
taking integral for both sides
then I get
##ln(x)-ln(x+1)+ln(y-1)=ln(c)##
so
##ln(\frac {x(y-1)} {x+1})=ln(c)##
then I get ##xy-x=c(x+1)##

Anyone who can notice where I am doing wrong ?
 
Physics news on Phys.org
Arman777 said:

Homework Statement


##(y-1)dx+x(x+1)dy=0##

Homework Equations

The Attempt at a Solution


[/B]
I multiplied both equation with, ##\frac {1} {(y-1)x(x+1)}## so I get
##\frac {dx} {x(x+1)}+\frac {dy} {y-1}=0##
taking integral for both sides
then I get
##ln(x)-ln(x+1)+ln(y-1)=ln(c)##
so
##ln(\frac {x(y-1)} {x+1})=ln(c)##
then I get ##xy-x=c(x+1)##

Anyone who can notice where I am doing wrong ?

What makes you think something is wrong?
 
Dick said:
What makes you think something is wrong?
Im my book it says ##xy+1=c(x+1)## also in wolfram
 
Arman777 said:
Im my book it says ##xy+1=c(x+1)## also in wolfram

It's the same solution with a different choice of ##c##. Substitute ##c-1## for ##c## in your solution and you'll get the book solution.
 
fresh_42 said:
The multiplication by ##\frac {1} {(y-1)x(x+1)}## affects the differentials. You cannot treat it as a constant.

Hmm? In what way does it affect the differentials?
 
Dick said:
Hmm? In what way does it affect the differentials?
I made a mistake, sorry.
 
fresh_42 said:
I made a mistake, sorry.

It happens. No problem.
 
Dick said:
It's the same solution with a different choice of ##c##. Substitute ##c-1## for ##c## in your solution and you'll get the book solution.
So, I did right then Since ##c-1## and ##c## are same.
 
Arman777 said:
So, I did right then Since ##c-1## and ##c## is same.

RIght.
 
  • Like
Likes Arman777

Similar threads

  • · Replies 14 ·
Replies
14
Views
2K
Replies
4
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
Replies
4
Views
2K
  • · Replies 8 ·
Replies
8
Views
1K
Replies
14
Views
10K
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 5 ·
Replies
5
Views
1K