Trouble with a separable differential equation

eric_999
Messages
8
Reaction score
0
I have this equation: dy/dx = 1-y^2, so then dy/(1-y^2) = dx, so ∫dy/(1-y^2) = dx --->
∫(A/(1+y) + B/(1-y))dy = x + C. I rewrite it again: (A - Ay + B + By)/(1+y)(1-y) = 1/(1+y)(1-y) so I get A+B = 1, and B-A = 0, so B = A, and therefore 2A = 1. so A & B = 1/2.

So 1/2∫(dy/(1+y) + 1/2∫dy/(1-y) = x + C ---> 1/2(ln|1+y| -ln|1-y|) = x + C ---> ln(|1+y|/|1-y|) = 2x + 2c = 2x + C, since C is arbitrary. At last I get |1+y|/|1-y| = e^(2x + c) ?=? |(1+y)/(1-y)| = e^(2x + C). How do I solve for y? Do Ihave to split it up into two separate cases, one when (1+y)/1-y) = e^(2x +C) and one where -(1+y)/(1-y) = e^(2x + C), or is this whole method simply just wrong?


Please help me out!
 
Physics news on Phys.org
eric_999 said:
I have this equation: dy/dx = 1-y^2, so then dy/(1-y^2) = dx, so ∫dy/(1-y^2) = dx --->
∫(A/(1+y) + B/(1-y))dy = x + C. I rewrite it again: (A - Ay + B + By)/(1+y)(1-y) = 1/(1+y)(1-y) so I get A+B = 1, and B-A = 0, so B = A, and therefore 2A = 1. so A & B = 1/2.

So 1/2∫(dy/(1+y) + 1/2∫dy/(1-y) = x + C ---> 1/2(ln|1+y| -ln|1-y|) = x + C ---> ln(|1+y|/|1-y|) = 2x + 2c = 2x + C, since C is arbitrary. At last I get |1+y|/|1-y| = e^(2x + c) ?=? |(1+y)/(1-y)| = e^(2x + C). How do I solve for y? Do Ihave to split it up into two separate cases, one when (1+y)/1-y) = e^(2x +C) and one where -(1+y)/(1-y) = e^(2x + C), or is this whole method simply just wrong?Please help me out!

You have <br /> \left|\frac{1 + y}{1 - y}\right| = Ae^{2x}.<br /> You will need to deal with the cases y &lt; -1, -1 &lt; y &lt; 1 and y &gt; 1 separately.
 
Hmm, so if I have |(1+y)/(1-y)|, and I consider case 1, where -1<y<1 I get that |1+y| > 0 and |1-y|> 0, so the whole expression is positive, so then A must be > 0. So then I guess I have (1+y) = (1-y)Ae^2x, so y + yAe^2x = Ae^2x - 1, so y(1 +Ae^2x) = Ae^2x -1 so y = (Ae^2x -1)/(Ae^2x + 1).

When y<-1, (1+y) < 0, so I can write it like|1+y| = -(1+y). (1-y) on the other hand is positive, so |1-y| = (1-y), so then i have -(1+y) = (1-y)Ae^2x, so 1+y = -(Ae^2x - yAe^2x) ---> y = yAe^2x -Ae^2x -1, so y(1-Ae^2x) = -Ae^2x -1 ---> y = -(Ae^2x +1)/-(Ae^2x -1) = (Ae^2x +1)/Ae^2x -1). I dunno, in the book, they say I am going to get y = +1, y = -1, and y = (Ae^2x -1)/(Ae^2x + 1). I can't see how they get y = +-1!
 
Hmm, so if I have |(1+y)/(1-y)|, and I consider case 1, where -1<y<1 I get that |1+y| > 0 and |1-y|> 0, so the whole expression is positive, so then A must be > 0. So then I guess I have (1+y) = (1-y)Ae^2x, so y + yAe^2x = Ae^2x - 1, so y(1 +Ae^2x) = Ae^2x -1 so y = (Ae^2x -1)/(Ae^2x + 1).

When y<-1, (1+y) < 0, so I can write it like|1+y| = -(1+y). (1-y) on the other hand is positive, so |1-y| = (1-y), so then i have -(1+y) = (1-y)Ae^2x, so 1+y = -(Ae^2x - yAe^2x) ---> y = yAe^2x -Ae^2x -1, so y(1-Ae^2x) = -Ae^2x -1 ---> y = -(Ae^2x +1)/-(Ae^2x -1) = (Ae^2x +1)/Ae^2x -1). I dunno, in the book, they say I am going to get y = +1, y = -1, and y = (Ae^2x -1)/(Ae^2x + 1). I can't see how they get y = +-1!
 
eric_999 said:
Hmm, so if I have |(1+y)/(1-y)|, and I consider case 1, where -1<y<1 I get that |1+y| > 0 and |1-y|> 0, so the whole expression is positive, so then A must be > 0. So then I guess I have (1+y) = (1-y)Ae^2x, so y + yAe^2x = Ae^2x - 1, so y(1 +Ae^2x) = Ae^2x -1 so y = (Ae^2x -1)/(Ae^2x + 1).

When y<-1, (1+y) < 0, so I can write it like|1+y| = -(1+y). (1-y) on the other hand is positive, so |1-y| = (1-y), so then i have -(1+y) = (1-y)Ae^2x, so 1+y = -(Ae^2x - yAe^2x) ---> y = yAe^2x -Ae^2x -1, so y(1-Ae^2x) = -Ae^2x -1 ---> y = -(Ae^2x +1)/-(Ae^2x -1) = (Ae^2x +1)/Ae^2x -1). I dunno, in the book, they say I am going to get y = +1, y = -1, and y = (Ae^2x -1)/(Ae^2x + 1). I can't see how they get y = +-1!

dy/dx = 0 when y = \pm 1.
 
Back
Top