MathGroup Archive 2001

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Fourier Transform and convolution.

No problem. Just bear in mind that you want to use the "characteristic
function" and *not* the Fourier transform of the N(0, 1) independent random
variables in order to obtain the distribution of their sum. The Fourier
transform differs from the ch. f. by a constant 1/Sqrt[2 Pi]. Then proceed
as follows:

<< Statistics`ContinuousDistributions`
ndist = NormalDistribution[0, 1];

Now square of the characteristic function of the normal (0, 1) distribution
and obtain its InverseFourierTransform, adequately multiplied by the
constant referred to above:

distSum = (1/Sqrt[2
Pi])*InverseFourierTransform[CharacteristicFunction[ndist, t]^2, t, x]
(1/(2 Sqrt[Pi]))*Exp[(-x^2)/4]

This is what you are looking for. If you integrate this from -6 to 6 you get
approximately 1, as expected. You may look at the density functions:

gr1 = Plot[PDF[ndist, x], {x, -6, 6}];
gr2 = Plot[(1/Sqrt[2 Pi])*
        InverseFourierTransform[CharacteristicFunction[ndist, t]^2, t,
          x], {x, -6, 6}];
Show[gr1, gr2];

What went wrong with what you did? You say "we perform
a Fourier Transform of the pdf n(0,1) and then square each point". I don't
know what you mean by this. What you have to do is obtain (not perform,
please) the Fourier Transform (multiplied by the adequate constant) and
square the transform, not each point. Then obtain the inverse. That's all.

Tomas Garza
Mexico City

----- Original Message -----
From: <Adil.Reghai at>
To: mathgroup at
Subject: [mg26601] [mg26583] Fourier Transform and convolution.

> Hi,
> We wanted to perform the distribution of a sum of two independent
> X and Y which are both N(0,1).
> The way We wanted to do it is to use the convolution property. In order to
> compute this convolution we perform
> a Fourier Transform of the pdf n(0,1) and then square each point. After
> we performed an inverse Fourier transform.
> Instead of obtaining a N(0,sqrt(2)) we obtain a distribution which is
> shifted in the form of a U.
> Could you please tell us what went wrong?
> Regards
> Adil,
> ----------------------------------------------------------------------
> If you have received this e-mail in error or wish to read our e-mail
> disclaimer statement and monitoring policy, please refer to
> or contact the sender.
> ----------------------------------------------------------------------

  • Prev by Date: Re: Expansion Coefficients in Multivariate Series Expansions?
  • Next by Date: Re: How to get the slope of a Interpolation[] function at a specified point?
  • Previous by thread: Fourier Transform and convolution.
  • Next by thread: Re: Fourier Transform and convolution.