How Can One 2nd Order ODE Have Different Solutions?

tade
Messages
720
Reaction score
26
2nd Order ODE "Contradiction"?

To solve a 2nd order ODE, we can follow the steps as shown below. (Image 2 is a continuation from Image 1, apologies for the size difference.) :rolleyes:

Fig.6_876.JPG

The method to obtain the solution is straightforward.

Let's say

\frac{d^2y}{dx^2}=ky

If k = -1, a possible solution is y = sin x. If k = 1, a possible solution is y = e^x.How do we obtain these two different solutions from one straightforward method?
 
Last edited by a moderator:
Physics news on Phys.org
tade said:
Let's say

\frac{d^2y}{dx^2}=ky

If k = -1, a possible solution is y = sin x. If k = 1, a possible solution is y = e^x.


How do we obtain these two different solutions from one straightforward method?
I think Laplace transforms look good for this.

$$\frac{d^2y}{dx^2}=ky\implies\mathcal{L}\{\frac{d^2y}{dx^2}\}(s)=k \mathcal{L}\{y\}(s)\\ s^2\mathcal{L}\{y\}(s)-\left.\frac{dy}{dx}\right|_0-sy(0)=k\mathcal{L}\{y\}(s) \\ \mathcal{L}\{y\}(s)=\frac{\frac{dy}{dx}|_0+sy(0)}{s^2-k}\\y(x)=\mathcal{L}^{-1}\left\{\frac{\frac{dy}{dx}|_0+sy(0)}{s^2-k}\right\}(x).$$
With a bit of simplifying, this comes down to ##y(x)=c_1e^{\sqrt{k}x}+c_2e^{-\sqrt{k}x}##.

Note that ##\sin{x}=\frac{e^{ix}-e^{-ix}}{2i}##. :wink:
 
Mandelbroth said:
With a bit of simplifying, this comes down to ##y(x)=c_1e^{\sqrt{k}x}+c_2e^{-\sqrt{k}x}##.

Note that ##\sin{x}=\frac{e^{ix}-e^{-ix}}{2i}##. :wink:

That's pretty neat.
 
Thread 'Direction Fields and Isoclines'
I sketched the isoclines for $$ m=-1,0,1,2 $$. Since both $$ \frac{dy}{dx} $$ and $$ D_{y} \frac{dy}{dx} $$ are continuous on the square region R defined by $$ -4\leq x \leq 4, -4 \leq y \leq 4 $$ the existence and uniqueness theorem guarantees that if we pick a point in the interior that lies on an isocline there will be a unique differentiable function (solution) passing through that point. I understand that a solution exists but I unsure how to actually sketch it. For example, consider a...
Back
Top