- #1
Theia
- 122
- 1
Hi
I am trying to understand numerical analysis on my freetime and today I studyed how to solve \(\displaystyle y' = \frac{x^2}{1 + y\sin (y^2)}\), with initial value \(\displaystyle y(0) = 0\). I asked myself two simple questions: What is \(\displaystyle y(1.5)\) and what is \(\displaystyle y(2.5)\)?
As for to check the answers, I solved the ODE. In implicit form one can write \(\displaystyle 2x^3 - 3 = 6y - 3\cos (y^2)\). Now, when \(\displaystyle x = 1.5\), one can solve the \(\displaystyle y \approx 0.941265\) with no problems. However, when \(\displaystyle x = 2.5\), there are three solutions for \(\displaystyle y\), namely \(\displaystyle 4.553574\ ;\ 4.892841\ ;\ 5.084485\).
One knows that denominator of the ODE has two roots (in the range I'm now interested): \(\displaystyle 1.92073\ ;\ 2.420171\) that will ruin something. But my question for you is, what these roots will ruin? Is the solution \(\displaystyle y(x)\) a continuous function even though the derivative of it exists? Because... If the \(\displaystyle y(x)\) is not continuous, then I could compute for example sheeps and cows with what ever method to obtain silly answers. If the function is continuous then one just needs to find a suitable method to obtain numbers. Any thoughts? Thank you!
I am trying to understand numerical analysis on my freetime and today I studyed how to solve \(\displaystyle y' = \frac{x^2}{1 + y\sin (y^2)}\), with initial value \(\displaystyle y(0) = 0\). I asked myself two simple questions: What is \(\displaystyle y(1.5)\) and what is \(\displaystyle y(2.5)\)?
As for to check the answers, I solved the ODE. In implicit form one can write \(\displaystyle 2x^3 - 3 = 6y - 3\cos (y^2)\). Now, when \(\displaystyle x = 1.5\), one can solve the \(\displaystyle y \approx 0.941265\) with no problems. However, when \(\displaystyle x = 2.5\), there are three solutions for \(\displaystyle y\), namely \(\displaystyle 4.553574\ ;\ 4.892841\ ;\ 5.084485\).
One knows that denominator of the ODE has two roots (in the range I'm now interested): \(\displaystyle 1.92073\ ;\ 2.420171\) that will ruin something. But my question for you is, what these roots will ruin? Is the solution \(\displaystyle y(x)\) a continuous function even though the derivative of it exists? Because... If the \(\displaystyle y(x)\) is not continuous, then I could compute for example sheeps and cows with what ever method to obtain silly answers. If the function is continuous then one just needs to find a suitable method to obtain numbers. Any thoughts? Thank you!