-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathIreland_Rosen_Chapters_11.tex
More file actions
1410 lines (1179 loc) · 79.8 KB
/
Ireland_Rosen_Chapters_11.tex
File metadata and controls
1410 lines (1179 loc) · 79.8 KB
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
%&LaTeX
\documentclass[11pt,a4paper]{article}
\usepackage[frenchb,english]{babel}
\usepackage[applemac]{inputenc}
\usepackage[OT1]{fontenc}
\usepackage[]{graphicx}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amsthm}
\usepackage{amssymb}
\usepackage{yfonts}
\usepackage{mathrsfs}
%\input{8bitdefs}
% marges
\topmargin 10pt
\headsep 10pt
\headheight 10pt
\marginparwidth 30pt
\oddsidemargin 40pt
\evensidemargin 40pt
\footskip 30pt
\textheight 670pt
\textwidth 420pt
\def\imp{\Rightarrow}
\def\gcro{\mbox{[\hspace{-.15em}[}}% intervalles d'entiers
\def\dcro{\mbox{]\hspace{-.15em}]}}
\newcommand{\D}{\mathrm{d}}
\newcommand{\Q}{\mathbb{Q}}
\newcommand{\Z}{\mathbb{Z}}
\newcommand{\N}{\mathbb{N}}
\newcommand{\R}{\mathbb{R}}
\newcommand{\C}{\mathbb{C}}
\newcommand{\F}{\mathbb{F}}
\newcommand{\re}{\,\mathrm{Re}\,}
\newcommand{\ord}{\mathrm{ord}} \newcommand{\n}{\mathrm{N}}
\newcommand{\legendre}[2]{\genfrac{(}{)}{}{}{#1}{#2}}
\title{Solutions to Ireland, Rosen ``A Classical Introduction to Modern Number Theory''}
\author{Richard Ganaye}
\begin{document}
{ \Large \bf Chapter 11}
\paragraph{Ex. 11.1}{\it Suppose that we may write the power series $1+a_1u +a_2u^2+\cdots$ as the quotient of two polynomials $P(u)/Q(u)$. Show that we may assume that $P(0) = Q(0) = 1$.
}
\begin{proof}
Here $f(u) = 1+a_1u +a_2u^2+\cdots \in \C[[u]]$ is a formal series in the variable $u$.
We suppose that $f(u) = P(u)/Q(u)$, where we may assume, after simplification, that the two polynomials are relatively prime. Then $P(0)/Q(0) =1$. Write $c = P(0) = Q(0) \in F$.
If $c = 0$, then $u\mid P(u)$ and $u \mid Q(u)$. This is impossible since $P \wedge Q = 1$. So $c \ne 0$.
Define $P_1(u) = (1/c) P(u), Q_1(u) = (1/c) Q(u)$. Then $f(u) = P_1(u)/Q_1(u)$ and $P_1(0) = Q_1(0) = 1$. If we replace $P,Q$ by $P_1,Q_1$, then the pair $(P_1,Q_1)$ has the required properties.
\end{proof}
\paragraph{Ex. 11.2}{\it Prove the converse to Proposition 11.1.1.
}
\begin{proof}
If $N_s = \sum_{j=1}^e \beta_j^s - \sum_{i=1}^d \alpha_i^s,$ where $\alpha_i,\beta_j$ are complex numbers, then
\begin{align*}
\sum_{s=1}^\infty \frac{N_s u^s}{s} &= \sum_{j=1}^e \left( \sum_{s=1}^\infty \frac{(\beta_j u)^s}{s} \right) - \sum_{i=1}^d \left( \sum_{s=1}^\infty \frac{(\alpha_i u)^s}{s} \right)\\
&=-\sum_{j=1}^e \ln(1 - \beta_ju) + \sum_{i=1}^d \ln(1 - \alpha_i u).
\end{align*}
Here $u$ is a variable, and both members are formal polynomials in $\C[[u]]$, so we don't study convergence. Nevertheless, the left member has a radius of convergence at least $q^{-n}$, and the right member $\min_{i,j}(1/|\beta_j|,1/|\alpha_i|)$.
Therefore,
$$Z_f(u) = \exp\left(\sum_{s=1}^\infty \frac{N_s u^s}{s} \right) = \prod_{j=1}^e(1 - \beta_j u)^{-1} \prod_{i=1}^d (1-\alpha_i u) = \frac{\prod_{i=1}^d (1 - \alpha_i u)}{\prod_{j=1}^e (1 - \beta_j u)}$$
is a rational fraction.
\end{proof}
\paragraph{Ex. 11.3}{\it Give the details of the proof that $N_s$ is independent of the field $F_s$ (see the concluding paragraph to section 1).
}
\begin{proof}
Suppose that $E$ and $E'$ are two fields containing $F$ both with $q^s$ elements. We first show that there is a isomorphism $\sigma : E \to E'$ which fixes the elements of $F$, by showing that that both $E$ and $E'$ are isomorphic over $F$ to $F[x]/(f(x))$ for some irreducible polynomial $f(x) \in F(x)$.
There is a primitive element $\alpha' \in E'$, i.e. such that $E' = F(\alpha')$. For example, take $\alpha'$ to be a primitive $q^s - 1$ root of unity : since $\alpha$ is a generator of $E'^*$, every element $\gamma \in E'^*$ is equal to $\alpha'^k$ for some integer $k$, thus $\gamma \in F(\alpha')$ (and $0 \in F(\alpha')$). This proves $E' \subset F(\alpha')$, and since $\alpha' \in E'$ and $F \subset E'$, $F(\alpha') \subset E'$, so $E' = F(\alpha')$.
Let $f(x) \in F[x]$ be the minimal polynomial of $\alpha'$ over $F$. Then
$$E' = F(\alpha') \simeq F(x)/(f(x)),$$
where the isomorphism $\sigma_1 : F(\alpha') \to F(x)/(f(x))$ maps $\alpha'$ to $\overline{x} = x + (f(x))$, and maps $a \in F$ on $\overline{a} = a + (f(a))$.
Since $\alpha'$ is a root of $x^{q^s} -x$, $f(x) \mid x^{q^s} - x$.
$E$ is a field with $q^s$ elements, so we have $x^{q^s} - x = \prod_{\alpha \in E} (x-\alpha)$. Thus $f(x) \mid \prod_{\alpha \in E} (x-\alpha)$, where $\deg(f(x)) = s \geq 1$, so $f(\alpha) = 0$ for some $\alpha \in E$. The polynomial $f$ being irreducible over $F$, $f$ is the minimal polynomial of $\alpha$ over $F$, thus $F(\alpha) \simeq F[x]/(f(x))$ is a field with $q^s$ elements.
Since $F(\alpha) \subset E$, and $|F(\alpha)| = |E|$, we conclude $E = F(\alpha)$, therefore
$$E = F(\alpha) \simeq F(x)/(f(x)),$$
where the isomorphism $\sigma_2 : F(\alpha) \to F(x)/(f(x))$ maps $\alpha$ to $\overline{x} = x + (f(x))$, and maps $a \in F$ on $\overline{a} = a + (f(a))$.
Then $\sigma = \sigma_1^{-1} \circ \sigma_2 : E \to E'$ is an isomorphism, and $\sigma(a) = a$ for all $a \in F$.
\bigskip
We can now use the isomorphism $\sigma$ to induce a map
$$\overline{\sigma}
\left\{
\begin{array}{ccl}
P^n(E)& \to &P^n(E')\\
{[}\alpha_0,\ldots,\alpha_n{]} &\mapsto & {[}\sigma(\alpha_0),\ldots,\sigma(\alpha_n){]}.
\end{array}
\right.
$$
Then $\overline{\sigma}$ is injective: if $[\sigma(\alpha_0),\ldots,\sigma(\alpha_n)] = [\sigma(\beta_0),\ldots,\sigma(\beta_n)]$, then there is $\lambda \in F^*$ such that $\sigma(\beta_i) = \lambda \sigma(\alpha_i) = \sigma(\lambda)\sigma(\alpha_i) = \sigma(\lambda \alpha_i),\ i = 0,\ldots,n$, thus $\beta_i = \lambda \alpha_i$, which proves $[\alpha_0,\ldots,\alpha_n] = [\beta_0,\ldots,\beta_n]$.
If $[\gamma_0,\ldots,\gamma_n] $ is any projective point of $P^n(E')$, then
$$[\gamma_0,\ldots,\gamma_n] = \overline{\sigma}([\sigma^{-1}(\gamma_0),\ldots,\sigma^{-1}(\gamma_n)]).$$ This proves that $\overline{\sigma}$ is surjective. So $\overline{\sigma}$ is a bijection.
Now take $f(y_0,\ldots,y_n)\in F[y_0,\ldots,y_n]$ an homogeneous polynomial, $\overline{H}_f(E)$ the corresponding projective hypersurface in $P^n(E)$, and $\overline{H}_f(E')$ the corresponding projective hypersurface in $P^n(E')$. We show that $\overline{\sigma}(\overline{H}_f(E)) = \overline{H}_f(E')$.
Since $\sigma$ is a $F$-isomorphism, $\sigma(f(\alpha_0,\ldots,\alpha_n)) = f(\sigma(\alpha_0),\ldots,\sigma(\alpha_n))\quad (\alpha_i \in E)$, and similarly $\sigma^{-1}(f(\beta_0,\ldots,\beta_n)) = f(\sigma^{-1} (\beta_0),\ldots, \sigma^{-1}(\beta_n))\quad (\beta_i \in E')$, thus
\begin{align*}
{[}\alpha_0,\ldots,\alpha_n{]} \in \overline{H}_f(E)
&\Rightarrow f(\alpha_0,\ldots,\alpha_n) = 0 \\
&\Rightarrow \sigma(f(\alpha_0,\ldots,\alpha_n)) = \sigma(0) = 0\\
& \Rightarrow f(\sigma(\alpha_0),\ldots,\sigma(\alpha_0)) = 0\\
&\Rightarrow \overline{\sigma}([\alpha_0,\ldots,\alpha_n]) = [\sigma(\alpha_0),\ldots,\sigma(\alpha_0)] \in \overline{H}_f(E').
\end{align*}
This shows $\overline{\sigma}(\overline{H}_f(E)) \subset \overline{H}_f(E')$.
Conversely,
\begin{align*}
{[}\beta_0,\ldots,\beta_n{]} \in \overline{H}_f(E')
&\Rightarrow f(\beta_0,\ldots,\beta_n) = 0 \\
&\Rightarrow \sigma^{-1}(f(\beta_0,\ldots,\beta_n)) = \sigma(0) = 0\\
& \Rightarrow f(\sigma^{-1}(\beta_0),\ldots,\sigma^{-1}(\beta_0)) = 0\\
&\Rightarrow \overline{\sigma}^{-1}([\beta_0,\ldots,\beta_n]) = [\sigma^{-1}(\beta_0),\ldots,\sigma^{-1}(\beta_0)] \in \overline{H}_f(E).
\end{align*}
If we define $\alpha_i = \sigma^{-1}(\beta_i),\ i=0,\ldots,n$, then $[\alpha_0,\ldots,\alpha_n] \in \overline{H}_f(E)$, and $[\beta_0,\ldots,\beta_n] = \overline{\sigma}([\alpha_0,\ldots,\alpha_n]) \in \overline{\sigma}(\overline{H}_f(E))$. This shows $ \overline{H}_f(E') \subset \overline{\sigma}(\overline{H}_f(E))$, and so
$$\overline{\sigma}(\overline{H}_f(E)) = \overline{H}_f(E').$$
Since $\overline{\sigma}$ is a bijection,
$$N_s = |\overline{H}_f(E)| = |\overline{H}_f(E')| = N'_s.$$
So $N_s$ is independent of the choice of the extension $F_s = \F_{q^s}$ of $F = \F_q$.
\end{proof}
\paragraph{Ex. 11.4}{\it Calculate the zeta function of $x_0 x_1 - x_2 x_3 = 0$ over $\F_p$.
}
\begin{proof}
Here $F = \F_p$, and $F_s = \F_{p^s}$.
To calculate $N_s$, we calculate the number of points at infinity (such that $x_0 = 0$), and the numbers of affine points of the curve $\overline{H}_f(\F_{p^s})$ associate to $$f(x_0,x_1,x_2,x_3) = x_0 x_1 - x_2 x_3.$$
\begin{enumerate}
\item[$\bullet$] To estimate the number of points at infinity, we calculate first the cardinality of the set
$$U = \{(\alpha_0,\alpha_1,\alpha_2,\alpha_3) \in F_s^4 \mid \alpha_0 \alpha_1 - \alpha_2 \alpha_3 =0,\ \alpha_0 = 0\}.$$
Then $\alpha_1$ takes an arbitrary value $a \in F_s$. Write
$$U_a =\{(\alpha_0,\alpha_1,\alpha_2,\alpha_3) \in U \mid \alpha_1 = a\}.$$
Then $U_a =\{(\alpha_0,\alpha_1,\alpha_2,\alpha_3) \in F_s^4\mid \alpha_0 = 0,\ \alpha_1 = a,\ \alpha_2\alpha_3 = 0\}$ , thus $U_a = A \cup B$, where
\begin{align*}
A &= \{(\alpha_0,\alpha_1,\alpha_2,\alpha_3) \in U_a \mid \alpha_2 = 0\},\\
B &= \{(\alpha_0,\alpha_1,\alpha_2,\alpha_3) \in U_a \mid \alpha_3 = 0\}.
\end{align*}
Since $\alpha_0,\alpha_1,\alpha_2$ are fixed in $A$, the map $A \to F_s$ defined by $(\alpha_0,\alpha_1,\alpha_2,\alpha_3) \mapsto \alpha_3$ is a bijection, therefore $|A| = p^s$, and similarly $|B| = p^s$. But $A\cap B = \{(0,0,0,0)\}$, thus
$$|U_a| = |A| + |B| - |A\cap B| = 2p^s - 1.$$
Since $U$ is the disjoint union of the $U_a$, thus
$$|U| = \sum_{a\in F_s} |U_a| = \sum_{a\in F_s} (2p^s - 1) = 2p^{2s} - p^s .$$
Therefore the number of projective points $[\alpha_0,\alpha_1,\alpha_2,\alpha_3] \in P^3(F_s)$ at infinity (such that $\alpha_0 = 0$) is
$$N_\infty = \frac{|U|-1}{p^s-1} =\frac{ 2p^{2s} - p^s -1}{p^s-1} = 2p^s+1.$$
\item[$\bullet$] Now we calculate the number of points of the affine surface $H_f(\F_s)$ associate to the equation $y_1 = y_2 y_3$ (where $y_i = x_i/x_0$).
The maps
$$
u
\left\{
\begin{array}{ccl}
F_s^2 & \to & H_f(F_s)\\
(\beta, \gamma) & \mapsto &(\beta \gamma, \beta, \gamma)
\end{array}
\right.
\qquad
v
\left\{
\begin{array}{ccl}
H_f(F_s) & \to & F_s^2\\
(\alpha,\beta, \gamma) & \mapsto & ( \beta, \gamma)
\end{array}
\right.
$$
satisfy $u \circ v = \mathrm{id}, v\circ u = \mathrm{id}$, so $u$ is a bijection. With more informal words, the arbitrary choice of $\beta, \gamma \in F_s$ gives the affine point $(\alpha,\beta,\gamma)$, where $\alpha = \beta \gamma$.
This gives $|H_f(F_s)| = p^{2s}$.
\end{enumerate}
Therefore
$$N_s = |\overline{H}_f(F_s)| = p^{2s} + 2p^s + 1.$$
We obtain in $\C[[u]]$
\begin{align*}
\sum_{s=1}^\infty \frac{N_s u^s}{s} &= \sum_{s=1}^\infty \frac{(p^2u)^{s}}{s} + 2 \sum_{s=1}^\infty \frac{(pu)^{s}}{s} + \sum_{s=1}^\infty \frac{u^{s}}{s}\\
&= -\ln(1- p^2 u) - 2\ln(1-pu) - \ln(1-u).
\end{align*}
This gives
$$Z_f(u) = (1-p^2u)^{-1}(1-pu)^{-2}(1-u)^{-1}.$$
\bigskip
Note: The result for $N_s$ is verified with the naive and very slow following code in Sage:
\begin{verbatim}
def N(p,s):
Fs = GF(p^s)
counter = 0
for x in Fs:
for y in Fs:
for z in Fs:
for t in Fs:
if x*y == z*t:
counter += 1
return (counter - 1)//(p^s - 1)
p, s = 5, 3
print N(p,s), p^(2*s) + 2*p^s +1
\end{verbatim}
\begin{center}
15876 15876
\end{center}
There is a misprint in the ``Selected Hints for the Exercises'' in Ireland-Rosen p.371.
\end{proof}
\paragraph{Ex. 11.5}{\it Calculate as explicitly as possible the zeta function of $a_0x_0^2+a_1x_1^2+\cdots+a_nx_n^2$ over $\F_q$, where $q$ is odd. The answer will depend on wether $n$ is odd or even and whether $q\equiv 1 \pmod 4$ or $q \equiv 3 \pmod 4$.
}
\begin{proof}
Since $q$ is odd, there is a unique character $\chi$ of order 2 over $F = \F_q$, and a unique character of order 2 over $F_s = \F_{q^s}$ . We first compute the number in $\F_q^{n+1}$ of solutions of the equation $f(x_0,\ldots,x_n) = 0$, where $f(x_0,\ldots,x_n) = a_0x_0^2+\cdots+a_n x_n^2\in F[x_0,\ldots,x_n]$.
\begin{align*}
N(a_0x_0^2+\cdots+a_n x_n^2=0)&=\sum\limits_{a_0u_0+\cdots+a_n u_n=0}N(x_0^2=u_0)\cdots N(x_n^2=u_n)\\
&=\sum\limits_{a_0u_0+\cdots+a_n u_n=0}(1+\chi(u_0))\cdots(1+\chi(u_n)) \\
&=\sum\limits_{v_0+\cdots+v_n=0}(1+\chi(a_0)^{-1}\chi(v_0))\cdots(1+\chi(a_n^{-1})\chi(v_n)) \hspace{0.5cm}(v_i = a_i u_i)\\
&=q^{n} + \chi(a_0^{-1})\cdots\chi(a_n^{-1})J_0(\chi,\chi,\cdots,\chi),
\end{align*}
Indeed $J_0(\varepsilon,\ldots,\varepsilon) = q^{l-1}$, and $J_0(\chi_0,\ldots,\chi_n)= 0$ if some but not all of the $\chi_i$ are trivial (generalization of Proposition 8.5.1).
We estimate $J_0(\chi,\ldots,\chi)$, where there are $n+1$ entries of $\chi$.
\begin{enumerate}
\item[$\bullet$] If $n$ is even, then $\chi^{n+1} = \chi \ne \varepsilon$, thus $J_0(\chi,\ldots,\chi) = 0$ (Proposition 8.5.1(c)), and so
$$N(a_0x_0^2+\cdots+a_n x_n^2=0) = q^{n},$$
and the number of projective points on the hypersurface is given by
$$N_1 = \frac{q^n -1}{q-1} = q^{n-1} + \cdots + q + 1.$$
\item[$\bullet$] If $n$ is odd, then $\chi^{n+1} = \varepsilon$, thus $J_0(\chi,\ldots,\chi) = \chi(-1)(q-1) J(\chi,\ldots,\chi)$, with $n$ entries of $\chi$ (same Proposition).
By Theorem 3 of chapter 8,
$$J(\chi,\ldots,\chi) = \frac{g(\chi)^n}{g(\chi)} = g(\chi)^{n-1}.$$
Since $g(\chi)^2 = g(\chi) g(\chi)^{-1}= \chi(-1)q$ (Exercise 10.22),
\begin{align*}
\frac{1}{q-1} \, J_0(\chi,\ldots,\chi) &= \chi(-1)g(\chi)^{n-1}\\
&=\frac{\chi(-1) g(\chi)^{n+1}}{g(\chi)^2}\\
&= \frac{1}{q}\, g(\chi)^{n+1}.
\end{align*}
Therefore
$$N(a_0x_0^2+\cdots+a_n x_n^2=0) = q^n + \chi(a_0)^{-1}\cdots \chi(a_n)^{-1} \frac{q-1}{q} g(\chi)^{n+1},$$
and
$$N_1 = q^{n-1} + \cdots + q + 1 + \frac{1}{q} \chi(a_0)^{-1}\cdots \chi(a_n)^{-1}g(\chi)^{n+1}.$$
\end{enumerate}
To conclude this first part,
$$
\begin{array}{ll}
N_1 = q^{n-1} + \cdots + q + 1 &\text{if $n$ is even},\\
N_1 = q^{n-1} + \cdots + q + 1 + \frac{1}{q} \chi(a_0)^{-1}\cdots \chi(a_n)^{-1}g(\chi)^{n+1}& \text{if $n$ is odd}.
\end{array}
$$
To compute $N_s$, we must replace $q$ by $q^s$ and $\chi$ by $\chi_s$, the character of order $2$ on $F_s$. Then
$$
\begin{array}{ll}
N_s = q^{s(n-1)} + \cdots + q^s + 1 &\text{if $n$ is even},\\
N_s = q^{s(n-1)} + \cdots + q^s + 1 + \frac{1}{q^s} \chi_s(a_0)^{-1}\cdots \chi_s(a_n)^{-1}g(\chi_s)^{n+1}& \text{if $n$ is odd}.
\end{array}
$$
(These two results can also be obtained by using the equations (1) and (2) in Theorem 2 of Chapter 10.)
\bigskip
It remains to study $\chi_s$ in the odd case.
Since $\chi_s^2 = \varepsilon$, for all $\alpha \in F_s$, $\chi_s(\alpha)^{-1} = \chi_s(\alpha)$, and $\chi_s(\alpha) = -1 \in \C$ if $\alpha^\frac{q^s - 1}{2} = -1 \in F_s, \chi_s(\alpha) = 1$ otherwise.
If $a \in F$, $a^\frac{q-1}{2} = \pm 1 = \varepsilon$. Since $q$ is odd, $1+q+\cdots+q^{s-1} \equiv s \pmod 2$, thus
$$a^{\frac{q^s-1}{2}} = a^{\frac{q-1}{2} (1+q+\cdots + q^{s-1})} =\varepsilon^{1+q+\cdots + q^{s-1}} = \varepsilon^{s},$$
so
$$\chi_s(a) = \chi(a)^s \qquad (a \in F).$$
We know that $g(\chi_s)^2 = \chi_s(-1) q^s$ (Ex. 10.22), thus, as $n$ is odd,
\begin{align*}
g(\chi_s)^{n+1} &= \left[g(\chi_s)^2 \right]^{\frac{n+1}{2}}\\
&=\chi_s(-1)^\frac{n+1}{2} q^{s \frac{n+1}{2}}.
\end{align*}
If $q\equiv 1 \pmod 4$, then $(-1)^{\frac{q-1}{2}} = 1$, so $-1$ is a square in $\F_q$. In this case, $-1$ is a square in $\F_{q^s}$, and $\chi_s(-1) = 1$ for all $s\geq 1$.
In this case, using $a_i \in F$,
\begin{align*}
N_s &= q^{s(n-1)} + \cdots + q^s + 1 + \chi_s(a_0)\cdots \chi_s(a_n)q^{s\frac{n-1}{2}}\\
&= q^{s(n-1)} + \cdots + q^s + 1 + [\chi(a_0)\cdots \chi(a_n)]^s q^{s\frac{n-1}{2}}
\end{align*}
If $q\equiv -1 \pmod 4$, then $\chi(-1) = (-1)^{\frac{q-1}{2}} = -1$, and
\begin{align*}
\chi_s(-1) &=\chi(-1)^s = (-1)^s,
\end{align*}
thus
$$\frac{1}{q^s} g(\chi_s)^{n+1} = (-1)^{s \frac{n+1}{2}}q^{s \frac{n-1}{2}}.$$
This gives for odd integers $n$, and $q \equiv -1 \pmod 4$,
\begin{align*}
N_s &= q^{s(n-1)} + \cdots + q^s + 1 + (-1)^{s \frac{n+1}{2}} \chi_s(a_0)\cdots \chi_s(a_n) q^{s \frac{n-1}{2}}\\
&= q^{s(n-1)} + \cdots + q^s + 1 + [(-1)^{ \frac{n+1}{2}} \chi(a_0)\cdots \chi(a_n)]^s q^{s \frac{n-1}{2}}.
\end{align*}
To collect all these cases, we have proved
$$
\begin{array}{ll}
N_s = q^{s(n-1)} + \cdots + q^s + 1 &\text{if } n\equiv 0 \pod 2,\\
N_s = q^{s(n-1)} + \cdots + q^s + 1 + \phantom{(-1)^{ \frac{n+1}{2}}}[\chi(a_0)\cdots \chi(a_n)]^s\, q^{s\frac{n-1}{2}} &\text{if } n \equiv 1 \pod 2, q \equiv +1 \pod 4,\\
N_s = q^{s(n-1)} + \cdots + q^s + 1 +[(-1)^{ \frac{n+1}{2}} \chi(a_0)\cdots \chi(a_n)]^s\, q^{s \frac{n-1}{2}}& \text{if }n \equiv 1 \pod 2, q \equiv -1 \pod 4.
\end{array}
$$
If $n$ is even this gives, as in paragraph 1,
$$Z_f(u) = (1-q^{n-1}u)^{-1}\cdots (1-qu)^{-1}(1-u)^{-1}.$$
In the case $n \equiv 1 \pod 2, q \equiv +1 \pod 4$, we write for simplicity $\varepsilon = \chi(a_0)\cdots \chi(a_n) =\pm 1$.
Then
\begin{align*}
\sum_{s=1}^\infty \frac{N_su^s}{s} &= \sum_{m=0}^{n-1}\left( \sum_{s=1}^\infty \frac{(q^m u)^s}{s} \right) + \sum_{s=1}^\infty \frac{ (\varepsilon q^\frac{n-1}{2} u)^s}{s}\\
&= - \sum_{m=0}^{n-1} \ln(1-q^m u) - \ln(1- \varepsilon q^\frac{n-1}{2}u).
\end{align*}
Therefore
$$Z_f(u) = \left[\prod_{m=0}^{n-1} (1 -q^mu)^{-1}\right] (1 - \chi(a_0)\cdots \chi(a_n) q^\frac{n-1}{2}u)^{-1}.$$
(Same calculation in the last case, with $\varepsilon = (-1)^{ \frac{n+1}{2}} \chi(a_0)\cdots \chi(a_n)$.)
We obtain
$$
\begin{array}{ll}
Z_f(u) = P(u)&\text{if } n\equiv 0 \pod 2,\\
Z_f(u) = P(u)(1 - \phantom{ (-1)^\frac{n+1}{2}}\chi(a_0)\cdots \chi(a_n) q^\frac{n-1}{2}u)^{-1}&\text{if } n \equiv 1 \pod 2, q \equiv +1 \pod 4,\\
Z_f(u) = P(u)(1 - (-1)^\frac{n+1}{2}\chi(a_0)\cdots \chi(a_n) q^\frac{n-1}{2}u)^{-1}& \text{if }n \equiv 1 \pod 2, q \equiv -1 \pod 4,
\end{array}
$$
where $P(u) = (1-q^{n-1}u)^{-1}\cdots (1-qu)^{-1}(1-u)^{-1}.$
(These results are consistent with the example $N_s = q^{2s} + q^s + 1 +\chi_s(-1) q^s$ given in paragraph 1 for the surface defined by $-y_0^2 + y_1^2 + y_2^2 + y_3^2 =0$, where $n=3$ is odd.
\begin{align*}
Z_f(u) &= (1-q^2u)^{-1}(1-qu)^{-1}(1-u)^{-1} (1 - \chi(-1) qu)^{-1}\\
&=
\left\{
\begin{array}{ll}
(1-q^2u)^{-1}(1-qu)^{-2}(1-u)^{-1} & \text{if } q \equiv 1 \pmod 4,\\
(1-q^2u)^{-1}(1-qu)^{-1}(1-u)^{-1}(1+qu)^{-1} & \text{if } q \equiv -1 \pmod 4.)\\
\end{array}
\right.
\end{align*}
\end{proof}
\paragraph{Ex. 11.6}{\it Consider $x_0^3 + x_1^3 + x_2^3 = 0$ as an equation over $F_4$, the field with four elements. Show that there are nine points on the curve in $P^2(F_4)$. Calculate the zeta function. [Answer: $(1+2u)^2/((1-u)(1-4u))$.]
}
\begin{proof}
Since $q=4 \equiv 1 \pmod 3$, we can apply Theorem 2 of Chapter 10. Let $\chi$ be a character of order 3 over $F=\F_4$. The only other character of order $3$ is then $\chi^2$. Thus
\begin{align*}
N_1 &= q+1 + \frac{1}{q-1} \sum_{i,j,k} J_0(\chi^i,\chi^j,\chi^k),
\end{align*}
where the sum is over all $(i,j,k) \in \{1,2\}^3$ such that $i+j+k \equiv 0 \pmod 3$, that is $(1,1,1)$ and $(2,2,2)$. Thus
\begin{align*}
N_1& = q +1 + \frac{1}{q-1} \left(J_0(\chi,\chi,\chi) + J_0(\chi^2,\chi^2,\chi^2)\right).
\end{align*}
Using $\frac{1}{q-1}\, J_0(\chi^k,\chi^k,\chi^k) = \frac{1}{q}\, g(\chi^k)^3$ for $k=1,2$, we obtain
\begin{align*}
N_1&=q +1 + \frac{1}{q}\left ( g(\chi)^3 + g(\chi^2)^3\right).
\end{align*}
Consider $\F_4 = \F_2[x]/(x^2+x+1)$, where $a = \overline{x} = x + (x^2+x+1)$ is a generator of $\F_4^*$. Then $\F_4 = \{0,1,a,a^2 = a+1\}$.
We compute $g(\chi)$ for the character $\chi$ of order $3$ defined by
$$
\begin{array}{c|cccc|}
t & 0 & 1 & a & a^2\\
\hline
\chi(t) & 0 & 1 & \omega & \omega^2
\end{array}
$$
where $\omega = e^\frac{2i\pi}{3}$.
for each $t\in \F_4$, $\mathrm{tr}(a) = a+ a^2 \in \F_2$, so the traces are $\mathrm{tr}(1) = 1 + 1 = 0, \mathrm{tr}(a) = a+a^2 = 1, \mathrm{tr}(a^2) = a^2 + a^4 = a^2 + a = 1$. Therefore
\begin{align*}
g(\chi) &= \sum_{t \in \F_4} \chi(t) \zeta_2^{\mathrm{tr}(t)}\\
&= \sum_{t \in \F_4} \chi(t) (-1)^{\mathrm{tr}(t)}\\
&= 1 - \omega - \omega^2\\
&= 2.
\end{align*}
(This is in accordance with $|g(\chi)| = q^{1/2} = 2$.)
Then $g(\chi^2) = g(\chi^{-1}) = \chi(-1) \overline{g(\chi)} = g(\chi) = 2$. Therefore
\begin{align*}
N_1 &= q +1 + \frac{1}{q} g(\chi)^3 + \frac{1}{q} g(\chi^2)^3\\
&= 5 + \frac{1}{4}( 8 + 8)\\
&= 9.
\end{align*}
There are nine points on the curve with equation $x_0^3 + x_1^3 + x_2^3 = 0$ in $P^2(F_4)$ (this is verified with a naive program in Sage).
Now we compute $N_s$. We must replace $q =4$ by $q^s = 4^s$, and $\chi$ by $\chi_s$, a character with order 3 on $F_s = \F_{4^s}$.
We obtain
$$N_s = q^s + 1 + \frac{1}{q^s} \left (g(\chi_s)^3 + g(\chi_s^2)^3 \right).$$
Now we compute $g(\chi_s)^3$. By the generalization of Corollary of Proposition 8.3.3.,
$$g(\chi_s)^3 = q^s J(\chi_s,\chi_s),$$
thus
$$N_s = q^s + 1 + J(\chi_s,\chi_s) + J(\chi_s^2,\chi_s^2) .
$$
We know that $|J(\chi_s,\chi_s)|^2 = q^s = 4^s$ (generalization of Corollary of Theorem 1). Writing $J(\chi_s,\chi_s) = a+ b \omega,\ a,b\in \Z$, we search the solutions of
$$|a+ b \omega|^2 = a^2 - ab + b^2 = 4^s.$$
Since $\Z[\omega]$ is a PID, the factorization in primes is unique. Here $2$ is a prime element of $\Z[\omega]$, and $(a+b \omega)(a+b \omega^2) = 2^{2s}$, therefore $a+b \omega =\varepsilon 2^k, a+b \omega^2 = \zeta 2^l$, where $l,k \in \N$ and $\varepsilon, \zeta$ are units. Moreover $2^k = |a+ b \omega| = |a+b \omega^2| = 2^l$, so $k = l = s$. This shows that every solution $a+ b \omega$ of $|a+ b \omega|^2 =4^s$ is associated to $2^s$:
$$|a+ b \omega|^2 =4^s \iff a+b \omega \in \{-2^s, -1 - 2^s \omega, -2^s \omega, 2^s, 1 + 2^s \omega, 2^s \omega\}.$$
Moreover, we know that $a \equiv -1 \pmod 3,\ b \equiv 0 \pmod 3$ (generalization of Proposition 8.3.4.). Therefore $$J(\chi_s,\chi_s) = a + b \omega = -(-2)^s,$$
and similarly $J(\chi_s^2,\chi_s^2) = -(-2)^s$ (this proves particular cases of the Hasse-Davenport relation, which we have not used here). This gives
$$N_s = 4^s + 1 -2 (-2)^{s}.$$
For $s = 1$, we find anew $N_1 = 9$.
Then
\begin{align*}
\sum_{s=1}^\infty \frac{N_s u^s}{s} &= \sum_{s=1}^\infty \frac{(4u)^s}{s} + \sum_{s=1}^\infty \frac{u^s}{s} - 2 \sum_{s=1}^\infty \frac{(-2u)^s}{s}\\
&= - \ln(1-4u) - \ln(1-u) + 2 \ln(1+2u).\\
\end{align*}
This gives
$$Z_f(u) = \frac{(1+2u)^2}{(1-4u)(1-u)}.$$
This is the first example where $Z_f$ has a zero, which satisfies the Riemann hypothesis for curves.
\end{proof}
\paragraph{Ex. 11.7}{\it Try this exercise if you know a little projective geometry. Let $N_s$ be the number of lines in $P_n(F_{p^s})$. Find $N_s$ and calculate $\sum_{s=1}^\infty N_su^s/s$. (The set of lines in projective space form an algebraic variety calles a Grassmannian variety. So do the set of planes three-dimensinal linear subspaces, etc.)
}
\begin{proof}
Write $q = p^s$. The set of lines in $P_n(F_{q})$ is in bijective correspondence with the set of planes of the vector space $F_q^{n+1}$. To count these planes, consider the set $A$ of linearly independent pairs$(u,v)$ of the space $F_q^{n+1}$, and $B$ the set of planes of $F_q^{n+1}$, and
$$
f
\left\{
\begin{array}{ccl}
A & \to B \\
(u,v) & \mapsto \langle u, v \rangle.
\end{array}
\right.
$$
The set of pre-images of a fixed plane $P$ in $B$ is the set of basis of this plane $P$. Thus, to obtain $N_s$, we divides the number of linearly independent pairs$(u,v)$ of the space by the number of basis of a fixed plane. To build such a pair, we choose first a nonzero vector $u$, and then a vector $v$ not on the line generated by $u$. Therefore
\begin{align*}
N_s &= \frac{(q^{n+1} - 1)(q^{n+1}- q)}{(q^2 - 1)(q^2 -q)}\\
&= \frac{(q^{n+1} - 1)(q^{n}- 1)}{(q^2 - 1)(q -1)}.
\end{align*}
\end{proof}
$\bullet$ If $n = 2m+1$ is odd, then
\begin{align*}
N_s &= \frac{q^{2m+2}-1}{q^2-1} \cdot \frac{q^{2m+1}-1}{q-1}\\
&=\sum_{k=0}^m q^{2k} \sum_{l = 0}^2 q^l\\
&=\sum_{k=0}^m \sum_{l = 0} ^{2m} q^{2k+l}\\
&=\sum_{r=0}^{4m} a_r q^r \qquad (r= 2k+l),
\end{align*}
where $a_r$ is the cardinality of the set
$$A_r = \{(k,l) \in \gcro 0, m \dcro \times \gcro 0, 2m \dcro \mid 2k+l = r\}.$$
We note that $0 \leq l = r-2k \leq 2m$ gives
$$
\left\{
\begin{array}{rcl}
\frac{r}{2} - m \leq &k& \leq \frac{r}{2},\\
0 \leq &k& \leq m,
\end{array}
\right.
$$
that is
\begin{align}
\max\left( 0, \frac{r}{2} - m \right) \leq k \leq \min \left(\frac{r}{2} ,m \right),
\end{align}
and each such $k$ gives a unique pair $(k,l) = (k,r-2k)$ in $A_r$.
\begin{enumerate}
\item[$-$] If $0 \leq r \leq 2m$, then $(1) \iff 0 \leq k \leq \frac{r}{2}$, thus $a_r = \left \lfloor \frac{r}{2} \right \rfloor + 1$.
\item[$-$] If $2m < r \leq 4m$, then $(1) \iff \frac{r}{2} -m \leq k \leq m$, thus $a_r = 2m - \left \lceil \frac{r}{2} \right \rceil + 1$.
\end{enumerate}
If $n$ is odd, we have proved that
\begin{align*}
N_s &= \sum_{r=0}^{2m} \left (\left \lfloor \frac{r}{2} \right \rfloor + 1 \right) q^r + \sum_{r=2m+1}^{4m} \left(2m+1 - \left \lceil \frac{r}{2} \right \rceil \right) q^r\\
&=\sum_{r=0}^{n-1} \left (\left \lfloor \frac{r}{2} \right \rfloor + 1 \right) p^{sr} + \sum_{r=n}^{2n-2} \left (n- \left \lceil \frac{r}{2} \right \rceil \right) p^{sr}.
\end{align*}
\bigskip
$\bullet$ If $n = 2m$ is even, then
\begin{align*}
N_s &=\frac{q^{2m}-1}{q^2-1}\cdot \frac{q^{2m+1}-1}{q-1} \\
&= \sum_{k=0}^{m-1} q^{2k} \sum_{l = 0}^{2m} q^l\\
&=\sum_{k=0}^{m-1} \sum_{l = 0} ^{2m} q^{2k+l}\\
&=\sum_{r=0}^{4m-2} b_r q^r \qquad (r= 2k+l),
\end{align*}
where $b_r$ is the cardinality of the set
$$B_r = \{(k,l) \in \gcro 0, m-1 \dcro \times \gcro 0, 2m \dcro \mid 2k+l = r\}.$$
Here $0 \leq l = r-2k \leq 2m$ gives
$$
\left\{
\begin{array}{rcl}
\frac{r}{2} - m \leq &k& \leq \frac{r}{2},\\
0 \leq &k& \leq m -1,
\end{array}
\right.
$$
that is
\begin{align}
\max\left( 0, \frac{r}{2} - m \right) \leq k \leq \min \left(\frac{r}{2} ,m-1 \right),
\end{align}
and each such $k$ gives a unique pair $(k,l) = (k,r-2k)$ in $B_r$.
\begin{enumerate}
\item[$-$] If $0 \leq r \leq 2m-1$, then $(2) \iff 0 \leq k \leq \frac{r}{2}$, thus $b_r = \left \lfloor \frac{r}{2} \right \rfloor + 1$.
\item[$-$] If $2m \leq r \leq 4m-2$, then $(2) \iff \frac{r}{2} -m \leq k \leq m-1$, thus $b_r = 2m - \left \lceil \frac{r}{2} \right \rceil$.
\end{enumerate}
If $n$ is odd, we have proved that
\begin{align*}
N_s &= \sum_{r = 0}^{2m-1} \left (\left \lfloor \frac{r}{2} \right \rfloor + 1\right) q^r + \sum_{r=2m}^{4m-2} \left ( 2m - \left \lceil \frac{r}{2} \right \rceil \right) q^r\\
&= \sum_{r = 0}^{n-1} \left (\left \lfloor \frac{r}{2} \right \rfloor + 1\right) p^{sr} + \sum_{r=n}^{2n-2} \left ( n - \left \lceil \frac{r}{2} \right \rceil \right) p^{sr}.
\end{align*}
This is the same formula as in the odd case !
To conclude, for all dimension $n$,
$$N_s = \sum_{r = 0}^{n-1} \left (\left \lfloor \frac{r}{2} \right \rfloor + 1\right) p^{sr} + \sum_{r=n}^{2n-2} \left ( n - \left \lceil \frac{r}{2} \right \rceil \right) p^{sr},$$
therefore
$$\sum_{s=1}^\infty \frac{N_s u^s}{s} = - \sum_{r=0}^{n-1} \left (\left \lfloor \frac{r}{2} \right \rfloor + 1 \right) \ln(1-p^ru) - \sum_{r=n}^{2n-2} \left (n - \left \lceil \frac{r}{2} \right \rceil \right) \ln(1 - p^r u)$$
This gives the order of the poles $p^{-r}$ of $Z(u) = \exp\left( \sum_{s=1}^\infty \frac{N_s u^s}{s} \right)$.
To verify the equality between the two formulas giving $N_s$, we test this equality with a Sage program.
\begin{verbatim}
def N(n,p,s):
q = p^s
num = (q^(n+1) - 1)*(q^(n+1) - q)
den = (q^2 - 1)*(q^2-q)
return num // den
def M(n,p,s):
q = p^s
a = sum((floor(r/2) +1)*q^r for r in range(n))
b = sum((n - ceil(r/2))*q^r for r in range(n,2*n-1))
return a+b
N(4,5,3),M(4,5,3)
\end{verbatim}
\begin{center}
(3845707062626, 3845707062626)
\end{center}
\paragraph{Ex. 11.8}{\it If $f$ is a nonhomogeneous polynomial, we can consider the zeta function of the projective closure of the hypersurface defined by $f$ (see Chapter 10). One way to calculate this is to count the number of points on $H_f(F_q)$ and then add to it the number of points at infinity. For example, consider $y^2 = x^3$ over $F_{p^s}$. Show that there is one point at infinity. The origin $(0,0)$ is clearly on this curve. If $x \ne 0$, write $(y/x)^2 = x$ and show that there are $p^s$ more points on this curve. Altogether we have $p^s$ points and the zeta function over $F_p$ is $(1-pu)^{-1}$.
}
\begin{proof}
Consider the polynomial $f(x,y) = y^2 - x^3$ and $g(x,y) = y^2 - x$, and
\begin{align*}
\Gamma =H_f(F_q) &= \{(x,y) \in F_p^2 \mid y^2 = x^3\},\\
\Gamma_1 = H_g(F_q) &= \{(x,y)\in F_q^2 \mid y^2 = x\}.
\end{align*}
Then
$$
\varphi
\left\{
\begin{array}{ccl}
\Gamma \setminus \{(0,0)\} & \to &\Gamma_1\setminus \{(0,0)\} \\
(x,y) & \mapsto & \left(x,\frac{y}{x} \right)
\end{array}
\right.
$$
is defined, since $\left(\frac{y}{x} \right) ^2 = x$ for $(x,y) \in \Gamma \setminus \{(0,0)\}$, thus $ \left(x,\frac{y}{x} \right) \in \Gamma_1$.
Moreover
$$
\psi
\left\{
\begin{array}{ccl}
\Gamma_1\setminus \{(0,0)\} & \to & \Gamma \setminus \{(0,0)\} \\
(x,y) & \mapsto & \left(x,xy \right)
\end{array}
\right.
$$
is correctly defined, since for each $(x,y) \in \Gamma_1\setminus \{(0,0)\}, y^2 = x$, then $x \ne 0$, thus $(xy)^2 =x^3$, and $(x,xy) \in \Gamma$, where $(x,xy) \ne (0,0)$.
Moreover $\psi$ satisfies $\psi \circ \varphi = \mathrm{id}, \varphi \circ \psi = \mathrm{id}$:
\begin{align*}
(\psi \circ \varphi)(x,y) &= \psi\left(x,\frac{y}{x} \right) =\left (x, x \frac{y}{x}\right) = (x,y) \qquad ((x,y) \in \Gamma \setminus \{(0,0)\}),\\
(\varphi \circ \psi)(x,y) &= \varphi(x,xy) = \left( x, \frac{xy}{x} \right) = (x,y) \qquad ((x,y) \in \Gamma_1 \setminus \{(0,0)\}).
\end{align*}
So $\varphi$ is a bijection. This shows that $| \Gamma \setminus \{(0,0)\} | = |\Gamma_1\setminus \{(0,0)\}|$, where $(0,0) \in \Gamma$ and $(0,0) \in \Gamma_1$, thus
$$|\Gamma_1| = |\Gamma|.$$
To count the points on $\Gamma_1$, we consider
$$\lambda
\left\{
\begin{array}{ccl}
F_q & \to & \Gamma_1\\
y & \mapsto & (y^2,y).
\end{array}
\right.
$$
Then $\lambda$ is bijective, with inverse $\mu : (x,y) \mapsto y$. This show that $$|\Gamma| = |\Gamma_1| = q = p^s.$$
Therefore the zeta function of the affine curve $y^2 = x^3$ over $F_p$ is
$$Z_f(u) = (1-pu)^{-1}.$$
But the projective closure $H_{\overline{f}}(F_q)$ of this curve has $p^s + 1$ points, with only one point at infinity, since $ty^2 = x^3$ has only one point $[t,x,y]$ satisfying $t= 0$, the point $[0,0,1]$.
The zeta function of the curve with homogeneous equation $\overline{f}(t,x,y) = ty^2 - x^3$ over $F_p$ is
$$Z_{\overline{f}}(u) = (1-u)^{-1} (1-pu)^{-1}.$$
\end{proof}
\paragraph{Ex. 11.9}{\it Calculate the zeta function of $y^2 = x^3 + x^2$ over $F_p$.
}
\begin{proof}
The curve $\Gamma$ defined by the equation $y^2 = x^3 + x^2$ has a singularity at the origine, as in the previous exercise. The same method applies here: if we use $z= y/x$, then $z^2 = x+1$.
Watch out! Here there are two points $(x,z) \in \Gamma_1$ such that $x= 0$, the points $(0,1)$ and $(0,-1)$ (here we assume that $p\ne 2$).
The curve $\Gamma_1$ defined by the equation $z^2 = x+ 1$ is such that
$$
\varphi
\left\{
\begin{array}{ccl}
\Gamma \setminus \{(0,0)\} & \to &\Gamma_1\setminus \{(0,1),(0,-1)\} \\
(x,y) & \mapsto & \left(x,\frac{y}{x} \right)
\end{array}
\right.
$$
is bijective, thus $|\Gamma| = |\Gamma_1| - 1$. Since each point of $\Gamma_1$ is determined by its coordinate $z$, $|\Gamma_1| = q = p^s$, and $|\Gamma| = p^s - 1$.
Therefore the zeta function of the affine curve $y^2 = x^3 + x^2$ over $F_p$ is
$$Z_f(u) = (1-u)(1-pu)^{-1},$$
There is only one point $p$ at infinity, given by $y^2 t = x^3 + x^2 t, t=0$, i.e. $p = [0,0,1]$. Thus $N_s = p^s$, and the zeta function of the projective closure of $\Gamma$ is
$$Z_{\overline{f}}(u) = (1-pu)^{-1}.$$
\end{proof}
The results of Ex.8 and Ex. 9 concern only singular cubics.
\paragraph{Ex. 11.10}{\it If $A \ne 0$ in $F_q$ and $q \equiv 1 \pmod 3$, show that the zeta function of $y^2 = x^3 + A$ over $F_q$ has the form $Z(u) =(1+au+qu^2)/((1-u)(1-qu))$, where $a \in \Z$ and $|a| \leq 2q^{1/2}$.
}
\begin{proof}
Here we compute the zeta function of the projective closure $\overline{H}_f(F_q)$, with equation $f(x,y,t) =y^2 t = x^3 + At^3$. If $t= 0$, then $x=0$, thus there is only one point $[0,1,0]$ at infinity (over $F_q$ or over $F_{q^s}$).
We assume that the characteristic is not 2. Then $q$ is odd, and so $q\equiv 1 \pmod 6$. Therefore, there are characters of order $2$ and $3$ on $F_q$. Write $\rho$ the unique character of order $2$, and write $\chi$ a character of order $3$. As $\chi$ is a character of order 3, the characters whose order divides 3 are $\varepsilon,\chi,\chi^2$.
We compute first $N_1$. We write $N(y^2=x^3+A)$ for the number of points of the affine cubic over $F_q$, and $N_1$ for the number of points of the projective cubic, so that $N_1 = N(y^2=x^3+A) + 1$. We recall the results obtained in Ex. 8.15.
The map $x \mapsto -x$ is a bijection between the set of roots of $x^3 = b$ and the set of roots of $(-x)^3 = b$, so $N(x^3 = b) = N((-x)^3 = b) = N(x^3 = -b)$.
Using Prop. 8.1.5, we obtain, since $A\ne 0$,
\begin{align*}
N(y^2=x^3+A) &= \sum\limits_{a+b=A} N(y^2=a) N(x^3 =-b)\\
&= \sum\limits_{a+b=A} N(y^2=a) N(x^3=b)\\
&= \sum\limits_{a+b=A}(1+\rho(a))(1+\chi(b)+\chi^2(b))\\
&=\sum\limits_{i=0}^1\sum\limits_{j=0}^2\sum\limits_{a+b=A} \rho^i(a) \chi^j(b)\\
&=\sum\limits_{i=0}^1\sum\limits_{j=0}^2\rho(A)^i \chi(A)^j\sum\limits_{a'+b'=1} \rho^i(a') \chi^j(b')\qquad (a = Aa', b = A b')\\
&=\sum\limits_{i=0}^1\sum\limits_{j=0}^2\rho(A)^i \chi(A)^j J(\chi^j,\rho^i).\\
\end{align*}
We know (generalization of Theorem 1, Chapter 8) that $J(\chi,\varepsilon)=J(\chi^2,\varepsilon)=J(\varepsilon,\rho)=0,$ and $J(\varepsilon,\varepsilon)=q$, so
$$N(y^2=x^3+A) = q+ \rho(A)\chi(A) J(\chi,\rho) + \rho(A) \chi^2(A) J(\chi^2,\rho).$$
As $\chi^2(A) = \chi^{-1}(A) = \overline{\chi(A)}$, and as $\overline{\rho(A)} = \rho(A)$, then $J(\chi^2,\rho) = J(\overline{\chi},\overline{\rho}) = \overline{J(\chi,\rho)}$, and
$$N(y^2 = x^3+A) = q +\pi + \bar{\pi},\ \mathrm{where}\ \pi = \rho(A) \chi(A) J(\chi,\rho),$$
therefore
$$N_1 = q + 1 + \pi + \bar{\pi},\ \mathrm{where}\ \pi = \rho(A) \chi(A) J(\chi,\rho).$$
Since the orders of $\chi, \rho$, and $\chi \rho$ are $3,2$ and $6$, $\chi \ne \varepsilon, \rho \ne \varepsilon, \chi \rho \ne \varepsilon$, thus Theorem 1 of Chapter 6 gives
$$J(\chi,\rho) = \frac{g(\chi) g(\rho)}{g(\chi \rho)}, \qquad \pi = \rho(A) \chi(A) \frac{g(\chi) g(\rho)}{g(\chi \rho)}.$$
Write $\chi' = \chi \circ \mathrm{N}_{F_{q^s}/F_q}, \rho' = \rho \circ \mathrm{N}_{F_{q^s}/F_q}$. Then $\chi', \rho'$ are characters on $F_{q^s}$, and the orders of $\chi', \rho'$ are $3$ and $2$ (by properties (a), (b) of ¤3). The same reasoning in $F_{q^s}$ gives
$$N_s = q^s + 1 + \pi' + \overline{\pi'}, \qquad \pi' = \rho'(A) \chi'(A) \frac{g(\chi') g(\rho')}{g(\chi' \rho')}.$$
Since $A \in F_q$, the property (c) of ¤3 gives $\chi'(A) = \chi(A)^s, \rho'(A) = \rho(A)^s$. Using the Hasse-Davenport Relation, and $(\chi \rho)' = \chi' \rho'$, we obtain
\begin{align*}
\pi' &= \rho'(A) \chi'(A) \frac{g(\chi') g(\rho')}{g(\chi' \rho')}\\
&=-\rho(A)^s \chi(A)^s \frac{(-g(\chi))^s (-g(\rho))^s}{(-g(\chi \rho))^s}\\
&=(-1)^{s+1} \rho(A)^s \chi(A)^s \left[ \frac{g(\chi) g(\rho)}{g(\chi \rho)} \right]^s\\
&= - \left[ - \rho(A) \chi(A) \frac{g(\chi) g(\rho)}{g(\chi \rho)}\right]^s\\
&=-(-\pi)^s.
\end{align*}
This gives $N_s$ in the appropriate form:
$$N_s = q^s + 1- (-\pi)^s - (-\overline{\pi})^s, \qquad \pi = \rho(A) \chi(A) J(\chi,\rho) = \rho(A) \chi(A) \frac{g(\chi) g(\rho)}{g(\chi \rho)}.$$
Using the converse to Proposition 11.1.1 given in Exercise 2, we obtain
$$Z_f(u) = \frac{(1 + \pi u)(1 + \overline{\pi} u)}{(1 -u)(1-qu)}.$$
Note that $\pi \overline{\pi}= |\pi|^2 = q$ (by Exercise 10.22). Expanding the numerator, this gives
$$Z_f(u) = \frac{1 + au + qu^2}{(1 -u)(1-qu)},$$
where $a = \pi +\overline{\pi}$.
For all $t \in F_q^*$, $\chi^3(t) = 1$, thus $\chi(t) \in \{1,\omega, \omega^2\} \subset \Z[\omega]$, and $\rho(t) = \pm 1$, therefore $\pi = \rho(A) \chi(A) \sum_{t\in F_q} \chi(t) \rho(t) \in \Z[\omega]$. Writing $\pi = u + v \omega,\ u,v \in \Z$, we obtain $a = \pi + \overline{\pi} = 2u -v \in \Z$.
Moreover,
$$|a| \leq |\pi| + |\overline{\pi}| = 2 |\pi| = 2 q^{1/2}.$$
To conclude,
$$Z_f(u) = \frac{1 + au + qu^2}{(1 -u)(1-qu)}, \qquad a \in \Z,\ |a| \leq 2 q^{1/2}.$$
\end{proof}
\paragraph{Ex. 11.11}{\it Consider the curve $y^2 = x^3 -Dx$ over $F_p$, where $D \ne 0$. Call this curve $C_1$. Show that the substitution $x = \frac{1}{2}(u+v^2)$ and $y = \frac{1}{2} v(u + v^2)$ transforms $C_1$ into the curve $C_2$ given by $u^2 - v^4 = 4D$. Show that in any given finite field the number of finite points on $C_1$ is one more than the number of finite points on $C_2$.
}
\begin{proof} Let $F$ be a finite field such that the characteristic of $F$ is not $2$. Here
\begin{align*}
C_1 &= \{(x,y) \in F^2 \mid y^2 = x^3 -Dx\},\\
C_2 &=\{(u,v) \in F^2 \mid u^2 - v^4 = 4D\}.
\end{align*}
Consider the maps
$$
\varphi
\left\{
\begin{array}{ccl}
C_1 \setminus \{(0,0)\} & \to & C_2\\
(x,y) & \mapsto &\left(2x - \left(\frac{y}{x} \right)^2, \frac{y}{x}\right),\\
\end{array}
\right.
\qquad
\psi
\left\{
\begin{array}{ccl}
C_2 & \to & C_1 \setminus \{(0,0)\}\\
(u,v) & \mapsto & \left(\frac{1}{2}(u+v^2), \frac{1}{2} v (u+v^2)\right).\\
\end{array}
\right.
$$
$\bullet$ The map $\varphi$ is well defined: If $(x,y) \in C_1 \setminus \{(0,0)\}$, then
$y^2 = x^3 - Dx$, and $x \ne 0$, otherwise $y^2 = x^3 - Dx = 0$, and then $(x,y) = (0,0)$.
Write $(u,v) = \left(2x - \left(\frac{y}{x} \right)^2, \frac{y}{x}\right)$, then
$x = \frac{1}{2}(u+v^2)$ and $y = \frac{1}{2} v(u+v^2)$. The equality $y^2 = x^3 - Dx$ gives
\begin{align*}
\frac{1}{2} v^2(u+v^2) &= \frac{1}{4} (u + v^2)^2 - D,\\
4D &= (u+v^2)^2 - 2 v^2(u+v^2),\\
4D &= u^2 - v^4,
\end{align*}
so that $(u,v) = \left(2x - \left(\frac{y}{x} \right), \frac{y}{x}\right) \in C_2$.
$\bullet$ The map $\psi$ is well defined: if $(u,v) \in C_2$, then $u^2 - v^4 = 4D$. Then $u + v^2 \ne 0$, otherwise $4D = u^2 - v^4 = (u-v^2)(u+v^2) =0$, where $4D \ne 0$ ($D \ne 0$ , and the characteristic is not $2$ by hypothesis).
Write $(x,y) = \left(\frac{1}{2}(u+v^2), \frac{1}{2} v (u+v^2)\right)$. Then $x =\frac{1}{2}(u+v^2) \ne 0$, and $(u,v) = \left(2x - \left(\frac{y}{x} \right)^2, \frac{y}{x}\right)$.
The equality $u^2 - v^4 = 4D$ gives
\begin{align*}
\left(2x - \left(\frac{y}{x} \right)^2\right)^2 - \left(\frac{y}{x}\right)^4&= 4D,\\
4x^2 - 4 \frac{y^2}{x}&= 4D,\\
x^3 - Dx &= y^2,
\end{align*}
so that $(x,y) = \left(\frac{1}{2}(u+v^2), \frac{1}{2} v (u+v^2)\right) \in C_1$, and $(x,y) \ne (0,0)$.
Take any point $(x,y) \in C_1 \setminus \{(0,0)\} $, then $x \ne 0$. Write $(u,v) = \varphi(x,y) = \left(2x - \left(\frac{y}{x} \right), \frac{y}{x}\right)$. Then $(x,y) = \left(\frac{1}{2}(u+v^2), \frac{1}{2} v (u+v^2)\right)= \psi(u,v) = (\psi \circ \varphi)(x,y)$. Thus $\psi \circ \varphi = 1_{C_1 \setminus \{(0,0)\}}$.
Similarly, take any point $(u,v) \in C_2$. Write $(x,y) = \psi(u,v) = \left(\frac{1}{2}(u+v^2), \frac{1}{2} v (u+v^2)\right)$. Then $(u,v) = \left(2x - \left(\frac{y}{x} \right)^2, \frac{y}{x}\right) = \varphi(x,y) = (\varphi \circ \psi)(u,v)$. Thus $\varphi \circ \psi = 1_{C_2}$.
This proves that $\varphi$ and $\psi$ are bijections.
Therefore $|C_2| = |C_1 \setminus \{(0,0)\}| = |C_1| - 1$, and $|C_1| = |C_2| +1$.
To conclude, in any given finite field whose characteristic is not $2$, the number of finite points on $C_1$ is one more than the number of finite points on $C_2$.
\end{proof}
\paragraph{Ex. 11.12}{\it (continuation)
If $p\equiv 3 \pmod 4$, show that the number of projective points on $C_1$ is just $p+1$.
If $p\equiv 1 \pmod 4$, show that the answer is $p+1 + \overline{\chi(D)} J(\chi,\chi^2) + \chi(D) J(\chi,\chi^2)$, where $\chi$ is a character of order $4$ on $F_p$.
}
\medskip
Note: There is an obvious misprint. We must read $p+1 + \overline{\chi(D)} J(\chi,\chi^2) + \chi(D) \overline{J(\chi,\chi^2)}$
\begin{proof}
$\bullet$ Assume first that $p\equiv 3 \pmod 4$. First, we count the number of affine points on $C_2$.
In this case, there is no character of order $4$, and the only characters whose order divides $4$ are $\varepsilon$ and $\rho$, where $\rho$ is the Legendre's character. Then Exercises 8.1, 8.2, with $d = 4 \wedge (p-1) = 2$, and Proposition 8.1.5 show that $N(x^4 = a) = N(y^2 =a) = 1 + \rho(a).$ Therefore
\begin{align*}
N(u^2 - v^4 = 4D) &= \sum_{a-b = 4D} N(u^2=a)N(v^4=b)\\
&=\sum_{a-b = 4D} (1+\rho(a))(1+\rho(b))\\
&=\sum_{a \in F} (1+ \rho(a))(1+ \rho(a-4D))\\
&= \sum_{a \in F} 1 + \sum_{a \in F} \rho(a) + \sum_{a \in F} \rho(a-4D) + \sum_{a\in F}\rho(a) \rho(a-4D)\\
&= p + \sum_{a\in F}\rho(a) \rho(a-4D).
\end{align*}
We compute this last sum.
\begin{align*}
\sum_{a\in F}\rho(a) \rho(a-4D) &= \rho(-1) \sum_{a + c = 4D} \rho(a) \rho(c)\\
&= \rho(-1) \sum_{a'+c' = 1} \rho(4D)^2 \rho(a') \rho(b')\qquad (a = 4Da', c = 4Db')\\
&= \rho(-1) J(\rho,\rho).
\end{align*}
Moreover, by Theorem 1(c), Chapter 8, since $\rho^2 = \varepsilon$,
$$J(\rho,\rho) = J(\rho, \rho^{-1}) = -\rho(-1).$$
Putting all together, we obtain
$$N(u^2 - v^4 = 4D) = p-1.$$
Then Exercise 11 gives
$$N(y^2 = x^3 -Dx) = p.$$
The projective closure of $C_1$ has equation $y^2 t =x^3 - Dxt^2$. For $t=0$, $x=0$, thus $[0,1,0]$ is the only point at infinity. The number of projective points on $C_1$ is
$$N_1 = p+1.$$
\bigskip
$\bullet$ Now we assume that $p\equiv 1 \pmod 4$. Then there is a character $\chi$ of order $4$ on $F_p$.
\begin{align*}
N(u^2 - v^4 = 4D) &= \sum_{a-b = 4D} N(u^2=a)N(v^4=b)\\
&=\sum_{a-b = 4D} (1+\rho(a))(1+\chi(b) + \chi^2(b) + \chi^3(b))\\
&=\sum_{i=0}^1 \sum_{j=0}^3 \sum_{a-b = 4D} \rho^i(a) \chi^j(b).\\
\end{align*}
The inner sum for each fixed pair $(i,j)$ is
\begin{align*}
\sum_{a-b = 4D} \rho^i(a) \chi^j(b) &= \sum_{a \in F_p} \rho^i(a) \chi^j(a - 4D)\\
&=\chi^j(-1)\sum_{a \in F_p} \rho^i(a) \chi^j(4D-a)\\
&= \chi^j(-1)\sum_{a + c = 4D}\rho^i(a) \chi^j(c)\\
&= \chi^j(-1)\sum_{a' + c' = 1} \rho^i(4D) \chi^j(4D) \rho^i(a') \chi^j(c') \qquad (a = 4Da', c = 4Db')\\
&=\chi^j(-1) \rho^i(4D) \chi^j(4D) J(\rho^i, \chi^j).
\end{align*}
Since $\chi^2$ is of order 2, $\rho = \chi^2$, thus
$$\sum_{a-b = 4D} \rho^i(a) \chi^j(b) = \chi^j(-1) \chi^{2i+j}(4D) J(\chi^{2i},\chi^j),$$
and, using $J(\varepsilon,\varepsilon) = p , J(\varepsilon,\chi^j) =0$ if $j\ne 0$,
\begin{align*}
N(u^2 - v^4 = 4D) &= \sum_{i=0}^1 \sum_{j=0}^3 \chi^j(-1) \chi^{2i+j}(4D) J(\chi^{2i},\chi^j)\\
&=p + \chi(-1) \chi^3(4D) J(\chi^2,\chi) \\
&\phantom{=p\, } + \chi^2(-1) \chi^4(4D) J(\chi^2,\chi^2) \\
&\phantom{=p\, }+ \chi^3(-1) \chi^5(4D) J(\chi^2,\chi^3).
\end{align*}
Since $J(\chi^2,\chi^2) = J(\chi^2,\chi^{-2}) = -\chi^2(-1) = -1$, and $\chi^3 = \overline{\chi}$, we obtain
$$N(u^2 - v^4 = 4D) = p-1 + \chi(-1) [\overline{\chi(4D)} J(\chi,\chi^2) +\chi(4D) \overline{J(\chi,\chi^2)}].$$
Since $\chi(4)^2 = \chi(2^4) = \chi^4(2) = 1$, $\chi(4) = \pm 1$ is real, therefore
$$N(u^2 - v^4 = 4D) = p-1 + \chi(-4) \left [\overline{\chi(D)} J(\chi,\chi^2) +\chi(D) \overline{J(\chi,\chi^2)}\right].$$
We must add one to obtain the number of affine points of $C_1$, and one more to the point at infinity. Thus the number of projective points on $C_1$ is
$$N_1 = p+1 + \chi(-4)[\overline{\chi(D)} J(\chi,\chi^2) +\chi(D) \overline{J(\chi,\chi^2)}].$$
But $\chi(-1) = (-1)^{\frac{p-1}{4}}$. To prove this equality, take $g$ a generator of $F_p^*$ such that $\chi(g) = i$ (such a generator exists, since $\chi(g) = \pm i$: if $\chi(g) = -i$, replace $g$ by $g^{-1}$). Since $g^{p-1} = 1$, and $g^{(p-1)/2} \ne 1$, we obtain $g^{(p-1)/2} = -1$, thus $\chi(-1) = \chi(g)^{(p-1)/2} = i ^{(p-1)/2} = (-1)^{(p-1)/4}$.
Moreover $\chi(4) = \chi^2(2) = \rho(2) = (-1)^{(p^2-1)/8}$. Thus, for $p = 4k +1$,
$$\chi(-4) = \chi(-1) \chi(4) = (-1)^\frac{p-1}{4} (-1)^\frac{p^2 - 1}{8} = (-1)^k (-1)^{2k^2 + k} = 1.$$
Alleluia! We conclude
$$N_1 = p+1 + \overline{\chi(D)} J(\chi,\chi^2) +\chi(D) \overline{J(\chi,\chi^2)}.$$
\end{proof}
\paragraph{Ex. 11.13}{\it (continuation) If $p\equiv 1 \pmod 4$, calculate the zeta function of $y^2 = x^3 - Dx$ over $F$ in terms of $\pi$ and $\chi(D)$, where $\pi = -J(\chi,\chi^2)$. This calculation in somewhat sharpened form is contained in [23]. The result has played a key role in recent empirical work of B.J.Birch and H.P.F. Swinnerton-Dyer on elliptic curves.
}
\begin{proof}
Here $p\equiv1 \pmod 4$, thus $p^s \equiv 1 \pmod 4$. We consider here the two fields $F = \F_p$ and $F_s = \F_{p^s}$, where $|F| = p$ and $|F_s| = p^s$.
Let $\rho' = \rho \circ \mathrm{N_{F_s/F}}$, and $\chi' = \chi \circ \mathrm{N_{F_s/F}}$. The results of ¤3 show that the map $\xi \mapsto \xi' = \xi \circ\mathrm{N_{F_s/F}}$ induces a group isomorphism between the group cyclic $C_n$ of characters on $F$ whose order divides $n$ on the group cyclic $C'_n$ of characters on $F_s$ whose order divides $n$ (see Exercise 16). Thus the order of $\rho'$ is $2$ and the order of $\chi'$ is $4$, and $\chi'^2 = \rho'$.
Replacing $\chi, \rho$ by $\chi',\rho'$, and $p$ by $p^s$, we obtain by the same reasoning that the number of projective point of $C_1$ in $\overline{H}_f(F_s)$ is
$$N_s = p^s+1 + \chi'(-4)\left[\overline{\chi'(D)} J(\chi',\chi'^2) +\chi'(D) \overline{J(\chi',\chi'^2)}\right].$$
To compute $\chi'(-4)$ and $\chi'(D)$ we use the property (c) of ¤3. Since $-4$ and $D$ are in $F$,
$$\chi'(-4) = \chi(-4) ^s = 1,\qquad \chi'(D) = \chi(D)^s.$$
Therefore
$$N_s = p^s+1 + \overline{\chi(D)}^s J(\chi',\chi'^2) +\chi(D)^s \overline{J(\chi',\chi'^2)}.$$
It remains to compute $J(\chi',\chi'^2)$. Since $\chi' \ne \varepsilon, \chi'^2 \ne \varepsilon, \chi'^3 \ne \varepsilon$,
$$J(\chi',\chi'^2) = \frac{g(\chi') g(\chi'^2)}{g(\chi'^3)}.$$
The Hasse-Davenport relation gives $g(\chi'^k) = - (- g(\chi^k))^s$, thus
\begin{align*}
J(\chi',\chi'^2) &= - \left[- \frac{ g(\chi) g(\chi^2)}{g(\chi^3)}\right]^s\\
&= - (-J(\chi,\chi^2))^s\\
&= -\pi^s,
\end{align*}
where $\pi =-J(\chi,\chi^2) \in \Z[i]$. To conclude,
$$N_s = p^s + 1 - \overline{\chi(D)}^s \pi^s - \chi(D)^s \overline{\pi}^s,\qquad \pi = -J(\chi,\chi^2).$$
Then Exercise 2 gives
$$Z_f(u) = \frac{(1- \overline{\chi(D)} \pi u)(1 - \chi(D) \overline{\pi}u)}{(1-u)(1-pu)},\qquad \pi = -J(\chi,\chi^2).$$
Since $|\pi|^2 = |J(\chi,\chi^2)|^2 = p$ (corollary of Theorem 1, chapter 8), expanding the numerator, we obtain
$$Z_f(u) = \frac{1 + a u + pu^2}{(1-u)(1-pu)},\qquad a = -\mathrm{tr}\left(\overline{\chi(D)} \, \pi \right) \in \Z, \quad \pi = - J(\chi,\chi^2) \in \Z[i].$$
\bigskip
Note: Since $Z_f(u) =\exp(N_1u+ \cdots) = 1 + N_1 u + \cdots$, and
\begin{align*}
Z_f(u) &= (1 +au + pu^2)(1 + u + u^2+\cdots)(1+pu+p^2 u^2 + \cdots)\\
&= 1 + (a+p+1) u + \cdots,
\end{align*}
the comparison of the coefficient of $u$ in the two power series gives
$$a = N_1 - p - 1, \qquad \text{where } N_1 = p+1 - \overline{\chi(D)} \pi - \chi(D) \overline{\pi}, \quad \pi = - J(\chi,\chi^2).$$
This gives anew $a= -\mathrm{tr}\left(\overline{\chi(D)}\pi\right)$.
\end{proof}
\paragraph{Ex. 11.14}{\it Suppose that $p\equiv 1 \pmod 4$ and consider the curve $x^4 + y^4 = 1$ over $F_p$. Let $\chi$ be a character of order $4$ and $\pi = -J(\chi,\chi^2)$. Give a formula for the number of projective points over $F_p$ and calculate the zeta function. Both answers should depend only on $\pi$. (Hint: See Exercises 7 and 16 of Chapter 8, but be careful since there were counting only finite points.)
}
\begin{proof}
We count the number of points at infinity of the curve $C : x^4 + y^4 = 1$ over a finite field $F$. The projective closure of $C$ has equation $x^4 + y^4 = t^4$. The projective points $[t,x,y]$ such that $t= 0$ satisfy the equation $x^4 + y^4 = 0$. Note that $y = 0$ is impossible since $[0,0,0]$ is not a projective point. Thus the points at infinity of the curve $C$ are the points $[0,x,y]$ such that $(0,x,y) = y (0,a,1)$, where $a^4 = -1$, so that the points at infinity are
$$[0,a,1], \qquad \text{where } a^4 = -1.$$
Since $(0,a,1) = \lambda (0,b,1)$ for some $\lambda \in F$ implies $a= b$, their number is $N(a^4 = -1)$.
Write, as in Chapter 8 and Exercise 8.16, for $a \in F$,
$$
\left\{\begin{array}{rl}
\delta_4(a) &= 1 \text{ if $a$ is a fourth power in $F$,}\\
&= 0 \text{ if not}.
\end{array}
\right.
$$
If $\delta_4(-1) = 0$, then $N(a^4 = -1) = 0$, and if $\delta_4(-1) = 1$, then $N(a^4 = -1) = 4 \wedge (p-1) = 4$ because $p \equiv 1 \pmod 4$. In both cases $N(a^4 = -1) = 4 \delta_4(-1)$.
To conclude, the number of points at infinity of the curve $C : x^4 + y^4 = 1$ over a finite field $F$ is $4 \delta_4(-1)$.
\bigskip
In Exercise 8.16, we show that the number of affine points of $C$ is
$$N(x^4 + y^4 = 1) = p+1 -4\delta_4(-1) + 2 \mathrm{Re}(J(\chi,\chi)) + 4 \mathrm{Re}(J(\chi,\chi^2)).$$
Therefore the number of points of the projective closure of $C$ in $\overline{H}_f(F_p)$ is
$$N_1 = p+1 + 2 \mathrm{Re}(J(\chi,\chi)) + 4 \mathrm{Re}(J(\chi,\chi^2)).$$
With the same calculation as in Exercise 16 and above, we obtain similarly in the field $F_{p^s}$,
$$N_s = p^s + 1 + 2 \mathrm{Re}(J(\chi',\chi')) + 4 \mathrm{Re}(J(\chi',\chi'^2)),$$
where $\chi' =\chi \circ \mathrm{N}_{F_{p^s}/F_p}$ is a character of order $4$ on $F_{p^s}$.
The generalization of Exercise 8.7 gives
$$J(\chi',\chi') = \chi'(-1) J(\chi',\chi'^2),$$
where $\chi'(-1) = \chi(-1)^s =((-1)^{\frac{p-1}{4}})^s$.
As in exercise 13, the Hasse-Davenport relation shows that
\begin{align*}
J(\chi',\chi'^2) &= \frac{g(\chi') g(\chi'^2)}{g(\chi'^3)}\\
&= - \left[- \frac{ g(\chi) g(\chi^2)}{g(\chi^3)}\right]^s\\
&= - (-J(\chi,\chi^2))^s\\
&= -\pi^s.
\end{align*}
Putting all together, we obtain
$$N_s = p^s +1 - (((-1)^{\frac{p-1}{4}})^s+ 2) (\pi^s + \overline{\pi}^s),\qquad \pi = -J(\chi,\chi^2),$$
that is
$$N_s = p^s + 1 - ((-1)^{\frac{p-1}{4}} \pi)^s -((-1)^{\frac{p-1}{4}} \overline{\pi})^s -2 \pi^s - 2 \overline{\pi}^s.$$
Then Exercise 2 gives
$$Z_f(u) = \frac{(1 - (-1)^\frac{p-1}{4} \pi u)(1 - (-1)^\frac{p-1}{4} \overline{\pi} u)(1 - \pi u)^2(1- \overline{\pi}u)^2}{(1-u)(1-pu)}.$$
Using $|\pi|^2 = p$, we conclude
$$Z_f(u) = \frac{(1 - 2(-1)^\frac{p-1}{4} a u + p u^2)(1 -2au + pu^2)^2}{(1-u)(1-pu)}, \qquad a = \mathrm{Re}(\pi) \in \Z,\ \pi = -J(\chi,\chi^2) \in \Z[i].$$
Note: By ¤5 (or Ex. 8.18), we know that $a$ is the unique integer such that $p=a^2+b^2$ where $a+bi \equiv 1 \pmod{2+2i}$. With a simpler formulation $p = a^2 + b^2$, and $a \equiv 1 \pmod 4$ if $4 \mid b$, $a \equiv -1 \pmod 4$ if $4 \nmid b$. So we can verify these results for small primes $p$.
\end{proof}
\paragraph{Ex. 11.15}{\it Find the number of points on $x^2 + y^2 + x^2y^2 = 1$ for $p=13$ and $p=17$. Do it both by means of the formula in section 5 and by direct calculation.
}
\begin{proof}
$\bullet$ If $p=13$, the only finite points on the curve are the $4$ points $(0,1)(0,-1),(1,0),(-1,0)$. We must add the $2$ points at infinity to obtain the $6$ points $[t,x,y]$
$$[0,1,0],[0,0,1], [1,0,1],[1,0,-1],[1,1,0],[1,-1,0].$$
Since $p = 13 = 3^2 + 2^2$, where $4 \nmid 2$ and $3 \equiv -1 \pmod 4$, here $a = 3$, thus the formula of ¤5 gives
$$N_1 = p-1 - 2a = 6.$$
$\bullet$ If $p = 17$, the finite points on the curve, given by the following naive program, are the 12 points
$$(0, 1), (0, 16), (1, 0), (2, 8), (2, 9), (8, 2), (8, 15), (9, 2), (9,15), (15, 8), (15, 9), (16, 0).$$
With the two points at infinity, we obtain $14$ projective points.
Here $p = 1^2 + 4^2$, and $p \mid b=4$, $a = 1 \equiv 1 \pmod 4$, thus $a = 1$, and the formula of ¤5 gives
$$N_1 = p-1-2a =14.$$
The formula is verified in both cases.
\bigskip
Program Sage to obtain the finite points on the curve $x^2 + y^2 + x^2y^2 =1$:
\begin{verbatim}
def N(p):
Fp = GF(p)
l = []
for x in Fp:
for y in Fp:
if x^2 + y^2 + x^2*y^2 == 1:
l.append((x,y))
return l
\end{verbatim}
\end{proof}
\paragraph{Ex. 11.16}{\it Let $F$ be a field with $q$ elements and $F_s$ an extension of degree $s$. If $\chi$ is a character of $F$, let $\chi' = \chi \circ \mathrm{N}_{F_s/F}$. Show that
\begin{enumerate}
\item[(a)] $\chi'$ is a character of $F_s$.
\item[(b)] $\chi \ne \rho$ implies that $\chi' \ne \rho'$.
\item[(c)] $\chi^m = \varepsilon$ implies that $\chi'^m = \varepsilon$.
\item[(d)] $\chi'(a) = \chi(a)^s$ for $a \in F$.
\item[(e)] As $\chi$ varies over all characters of $F$ with order dividing $m$, $\chi'$ varies over all characters of $F_s$ with order dividing $m$. Here we are assuming that $q \equiv 1 \pmod m$.
\end{enumerate}
}
\begin{proof}
\item[(a)] If $\alpha,\beta \in F_s$, we know that $\mathrm{N}_{F_s/F}(\alpha \beta) = \mathrm{N}_{F_s/F}(\alpha) \mathrm{N}_{F_s/F}(\beta)$ (Proposition 11.2.2). Therefore
$$\chi'(\alpha \beta) =\chi(\mathrm{N}_{F_s/F}(\alpha \beta)) = \chi(\mathrm{N}_{F_s/F}(\alpha) \mathrm{N}_{F_s/F}(\beta)) = \chi(\mathrm{N}_{F_s/F}(\alpha))\chi(\mathrm{N}_{F_s/F}(\beta)) = \chi'(\alpha) \chi'(\beta).$$
This shows that $\chi'$ is a character.
\item[(b)] Assume that $\chi' = \rho'$. Then for all $\alpha \in K^*$, $\chi(\mathrm{N}_{F_s/F}(\alpha)) =\rho(\mathrm{N}_{F_s/F}(\alpha))$.
By Proposition 11.2.2 (d), the map
$$\varphi
\left\{
\begin{array}{ccl}
K^* & \to & F^*\\
\alpha & \mapsto & \mathrm{N}_{K/F}(\alpha)
\end{array}
\right.
$$
is surjective. Let $a$ be any element of $F^*$. Since $\varphi$ is surjective, there is some $\alpha \in F_s^*$ such that $\varphi (\mathrm{\alpha}) = a$.
Then $\chi(a) = \chi(\mathrm{N}_{F_s/F}(\alpha)) =\rho(\mathrm{N}_{F_s/F}(\alpha)) = \rho(a)$. Since this is true for every $a \in F^*$, and $\chi(0) = 0 = \rho(0)$, this shows that $\chi = \rho$.
To conclude, $\chi' = \rho'$ implies $\chi = \rho$, thus $\chi \ne \rho$ implies $\chi' \ne \rho'$.
\item[(c)] If $\chi^m = \varepsilon$, then for all $\alpha \in K$,
$(\chi')^m(\alpha) = \chi^m(\mathrm{N}_{F_s/F}(\alpha)) = 1,$
thus $\chi'^m = \varepsilon$.
\item[(d)] If $a \in F$, by Proposition 11.2.2(c), $\mathrm{N}_{F_s/F}(a) = a^s$, therefore
$$
\chi'(a) = \chi(N_{K/F}(a))= \chi(a^s)= \chi(a)^s.
$$
\item[(e)] Assume that $q \equiv 1 \pmod m$. Write $C$ the group of character on $F$, $C'$ the group of characters on $F_s$, $C_m$ the group of character on $F$ with order dividing $m$, and $C'_m$ the group of character on $F_s$ with order dividing $m$. By the generalization of Proposition 8.1.3, $C$ is a cyclic group of order $q-1$, and $C'$ a cyclic group of order $q^s -1$.
We know that if $m \mid q-1 = |C|$, the subgroup $C_ m = \{\chi \in C \mid \chi^m = \varepsilon\}$ of the cyclic group $C$ is cyclic of order $m$. Since $m \mid q- 1 \mid q^s - 1$, it is the same for $C'_m$:
$$|C_m |= |C'_m| = m.$$
Let $\psi$ be the map
$$
\psi
\left\{