I don't know what's C8 and should I just take the (-exp(2*C8 + 2*t)/(exp(2*C8 + 2*t) - 1))^(1/2) as the correct solution?
Yes? No?
C8 represents a constant needed to represent a boundary condition.
dx = diff(x)
dx(t) =
eqn = dx == x(t)+(x(t))^3
eqn(t) =
X = simplify(dsolve(eqn, x(0)==x0))
X =
subs(X,t,0)
ans =
Oh dear, that loses the sign. What happens if x0 was negative?
Xneg = dsolve(eqn, x(0)==-2)
Warning: Unable to find symbolic solution.
Xpos = simplify(dsolve(eqn, x(0)==2))
Xpos =
The larger the boundary condition, the smaller the distance until the singularity. For small enough boundary conditions, the distance to the singularity is approximately -log(sqrt(x0)) -- for boundary conditions of the form 1/N for large enough N, that would be very close to log(sqrt(N))
Best Answer