jjr
- 51
- 1
Homework Statement
The problem is from Walter Gautschi - Numerical Analysis, exercise 5.1.
Consider the initial value problem
\frac{dy}{dx}=\kappa(y+y^3), 0\leq x\leq1; y(0)=s
where \kappa > 0 (in fact, \kappa >> 1) and s > 0. Under what conditions on s does the solution y(x) = y(x;s) exist on the whole interval [0,1]? {Hint: find y explicitly.}
The Attempt at a Solution
Following the hint, I tried solving it as a separable differential equation:
\frac{dy}{y+y^3} = \kappa dx
(Using wolframalpha here)
log(y) - \frac{1}{2}log(y^2+1) = \kappa x
10^{log(y)-\frac{1}{2}log(y^2+1)} = 10^{\kappa x}
Ending up with
\frac{y}{2} + \frac{1}{2y} = 10^{-\kappa x}
Not sure how to solve this, so used wolframalpha again and got:
y = 10^{-\kappa x} \pm \sqrt{10^{-2 \kappa x} - 1}
Evidently y(0) = 1, which means that s has to be equal to 1.
This doesn't seem right to me. Especially considering the work needed to find y explicitly, seeing as how this is not a course in differential equations. So what I am missing here?