/
ConvergentNormalisationofOrdinaryDirichletSeriesinLowerHalfofComplexPlane.Rmd
1118 lines (762 loc) · 40.9 KB
/
ConvergentNormalisationofOrdinaryDirichletSeriesinLowerHalfofComplexPlane.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
---
title: "A normalisation of the ordinary Dirichlet Series in the lower half complex plane that has the equivalent normalised Riemann Zeta function as an detrended envelope function."
author: "John P. D. Martin"
date: "March 14, 2017"
output: pdf_document
---
```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = TRUE)
```
##Executive Summary
In the lower half complex plane, $\Re(s)<1$, a convergent normalisation of the ordinary dirichlet series $\sum_{n=1}^\infty (\frac{1}{n^s})$ on the real line is given by $\underset{N \rightarrow \infty}{\lim} \frac{1}{N^{(1-\Re(s))}}\sum_{n=1}^N (\frac{1}{n^{\Re(s)}}) = \frac{1}{1-\Re(s)}$. Elsewhere, across the lower half complex plane, the absolute value of the normalised series $|\frac{1}{N^{(1-\Re(s))}}\sum_{n=1}^N (\frac{1}{n^s})|$ has an upper (lower) detrended envelope function of the form $\pm|\frac{\zeta(s)}{N^{(1-\Re(s))}}|$, for $10000 < N < \infty$.
```{r, exec, echo=FALSE, cache=TRUE, fig.width=6, fig.height=5, fig.keep='high', warning=FALSE }
library(pracma)
x <- seq(0,70,l=3501)
rawratio <- function(res,x) {
abs(2^(res+1i*x)*pi^(res+1i*x-1)*sin(pi/2*(res+1i*x))*gammaz(1-(res+1i*x)))
}
theta <- function(res,x) {
-0.5*Im(log(1/(zeta(1-(res+1i*x))*rawratio(res,x)/zeta(res+1i*x))))
}
d_realp <- function(xo,xl,rp) {
sum(1/xl^(rp+1i*xo))
}
xr <- c(-20,-19,-18,-17,-16,-15,-14,-13,-12,-11,-10,-9,-8,-7,-6,-5,-4,-3,-2,-1,0,.2,.4,.6,.7)
drpreal <- 0
for (i in 1:length(xr)) {
drpreal[i] <- d_realp(0,seq(1,10^8,l=10^8),xr[i])*(10^8)^min((xr[i]-1),0)
}
xrs <- c(seq(-20,.9,l=186),.95,.99,1.01,1.05,1.1,seq(1.2,3,15))
par(mfrow=c(2,2))
par(fig=c(0,1,0.5,1))
plot(x=xrs,y=abs(zeta(xrs)),col=4,typ="l",main="\n \n normalised ordinary Dirichlet series on real axis Re(s) < 1",
xlab="real axis",ylab="function value",cex.xlab=0.8,cex.main=.7,cex.ylab=0.7,ylim=c(0,35))
points(x=xr,y=(drpreal),col=2)
lines(x=xrs,y=abs(1/(1-xrs)),col=1,lty=2,lwd=1)
legend(-15, 30, c("1/(1-Re(s))","abs(zeta(Re(s)))", "normalised ordinary dirichlet series"),
lty = c(2,1,1,1),cex=.6, lwd = c(2, 2,2,2), col = c("black", "blue","red"))
realpart <- 0.2
lzeroes <- 10000
xl <- seq(1,lzeroes,l=lzeroes)
d_seriesp <- function(xo,xl) {
# sum(exp(-1i*xo*log(xl))/xl^realpart)
sum(1/xl^(realpart+1i*xo)*(lzeroes)^(0i*xo))*(lzeroes)^(realpart-1)
}
dplus <- 0.
for (i in 1:length(x)) {
dplus[i] <- d_seriesp(x[i],xl)
}
par(fig=c(0.5,1,0.,0.55), new=TRUE)
# plot(x=x,y=(abs(dplus)*(lzeroes)^min((realpart-1),0))*x,col=6,typ="l")
plot(x=x,y=abs(dplus)-(dplus[1])*((1-realpart)/x-1/2*(1-realpart)^3/x^3+3/8*(1-realpart)^5/x^5),col=6,typ="l",ylim=c(1*min(-abs(zeta(realpart+x*1i)*(lzeroes)^(realpart+0i*x-1))),1*max(abs(zeta(realpart+x*1i)*(lzeroes)^(realpart+0i*x-1)))),main=paste0("\n detrended normalised dirichlet series Re(s)=0.2","\n with scaled abs(zeta(s)) function as envelope"),
xlab="imaginary axis",ylab="function value",cex.xlab=0.8,cex.main=.7,cex.ylab=0.7)
lines(x=x,y=abs(zeta(realpart+x*1i)*(lzeroes)^(realpart+0i*x-1)),typ="l",lty=1,lwd=2,col=1,ylim=c(-2,2))
lines(x=x,y=-abs(zeta(realpart+x*1i)*(lzeroes)^(realpart+0i*x-1)),typ="l",lty=1,lwd=2,col=1,ylim=c(-2,2))
abline(h=1,lty=3)
legend(0, .004, c("detrended norm ord dirichlet series","abs(zeta(s))/N^(1-Re(s))"),
lty = 1,cex=.6, lwd = c(2,2,2,2), col = c("purple", "black"))
par(fig=c(0,0.5,0.,0.55), new=TRUE)
plot(x=x,y=(abs(dplus)),col=6,typ="l",ylim=c(0,.1),main="\n normalised dirichlet series Re(s)=0.2",
xlab="imaginary axis",ylab="function value",cex.xlab=0.8,cex.main=.7,cex.ylab=0.7)
abline(h=0,lty=3)
```
***Figure 1. Normalised ordinary dirichlet series ($\Re(s) < 1$) along (i) real axis, (ii) imaginary line s=0.2+it and (iii) overlay of equivalent normalised Riemann Zeta function as an envelope function of the detrended series***
##Introduction
The ordinary dirichlet series is given by
\begin{equation} \label{eq:ord_ser}
\mathfrak{D}_{id}^\mathbb{N} = \sum_{n=1}^\infty(\frac{1}{n^s})
\end{equation}
On the real positive axis $\Re(s)>1$, the ordinary dirichlet series is equivalent to the Riemann Zeta function
\begin{equation} \label{eq:pos_axis}
\mathfrak{D}_{id}^\mathbb{N} \equiv \zeta(\Re(s)) \qquad \Re(s) > 1
\end{equation}
where the Riemann Zeta function is defined (1), in the complex plane by the integral
\begin{equation}
\zeta(s) = \frac{\prod(-s)}{2\pi i}\int_{C_{\epsilon,\delta}} \frac{(-x)^s}{(e^{x}-1)x}dx
\end{equation}
where $s \thinspace \epsilon \thinspace \mathbb{C}$ and $C_{\epsilon,\delta}$ is the contour about the imaginary poles.
The Riemann Zeta function has been shown to obey the functional equation (2)
\begin{equation}
\zeta(s) = \zeta(1-s)*(2^s\pi^{s-1}sin(\frac{\pi s}{2})\Gamma(1-s)) \label{eq:func}
\end{equation}
and is convergent on the whole complex plane except for the pole at s=1. In contrast, on the lower half of the real axis $\Re(s)\le1$ the ordinary dirichlet series diverges.
\begin{equation} \label{eq:ord_serlower}
\mathfrak{D}_{id}^\mathbb{N} = \sum_{n=1}^\infty(\frac{1}{n^s}) \rightarrow \infty \qquad \Re(s) \le 1
\end{equation}
In this paper,
(i) the strong role of the Riemann Zeta function as an detrended envelope function of the normalised $\mathfrak{D}_{id}^\mathbb{N}$ series is reported, confirming the applicability of use of the Riemann Zeta function for the analytic continuation of $\mathfrak{D}_{id}^\mathbb{N}$ in the lower half of the complex plane (except perhaps for the negative real axis itself) and
(ii) a simple derivation of the leading terms of the sum of the logarithms of the positive integers is given using the simple limiting function for the normalised $\mathfrak{D}_{id}^\mathbb{N}$ series on the lower half real axis.
\enditemize
##Continuation in the lower half complex plane using the normalised $\mathfrak{D}_{id}^\mathbb{N}$ series
A continuation of the $\mathfrak{D}_{id}^\mathbb{N}$ series can be constructed in the whole complex plane, using the function
\begin{equation}
\mathfrak{D}_{id}^\mathbb{N} =
\begin{cases}
\sum_{n=1}^\infty(\frac{1}{n^s}) \qquad \qquad \qquad \qquad \Re(s) > 1 \\
\underset{N \rightarrow \infty}{\lim} \frac{1}{N^{(1-\Re(s))}}\sum_{n=1}^N (\frac{1}{n^{s}}) \qquad \Re(s) \le 1 \label {eq:limit}
\end{cases}
\end{equation}
In the strict limit, $N \rightarrow \infty$ on the real axis, it is proposed using the Laurent series of the $\zeta$ function, in the lower half complex plane
\begin{equation}
\underset{N \rightarrow \infty}{\lim} \frac{1}{N^{(1-\Re(s))}}[\sum_{n=1}^N (\frac{1}{n^{s}}) - \gamma - \sum_{n=1}^N (\gamma_n(1-\Re(s))^n)]
= \frac{1}{1-\Re(s)} \qquad \qquad \Re(s) \le 1, \Im(s) = 0 \label {eq:real_axis}
\end{equation}
For $10^4 < N < \infty$ and $\Re(s)$ < 1, an analytic continuation in the lower half complex plane can be summarised,
on the real axis as
\begin{equation}
\frac{1}{N^{(1-\Re(s))}}\sum_{n=1}^N (\frac{1}{n^{s}}) \rightarrow \frac{1}{1-\Re(s)} \qquad \Re(s) < 1, \Im(s) = 0 \label {eq:finite_n_real_axis}
\end{equation}
Off the real axis, the absolute magnitude of the normalised series can be fit with an envelope function including an equivalent $\frac{1}{N^{(1-\Re(s))}}$ normalised version of the Riemann Zeta function
\begin{equation}
Envelope[|\frac{1}{N^{(1-\Re(s))}}\sum_{n=1}^N (\frac{1}{n^{s}})|] \approx trend \pm|\frac{\zeta(s)}{N^{(1-\Re(s))}}| \qquad \Re(s) \le 1, \Im(s) \ne 0 \label {eq:imag_axis}
\end{equation}
where for small values of $|\Re(s)|$, at least covering the Riemann Zeta function critical strip and near below, the trend component behaves as a nonlinear decaying version of the real axis normalised ordinary dirichlet series value given by eqn \eqref{eq:finite_n_real_axis}
\begin{equation} \label {eq:approx}
trend \sim [\frac{1}{N^{(1-\Re(s))}}\sum_{n=1}^N (\frac{1}{n^{\Re(s)}})]*[\frac{(1-\Re(s))}{\Im(s)}-\frac{(1-\Re(s))^3}{2\Im(s)^3}+\frac{3(1-\Re(s))^5}{8\Im(s)^5}] \qquad -1 < \Re(s) < 1
\end{equation}
###Convergence of normalised $\frac{\mathfrak{D}_{id}^\mathbb{N}}{N^{(1-\Re(s))}}$ series on the real axis
Figure 2 illustrates a comparison of finite convergence results of the normalised $\frac{\mathfrak{D}_{id}^\mathbb{N}}{N^{(1-\Re(s))}}$ series for various values along the real axis above and below s=1 pole.
The s=1 case highlighted in red, with constant slope is not convergent.
The s=0 case, is trivally convergent
\begin{equation}
\underset{N \rightarrow \infty}{\lim} \frac{1}{N^{(1-\Re(0))}}\sum_{n=1}^N (\frac{1}{n^{0}}) =
\frac{N}{N} = 1
\end{equation}
Figure 3, illustrates the striking $\frac{1}{1-\Re(s)}$ result given in eqn \eqref{eq:real_axis} for the normalised ordinary Dirichlet series, along the lower real axis $\mathbb{N} < 1$, which appears to be a new series expansion.
```{r, fig2, echo=FALSE, cache=TRUE, fig.width=6, fig.height=5, fig.keep='high', warning=FALSE }
library(pracma)
x <- seq(0,70,l=3501)
rawratio <- function(res,x) {
abs(2^(res+1i*x)*pi^(res+1i*x-1)*sin(pi/2*(res+1i*x))*gammaz(1-(res+1i*x)))
}
theta <- function(res,x) {
-0.5*Im(log(1/(zeta(1-(res+1i*x))*rawratio(res,x)/zeta(res+1i*x))))
}
d_realp <- function(xo,xl,rp) {
sum(1/xl^(rp+1i*xo))
}
realpart <- 0.5
d_realp <- function(xo,xl,rp) {
# sum(exp(-1i*xo*log(xl))/xl^realpart)
sum(1/xl^(rp+1i*xo))
}
xs <- seq(1,8,l=8)
drplus1 <- 0
for (i in 1:length(xs)) {
drplus1[i] <- d_realp(0,seq(1,10^xs[i],l=10^xs[i]),1)
}
drplus2 <- 0
for (i in 1:length(xs)) {
drplus2[i] <- d_realp(0,seq(1,10^xs[i],l=10^xs[i]),2)
}
drplus1p5 <- 0
for (i in 1:length(xs)) {
drplus1p5[i] <- d_realp(0,seq(1,10^xs[i],l=10^xs[i]),1.5)
}
drplus05 <- 0
for (i in 1:length(xs)) {
drplus05[i] <- d_realp(0,seq(1,10^xs[i],l=10^xs[i]),0.5)
}
drplus0 <- 0
for (i in 1:length(xs)) {
drplus0[i] <- d_realp(0,seq(1,10^xs[i],l=10^xs[i]),0)
}
drplusm1 <- 0
for (i in 1:length(xs)) {
drplusm1[i] <- d_realp(0,seq(1,10^xs[i],l=10^xs[i]),-1)
}
drplusm3 <- 0
for (i in 1:length(xs)) {
drplusm3[i] <- d_realp(0,seq(1,10^xs[i],l=10^xs[i]),-3)
}
drplusm6 <- 0
for (i in 1:length(xs)) {
drplusm6[i] <- d_realp(0,seq(1,10^xs[i],l=10^xs[i]),-6)
}
drplusm20 <- 0
for (i in 1:length(xs)) {
drplusm20[i] <- d_realp(0,seq(1,10^xs[i],l=10^xs[i]),-20)
}
par(mfrow=c(3,3))
plot(x=log(10^xs,10),y=drplus2*(10^xs)^min((2-1),0),typ="b",main=paste0("s=2"),
xlab="log(N,10)",ylab="sum",cex.xlab=0.8,cex.main=.7,cex.ylab=0.7,col=4)
plot(x=log(10^xs,10),y=drplus1p5*(10^xs)^min((1.5-1),0),typ="b",main=paste0("s=1.5"),
xlab="log(N,10)",ylab="sum",cex.xlab=0.8,cex.main=.7,cex.ylab=0.7,col=4)
plot(x=log(10^xs,10),y=drplus1*(10^xs)^min((1-1),0),typ="b",main=paste0("s=1"),
xlab="log(N,10)",ylab="sum",cex.xlab=0.8,cex.main=.7,cex.ylab=0.7,col=2)
plot(x=log(10^xs,10),y=drplus05*(10^xs)^min((0.5-1),0),typ="b",main=paste0("s=0.5"),
xlab="log(N,10)",ylab="sum",cex.xlab=0.8,cex.main=.7,cex.ylab=0.7,col=4,ylim=c(1.5,2.1))
plot(x=log(10^xs,10),y=drplus0*(10^xs)^min((0-1),0),typ="b",main=paste0("s=0.0"),
xlab="log(N,10)",ylab="sum",cex.xlab=0.8,cex.main=.7,cex.ylab=0.7,col=4,ylim=c(0.9,1.1))
plot(x=log(10^xs,10),y=drplusm1*(10^xs)^min((-1-1),0),typ="b",main=paste0("s=-1"),
xlab="log(N,10)",ylab="sum",cex.xlab=0.8,cex.main=.7,cex.ylab=0.7,col=4,ylim=c(0.48,0.56))
plot(x=log(10^xs,10),y=drplusm3*(10^xs)^min((-3-1),0),typ="b",main=paste0("s=-3"),
xlab="log(N,10)",ylab="sum",cex.xlab=0.8,cex.main=.7,cex.ylab=0.7,col=4,ylim=c(0.245,0.3))
plot(x=log(10^xs,10),y=drplusm6*(10^xs)^min((-6-1),0),typ="b",main=paste0("s=-6"),
xlab="log(N,10)",ylab="sum",cex.xlab=0.8,cex.main=.7,cex.ylab=0.7,col=4,ylim=c(0.135,0.2))
plot(x=log(10^xs,10),y=drplusm20*(10^xs)^min((-20-1),0),typ="b",main=paste0("s=-20"),
xlab="log(N,10)",ylab="sum",cex.xlab=0.8,cex.main=.7,cex.ylab=0.7,col=4,ylim=c(0.045,0.15))
# plot(x=x,y=(abs(dplus)),col=6,typ="l",ylim=c(0,.1),main="\n normalised dirichlet series Re(s)=0.2",
# xlab="imaginary axis",ylab="function value",cex.xlab=0.8,cex.main=.7,cex.ylab=0.7)
# abline(h=0,lty=3)
```
***Figure 2. Convergence of normalised ordinary dirichlet series***
```{r, fig3, echo=FALSE, cache=TRUE, fig.width=6, fig.height=5, fig.keep='high', warning=FALSE }
xr1 <- c(-20,-19,-18,-17,-16,-15,-14,-13,-12,-11,-10,-9,-8,-7,-6,-5,-4,-3,-2,-1,0,.2,.4,.6,.7)
plot(x=1/(1-xr1),y=(drpreal),typ="l",lwd=2,lty=2,main=paste0("normalised dirichlet series on lower real axis, Re(s) < 1","\n as function of 1/(1-Re(s))"),
xlab="1/(1-Re(s))",ylab="function value",cex.xlab=0.8,cex.main=.7,cex.ylab=0.7,col=4)
lines(x=1/(1-xr1),y=1/(1-xr1),col=3)
legend(0, 3, c("normalised ordinary dirichlet series","1/(1-Re(s))"),
lty = c(2,1,1,1),cex=.6, lwd = c(2,2,2,2), col = c("blue", "green"))
```
***Figure 3. $\frac{1}{1-\Re(s)}$ dependence of normalised ordinary dirichlet series on real axis $\Re(s) < 1$***
###Lower half complex plane real axis behaviour of the normalised ordinary dirichlet series
Figure 4, illustrates the behaviour of magnitude of $|\frac{\mathfrak{D}_{id}^\mathbb{N}}{N^{(1-\Re(s))}}|$ series for various $\Re(s)$ values in the complex plane. The left hand figure, shows the $\frac{\mathfrak{D}_{id}^\mathbb{N}}{N^{(1-\Re(s))}}$ for N =100,000 which is comfortably accurate in estimating the real axis value (see figure 2). The right hand figure is the approximately detrended version of $|\frac{\mathfrak{D}_{id}^\mathbb{N}}{N^{(1-\Re(s))}}|$ overlayed by $\pm|\frac{\zeta(s)}{N^{(1-\Re(s))}}|$ as an envelope function. As $\Im(s) -> \infty$, the normalisation limit, N needs to rise rapdily to get accurate results for the symmetry of the detrended function.
```{r, fig4a, echo=FALSE, cache=TRUE, fig.width=6, fig.height=5, fig.keep='high', warning=FALSE }
library(pracma)
x <- seq(0,70,l=3501)
rawratio <- function(res,x) {
abs(2^(res+1i*x)*pi^(res+1i*x-1)*sin(pi/2*(res+1i*x))*gammaz(1-(res+1i*x)))
}
theta <- function(res,x) {
-0.5*Im(log(1/(zeta(1-(res+1i*x))*rawratio(res,x)/zeta(res+1i*x))))
}
d_realp <- function(xo,xl,rp) {
sum(1/xl^(rp+1i*xo))
}
par(mfrow=c(2,2))
realpart <- -1
lzeroes <- 100000
xl <- seq(1,lzeroes,l=lzeroes)
d_seriesp <- function(xo,xl) {
# sum(exp(-1i*xo*log(xl))/xl^realpart)
sum(1/xl^(realpart+1i*xo)*(lzeroes)^(0i*xo))*(lzeroes)^(realpart-1)
}
dplus <- 0.
for (i in 1:length(x)) {
dplus[i] <- d_seriesp(x[i],xl)
}
par(fig=c(0.5,1,0.,0.55))
# plot(x=x,y=(abs(dplus)*(lzeroes)^min((realpart-1),0))*x,col=6,typ="l")
plot(x=x,y=abs(dplus)-(dplus[1])*((1-realpart)/x-1/2*(1-realpart)^3/x^3+3/8*(1-realpart)^5/x^5),col=6,typ="l",ylim=c(1*min(-abs(zeta(realpart+x*1i)*(lzeroes)^(realpart+0i*x-1))),1*max(abs(zeta(realpart+x*1i)*(lzeroes)^(realpart+0i*x-1)))),main=paste0("\n detrended normalised dirichlet series Re(s)=-1","\n with scaled abs(zeta(s)) function as envelope"),
xlab="imaginary axis",ylab="function value",cex.xlab=0.8,cex.main=.7,cex.ylab=0.7)
lines(x=x,y=abs(zeta(realpart+x*1i)*(lzeroes)^(realpart+0i*x-1)),typ="l",lty=1,lwd=2,col=1,ylim=c(-2,2))
lines(x=x,y=-abs(zeta(realpart+x*1i)*(lzeroes)^(realpart+0i*x-1)),typ="l",lty=1,lwd=2,col=1,ylim=c(-2,2))
abline(h=1,lty=3)
legend(0, .004, c("detrended norm ord dirichlet series","abs(zeta(s))/N^(1-Re(s))"),
lty = 1,cex=.6, lwd = c(2,2,2,2), col = c("purple", "black"))
par(fig=c(0,0.5,0.,0.55), new=TRUE)
plot(x=x,y=(abs(dplus)),col=6,typ="l",ylim=c(0,.1),main="\n normalised dirichlet series Re(s)=-1",
xlab="imaginary axis",ylab="function value",cex.xlab=0.8,cex.main=.7,cex.ylab=0.7)
abline(h=0,lty=3)
```
```{r, fig4b, echo=FALSE, cache=TRUE, fig.width=6, fig.height=5, fig.keep='high', warning=FALSE }
library(pracma)
x <- seq(0,70,l=3501)
rawratio <- function(res,x) {
abs(2^(res+1i*x)*pi^(res+1i*x-1)*sin(pi/2*(res+1i*x))*gammaz(1-(res+1i*x)))
}
theta <- function(res,x) {
-0.5*Im(log(1/(zeta(1-(res+1i*x))*rawratio(res,x)/zeta(res+1i*x))))
}
d_realp <- function(xo,xl,rp) {
sum(1/xl^(rp+1i*xo))
}
par(mfrow=c(2,2))
realpart <- -0
lzeroes <- 100000
xl <- seq(1,lzeroes,l=lzeroes)
d_seriesp <- function(xo,xl) {
# sum(exp(-1i*xo*log(xl))/xl^realpart)
sum(1/xl^(realpart+1i*xo)*(lzeroes)^(0i*xo))*(lzeroes)^(realpart-1)
}
dplus <- 0.
for (i in 1:length(x)) {
dplus[i] <- d_seriesp(x[i],xl)
}
par(fig=c(0.5,1,0.,0.55))
# plot(x=x,y=(abs(dplus)*(lzeroes)^min((realpart-1),0))*x,col=6,typ="l")
plot(x=x,y=abs(dplus)-(dplus[1])*((1-realpart)/x-1/2*(1-realpart)^3/x^3+3/8*(1-realpart)^5/x^5),col=6,typ="l",ylim=c(1*min(-abs(zeta(realpart+x*1i)*(lzeroes)^(realpart+0i*x-1))),1*max(abs(zeta(realpart+x*1i)*(lzeroes)^(realpart+0i*x-1)))),main=paste0("\n detrended normalised dirichlet series Re(s)=0","\n with scaled abs(zeta(s)) function as envelope"),
xlab="imaginary axis",ylab="function value",cex.xlab=0.8,cex.main=.7,cex.ylab=0.7)
lines(x=x,y=abs(zeta(realpart+x*1i)*(lzeroes)^(realpart+0i*x-1)),typ="l",lty=1,lwd=2,col=1,ylim=c(-2,2))
lines(x=x,y=-abs(zeta(realpart+x*1i)*(lzeroes)^(realpart+0i*x-1)),typ="l",lty=1,lwd=2,col=1,ylim=c(-2,2))
abline(h=1,lty=3)
legend(0, .004, c("detrended norm ord dirichlet series","abs(zeta(s))/N^(1-Re(s))"),
lty = 1,cex=.6, lwd = c(2,2,2,2), col = c("purple", "black"))
par(fig=c(0,0.5,0.,0.55), new=TRUE)
plot(x=x,y=(abs(dplus)),col=6,typ="l",ylim=c(0,.1),main="\n normalised dirichlet series Re(s)=0",
xlab="imaginary axis",ylab="function value",cex.xlab=0.8,cex.main=.7,cex.ylab=0.7)
abline(h=0,lty=3)
```
```{r, fig4c, echo=FALSE, cache=TRUE, fig.width=6, fig.height=5, fig.keep='high', warning=FALSE }
library(pracma)
x <- seq(0,70,l=3501)
rawratio <- function(res,x) {
abs(2^(res+1i*x)*pi^(res+1i*x-1)*sin(pi/2*(res+1i*x))*gammaz(1-(res+1i*x)))
}
theta <- function(res,x) {
-0.5*Im(log(1/(zeta(1-(res+1i*x))*rawratio(res,x)/zeta(res+1i*x))))
}
d_realp <- function(xo,xl,rp) {
sum(1/xl^(rp+1i*xo))
}
par(mfrow=c(2,2))
realpart <- 0.25
lzeroes <- 100000
xl <- seq(1,lzeroes,l=lzeroes)
d_seriesp <- function(xo,xl) {
# sum(exp(-1i*xo*log(xl))/xl^realpart)
sum(1/xl^(realpart+1i*xo)*(lzeroes)^(0i*xo))*(lzeroes)^(realpart-1)
}
dplus <- 0.
for (i in 1:length(x)) {
dplus[i] <- d_seriesp(x[i],xl)
}
par(fig=c(0.5,1,0.,0.55))
# plot(x=x,y=(abs(dplus)*(lzeroes)^min((realpart-1),0))*x,col=6,typ="l")
plot(x=x,y=abs(dplus)-(dplus[1])*((1-realpart)/x-1/2*(1-realpart)^3/x^3+3/8*(1-realpart)^5/x^5),col=6,typ="l",ylim=c(1*min(-abs(zeta(realpart+x*1i)*(lzeroes)^(realpart+0i*x-1))),1*max(abs(zeta(realpart+x*1i)*(lzeroes)^(realpart+0i*x-1)))),main=paste0("\n detrended normalised dirichlet series Re(s)=0.25","\n with scaled abs(zeta(s)) function as envelope"),
xlab="imaginary axis",ylab="function value",cex.xlab=0.8,cex.main=.7,cex.ylab=0.7)
lines(x=x,y=abs(zeta(realpart+x*1i)*(lzeroes)^(realpart+0i*x-1)),typ="l",lty=1,lwd=2,col=1,ylim=c(-2,2))
lines(x=x,y=-abs(zeta(realpart+x*1i)*(lzeroes)^(realpart+0i*x-1)),typ="l",lty=1,lwd=2,col=1,ylim=c(-2,2))
abline(h=1,lty=3)
par(fig=c(0,0.5,0.,0.55), new=TRUE)
plot(x=x,y=(abs(dplus)),col=6,typ="l",ylim=c(0,.1),main="\n normalised dirichlet series Re(s)=0.25",
xlab="imaginary axis",ylab="function value",cex.xlab=0.8,cex.main=.7,cex.ylab=0.7)
abline(h=0,lty=3)
```
```{r, fig4d, echo=FALSE, cache=TRUE, fig.width=6, fig.height=5, fig.keep='high', warning=FALSE }
library(pracma)
x <- seq(0,70,l=3501)
rawratio <- function(res,x) {
abs(2^(res+1i*x)*pi^(res+1i*x-1)*sin(pi/2*(res+1i*x))*gammaz(1-(res+1i*x)))
}
theta <- function(res,x) {
-0.5*Im(log(1/(zeta(1-(res+1i*x))*rawratio(res,x)/zeta(res+1i*x))))
}
d_realp <- function(xo,xl,rp) {
sum(1/xl^(rp+1i*xo))
}
par(mfrow=c(2,2))
realpart <- 0.5
lzeroes <- 100000
xl <- seq(1,lzeroes,l=lzeroes)
d_seriesp <- function(xo,xl) {
# sum(exp(-1i*xo*log(xl))/xl^realpart)
sum(1/xl^(realpart+1i*xo)*(lzeroes)^(0i*xo))*(lzeroes)^(realpart-1)
}
dplus <- 0.
for (i in 1:length(x)) {
dplus[i] <- d_seriesp(x[i],xl)
}
par(fig=c(0.5,1,0.,0.55))
# plot(x=x,y=(abs(dplus)*(lzeroes)^min((realpart-1),0))*x,col=6,typ="l")
plot(x=x,y=abs(dplus)-(dplus[1])*((1-realpart)/x-1/2*(1-realpart)^3/x^3+3/8*(1-realpart)^5/x^5),col=6,typ="l",ylim=c(1*min(-abs(zeta(realpart+x*1i)*(lzeroes)^(realpart+0i*x-1))),1*max(abs(zeta(realpart+x*1i)*(lzeroes)^(realpart+0i*x-1)))),main=paste0("\n detrended normalised dirichlet series Re(s)=0.5","\n with scaled abs(zeta(s)) function as envelope"),
xlab="imaginary axis",ylab="function value",cex.xlab=0.8,cex.main=.7,cex.ylab=0.7)
lines(x=x,y=abs(zeta(realpart+x*1i)*(lzeroes)^(realpart+0i*x-1)),typ="l",lty=1,lwd=2,col=1,ylim=c(-2,2))
lines(x=x,y=-abs(zeta(realpart+x*1i)*(lzeroes)^(realpart+0i*x-1)),typ="l",lty=1,lwd=2,col=1,ylim=c(-2,2))
abline(h=1,lty=3)
par(fig=c(0,0.5,0.,0.55), new=TRUE)
plot(x=x,y=(abs(dplus)),col=6,typ="l",ylim=c(0,.1),main="\n normalised dirichlet series Re(s)=0.5",
xlab="imaginary axis",ylab="function value",cex.xlab=0.8,cex.main=.7,cex.ylab=0.7)
abline(h=0,lty=3)
```
```{r, fig4e, echo=FALSE, cache=TRUE, fig.width=6, fig.height=5, fig.keep='high', warning=FALSE }
library(pracma)
x <- seq(0,70,l=3501)
rawratio <- function(res,x) {
abs(2^(res+1i*x)*pi^(res+1i*x-1)*sin(pi/2*(res+1i*x))*gammaz(1-(res+1i*x)))
}
theta <- function(res,x) {
-0.5*Im(log(1/(zeta(1-(res+1i*x))*rawratio(res,x)/zeta(res+1i*x))))
}
d_realp <- function(xo,xl,rp) {
sum(1/xl^(rp+1i*xo))
}
par(mfrow=c(2,2))
realpart <- 0.75
lzeroes <- 100000
xl <- seq(1,lzeroes,l=lzeroes)
d_seriesp <- function(xo,xl) {
# sum(exp(-1i*xo*log(xl))/xl^realpart)
sum(1/xl^(realpart+1i*xo)*(lzeroes)^(0i*xo))*(lzeroes)^(realpart-1)
}
dplus <- 0.
for (i in 1:length(x)) {
dplus[i] <- d_seriesp(x[i],xl)
}
par(fig=c(0.5,1,0.,0.55))
# plot(x=x,y=(abs(dplus)*(lzeroes)^min((realpart-1),0))*x,col=6,typ="l")
plot(x=x,y=abs(dplus)-(dplus[1])*((1-realpart)/x-1/2*(1-realpart)^3/x^3+3/8*(1-realpart)^5/x^5),col=6,typ="l",ylim=c(1*min(-abs(zeta(realpart+x*1i)*(lzeroes)^(realpart+0i*x-1))),1*max(abs(zeta(realpart+x*1i)*(lzeroes)^(realpart+0i*x-1)))),main=paste0("\n detrended normalised dirichlet series Re(s)=0.75","\n with scaled abs(zeta(s)) function as envelope"),
xlab="imaginary axis",ylab="function value",cex.xlab=0.8,cex.main=.7,cex.ylab=0.7)
lines(x=x,y=abs(zeta(realpart+x*1i)*(lzeroes)^(realpart+0i*x-1)),typ="l",lty=1,lwd=2,col=1,ylim=c(-2,2))
lines(x=x,y=-abs(zeta(realpart+x*1i)*(lzeroes)^(realpart+0i*x-1)),typ="l",lty=1,lwd=2,col=1,ylim=c(-2,2))
abline(h=1,lty=3)
par(fig=c(0,0.5,0.,0.55), new=TRUE)
plot(x=x,y=(abs(dplus)),col=6,typ="l",ylim=c(0,.5),main="\n normalised dirichlet series Re(s)=0.75",
xlab="imaginary axis",ylab="function value",cex.xlab=0.8,cex.main=.7,cex.ylab=0.7)
abline(h=0,lty=3)
```
```{r, fig4f, echo=FALSE, cache=TRUE, fig.width=6, fig.height=5, fig.keep='high', warning=FALSE }
library(pracma)
x <- seq(0,70,l=3501)
rawratio <- function(res,x) {
abs(2^(res+1i*x)*pi^(res+1i*x-1)*sin(pi/2*(res+1i*x))*gammaz(1-(res+1i*x)))
}
theta <- function(res,x) {
-0.5*Im(log(1/(zeta(1-(res+1i*x))*rawratio(res,x)/zeta(res+1i*x))))
}
d_realp <- function(xo,xl,rp) {
sum(1/xl^(rp+1i*xo))
}
par(mfrow=c(2,2))
realpart <- 1
lzeroes <- 100000
xl <- seq(1,lzeroes,l=lzeroes)
d_seriesp <- function(xo,xl) {
# sum(exp(-1i*xo*log(xl))/xl^realpart)
sum(1/xl^(realpart+1i*xo)*(lzeroes)^(0i*xo))*(lzeroes)^(realpart-1)
}
dplus <- 0.
for (i in 1:length(x)) {
dplus[i] <- d_seriesp(x[i],xl)
}
par(fig=c(0.5,1,0.,0.55))
# plot(x=x,y=(abs(dplus)*(lzeroes)^min((realpart-1),0))*x,col=6,typ="l")
plot(x=x,y=abs(dplus)-(dplus[1])*((1-realpart)/x-1/2*(1-realpart)^3/x^3+3/8*(1-realpart)^5/x^5),col=6,typ="l",ylim=c(0,3),main=paste0("\n detrended normalised dirichlet series Re(s)=1","\n with scaled abs(zeta(s)) function as envelope"),
xlab="imaginary axis",ylab="function value",cex.xlab=0.8,cex.main=.7,cex.ylab=0.7)
lines(x=x,y=abs(zeta(realpart+x*1i)*(lzeroes)^(realpart+0i*x-1)),typ="l",lty=1,lwd=2,col=1,ylim=c(-2,2))
lines(x=x,y=-abs(zeta(realpart+x*1i)*(lzeroes)^(realpart+0i*x-1)),typ="l",lty=1,lwd=2,col=1,ylim=c(-2,2))
abline(h=1,lty=3)
par(fig=c(0,0.5,0.,0.55), new=TRUE)
plot(x=x,y=(abs(dplus)),col=6,typ="l",ylim=c(0,3),main="\n normalised dirichlet series Re(s)=1",
xlab="imaginary axis",ylab="function value",cex.xlab=0.8,cex.main=.7,cex.ylab=0.7)
abline(h=0,lty=3)
```
***Figure 4. Lower half complex plane behaviour of the normalised ordinary dirichlet series and its detrended version with an overlay of the equivalent normalised Riemann Zeta function as an envelope function***
It can be observed there is excellent correspondence with the normalised Riemann Zeta function as an envelope function gives strong direct confirmation of the Riemann Zeta analytical continuation. The discrepancy for values close to the real axis may be due to (i) inaccuracies in the detrending approximation eqn \eqref {eq:approx} and/or (ii) possible differences between applicability of Riemann Zeta function to the prime counting function for $\Im(s) < 2$ which could be related to the differences between $\zeta(\Re(s))$ and $|\frac{\mathfrak{D}_{id}^\mathbb{N}}{N^{(1-\Re(s))}}|$ in the critical strip.
###An alternative derivation of the leading terms of the sum of logarithms of the positive integers
Using eqn \eqref {eq:finite_n_real_axis}, it is straightforward to derive the leading terms of the sum of the logarithm of the positive integers.
Firstly, the derivative of the LHS and RHS of eqn \eqref {eq:finite_n_real_axis} are obtained on the lower half real axis
\begin{equation}
\frac{d}{d\Re(s)} (\frac{1}{N^{(1-\Re(s))}}\sum_{n=1}^N (\frac{1}{n^{\Re(s)}}) ) = \frac{ln(N)}{N^{(1-\Re(s))}}\sum_{n=1}^N (\frac{1}{n^{\Re(s)}}) - \frac{1}{N^{(1-\Re(s))}}\sum_{n=1}^N (\frac{ln(n)}{n^{\Re(s)}}) \label {eq:der_LHS}
\end{equation}
\begin{equation}
\frac{d}{d\Re(s)} (\frac{1}{1-\Re(s)}) = \frac{1}{(1-\Re(s))^2} \label {eq:der_RHS}
\end{equation}
in the limit of $\mathbb{N} \rightarrow \infty$ for $\Im(s) = 0$ and $\Re(s) < 1$ therefore, equating the two derivatives
\begin{equation}
\frac{ln(N)}{N^{(1-\Re(s))}}\sum_{n=1}^N (\frac{1}{n^{\Re(s)}}) - \frac{1}{N^{(1-\Re(s))}}\sum_{n=1}^N (\frac{ln(n)}{n^{\Re(s)}}) \rightarrow \frac{1}{(1-\Re(s))^2} \qquad ,\mathbb{N} \rightarrow \infty \label {eq:der_result}
\end{equation}
For the particular value s=0, the equation simplifies to
\begin{equation}
ln(N) - \frac{1}{N}\sum_{n=1}^N ln(n) \rightarrow 1 \qquad ,\mathbb{N} \rightarrow \infty \label {eq:der_s_zero}
\end{equation}
which can be rearranged to give the leading terms of the sum of the logarithm of the positive integers
\begin{equation}
\sum_{n=1}^N ln(n) \rightarrow Nln(N) - N \qquad ,\mathbb{N} \rightarrow \infty \label {eq:der_s_zero_final}
\end{equation}
which agrees with the leading terms, of the known Stirling formula and Euler-Maclaurin Sum Formula expansions.
Eqn \eqref{eq:der_result} can be differentiated a second time, to yield
\begin{align}
ln(N)&[\frac{ln(N)}{N^{(1-\Re(s))}}\sum_{n=1}^N (\frac{1}{n^{\Re(s)}}) - \frac{1}{N^{(1-\Re(s))}}\sum_{n=1}^N (\frac{ln(n)}{n^{\Re(s)}})] \notag \\ - &[\frac{ln(N)}{N^{(1-\Re(s))}}\sum_{n=1}^N (\frac{ln(n)}{n^{\Re(s)}}) - \frac{1}{N^{(1-\Re(s))}}\sum_{n=1}^N (\frac{ln(n)^2}{n^{\Re(s)}})] \rightarrow \frac{2}{(1-\Re(s))^3} \qquad ,\mathbb{N} \rightarrow \infty
\end{align}
which when simplified has the form
\begin{equation}
\frac{ln(N)^2}{N^{(1-\Re(s))}}\sum_{n=1}^N (\frac{1}{n^{\Re(s)}}) - 2\frac{ln(N)}{N^{(1-\Re(s))}}\sum_{n=1}^N (\frac{ln(n)}{n^{\Re(s)}}) + \frac{1}{N^{(1-\Re(s))}}\sum_{n=1}^N (\frac{ln(n)^2}{n^{\Re(s)}}) \rightarrow \frac{2}{(1-\Re(s))^3} \qquad ,\mathbb{N} \rightarrow \infty \label
{eq:2ndder_result}
\end{equation}
For the particular value s=0, eqn \eqref{eq:2ndder_result} simplifies to
\begin{equation}
ln(N)^2 - 2\frac{ln(N)}{N}\sum_{n=1}^N (ln(n)) + \frac{1}{N}\sum_{n=1}^N (ln(n)^2) \rightarrow 2 \qquad ,\mathbb{N} \rightarrow \infty \label
{eq:2ndder_zero}
\end{equation}
which can be rearranged, using eqn \eqref{eq:der_s_zero_final} for $\sum_{n=1}^N (ln(n))$ to give the asymptotic leading terms of the sum of the square of the logarithms of the positive integers
\begin{align}
\sum_{n=1}^N ln(n)^2 &\rightarrow N(2 -ln(N)^2 + 2 \frac{ln(N)}{N}\sum_{n=1}^N (ln(n)) ) \notag \\ &\rightarrow N(2 -ln(N)^2 + 2 \frac{ln(N)}{N} (Nln(N) - N) ) \notag \\ &\rightarrow Nln(N)^2-2Nln(N)+2N \qquad ,\mathbb{N} \rightarrow \infty \label {eq:2ndder_s_zero_final}
\end{align}
This result agrees with the known terms of the indefinite integral of $\int ln(x)^2dx$ excluding the integration constant
###General formulae for positive integer sums of $\sum_{n=1}^N \frac{ln(n)}{n^{\Re(s)}}$ and $\sum_{n=1}^N \frac{ln(n)^2}{n^{\Re(s)}}$, in the lower half real axis of $\Re(s)$
In the limit of $\mathbb{N} \rightarrow \infty$ for $\Im(s) = 0$ and $\Re(s) < 1$, where $\sigma \equiv \Re(s)$, using the first and second derivatives of eqn \eqref {eq:finite_n_real_axis}, ie. eqns \eqref {eq:der_result} & \eqref {eq:2ndder_result}, the following general formulae apply
\begin{equation} \sum_{n=1}^N \frac{ln(n)}{n^\sigma} \rightarrow N^{(1-\sigma)}(\frac{ln(N)}{(1-\sigma)} - \frac{1}{(1-\sigma)^2}) \qquad ,\mathbb{N} \rightarrow \infty, \qquad \sigma < 1 \label {eq:gender_s_zero_final} \end{equation}
\begin{align} \sum_{n=1}^N \frac{ln(n)^2}{n^{\sigma}} &\rightarrow N^{(1-\sigma)}(\frac{2}{(1-\sigma)^3}-\frac{ln(N)^2}{(1-\sigma)} + 2\frac{ln(N)}{N^{(1-\sigma)}}\sum_{n=1}^N \frac{ln(n)}{n^{\sigma}}) \\ &\rightarrow N^{(1-\sigma)}(\frac{ln(N)^2}{(1-\sigma)}- 2\frac{ln(N)}{(1-\sigma)^2}+\frac{2}{(1-\sigma)^3} ) \qquad ,\mathbb{N} \rightarrow \infty, \qquad \sigma < 1 \label {eq:gen2ndder_s_zero_final} \end{align}
which saves a bit of effort, compared to integrating by parts, when deriving the equivalent looking results (excluding integration constant), for $\int \frac{ln(x)}{x^\sigma}dx$ and $\int \frac{ln(x)^2}{x^\sigma}dx$
###Behaviour of real and imaginary components of $\frac{\mathfrak{D}_{id}^\mathbb{N}}{N^{(1-\Re(s))}}$
Given the above information, does it add any further insight into the Riemann Hypothesis (1,3). The following graphs, show the real and imaginary components of the absolute value function results discussed above.
From, figure 5, the first observation is the "ringing" behaviour of the lineshapes away from the real axis.
From figure 6, above the critical value $\Re(s)=0.5$, the ringing is clearly asymmetric for the real component. Secondly, the small modulation on top of the ringing is the normalised Riemann Zeta function.
From figure 7, this modulation will reduce as $\mathbb{N} \rightarrow \infty$ the normalisation limit increases (in this case from 10^5 to 10^6 compared to figure 6).
```{r, fig5a, echo=FALSE, cache=TRUE, fig.width=6, fig.height=5, fig.keep='high', warning=FALSE }
library(pracma)
x <- seq(0,70,l=3501)
rawratio <- function(res,x) {
abs(2^(res+1i*x)*pi^(res+1i*x-1)*sin(pi/2*(res+1i*x))*gammaz(1-(res+1i*x)))
}
theta <- function(res,x) {
-0.5*Im(log(1/(zeta(1-(res+1i*x))*rawratio(res,x)/zeta(res+1i*x))))
}
d_realp <- function(xo,xl,rp) {
sum(1/xl^(rp+1i*xo))
}
par(mfrow=c(2,2))
realpart <- 0.75
lzeroes <- 100000
xl <- seq(1,lzeroes,l=lzeroes)
d_seriesp <- function(xo,xl) {
# sum(exp(-1i*xo*log(xl))/xl^realpart)
sum(1/xl^(realpart+1i*xo)*(lzeroes)^(0i*xo))*(lzeroes)^(realpart-1)
}
dplus <- 0.
for (i in 1:length(x)) {
dplus[i] <- d_seriesp(x[i],xl)
}
par(fig=c(0.5,1,0.,0.55))
plot(x=x,y=(Im(dplus)),col=6,typ="l",main="\n imag(normalised dirichlet series) Re(s)=0.75",
xlab="imaginary axis",ylab="function value",cex.xlab=0.8,cex.main=.7,cex.ylab=0.7)
abline(h=0,lty=3)
par(fig=c(0,0.5,0.,0.55), new=TRUE)
plot(x=x,y=(Re(dplus)),col=6,typ="l",main="\n real(normalised dirichlet series) Re(s)=0.75",
xlab="imaginary axis",ylab="function value",cex.xlab=0.8,cex.main=.7,cex.ylab=0.7)
abline(h=0,lty=3)
```
```{r, fig5b, echo=FALSE, cache=TRUE, fig.width=6, fig.height=5, fig.keep='high', warning=FALSE }
library(pracma)
x <- seq(0,70,l=3501)
rawratio <- function(res,x) {
abs(2^(res+1i*x)*pi^(res+1i*x-1)*sin(pi/2*(res+1i*x))*gammaz(1-(res+1i*x)))
}
theta <- function(res,x) {
-0.5*Im(log(1/(zeta(1-(res+1i*x))*rawratio(res,x)/zeta(res+1i*x))))
}
d_realp <- function(xo,xl,rp) {
sum(1/xl^(rp+1i*xo))
}
par(mfrow=c(2,2))
realpart <- 0.5
lzeroes <- 100000
xl <- seq(1,lzeroes,l=lzeroes)
d_seriesp <- function(xo,xl) {
# sum(exp(-1i*xo*log(xl))/xl^realpart)
sum(1/xl^(realpart+1i*xo)*(lzeroes)^(0i*xo))*(lzeroes)^(realpart-1)
}
dplus <- 0.
for (i in 1:length(x)) {
dplus[i] <- d_seriesp(x[i],xl)
}
par(fig=c(0.5,1,0.,0.55))
plot(x=x,y=(Im(dplus)),col=6,typ="l",main="\n imag(normalised dirichlet series) Re(s)=0.5",
xlab="imaginary axis",ylab="function value",cex.xlab=0.8,cex.main=.7,cex.ylab=0.7)
abline(h=0,lty=3)
par(fig=c(0,0.5,0.,0.55), new=TRUE)
plot(x=x,y=(Re(dplus)),col=6,typ="l",main="\n real(normalised dirichlet series) Re(s)=0.5",
xlab="imaginary axis",ylab="function value",cex.xlab=0.8,cex.main=.7,cex.ylab=0.7)
abline(h=0,lty=3)
```
```{r, fig5c, echo=FALSE, cache=TRUE, fig.width=6, fig.height=5, fig.keep='high', warning=FALSE }
library(pracma)
x <- seq(0,70,l=3501)
rawratio <- function(res,x) {
abs(2^(res+1i*x)*pi^(res+1i*x-1)*sin(pi/2*(res+1i*x))*gammaz(1-(res+1i*x)))
}
theta <- function(res,x) {
-0.5*Im(log(1/(zeta(1-(res+1i*x))*rawratio(res,x)/zeta(res+1i*x))))
}
d_realp <- function(xo,xl,rp) {
sum(1/xl^(rp+1i*xo))
}
par(mfrow=c(2,2))
realpart <- 0.25
lzeroes <- 100000
xl <- seq(1,lzeroes,l=lzeroes)
d_seriesp <- function(xo,xl) {
# sum(exp(-1i*xo*log(xl))/xl^realpart)
sum(1/xl^(realpart+1i*xo)*(lzeroes)^(0i*xo))*(lzeroes)^(realpart-1)
}
dplus <- 0.
for (i in 1:length(x)) {
dplus[i] <- d_seriesp(x[i],xl)
}
par(fig=c(0.5,1,0.,0.55))
plot(x=x,y=(Im(dplus)),col=6,typ="l",main="\n imag(normalised dirichlet series) Re(s)=0.25",
xlab="imaginary axis",ylab="function value",cex.xlab=0.8,cex.main=.7,cex.ylab=0.7)
abline(h=0,lty=3)
par(fig=c(0,0.5,0.,0.55), new=TRUE)
plot(x=x,y=(Re(dplus)),col=6,typ="l",main="\n real(normalised dirichlet series) Re(s)=0.25",
xlab="imaginary axis",ylab="function value",cex.xlab=0.8,cex.main=.7,cex.ylab=0.7)
abline(h=0,lty=3)
```
***Fig.5:real and imaginary components of $|\frac{\mathfrak{D}_{id}^\mathbb{N}}{N^{(1-\Re(s))}}|$ at full scale, $\mathbb{N}=10^5$***
```{r, fig6a, echo=FALSE, cache=TRUE, fig.width=6, fig.height=5, fig.keep='high', warning=FALSE }
library(pracma)
x <- seq(0,70,l=3501)
rawratio <- function(res,x) {
abs(2^(res+1i*x)*pi^(res+1i*x-1)*sin(pi/2*(res+1i*x))*gammaz(1-(res+1i*x)))
}
theta <- function(res,x) {
-0.5*Im(log(1/(zeta(1-(res+1i*x))*rawratio(res,x)/zeta(res+1i*x))))
}
d_realp <- function(xo,xl,rp) {
sum(1/xl^(rp+1i*xo))
}
par(mfrow=c(2,2))
realpart <- 0.75
lzeroes <- 100000
xl <- seq(1,lzeroes,l=lzeroes)
d_seriesp <- function(xo,xl) {
# sum(exp(-1i*xo*log(xl))/xl^realpart)
sum(1/xl^(realpart+1i*xo)*(lzeroes)^(0i*xo))*(lzeroes)^(realpart-1)
}
dplus <- 0.
for (i in 1:length(x)) {
dplus[i] <- d_seriesp(x[i],xl)
}
par(fig=c(0.5,1,0.,0.55))
plot(x=x,y=(Im(dplus)),col=6,typ="l",ylim=c(-.1,.1),main="\n imag(normalised dirichlet series) Re(s)=0.75",
xlab="imaginary axis",ylab="function value",cex.xlab=0.8,cex.main=.7,cex.ylab=0.7)
abline(h=0,lty=3)
par(fig=c(0,0.5,0.,0.55), new=TRUE)
plot(x=x,y=(Re(dplus)),col=6,typ="l",ylim=c(-.1,.1),main="\n real(normalised dirichlet series) Re(s)=0.75",
xlab="imaginary axis",ylab="function value",cex.xlab=0.8,cex.main=.7,cex.ylab=0.7)
abline(h=0,lty=3)
```
```{r, fig6b, echo=FALSE, cache=TRUE, fig.width=6, fig.height=5, fig.keep='high', warning=FALSE }
library(pracma)
x <- seq(0,70,l=3501)
rawratio <- function(res,x) {
abs(2^(res+1i*x)*pi^(res+1i*x-1)*sin(pi/2*(res+1i*x))*gammaz(1-(res+1i*x)))
}
theta <- function(res,x) {
-0.5*Im(log(1/(zeta(1-(res+1i*x))*rawratio(res,x)/zeta(res+1i*x))))
}
d_realp <- function(xo,xl,rp) {
sum(1/xl^(rp+1i*xo))
}
par(mfrow=c(2,2))
realpart <- 0.5
lzeroes <- 100000
xl <- seq(1,lzeroes,l=lzeroes)
d_seriesp <- function(xo,xl) {
# sum(exp(-1i*xo*log(xl))/xl^realpart)
sum(1/xl^(realpart+1i*xo)*(lzeroes)^(0i*xo))*(lzeroes)^(realpart-1)
}
dplus <- 0.
for (i in 1:length(x)) {
dplus[i] <- d_seriesp(x[i],xl)
}
par(fig=c(0.5,1,0.,0.55))
plot(x=x,y=(Im(dplus)),col=6,typ="l",ylim=c(-.1,.1),main="\n imag(normalised dirichlet series) Re(s)=0.5",
xlab="imaginary axis",ylab="function value",cex.xlab=0.8,cex.main=.7,cex.ylab=0.7)
abline(h=0,lty=3)
par(fig=c(0,0.5,0.,0.55), new=TRUE)
plot(x=x,y=(Re(dplus)),col=6,typ="l",ylim=c(-.1,.1),main="\n real(normalised dirichlet series) Re(s)=0.5",
xlab="imaginary axis",ylab="function value",cex.xlab=0.8,cex.main=.7,cex.ylab=0.7)
abline(h=0,lty=3)
```
```{r, fig6c, echo=FALSE, cache=TRUE, fig.width=6, fig.height=5, fig.keep='high', warning=FALSE }
library(pracma)
x <- seq(0,70,l=3501)
rawratio <- function(res,x) {
abs(2^(res+1i*x)*pi^(res+1i*x-1)*sin(pi/2*(res+1i*x))*gammaz(1-(res+1i*x)))
}
theta <- function(res,x) {
-0.5*Im(log(1/(zeta(1-(res+1i*x))*rawratio(res,x)/zeta(res+1i*x))))
}
d_realp <- function(xo,xl,rp) {
sum(1/xl^(rp+1i*xo))
}
par(mfrow=c(2,2))
realpart <- 0.25
lzeroes <- 100000
xl <- seq(1,lzeroes,l=lzeroes)
d_seriesp <- function(xo,xl) {
# sum(exp(-1i*xo*log(xl))/xl^realpart)
sum(1/xl^(realpart+1i*xo)*(lzeroes)^(0i*xo))*(lzeroes)^(realpart-1)
}
dplus <- 0.
for (i in 1:length(x)) {
dplus[i] <- d_seriesp(x[i],xl)
}
par(fig=c(0.5,1,0.,0.55))
plot(x=x,y=(Im(dplus)),col=6,typ="l",ylim=c(-.1,.1),main="\n imag(normalised dirichlet series) Re(s)=0.25",
xlab="imaginary axis",ylab="function value",cex.xlab=0.8,cex.main=.7,cex.ylab=0.7)
abline(h=0,lty=3)
par(fig=c(0,0.5,0.,0.55), new=TRUE)
plot(x=x,y=(Re(dplus)),col=6,typ="l",ylim=c(-.1,.1),main="\n real(normalised dirichlet series) Re(s)=0.25",
xlab="imaginary axis",ylab="function value",cex.xlab=0.8,cex.main=.7,cex.ylab=0.7)
abline(h=0,lty=3)
```
***Fig.6:real and imaginary components of $\frac{\mathfrak{D}_{id}^\mathbb{N}}{N^{(1-\Re(s))}}$ at magnified scale, $\mathbb{N}=10^5$***
```{r, fig7b, echo=FALSE, cache=TRUE, fig.width=6, fig.height=5, fig.keep='high', warning=FALSE }