Laplace and Fourier Transforms: When to Use Which?

In summary: So in that sense, we are not limiting the solutions we can obtain using the Laplace Transform. However, it is true that not all functions have Laplace transforms, so there may be cases where this method cannot be used. Additionally, as you mentioned, the non-homogeneous term must be Laplace Transformable for this method to work. Overall, while the Laplace Transform can be a useful tool in solving certain types of differential equations, it is not always the most practical or efficient method.
  • #1
Niles
1,866
0
Hi all.

Lets solve the following ODE by using Laplace transforms

[tex]
y'' - y' = \exp(-x),
[/tex]

where y depends on x. Laplace-transforming we obtain (where Y denotes the Laplace-transformed of y)

[tex]
s^2Y(s)-sy(0)-y'(0) - sY(0) - y(0) = \ldots
[/tex]

My question is, why we are allowed to do this? Because when I Laplace transform y'', then we get some expression dependent on the variable s, but when we Laplace transform y', then we get an expression dependent on some other variable t, and likewise for the RHS. Who says that s=t? And then there's also the variable from transforming the RHS.
 
Last edited:
Physics news on Phys.org
  • #2
I think you got caught up in some simple confusion. The Laplace Transform transforms a function of some variable (it could be x or t or whatever) to a function of s by the rule
[tex]F(s)=\int_{0}^{\infty}f(t)e^{-st}dt[/tex]
So in your case [itex]f(x)\longrightarrow F(s)[/itex] and your equation will go

[tex]\left[s^2Y(s)-sy(0)-y'(0)\right]-\left[sY(s)-y(0)\right]=\frac{1}{s+1}[/tex]

The RHS since the Laplace Transform of an exponential goes
[tex]e^{\alpha x}\longrightarrow \frac{1}{s-\alpha}[/tex]
 
  • #3
To add to jeffreydk's comment:

when you do something like a Laplace transform, you don't do it to each term separately - what you're doing is:

LHS = RHS

[tex]\Righarrow \mathcal{L}[\mbox{LHS}] = \mathcal{L}[\mbox{RHS}][/tex].

This is why the variable is the same for each term: the laplace transform is linear, so although you're transforming the whole LHS, you can split it up into transforms of each of the terms on the LHS, so they all have the variable s. Similarly for the RHS - you had to apply the transform to both sides of the equation, so it has the same variable.

It's pretty much the same idea as

if a + b = c, then (constant)(a + b) = (constant)a + (constant)b = (constant)c

You would never say (constant1)a + (constant2)b = (constant3)c, as in general that just wouldn't be true! From the first equation, the constants must be the same, just as for your Laplace transform case the transform variable in each case must be the same.
 
  • #4
I see, thanks. I guess I was momentarily confused.

Thanks for clarifying.
 
  • #5
Um, I think Niles's question has been answered from the point of view he meant it, so I don't mean to create any confusion, it's just that the question:

My question is, why we are allowed to do this?
also makes me think of it in the following terms:

to be able to take the Laplace transform of a funcion, we have to make certain assumptions about the function (that it is of exponentional order or some such:P), so, by taking the Laplace transform of the whole equation, we are making assumptions about the function y and its derivatives, right? So for a general linear differential equation, aren't we limiting the solutions we can obtain using the Laplace Transform? What if the actual solution of the differential equaion is such that it does not have a Laplace Transform? What happens when in such a case we try using this method?

Plus of course we need the non-homogenous term of the equation to be Laplace Transformable to even be able to attempt to apply this method. . .
 
Last edited:
  • #6
Niles said:
Hi all.

Lets solve the following ODE by using Laplace transforms

[tex]
y'' - y' = \exp(-x),
[/tex]

where y depends on x. Laplace-transforming we obtain (where Y denotes the Laplace-transformed of y)

[tex]
s^2Y(s)-sy(0)-y'(0) - sY(0) - y(0) = \ldots
[/tex]

My question is, why we are allowed to do this? Because when I Laplace transform y'', then we get some expression dependent on the variable s, but when we Laplace transform y', then we get an expression dependent on some other variable t, and likewise for the RHS. Who says that s=t? And then there's also the variable from transforming the RHS.
I don't understand why you say "when I Laplace transform y'', then we get some expression dependent on the variable s, but when we Laplace transform y', then we get an expression dependent on some other variable t". The Laplace transform of of f(x) is, by definition,
[tex]L(f)(x)= \int_0^\infty e^{-sx}f(x)dx[/tex]
I see no reason why you would get "t" as the variable for one transform and "s" for the other. Essentially, what you are doing is multiplying both sides of the differential equation by [itex]e^{-sx}[/itex] and then integrating with respect to x. Doing that, all Laplace transforms resulting will have variable "s". Of course, you could use [itex]e^{-tx}[/itex] and have variable "t" but still all Laplace transforms will have the same variable.

BobbyBear said:
Um, I think Niles's question has been answered from the point of view he meant it, so I don't mean to create any confusion, it's just that the question:




also makes me think of it in the following terms:

to be able to take the Laplace transform of a funcion, we have to make certain assumptions about the function (that it is of exponentional order or some such:P), so, by taking the Laplace transform of the whole equation, we are making assumptions about the function y and its derivatives, right? So for a general linear differential equation, aren't we limiting the solutions we can obtain using the Laplace Transform? What if the actual solution of the differential equaion is such that it does not have a Laplace Transform? What happens when in such a case we try using this method?

Plus of course we need the non-homogenous term of the equation to be Laplace Transformable to even be able to attempt to apply this method. . .
I must confess that I consider the whole "Laplace Tranform" method to be more trouble than it is worth! It only works for linear equations with constant coefficients for which there are easier methods. In any case, it can be shown that all solutions to such equations are "of exponential order"- exactly the kind that have Laplace Transforms.
 
Last edited by a moderator:
  • #7
HallsofIvy said:
I don't understand why you say "when I Laplace transform y'', then we get some expression dependent on the variable s, but when we Laplace transform y', then we get an expression dependent on some other variable t"

It was a moment of confusion, and I wasn't thinking. A simple argument would just be that the Laplace transform is linear (which got mentioned). I have to think more carefully about these matters before asking questions from now on.
 
  • #8
HallsofIvy said:
I must confess that I consider the whole "Laplace Tranform" method to be more trouble than it is worth! It only works for linear equations with constant coefficients for which there are easier methods. In any case, it can be shown that all solutions to such equations are "of exponential order"- exactly the kind that have Laplace Transforms.

mhm, indeedy *chucks tables of Laplace Transforms into recycling bin* :P
 
  • #9
Niles said:
It was a moment of confusion, and I wasn't thinking. A simple argument would just be that the Laplace transform is linear (which got mentioned). I have to think more carefully about these matters before asking questions from now on.

Oh, but do you know how much you learn from overcoming moments of confusion!
I say keep posting, I learned a few things from this thread too :)

"Je pense, donc je suis"
(I think, therefore I am)
— René Descartes
 
  • #10
jeffreydk said:
I think you got caught up in some simple confusion. The Laplace Transform transforms a function of some variable (it could be x or t or whatever) to a function of s by the rule
[tex]F(s)=\int_{0}^{\infty}f(t)e^{-st}dt[/tex]
So in your case [itex]f(x)\longrightarrow F(s)[/itex] and your equation will go

[tex]\left[s^2Y(s)-sy(0)-y'(0)\right]-\left[sY(s)-y(0)\right]=\frac{1}{s+1}[/tex]

The RHS since the Laplace Transform of an exponential goes
[tex]e^{\alpha x}\longrightarrow \frac{1}{s-\alpha}[/tex]

When we use
[tex]F(s)=\int_{-\infty}^{\infty}f(t)e^{-st}dt[/tex]?

And in which cases is better use Laplace and in which Fourier transformation?
 

1. What is a Laplace transform?

A Laplace transform is a mathematical tool used to solve ordinary differential equations (ODEs). It transforms a function of time into a function of complex frequency, making it easier to solve linear ODEs with constant coefficients.

2. How is a Laplace transform calculated?

The Laplace transform of a function f(t) is denoted by F(s) and is calculated using the formula F(s) = ∫0 e-st f(t) dt, where s is a complex variable and t is time.

3. What is the difference between a one-sided and a two-sided Laplace transform?

A one-sided Laplace transform is used for functions that are defined only for t ≥ 0, while a two-sided Laplace transform is used for functions that are defined for all real values of t. The two-sided transform is more commonly used because it allows for the inclusion of initial conditions in the solution of ODEs.

4. How are Laplace transforms used in solving ODEs?

Laplace transforms are used to convert a differential equation into an algebraic equation, which can then be solved using standard algebraic techniques. The solution is then transformed back into the time domain using the inverse Laplace transform.

5. What are the advantages of using Laplace transforms in solving ODEs?

Using Laplace transforms can simplify the process of solving ODEs, especially those with constant coefficients. It also allows for the inclusion of initial conditions in the solution. Additionally, Laplace transforms can be used to solve higher order ODEs, which can be difficult to solve using other methods.

Similar threads

  • Differential Equations
Replies
4
Views
1K
  • Differential Equations
Replies
17
Views
863
  • Differential Equations
Replies
1
Views
662
  • Differential Equations
Replies
5
Views
1K
  • Differential Equations
Replies
10
Views
3K
  • Electrical Engineering
Replies
3
Views
1K
  • Calculus and Beyond Homework Help
Replies
1
Views
63
  • Calculus and Beyond Homework Help
Replies
2
Views
159
  • Differential Equations
Replies
5
Views
1K
  • Differential Equations
Replies
4
Views
2K
Back
Top