* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
Download General approach of the root of a p-adic number - PMF-a
List of prime numbers wikipedia , lookup
Ethnomathematics wikipedia , lookup
Infinitesimal wikipedia , lookup
History of mathematics wikipedia , lookup
Approximations of π wikipedia , lookup
Georg Cantor's first set theory article wikipedia , lookup
Non-standard analysis wikipedia , lookup
Foundations of mathematics wikipedia , lookup
Series (mathematics) wikipedia , lookup
List of important publications in mathematics wikipedia , lookup
Vincent's theorem wikipedia , lookup
Fundamental theorem of algebra wikipedia , lookup
Collatz conjecture wikipedia , lookup
Quadratic reciprocity wikipedia , lookup
P-adic number wikipedia , lookup
Filomat 27:3 (2013), 429–434
DOI 10.2298/FIL1303429M
Published by Faculty of Sciences and Mathematics,
University of Niš, Serbia
Available at: http://www.pmf.ni.ac.rs/filomat
General approach of the root of a p-adic number
Kecies Mohameda , Zerzaihi Taharb
a Laboratoire
b Laboratoire
de mathématiques pures et appliquées.Université de Jijel. BP 98 Ouled Aissa, 18000 Jijel, Algérie
de mathématiques pures et appliquées.Université de Jijel. BP 98 Ouled Aissa, 18000 Jijel, Algérie
Abstract. In this work, we applied the Newton method in the p-adic case to calculate the cubic root of a
p-adic number a ∈ Q∗p where p is a prime number, and through the calculation of the approximate solution
of the equation x3 − a = 0. We also determined the rate of convergence of this method and evaluated the
number of iterations obtained in each step of the approximation.
1. Introduction
The p-adic numbers were discovered by K. Hensel around the end of the nineteenth century. In the
course of one hundred years, the theory of p-adic numbers has penetrated into several areas of mathematics,
including number theory, algebraic geometry, algebraic topology and analysis (and rather recently to
physics). In papers [6], the authors used classical rootfinding methods to calculate the reciprocal of integer
modulo pn , where p is prime number. But in [1], the author used the Newton method to find the reciprocal
of a finite segment padic number, also referred to as Hensel codes. The Hensel codes and their properties
are studied in [2–4]. In [8], the authors used fixed point method to calculate the Hensel code
√ of square root
of a p-adic number a ∈ Qp , it means the first numbers of the p-adic development of the a.
In this work, we will see how we can use classical root-finding method and explore a very interesting
application of tools from numerical analysis to number theory.
One considers the following equation
x3 − a = 0.
(1)
The solution of (1) is approximated by a p-adic number sequence (xn )n ⊂ Q∗p constructed by the Newton
method.
2. Preliminaries
Definition 2.1. Let p be a prime number.
1) The field Qp of p-adic numbers is the completion of the field Q of rational numbers with respect to the p-adic norm
|·|p defined by
{
p−vp (x) , if x , 0
∀x ∈ Qp : |x|p =
0, if x = 0,
2010 Mathematics Subject Classification. Primary 11E95 ; Secondary 34K28.
Keywords. Newton method; Hensel’s lemma; rate of convergence.
Received: 05 November 2012; Revised 12 February 2013; Accepted: 16 February 2013
Communicated by Eberhard Malkowsky
Email addresses: [email protected] (Kecies Mohamed), [email protected] (Zerzaihi Tahar)
Kecies Mohamed, Zerzaihi Tahar / Filomat 27:3 (2013), 429–434
430
where vp is the p-adic valuation defined by
{
}
vp (x) = max r ∈ Z : pr | x .
2) The p-adic norm induces a metric dp given by
dp :
Qp × Qp
(x, y)
−→ R+
7−→ dp (x, y) = x − yp ,
this metric is called the p-adic metric.
Theorem 2.2. [5] Given a p-adic number a ∈ Qp , there exists a unique sequence of integers (βn )n≥N , with N = vp (a),
such that 0 ≤ βn ≤ p − 1 for all n and
a = βN pN + βN+1 pN+1 + ... + βn pn + ... =
∞
∑
βk pk
k=N
The short representation of a is βN βN+1 ...β−1 · β0 β1 ..., where only the coefficients of the powers of p are
shown. We can use the p-adic point · as a device for displaying the sign of N as follows:
βN βN+1 ...β−1 · β0 β1 ..., for N < 0
·β0 β1 β2 ..., for N = 0
·00...0β0 β1 ..., for N > 0.
Definition 2.3. A p-adic number a ∈ Qp is said to be a p-adic integer if this canonical expansion contains only non
negative power of p.
The set of p-adic integers is denoted by Zp . We have
∞
} {
}
∑
{
k
Zp =
β
p
,
0
≤
β
≤
p
−
1
= a ∈ Qp : vp (a) ≥ 0 = a ∈ Qp : |a|p ≤ 1 .
k
k
k=0
Definition 2.4. A p-adic integer a ∈ Zp is said to be a p-adic unit if the first digit β0 in the p-adic expansion is
different of zero. The set of p-adic units is denoted by Z∗p . Hence we have
∞
}
∑
{
∗
k
Zp =
β
p
,
β
,
0
= a ∈ Qp : |a|p = 1 .
0
k
k=0
Lemma 2.5. [5] Given a ∈ Qp and k ∈ Z, then
{
}
y ∈ Qp : y − ap ≤ pk = a + p−k Zp
Proposition 2.6. [7] Let x be a p-adic number of norm p−n . Then x can be written as the product x = pn u, where
u ∈ Z∗ .
Proposition 2.7. [7] Let (an )n be a p-adic number sequence. If lim an = a ∈ Q \ {0}, then lim |an |p = |a|p . The
n→∞
n→∞
)
(
sequence of norms |an |p must stabilize for sufficiently large n.
n
Theorem 2.8.
lemma) Let F(x) = c0 + c1 x + ... + cn xn be a polynomial whose coefficients are p-adic
( [7](Hensel’s
)
integers i.e. F ∈ Zp [x] . Let
F′ (x) = c1 + 2c2 x + 3c3 x2 + ... + ncn xn−1
be the derivative of F(x). Suppose a0 is a p-adic integer which satisfies F(a0 ) ≡ 0( mod p) and F′ (a0 ) . 0( mod p).
Then there exists a unique p-adic integer a such that F(a) = 0 and a ≡ a0 ( mod p).
Kecies Mohamed, Zerzaihi Tahar / Filomat 27:3 (2013), 429–434
431
Theorem 2.9. [7] A polynomial with integer coefficients has a root in Zp if and only if it has an integer root modulo
pk for any k > 1.
(
)
Definition 2.10. A p-adic number b ∈ Qp is said to be a cubic root of a ∈ Qp of order k if b3 ≡ a modpk , where
k ∈ N.
Proposition 2.11. [9] A rational integer a not divisible by p has a cubical root in Zp (p , 3) if and only if a is a cubic
residue modulo p.
Corollary 2.12. [9] Let p be a prime number, then
(
)
1. If p , 3, then a = pvp (a) .u ∈ Qp u ∈ Z∗p has a cubic root in Qp if and only if vp (a) = 3m, m ∈ Z and u = v3
for some unit v ∈ Z∗p .
(
)
2. If p = 3, then a = 3v3 (a) .u ∈ Q3 u ∈ Z∗3 has a cubic root in Q3 if and only if v3 (a) = 3m, m ∈ Z and u ≡ 1(
mod 9) or u ≡ 2( mod 3).
3. Main Results
Let a ∈ Q∗p be a p-adic number such that
|a|p = p−vp (a) = p−3m , m ∈ Z.
(2)
We know that if there exists a p-adic number β such that β3 = a and (xn )n is a sequence of the p-adic
numbers that converges to a p-adic number β , 0, then from a certain rank one has
(3)
|xn |p = βp = p−m .
The Newton method: An elementary method to determine zeros of a given function is the Newton
method where the iterative formula is defined by
xn+1 = xn −
f (xn )
, ∀n ∈ N.
f ′ (xn )
(4)
Obtaining the following recurrence relation
xn+1 =
)
1 (
a + 2x3n , ∀n ∈ N.
2
3xn
(5)
Therefore
x3n+1 − a =
)(
)2
1 (
3
3
a
+
8x
a
−
x
, ∀n ∈ N,
n
n
27x6n
(6)
and
xn+1 − xn =
)
1 (
a − x3n , ∀n ∈ N.
2
3xn
(7)
Determining the rate of convergence of an iterative method is to study the comportment of the sequence
(en+n0 )n defined by en+n0 = xn+n0 +1 − xn+n0 obtained at each step of the iteration where n0 ∈ N.
Roughly speaking, if the rate of convergence of a method is s, then after each iteration the number of
correct significant digits in the approximation increases by a factor of approximately s.
Kecies Mohamed, Zerzaihi Tahar / Filomat 27:3 (2013), 429–434
432
Theorem 3.1. If xn0 is the cubic root of a of order r. Then
1) If p , 3, then xn+n0 is the cubic root of a of order 2n r − 3m(2n − 1).
2) If p = 3, then xn+n0 is the cubic root of a of order 2n r − 3(m + 1)(2n − 1).
Proof. Let (xn )n the sequence defined by (5) and xn0 is the cubic root of a of order r. Then
x3n0 − a ≡ 0 mod pr =⇒ x3n0 − ap ≤ p−r .
We put
h (x) = a + 8x3n ,
We have
{
}
|h (x)|p = a + 8x3n p ≤ max |a|p , 8x3n0 p = p−3m .
Since
{
|27|p =
if p = 3
1, if p , 3.
1
27 ,
This gives
1
3
xn0 +1 − a = p
27x6n
(8)
2 1 3
3
· p−3m · p−2r .
· a + 8xn0 p · a − xn0 p ≤ 6 27x
n
0 p
0 p
And so we have
x3 − a ≤ p6m · p−3m · p−2r , if p , 3
n
+1
0
p
x3 − a ≤ 33 · 36m · 3−3m · 3−2r , if p = 3.
n0 +1
(9)
3
Or, in virtue of lemma 2.5
3
x
− a ≡ 0 mod p2r−3m , if p , 3
n0 +1
x3 − a ≡ 0 mod 32r−3(m+1) , if p = 3.
n0 +1
(10)
In this manner, we find that if p , 3, then
∀n ∈ N : x3n+n0 − a ≡ 0
mod pvn ,
(11)
Where the sequence (vn )n is defined by
{
v0 = r
∀n ∈ N :
⇐⇒ ∀n ∈ N : vn = 2n r − 3m(2n − 1).
vn+1 = 2vn − 3m
If p = 3, then
∀n ∈ N : x3n+n0 − a ≡ 0
′
mod 3vn ,
Where the sequence (v′n )n is defined by
{ ′
v0 = r
∀n ∈ N :
⇐⇒ ∀n ∈ N : v′n = 2n r − 3(m + 1)(2n − 1).
v′n+1 = 2v′n − 3(m + 1)
(12)
Kecies Mohamed, Zerzaihi Tahar / Filomat 27:3 (2013), 429–434
Corollary 3.2. If xn0 is the cubic root of a of order r. Then the sequence (en+n0 )n is defined by
xn+n0 +1 − xn+n0 ≡ 0 mod pφn , if p , 3
∀n ∈ N :
xn+n +1 − xn+n ≡ 0 mod 3φ′n , if p = 3,
0
433
(13)
0
Where
φn = 2n r − m(3 · 2n − 1)
∀n ∈ N :
φ′ = 2n r − (m(3 · 2n − 1) + (3 · 2n − 2)) .
n
(14)
Proof. We have
xn+1 − xn =
Since
{
|3|p =
)
1 (
3
a
−
x
, ∀n ∈ N,
n
3x2n
(15)
if p = 3
1, if p , 3,
1
3,
(16)
This gives
)
1 (
1 2m
3
xn+n0 +1 − xn+n0 = 2
a − xn+n0 = p · · a − x3n+n0 p
p
3xn+n
3P
0
=⇒
(17)
P
xn+n0 +1 − xn+n0 ≤ p2m · p−vn , if p , 3
p
′
xn+n0 +1 − xn+n0 ≤ 32m+1 · 3−vn , if p = 3,
3
(18)
Or, in virtue of lemma 2.5
xn+n0 +1 − xn+n0 ≡ 0 mod pvn −2m , if p , 3
∀n ∈ N :
xn+n +1 − xn+n ≡ 0 mod 3v′n −(2m+1) , if p = 3.
0
0
(19)
We put
φn = vn − 2m = 2n r − m(3 · 2n − 1)
∀n ∈ N :
φ′ = v′ − (2m + 1) = 2n r − (m(3 · 2n − 1) + (3 · 2n − 2)) .
n
n
3.1. Conclusion
According to the results obtained in the previous section, we obtain the following conclusions:
1. If p , 3,then
(a) The rate of convergence of the sequence (xn )n is of order φn .
(20)
Kecies Mohamed, Zerzaihi Tahar / Filomat 27:3 (2013), 429–434
(b) If r − 3m > 0, then the number of iterations to obtain M correct digits is
M−m
)
ln(
n = r−3m .
ln 2
434
(21)
2. If p , 3,then
(a) The rate of convergence of the sequence (xn )n is of order φ′n .
(b) If r − 3(m + 1) > 0, then the number of iterations to obtain M correct digits is
M−(m+2)
ln( r−3(m+1) )
.
n =
ln 2
(22)
References
[1] A. Vimawala, p-adic Arithmetic Methods for Exact Computation of Rational Numbers, School of Electrical Engineering and
Computer Science, Oregon State University. [Online] Available: http://cs.ucsb.edu/ koc/cs290g/project/2003/vimawala.pdf. June
2003.
[2] C.J. Zarowski, H.C. Card, On Addition and Multiplication with Hensel Codes, IEEE transactions on computers 39(12)(1990)1417–
1423.
[3] C.k. Koc, A Tutorial on p-adic Arithmetic, Electrical and Computer Engineering. Oregon State University, Corvallis, Oregon
97331. Technical Report.[Online] Available: http://islab.oregonstate.edu/papers/r09padic.pdf. 2002.
[4] E.V Krishnamurthy, On the Conversion of Hensel Codes to Farey Rationals, IEEE Transactions on Computers 32(4)(1983) 331–337.
[5] F. B. Vej, P-adic Numbers, Aalborg University. Department Of Mathematical Sciences. [Online] Available:
http://www.control.auc.dk/ jjl/oldpro/oldstu/mat3.ps. 2000.
[6] M. Knapp, C. Xenophotos, Numerical analysis meets number theory: using rootfinding methods to calculate inverses mod pn ,
Appl. Anal. Discrete Math. 4 (2010) 23–31.
[7] S. Katok, p-adic analysis compared with real, Student Mathematical Library Vol. 37, American Mathematical Society, 2007.
[8] T. Zerzaihi, M. Kecies, M. Knapp, Hensel codes of square roots of p-adic numbers, Appl. Anal. Discrete Math. 4(2010) 32-44.
[9] T. Zerzaihi, M. Kecies, Computation of the Cubic Root of a p-adic Number, Journal of Mathematics Research 3(3)(2011)40–47.