Skip to main content
3 of 5
deleted 52 characters in body
Henrik Schumacher
  • 112.9k
  • 7
  • 197
  • 340

Wrong Output for Limit

I have calculated below limit:

Limit[(a2 EllipticTheta[3, -((π (l + d0 g t))/(2 l)), E^(-((d0 π^2 t)/l^2))])/(2 Abs[l]) + ( a2 EllipticTheta[3, (π (l - d0 g t))/(2 l), E^(-((d0 π^2 t)/l^2))])/(2 Abs[l]) + ( a1 Sqrt[(d0 t)/l^2] EllipticTheta[3, -((d0 g π t)/(2 l)), E^(-((d0 π^2 t)/l^2))])/Sqrt[d0 t], l -> Infinity] 

The output is zero. However, if I put g=0; before limit funcion, the output is not zero anymore! Also when I run below piece of code:

a1 = 1; a2 = 1; g = 1.5; d0 = 1; t = 0.001; Plot[(a2 EllipticTheta[3, -((π (l + d0 g t))/(2 l)), E^(-((d0 π^2 t)/l^2))])/(2 Abs[l]) + ( a2 EllipticTheta[3, (π (l - d0 g t))/(2 l), E^(-((d0 π^2 t)/l^2))])/(2 Abs[l]) + ( a1 Sqrt[(d0 t)/l^2] EllipticTheta[3, -((d0 g π t)/(2 l)), E^(-((d0 π^2 t)/l^2))])/Sqrt[d0 t], {l, 100, 1000}] 

The output is not zero and doesn't goes to zero as I increase the "l". Could any one understand why does the output of limit is always zero? Can anyone help me to get the correct outcome of the Limit function?