Author Topic: (y-1) dx + x(x+1) dy = 0 stuck  (Read 5344 times)

0 Members and 1 Guest are viewing this topic.

Offline J4e8a16nTopic starter

  • Regular Contributor
  • *
  • Posts: 222
  • Country: ca
    • Jean Pierre Daviau
(y-1) dx + x(x+1) dy = 0 stuck
« on: July 08, 2015, 09:36:42 pm »
Hi,

Is there someone to solve this?

answer :  xy+1  =  C (x+1)
my answer   C(x+1) = x(y+1)

(y-1) dx  +  x(x+1) dy = 0
x(x+1) dy = - (y-1) dx = (1-y) dx
Exact? no pcq  partial  (y-1) dx/partial dy = 0
1/x(x+1) dx  +  1/(y-1) dy = 0
1/x * 1/(x+1) dx  +  1/(y-1) dy = 0

Separable? 
1/x * 1/(x+1) dx   = - 1/(y-1) dy
1/(x+1) dx   = - x *  dy/(y-1)
1/(x+1) dx   = x *  dy/(y+1)

u1  = x+1
du1 = 1 dx
 
 u2  = y+1
du2 = 1 dy

 du1/u1 = x* du2/u2
ln|u1|  + ln|c|  =  x * ln|u2| + ln|c|
ln|u1| + ln|c|  =  x * ln|u2|
C(x+1) = x(y+1)

Non separable?

Thanks,

JP
Equipment Fluke, PSup..5-30V 3.4A, Owon SDS7102, Victor SGenerator,
Isn't this suppose to be a technical and exact science?
 

Offline SL4P

  • Super Contributor
  • ***
  • Posts: 2318
  • Country: au
  • There's more value if you figure it out yourself!
Re: (y-1) dx + x(x+1) dy = 0 stuck
« Reply #1 on: July 08, 2015, 09:54:35 pm »
Aren't you supposed to observe the (precedence) !?
Don't ask a question if you aren't willing to listen to the answer.
 

Offline onlooker

  • Frequent Contributor
  • **
  • Posts: 395
Re: (y-1) dx + x(x+1) dy = 0 stuck
« Reply #2 on: July 08, 2015, 11:40:14 pm »
Your C(x+1) = x(y+1) should really be C(x+1) = x(y-1). Then, it is the same as xy+1  =  C (x+1), except your C is not their C (differ by 1).
« Last Edit: July 08, 2015, 11:41:48 pm by onlooker »
 

Offline J4e8a16nTopic starter

  • Regular Contributor
  • *
  • Posts: 222
  • Country: ca
    • Jean Pierre Daviau
Re: (y-1) dx + x(x+1) dy = 0 stuck
« Reply #3 on: July 09, 2015, 01:04:16 am »
answer :  xy+1  =  C (x+1)
C(x+1) = x(y-1)
C(x+1) = xy-y

For the minus sign
I thought 
- 1/(y-1) dy
  1/(y+1)  dy


Equipment Fluke, PSup..5-30V 3.4A, Owon SDS7102, Victor SGenerator,
Isn't this suppose to be a technical and exact science?
 

Offline JacquesBBB

  • Frequent Contributor
  • **
  • Posts: 829
  • Country: fr
Re: (y-1) dx + x(x+1) dy = 0 stuck
« Reply #4 on: July 09, 2015, 08:25:23 am »
Just separate the variables

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

then 1/(x(x+1)) = 1/x-1/(x+1)

thus by integrating

Log(y-1) = C+Log(x+1) - Log(x)

and

y = C(1+1/x) +1
 

Offline J4e8a16nTopic starter

  • Regular Contributor
  • *
  • Posts: 222
  • Country: ca
    • Jean Pierre Daviau
Re: (y-1) dx + x(x+1) dy = 0 stuck
« Reply #5 on: July 09, 2015, 12:02:17 pm »
Just separate the variables

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

then 1/(x(x+1)) = 1/x-1/(x+1)

thus by integrating

Log(y-1) = C+Log(x+1) - Log(x)

and

y = C(1+1/x) +1

I don't get that   x-1   
Quote
then 1/(x(x+1)) = 1/x-1/(x+1)

Equipment Fluke, PSup..5-30V 3.4A, Owon SDS7102, Victor SGenerator,
Isn't this suppose to be a technical and exact science?
 

Offline JacquesBBB

  • Frequent Contributor
  • **
  • Posts: 829
  • Country: fr
Re: (y-1) dx + x(x+1) dy = 0 stuck
« Reply #6 on: July 09, 2015, 12:32:32 pm »

I don't get that   x-1   
Quote
then 1/(x(x+1)) = 1/x-1/(x+1)
[/quote]

You have to integrate  dx/(x(x+1))

for this the classical way  is to decompose in simple elements. Here it is easy as we have only simple poles.
and

1/(x*(x+1)) = 1/x  - 1/(x+1)

to verify it, just compute by reduction to the same denominator

1/x  - 1/(x+1) = (x+1 -x)/(x*(x+1))

Is it more clear ?
 

Offline J4e8a16nTopic starter

  • Regular Contributor
  • *
  • Posts: 222
  • Country: ca
    • Jean Pierre Daviau
Re: (y-1) dx + x(x+1) dy = 0 stuck
« Reply #7 on: July 09, 2015, 12:58:48 pm »
1/(x*(x+1)) = 1/x  - 1/(x+1)

why is there a negative sign?

1/x  *  1 / x+1
do you mean
ln|x| + ln|x+1| +C
ln|x| = - ln|x+1| +C
?
Equipment Fluke, PSup..5-30V 3.4A, Owon SDS7102, Victor SGenerator,
Isn't this suppose to be a technical and exact science?
 

Online Andy Watson

  • Super Contributor
  • ***
  • Posts: 2117
Re: (y-1) dx + x(x+1) dy = 0 stuck
« Reply #8 on: July 09, 2015, 01:27:13 pm »
1/(x*(x+1)) = 1/x  - 1/(x+1)

why is there a negative sign?
It's also know as partial fractions. Put 1/x and -1/(x+1) over a common denominator and add them together - you should arrive at the original equation 1/(x(x+1)).
 

Online IanB

  • Super Contributor
  • ***
  • Posts: 12353
  • Country: us
Re: (y-1) dx + x(x+1) dy = 0 stuck
« Reply #9 on: July 09, 2015, 02:50:11 pm »
answer :  xy+1  =  C (x+1)
C(x+1) = x(y-1)
C(x+1) = xy-y?

You really need to pay attention to details.

x(y-1) = xy - x


Quote
For the minus sign
I thought 
- 1/(y-1) dy
  1/(y+1)  dy

Why would you think that?

- (y-1) = -y - (-1) = -y + 1 = (1-y)

Therefore:

- 1/(y-1) = 1/(1-y)
 

Offline J4e8a16nTopic starter

  • Regular Contributor
  • *
  • Posts: 222
  • Country: ca
    • Jean Pierre Daviau
Re: (y-1) dx + x(x+1) dy = 0 stuck
« Reply #10 on: July 09, 2015, 07:25:03 pm »
Thanks. So we are there..
answer :     xy+1  =  C (x+1)
my answer:x(1-y) =  C(x+1)


The idea is to find wich one of the methods solves the equation:
Linear, Exact, Separable, Integrating factor, Continuous, Bernouilli

I think we have taken of  Exact and separable.
« Last Edit: July 09, 2015, 07:30:42 pm by J4e8a16n »
Equipment Fluke, PSup..5-30V 3.4A, Owon SDS7102, Victor SGenerator,
Isn't this suppose to be a technical and exact science?
 

Online IanB

  • Super Contributor
  • ***
  • Posts: 12353
  • Country: us
Re: (y-1) dx + x(x+1) dy = 0 stuck
« Reply #11 on: July 09, 2015, 07:56:45 pm »
Thanks. So we are there..
answer :     xy+1  =  C (x+1)
my answer:x(1-y) =  C(x+1)

You need to show that "xy + 1 = C(x+1)" is the same as "x(1-y) = C(x+1)". Can you do that?
 

Offline J4e8a16nTopic starter

  • Regular Contributor
  • *
  • Posts: 222
  • Country: ca
    • Jean Pierre Daviau
Re: (y-1) dx + x(x+1) dy = 0 stuck
« Reply #12 on: July 09, 2015, 09:52:43 pm »
Well, both are equal to C(x+1),  but I am not supposed to know the answer.  ;o)


Jean
Equipment Fluke, PSup..5-30V 3.4A, Owon SDS7102, Victor SGenerator,
Isn't this suppose to be a technical and exact science?
 

Online IanB

  • Super Contributor
  • ***
  • Posts: 12353
  • Country: us
Re: (y-1) dx + x(x+1) dy = 0 stuck
« Reply #13 on: July 09, 2015, 09:59:58 pm »
If your answer is different from the correct answer, then your answer is not correct.

If your answer is not correct then you have not solved the problem.
 

Offline J4e8a16nTopic starter

  • Regular Contributor
  • *
  • Posts: 222
  • Country: ca
    • Jean Pierre Daviau
Re: (y-1) dx + x(x+1) dy = 0 stuck
« Reply #14 on: July 10, 2015, 12:42:59 am »
Right
Equipment Fluke, PSup..5-30V 3.4A, Owon SDS7102, Victor SGenerator,
Isn't this suppose to be a technical and exact science?
 

Offline JacquesBBB

  • Frequent Contributor
  • **
  • Posts: 829
  • Country: fr
Re: (y-1) dx + x(x+1) dy = 0 stuck
« Reply #15 on: July 10, 2015, 08:44:19 am »
Thanks. So we are there..
answer :     xy+1  =  C (x+1)
my answer:x(1-y) =  C(x+1)

I  gave you the proper answer above  (y = C(1+1/x) +1) and the way to compute it.
this is  equivalent (for x non zero ) to
(y-1)x = C(1+x)

Now you can take any value of the constant C. If we use C=-C',
we obtain
(1-y)x = C'(1+x)
which is  one of the solution you find.

If you take C=C''-1
You obtain

xy+1  =  C''(x+1)

which is the  other solution you mention. They are all solutions, and just correspond to different values of the constant.


 

Offline J4e8a16nTopic starter

  • Regular Contributor
  • *
  • Posts: 222
  • Country: ca
    • Jean Pierre Daviau
Re: (y-1) dx + x(x+1) dy = 0 stuck
« Reply #16 on: July 10, 2015, 01:10:40 pm »
thank you so much for your patience.

I get it.

partial fraction
Equipment Fluke, PSup..5-30V 3.4A, Owon SDS7102, Victor SGenerator,
Isn't this suppose to be a technical and exact science?
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf