MathGroup Archive 1996

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

Search the Archive

Re: Series problem

  • To: mathgroup at
  • Subject: [mg2119] Re: Series problem
  • From: "Brian J. Albright" <albright at>
  • Date: Wed, 5 Jun 1996 01:38:32 -0400
  • Organization: UCLA Department of Physics and Astronomy
  • Sender: owner-wri-mathgroup at

Tommy Nordgren wrote:
>         I want to expand the Cosine only in the expression:
> Cos[b x] Exp[-x^2]/(k^2+x^2) into a taylor series around 0.
> Computing the series in terms of x don't work, because the exponetial and
> the divisor will be expanded as well, when the series of the Cosine is
> multiplied by the other factors.
> Making the series expansion in terms of b don't work, because Mathematica
> can't integrate the resulting series expansion in terms of x.
> Are there any way to handle this except by introducing a new representation
> for function series.
> (The problem I'm currently interested in is finding a series for the function
> f[b_,k_] = Integrate[Cos[b x] Exp[-x^2]/(k^2+x^2),{x,-Infinity,Infinity}],
> which is valid for small b)
> --
> -------------------------------------------------------------------------
> Tommy Nordgren                    "Home is not where you are born,
> Royal Institute of Technology      but where your heart finds peace."
> Stockholm                         Tommy Nordgren - The dying old crone
> f85-tno at


Here's a quick way to get the nth term in a Taylor expansion 
in b for your function, provided that the contour you want
is the one along the real axis, and provided that k is chosen
in such a manner as to make the integrand regular along the
contour (like, e.g., k real and nonzero). 

g[n_] := Integrate[ 
		Normal[ Series[ Cos[b x] Exp[-x^2]/(k^2+x^2),{b,0,n}]],

Be careful of the poles; for example, k=0 leads to a divergent 
Hope this helps.


Brian J. Albright                           
Department of Physics and Astronomy, UCLA    
albright at


  • Prev by Date: Re: C problem with Mathematica
  • Next by Date: Re: how to read real numbers in 1.0000e+00 notation
  • Previous by thread: Re: Series problem
  • Next by thread: Re: Series problem