2nd Order ODE Contradiction ?

  • Thread starter tade
  • Start date
  • #1
552
18
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

[Broken]


The method to obtain the solution is straightforward.




Let's say

[tex]\frac{d^2y}{dx^2}=ky[/tex]

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:

Answers and Replies

  • #2
611
24
Let's say

[tex]\frac{d^2y}{dx^2}=ky[/tex]

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:
 
  • #3
552
18
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.
 

Related Threads on 2nd Order ODE Contradiction ?

  • Last Post
Replies
4
Views
2K
  • Last Post
Replies
5
Views
3K
  • Last Post
Replies
3
Views
7K
  • Last Post
Replies
1
Views
2K
  • Last Post
Replies
3
Views
4K
  • Last Post
Replies
2
Views
3K
  • Last Post
Replies
2
Views
950
  • Last Post
Replies
4
Views
2K
  • Last Post
Replies
9
Views
1K
  • Last Post
Replies
1
Views
1K
Top