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

When to use Gen. Fourier, F.Sine, F.Cos, and Laplace Transforms

  1. Oct 18, 2012 #1
    Hi I was just wondering when do we use the different variations of the General Fourier, Fourier Sine Transform, Fourier Cosine Transform, and Laplace Transforms.

    I missed my lecture and I overheard that apparently there needs to be specific boundary conditions or initial conditions which determines which transform you use

    Many thanks!
     
  2. jcsd
  3. Oct 21, 2012 #2
    So we have the general Fourier Series:

    [itex]f(x) = \frac{a_{0}}{2} + \sum a_{n}cos(\frac{n \pi x}{L}) + b_{n}sin(\frac{n \pi x}{L}) [/itex]

    Basically, we use the Fourier sine/cosine series when we have an even or odd function (over interval [itex] [-L, L] [/itex]) which allows us to take advantage of the even/oddness of cosine/sine.
    If we have an odd function f(x):
    [itex] f_{o}(x) = -f(-x) [/itex] on [itex] [-L, 0] [/itex] and [itex] f(x) [/itex] on [itex] [0, L] [/itex]

    we find we can simplify the fourier coefficients to:
    [itex] a_{n} = 0 [/itex]
    [itex] b_{n} = \frac{2}{L}\int f(x)sin(\frac{n \pi x}{L})dx [/itex] (integral from 0 to L)

    Likewise, if we have an even function:
    [itex] f_{o}(x) = f(-x) [/itex] on [itex] [-L, 0] [/itex] and [itex] f(x) [/itex] on [itex] [0, L] [/itex]

    we find that we can simplify to:
    [itex] a_{o} = \frac{2}{L}\int f(x) dx [/itex] (integral from 0 to L)
    [itex] a_{n} = \frac{2}{L}\int f(x)cos(\frac{n \pi x}{L})dx [/itex] (integral from 0 to L)
    [itex] b_{n} = 0 [/itex]

    When the function is not even or odd over [-L, L], the general form must be used, although if we just have a simple function over [0, L], when can actually choose to "extend it" as an even or an odd function.

    Laplace Transforms:
    The nice thing about Laplace transforms is that they turn differential equations into algebraic ones by breaking down higher order functions. Generally they are most useful when dealing with an equation involving unusual functions, such as Dirac delta functions or unit step functions. When you're dealing with those, Laplace is the most simple way to solve the equation (in fact it's the only way I know how to.)
     
  4. Oct 21, 2012 #3

    Mute

    User Avatar
    Homework Helper

    To clarify for the OP, the fourier series is a series representation of a periodic function. If you compute the fourier series of a non-periodic function g(x) on the domain [-L,L] (for example), the fourier series will match g(x) for x in [-L,L], but the pattern repeats for x outside of that range with period 2L.

    Fourier series sometimes appear in solutions of Partial differential equations.

    They do share similar features with the fourier transform, which I believe is what the OP is asking about. The fourier transform is

    $$F(\omega) = \int_{-\infty}^\infty dt f(t) e^{-i\omega t}$$
    (up to a choice of the sign of i in the exponent and a factor of ##1/\sqrt{2\pi}## in the front). As you can see from this definition, any true function which has a fourier transform must be non-singular on the entire real line and it must tend to zero at the infinities. I have written the above equation in terms of time and frequency, but I could just as well have written it in terms of position x and spatial frequency k. When solving differential equations, you would use the fourier transform when your coordinate can take any real number value (e.g., solving for something as a function of the position, where the position can be from -infinity to infinity), and typically when your solution will decay to zero at the boundaries.

    The cosine transform is basically just the fourier transform applied to an even function. Because ##e^{i\omega t} = \cos(\omega t) + i\sin(\omega t)##, if your fourier transform over an even function, the imaginary term is zero (because it is odd) and the real part of the integral is just double the integral over the positive part of the real line.

    $$2\int_0^\infty dt~f(t)\cos(\omega t) = \int_{-\infty}^\infty dt f(t) e^{-i\omega t},~\mbox{if}~f(x)=f(-x).$$

    Similarly, the sine transform is basically just the fourier transform applied to an odd function.

    $$2i\int_0^\infty dt~f(t)\sin(\omega t) = \int_{-\infty}^\infty dt f(t) e^{-i\omega t},~\mbox{if}~f(x)=-f(-x).$$

    Lastly, though I noted that for the fourier transform to be well defined it must be applied to a function which has no singularities and decays to zero at the infinities, one can actually extend the domain of functions which can be fourier transformed by allowing results in terms of "generalized" functions like the Dirac delta function or the Heaviside step function. By allowing these functions to be results of a fourier transform, you can take the fourier transform of a constant, sin(x) or cos(x), 1/x, of powers of x, etc. See wikipedia for a list of such transforms.

    If it's an ODE with a Dirac delta function or Heaviside step function on the RHS you can always solve the equation piece-wise and match the solutions at the boundary.
     
  5. Oct 21, 2012 #4
    Haha woops! I apologize for that mistake, I glanced at the OP and subconsciously read it as "series" rather than "transform."
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook




Similar Discussions: When to use Gen. Fourier, F.Sine, F.Cos, and Laplace Transforms
Loading...