New to mathematica: Question about solving differential eqs

*To*: mathgroup at smc.vnet.net*Subject*: [mg74664] New to mathematica: Question about solving differential eqs*From*: traz <t_raz at yahoo.com>*Date*: Fri, 30 Mar 2007 02:59:29 -0500 (EST)

Whenever I try to solve differential equations in mathematica, I get a solution with an imaginary part different from the solution in a text book. For example: DSolve[{y'[x] == y[x] + y[x]^3}, y, x] will give me a solution that has an imaginary part and not the one I expect here from the text book: {+(Ce^(-2x)-1)^(-1/2), -(Ce^(-2x)-1)^(-1/2)} Can anyone give me a tip on how to do this? Also does anyone know of an online tuttorial that goes into details a little bit?