Hello,(adsbygoogle = window.adsbygoogle || []).push({});

I'm trying to find a series expression for the triangle waveform through some messy math.

I've reduced the problem down to solving the integral:

Integrate[ 1/w^2 * (1-Cos[T*w/2]) * Exp[(1-n)*I*t*w ] with respect to w from -Infinity to Infinity

T is a constant, I is Sqrt[-1], and n is an integer.

Mathematica cannot evaluate this integral, but if I use the function InverseFourierTransform and substitute a specific value of n, mathematica works. I plotted for a couple of n's and I know this is the integral I want.

I tried doing the integral through residues, but the only singularity I can see is w = 0 and the residue there is zero.

The problem is Ex. #5 part d of http://www.hep.caltech.edu/~fcp/math/distributions/distributions.pdf (scroll all the way down to the bottom)

Is there some residue I'm not seeing?

Thanks!

**Physics Forums | Science Articles, Homework Help, Discussion**

Dismiss Notice

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Homework Help: Having trouble evaluating an integral

**Physics Forums | Science Articles, Homework Help, Discussion**