Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Laplace transforms and ODE

  1. Jun 11, 2009 #1
    Hi all.

    Lets solve the following ODE by using Laplace transforms

    y'' - y' = \exp(-x),

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

    s^2Y(s)-sy(0)-y'(0) - sY(0) - y(0) = \ldots

    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: Jun 11, 2009
  2. jcsd
  3. Jun 11, 2009 #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
    So in your case [itex]f(x)\longrightarrow F(s)[/itex] and your equation will go


    The RHS since the Laplace Transform of an exponential goes
    [tex]e^{\alpha x}\longrightarrow \frac{1}{s-\alpha}[/tex]
  4. Jun 11, 2009 #3


    User Avatar
    Homework Helper

    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.
  5. Jun 11, 2009 #4
    I see, thanks. I guess I was momentarily confused.

    Thanks for clarifying.
  6. Jun 11, 2009 #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:

    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: Jun 11, 2009
  7. Jun 14, 2009 #6


    User Avatar
    Science Advisor

    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.

    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: Jun 14, 2009
  8. Jun 14, 2009 #7
    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.
  9. Jun 15, 2009 #8
    mhm, indeedy *chucks tables of Laplace Transforms into recycling bin* :P
  10. Jun 15, 2009 #9
    Oh, but do you know how much you learn from overcoming moments of confusion!
    I say keep posting, I learnt a few things from this thread too :)

    "Je pense, donc je suis"
    (I think, therefore I am)
    — René Descartes
  11. Jul 11, 2009 #10
    When we use

    And in which cases is better use Laplace and in which Fourier transformation?
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook