Differential equation with twosided decay exponential

  • #1

Homework Statement


Solve
[tex]y''(t) - k^2 y(t) = e^{-a|t|}[/tex] where a and k are both positive and real.

Homework Equations



The solution was obtained trough a fourier transform.

The Attempt at a Solution



I got the solution

[tex]y(t) = \frac{ke^{-at} - ae^{-kt}}{k(a^2 - k^2)}[/tex]

but when i plug it back into the differential equation i just get
[tex]e^{-at}[/tex]
how could I get the absolute value back in there?

Might there be anything wrong with my solution procedure?
 

Answers and Replies

  • #2
Gib Z
Homework Helper
3,346
6
Start your solution again but branch it into two cases straight away, one for [itex] t\geq 0 [/itex] and another for [itex] t < 0 [/itex]. Solve them separately, then only at the end try to unify them into 1 solution.
 
  • #3
Hmm.. Where might this branching take place? I considered to do a branch when i took the fourier transform of [tex]e^{-a|t|}[/tex], but here i found that

[tex]\int_{-\infty}^{\infty} e^{-a |t|}e^{-i \omega t} dt = \int_{-\infty}^{\infty} e^{-a |t|} ( \cos(\omega t) + i \sin (\omega t)) dt[/tex]

so the sine term drops out and since the rest of the integrand is even we're left with

[tex] 2 \int_{0}^{\infty} e^{-a t } \cos(\omega t) dt[/tex]

which I evaluated, isolated for [tex]Y(\omega)[/tex] and took the inverse transform.
 
  • #4
Gib Z
Homework Helper
3,346
6
I can't see anything wrong with that so frustratingly I can't see a mathematical reason as to why the solution only ending up solving correctly for half the domain. In any case though, to fix you solution you can just replace all t's with |t|'s .
 
  • #5
That's very weird indeed. I know that I got the right transform.. and I don't see how that absolute value can appear in the inverse transform which is just
[tex]y(t) = \frac{1}{\sqrt{2 \pi}} \int_{-\infty}^{\infty} Y(\omega) e^{i \omega} d\omega[/tex]
Well thanks for helping me out anyway! You've been really helpfull :)
 

Related Threads on Differential equation with twosided decay exponential

Replies
5
Views
2K
  • Last Post
Replies
6
Views
7K
Replies
5
Views
3K
Replies
3
Views
5K
Replies
1
Views
1K
  • Last Post
Replies
8
Views
2K
  • Last Post
Replies
11
Views
2K
Replies
5
Views
4K
  • Last Post
Replies
3
Views
8K
Replies
4
Views
1K
Top