My Math Forum  

Go Back   My Math Forum > College Math Forum > Number Theory

Number Theory Number Theory Math Forum


Reply
 
LinkBack Thread Tools Display Modes
May 7th, 2012, 05:07 AM   #1
Senior Member
 
Joined: Jan 2011

Posts: 120
Thanks: 2

Alternate Alternating Zeta function

I was experimenting with the following Alternate Alternating Zeta function:



and believe that it has closed forms for all integers :













So, for positive there seems to be a direct connection to , although these closed forms become rapidly more complex.

I struggle with three questions about this function:

1) Why is with ?

2) For , the function only seems to converge when . The function appears to monotonically increase for and monotonically decrease when . Is there a logical explanation for this behavior?

3) How do I properly code in Pari/GP? I've tried the obvious: gp > ttt(s)=sumalt(n=-oo,((-1)^(n-1))/((n+I)^s)), but that yields an error.

Thanks for any help!
Agno is offline  
 
May 7th, 2012, 06:10 AM   #2
Global Moderator
 
CRGreathouse's Avatar
 
Joined: Nov 2006
From: UTC -5

Posts: 16,046
Thanks: 938

Math Focus: Number theory, computational mathematics, combinatorics, FOM, symbolic logic, TCS, algorithms
Re: Alternate Alternating Zeta function

I'm not sure of the convergence issues here.

Quote:
Originally Posted by Agno
3) How do I properly code in Pari/GP? I've tried the obvious: gp > ttt(s)=sumalt(n=-oo,((-1)^(n-1))/((n+I)^s)), but that yields an error.
Well, writing

I get
Code:
ttt(s)=-I^-s - sumalt(n=1,(-1)^n*(1/(I+n)^s+1/(I-n)^s))
CRGreathouse is offline  
May 7th, 2012, 06:49 AM   #3
Senior Member
 
Joined: Jan 2011

Posts: 120
Thanks: 2

Re: Alternate Alternating Zeta function

That works indeed (small correction: the infinite sum should start at 0 instead of 1; I consciously added the 'i' to n, to avoid the 'div 0' in this sum).

All results match with what I found using Maple and Wolfram Math on-line, except for the convergence of my second question. In Pari/GP the number gets smaller, where in the other tools it seems to converge to 0.061... (tested in Wolfram up to s=1/2 - 4000i).

EDIT:
It seems Pari/GP reaches a certain limit above y ~ 40-ish and then the curve 'collapses'. I am particularly interested in that wave when x = 1/2 and given the results from Wolfram and Maple believe the curve should 'wave' forever around an average value.

Agno is offline  
May 7th, 2012, 08:19 AM   #4
Global Moderator
 
CRGreathouse's Avatar
 
Joined: Nov 2006
From: UTC -5

Posts: 16,046
Thanks: 938

Math Focus: Number theory, computational mathematics, combinatorics, FOM, symbolic logic, TCS, algorithms
Re: Alternate Alternating Zeta function

Quote:
Originally Posted by Agno
small correction: the infinite sum should start at 0 instead of 1; I consciously added the 'i' to n, to avoid the 'div 0' in this sum
I intentionally avoided 0 so as to not double-count it. That's why I pulled it out front (i^-s).

Quote:
Originally Posted by Agno
It seems Pari/GP reaches a certain limit above y ~ 40-ish and then the curve 'collapses'. I am particularly interested in that wave when x = 1/2 and given the results from Wolfram and Maple believe the curve should 'wave' forever around an average value.
That may be a precision issue; try increasing realprecision with, e.g., \p 40
CRGreathouse is offline  
May 7th, 2012, 09:16 AM   #5
Senior Member
 
Joined: Jan 2011

Posts: 120
Thanks: 2

Re: Alternate Alternating Zeta function

Quote:
Originally Posted by CRGreathouse
Quote:
Originally Posted by Agno
small correction: the infinite sum should start at 0 instead of 1; I consciously added the 'i' to n, to avoid the 'div 0' in this sum
I intentionally avoided 0 so as to not double-count it. That's why I pulled it out front (i^-s).
Understood. However, the 'front pulled zero' should have been -(i^-s) and that indeed fixes the problem (as well, but now much more robust).

Quote:
Originally Posted by CRGreathouse
Quote:
Originally Posted by Agno
It seems Pari/GP reaches a certain limit above y ~ 40-ish and then the curve 'collapses'. I am particularly interested in that wave when x = 1/2 and given the results from Wolfram and Maple believe the curve should 'wave' forever around an average value.
That may be a precision issue; try increasing realprecision with, e.g., \p 40
That did the trick. Even went up to 120 digits precision to plot some higher values of y, but it all works fine now. Thanks!
Agno is offline  
May 7th, 2012, 09:46 AM   #6
Global Moderator
 
CRGreathouse's Avatar
 
Joined: Nov 2006
From: UTC -5

Posts: 16,046
Thanks: 938

Math Focus: Number theory, computational mathematics, combinatorics, FOM, symbolic logic, TCS, algorithms
Re: Alternate Alternating Zeta function

Ah, good call. I forgot that I had pulled the - sign out front.
CRGreathouse is offline  
Reply

  My Math Forum > College Math Forum > Number Theory

Tags
alternate, alternating, function, zeta



Search tags for this page
Click on a term to search for related topics.
Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Alternate form for floor function eddybob123 Number Theory 2 December 5th, 2013 12:07 PM
zeta function simon111 Calculus 4 June 1st, 2013 05:10 AM
A function that generates alternating non-trivial zeros Agno Number Theory 0 April 13th, 2013 09:19 AM
Tau-Zeta function mathbalarka Number Theory 1 February 6th, 2013 12:09 PM
sum of alternating sine function galactus Real Analysis 0 July 19th, 2011 07:18 AM





Copyright © 2018 My Math Forum. All rights reserved.