
i found this at www.sosmath.com. it''s called integrating factor method
if diff eq. is something like:
a(x)dy/dx + b(x)y = c(x), we rewrite this as:
dy/dx + p(x)y = q(x), where p(x) = b(x)/a(x) and q(x) = c(x)/a(x)
then u "can" do integrating factor (called I,u(x), whatever)
u(x) = e^(INT[p(x)dx]), while the general solution is
y = (INT[u(x)q(x)dx] + C) / u(x)
as i see it the second method is called seperable variables, where u put all y-based variables on one side, and x''s on the other.
so from our equation: dy/dx(x-1) = y(x+1) ->
dy/y = (x+1)/(x-1)dx, now we integrate each part
INT[dy/y] = ln[y]
INT[(x+1)/(x-1)dx] = x + 2ln[x-1]
so,
ln[y] = x + 2ln[x-1]
here i get a bit confuesed... we have to "ditch" the log''s, right?
so, y = e^(x+2ln[x-1]) ?
now, both methods should yield same results or what? do they?

to test if y is correct, we have to do a derivation of it, right?
y'' = (e^(x+2ln[x-1]))''
(e^x)'' = e^x, since x in this case is (x+2ln[x-1]), we have to derivate this too? so, y'' = e^(x+2ln[x-1]) * (x+2ln[x-1])'' ->
x'' + (2ln[x-1])'' -> 1 + ???
how to derivate 2ln[x-1] ?