Algebra of Differential Equation

kathrynag
Messages
595
Reaction score
0
I need to solve dy/dx=(y-1)^2
dy/(y-1)^2=dx
dy/u^2=x+c
-u^-1=x+c
-1/y-1=x+c
-1=(x+c)(y-1)
y-1=-1/(x+c)
y=(x+c-1)/(x+c)
y(0)=1
1=c-1/c
1=1-1/c
I don't know where my algebra is messing up?
 
Physics news on Phys.org
Are you sure about your initial condition y(0) = 1? My work is the same as yours. If you look at the graph of y = 1 - 1/(x + c), there is a vertical asymptote at x = -c, and a horizontal asymptote for the line y = 1. No matter what c is, y will never equal 1.
 
Yes, the initial condition is y(0)=1. I have looked in the back of the book and the answer is in fact y=1.
 
Yep, that works. To take this into account, we need to look at this step:
dy/(y - 1)^2 = dx
The left side is defined only if y is not 1. If y = 1, the differential equation is y' = 0, so y = K. With your initial condition, this gives y(x) = 1.

For any other initial condition, y(x) is as you had it.
 
Ok, I guess that makes sense, but I was hoping I could solve it algebraically.
 
Isn't y' = 0 ==> y = K algebraic enough for you? I wouldn't describe this as an "algebraic" solution, though. This is a very simple differential equation, and its solution is equally simple.
 
Prove $$\int\limits_0^{\sqrt2/4}\frac{1}{\sqrt{x-x^2}}\arcsin\sqrt{\frac{(x-1)\left(x-1+x\sqrt{9-16x}\right)}{1-2x}} \, \mathrm dx = \frac{\pi^2}{8}.$$ Let $$I = \int\limits_0^{\sqrt 2 / 4}\frac{1}{\sqrt{x-x^2}}\arcsin\sqrt{\frac{(x-1)\left(x-1+x\sqrt{9-16x}\right)}{1-2x}} \, \mathrm dx. \tag{1}$$ The representation integral of ##\arcsin## is $$\arcsin u = \int\limits_{0}^{1} \frac{\mathrm dt}{\sqrt{1-t^2}}, \qquad 0 \leqslant u \leqslant 1.$$ Plugging identity above into ##(1)## with ##u...
Back
Top