Degree project CUBIC CONGRUENCE EQUATIONS

Size: px
Start display at page:

Download "Degree project CUBIC CONGRUENCE EQUATIONS"

Transcription

1 Degree project CUBIC CONGRUENCE EQUATIONS Author: Qadeer Ahmad Supervisor: Per-Anders Svensson Date: Subject: Mathematics and Modeling Level: Master Course code:5ma11e

2 Abstract Let N m(f(x)) denote the number of solutions of the congruence equation f(x) 0 (mod m), where m 2 is any composite integer and f(x) is a cubic polynomial. In this thesis, we use different theorems and corollaries to find a number of solutions of the congruence equations without solving then we also construct the general expression of corresponding congruence equations to demonstrate the solutions of the equations. In this thesis, we use Mathematica software as a tool.

3 Contents 1 Introduction 4 2 Theory 6 3 Cubic Congruence (mod p) Cubic Congruence with linear term (mod p) Cubic Congruence (mod p k ) Special case Cubic Congruence with linear term (mod p k ) Quadratic Equation (mod p 3 ) General Expression Cubic Congruence with linear and quadratic term (mod p k ) Root of multiplicity three of cubic congurence (mod p k ) Cubic congruence (mod 2 k ) Case I when j k Case II when j < k Cubic Congruence (mod m) Cubic Congruence with linear term (mod m) Bibliography 38 3

4 Chapter 1 1 Introduction A congruence is like a statement about divisibility, but the difference is that this is more convenient notation. It often makes easier to discover proofs. The theory of congruence was introduced by Carl Friedrich Gauss ( ) one of the best mathematicians. Even though Pierre de Fermat ( ) earlier studied number theory in systematic way, Gauss was first to introduce the congruence subject as a branch of mathematics and developed the language of congruence in beginning of 19th century. Definition 1.1. Let m be any positive integer and a, b be integers with a 0. Then we say that a is congruent to b modulo m if m divide the difference of a b and write as a b (mod m). If a b is not divisible by m then we say that a is not congruent to b write as a b (mod m). Since a b is divisible by m if and only if a b is also divisible by m, we shall suppose throughout the modulus m is a positive integer. Example 1.1. Let 6, 3, 9 Z, where Z is the set of integers and 6 congruent to 3 modulo 9. We denote as 6 3 (mod 9). Linear Congruence Equations A linear congruence equation is of the form ax b (mod m), where a, b, m Z. Theorem 1.1. Let a, b, and m > 0 be given integers, and d =gcd(a, m). The linear congruence equation is ax b (mod m), has no solution at all, if d b. If d b then there are d solutions For proof see [1] Example 1.2. Solve the congruence equation 8x 4 (mod 12). (mod m). Solution. Since (8, 12) = 4 and 4 4, there are exactly four solutions. We solve the congruence equation and x 2, 5, 8, 11 (mod 12) are the solutions. Quadratic Equation A quadratic equation is of the form ax 2 b (mod m), where a, b, m Z. 4

5 Lemma 1.1. Let p be an odd prime. Let a Z, (a, p) = 1 then x 2 a (mod p) either has no solution or, exactly two solutions. More detail of lemma can find in [5] Example 1.3. Solve x 2 3 (mod 11). Solution. We see that f(3) = 22 0 (mod 11) and f(6) = 33 0 (mod 11). Hence x 3, 6 are the solutions of above congruence. Example 1.4. Solve x 2 5 (mod 3). Solution. We note that f(t) 0 (mod 3) where t = 0, 1, 2, from which we deduce that the quadratic congruence has no solution. Cubic Congruences Equations Let the cubic congruence equation be f(x) = x 3 a (mod m) where a Z and m be any composite integer. Chapter s Overview Chapter 2 is about some basic definitions that we will use throughout in our thesis. In Chapter 3 we will solve the different kind of cubic congruence equations modulo p, where p be a prime number, to find all possible solutions of the congruence equations. In the literature the discussion of polynomial congruence equations is mostly focused on how to solve such an equations, and not on computing the number of solutions. By using Mathematica as a tool, we will derive a general expression for how the solutions look like for the different kind of cubic congruence equations, and from these general expressions can also find the number of possible solutions. This is described in Chapters 4 and 5. In Chapter 4 we will solve different kinds of cubic congruence equation s mod p k where k Z +. We shall use Hensel s lifting method. In Chapter 5 we will solve cubic congruence equations mod 2 k. In Chapter 6 we will solve different kinds of cubic congruence equations modulo m where m is any composite positive integer. 5

6 Chapter 2 2 Theory The theory of the number is related with the properties of the natural numbers 1, 2, 3, also called the positive integers, these number s combine with negative integers and zero from set of integers. Thousands of people work on communal number problems over the internet. The solution of the main problem in number theory is reported on the PBS television series NOVA. People study the number theory to understand the system for making secret messages. Definition 2.1. An integer a 0 is divisor of an integer b if there exist an integer y such that b = ay and we denote this by a b. In case a does not divide b then we write a b. If p k a and p k+1 a where p is a prime, that is p k is the highest power dividing a, then we denote it by p k a. Example 2.1. Suppose that 6, 12 Z, where Z is the set of integers. The 6 is divisor of 12 becuase 12 = 6 2. This is denoted by Definition 2.2. A prime is an integer greater than 1 that is only divisible by 1 and itself. In other words, a prime is an integer with two positive integer divisors. Example 2.2. Let 11 Z, where Z is the set of integers. The divisors of 11 are 1 and itself only so 11 is a prime number. Definition 2.3. An element a Z is said to have a multiplictaive inverse if there exist an element b Z such that ab 1 (mod m). Theorem 2.1. An element a Z has a multiplicative inverse modulo m, if and only if greatest common divisor of a and m are relative prime and we denote it by a 1. Further, if a multiplicative inverse exist, then it can be determined uniquely (mod m). proof. By definition 2.3 multiplicative inverse of a is solution of ax 1 (mod m) define in theorem 1.1, if and only if (a, m) = 1. Example 2.3. Since gcd(3, 7) = 1, the element 3 Z has a multiplicative inverse modulo 7. We see that 3 1 = 5, since (mod 7). Definition 2.4. Let m be any integer, and (a, m) = 1. If the congruence x 2 a (mod m) has solution then a is called a quadratic residue modulo m. If the congruence has no solution, then a is called quadratic non residue mod m. Example 2.4. Let x 2 4 (mod 7). This congruence has two solutions x = 2 and 5, therefore 4 is a quadratic residue. 6

7 Definition ( ) 2.5. If p is an odd prime, a Z and (a, p) = 1 then Legendre symbol is defined as (i) (ii) ( ( a p a p a p ) = 1 if a is quadratic residue (mod p). ) = 1 if a is quadratic non-residue (mod p). (iii) 0 if a 0 (mod p). Example 2.5. Let x 3 5 (mod 11). quadratic residue therefore ( 5 11) = 1. Then x = 3 is a solution, hence 5 is Definition 2.6. The discriminant of a cubic equation x 3 + ax + b = 0 is defined as = 4a 3 27b 2. Further information on discriminant can find in [2]. Example 2.6. Suppose that x 3 + 4x (mod 13). The discriminant of this congruence is = =

8 Chapter 3 3 Cubic Congruence (mod p) A cubic congruence equation be x 3 a (mod p), where p is a prime positive integer and a Z. Theorem 3.1. Let p be a prime and (a, p) = 1. Then x n a (mod p) has (n, p 1) solutions if a (p 1)/(n,p 1) 1 (mod p) and no solution if a (p 1)/(n,p 1) 1 (mod p). For proof of this theorem see [1]. Example 3.1. Determine the number of solutions of the congruence x 3 6 (mod 7). Solution. We note that (6, 7) = 1. As (3, 7 1) = (3, 6) = 3 and 6 (6/3) = (mod 7), we deduce that the congruence has x 3, 5, 6 (mod 7) three solutions. 3.1 Cubic Congruence with linear term (mod p) Suppose that we have cubic congruence equation with the linear term x 3 + bx a (mod p), where p is prime and a, b Z. The following lemma is stated in [3]. Lemma 3.1. Let p > 3 be a prime, let a, b Z, If (p, b) = 1 and suppose the congruence is x 3 + ax + b 0 (mod p). Let t Z be such that tb 2 a 3 (mod p), and Ψ p (T ) = T k 1 (p 5)(p 7) T k ! ( 1) s 1 [p (2s + 1)][p (2s + 3)] [p (4s 1)] (2s 1) T k s (s 1) (2s 1)! ( 1) k 1 [p (2k + 1)][p (2k + 3)] [p (4k 1)] (2k 1). (3.1) 2 2(k 1) (2k 1)! (i) If (4t + 27) is a quadratic non residue modulo p, then cubic congruence has a unique solution x, 0 < x < p. 8

9 (ii) If (4t + 27) 0 (mod p), then the congruence has one repeated root and one another means two distinct solutions x 1, x 2, 0 < x 1, x 2 < p. (iii) If (4t+27) is a quadratic residue modulo p and if Ψ p (t) 0 (mod p) then cubic congruence has three distinct solution x 1, x 2, x 3, 0 < x 1, x 2, x 3 < p. (iv) If (4t + 27) is a quadratic residue modulo p and if Ψ p (t) 0 (mod p) then cubic congruence has no solution. (v) The values of t are k such that congruence has many solutions and 2k values of for which there is no solution for congruence. Example 3.2. Solve the congruence x 3 6x (mod 13). Solution. We get the value of t = 11, after solving the linear congruence equation t15 2 ( 6) 3 (mod 13). Now we see that (4t + 27) = ( ) = 5 8 (mod 13). The 8 is a quadratic non-residue so this congruence equation has unique solution. The above example satisfy case (i) and now we take another example to check case (ii) lemma 3.1. Example 3.3. Solve the congruence x 3 13x (mod 7). Solution. We solve t23 2 ( 13) 3 (mod 7) to get t = 2. We obtain (4t+27) = (8+27) 0 (mod 7) after verifying the equation. So this equation has x = 4, 4 and 6 two distinct solutions. This satisfy the case (ii) of lemma 3.1. Now we take another example to verify case (iii). Example 3.4. Solve the congruence x 3 14x (mod 23). Solution. Start to solve t15 2 ( 14) 3 (mod 23) for t, to get t = 6. Further we check that (4t + 27) = ( ) 18 (mod 23). The integer 18 is a quadratic residue so this equation has three solutions or no solution. We check it as Ψ 23 (T ) = T 3 3 (23 5)(23 7) 2 2 T 2 + ( 1) 3 1 (23 7)(23 9)(23 11) (5) 3! T (5)! + ( 1) 4 1 (23 9)(23 11)(23 13)(23 15) (7) (3.2) (7)! We obtain that Ψ 23 (T ) = T 3 36T 2 +7T use multiplicative inverse then Ψ 23 (T ) = T 3 36T 2 +7T 7. We replace T by t so Ψ 23 (t) = t 3 36t 2 +7t 7 0 (mod 23). We have t = 6 therefore we get Ψ 23 (6) = (mod 23). The congruence equation has no solution according to case (iv) of lemma 3.1. However we have checked also on Mathematica that this equation has three solutions. The result we obtained from Mathematica tool and above example, deviate from the result of case (iii) of lemma 3.1. The deviation the result might 9

10 be due to the misunderstanding or mistakes in the formulation of lemma 3.1. We do not have proof of lemma 3.1 and its assumptions in [3]. Another result, which agrees with Mathematica calculations is given by theorem 3.2. Let cubic congruence equation with linear term is x 3 + ax + b 0 (mod p) where p > 3 is prime, k( ) Z + and a, b Z. The discriminant of this equation is = 4a 3 27b 2 and is Legendre symbol. (i) p ( ) p = 1 if is quadratic non-residue (mod p) then the congruence has unique solution. (ii) 0 (mod p) then the congruence has three solutions with one repeated solution. ( ) (iii) p = 1 if is quadratic residue (mod p) then the congruence has 0 or 3 solutions. The first two cases have taken from lemma 3.1 and case (iii) has stated in theorem 3.2. Example 3.5. Determine the number of solutions of congruence x 3 +5x+6 0 (mod 7). Solution. The discriminant of congruence is = = 1472 and Legendre ( ) = 1 because 1472 is quadratic non-residue mod 7. Hence the congruence has unique solution that is x = 6. Example 3.6. Determine the number of solutions of congruence x 3 +2x+3 0 (mod 5). Solution. The = = 275 is discriminant of cubic congruence equation and (mod 5) therefore congruence equation has two distinct solutions. The solutions are x = 2, 4, 4. Theorem 3.2. Let ( A, B Z, ) and let p = 6k ± 1 be a prime number such that (p, AB) = 1 and = 1. If v n is defined as v 0 = 2, v 1 = B and 4a 3 27b 2 p v n+1 = Bv n + ( ) A 3 3 vn 1, then { N p (x 3 3, if v + Ax B) = (p ( p 3 ))/3 2( p 3 )( A 3 )(1 ( p 3 ))/2 (mod p) 0, if v (p ( p 3 ))/3 ( p 3 )( A 3 )(1 ( p 3 ))/2 (mod p). Here ( p 3 ) is Legendre while ( A 3 ) is not. For proof of this theorem see [4]. 10

11 Example 3.7. Find the number of solutions of x 3 14x (mod 23). Solution. Let A = 14, B = 15 and A B = 210, we have that ( 210, 23) = 1. Now = 4 ( 14) = 4901 is discriminant of the cubic congruence and ( ) = 1 is Legendre with discriminant. This means that equation has three solutions or no solution. We also verify it by theorem 3.2 such as ( ) v (23 ( 23 3 ))/3 (1 ( 2 ( 14) 3 ))/2 ( (1 ( ) 3 ))/2 (mod 23), 3 we get v 8 17 (mod 23). By theorem 3.2 we have that v 0 = 2, A = 14 and v 1 = B = 15. We calculate v 2 3 (mod 23), v 3 10 (mod 23), v 4 0 (mod 23), v 5 17 (mod 23), v 6 21 (mod 23), v 7 6 (mod 23) and v 8 17 (mod 11). The result is verified, hence prove that above congruence equation has three solutions. Example 3.8. Find number of solutions of the congruence x 3 + 2x (mod 13). Solution. Starting with A = 2, B = 15 so A B = 30, we see that (30, 13) = 1. The discriminant is = = 6107 and Legendre ( ) = 1 because 6107 is a quadratic residue. This means that equation has three solutions or no solution, we check it by theorem 3.2 according as ( ) v (13 ( 13 3 ))/3 (1 ( (2) 3 ))/2 ( (1 ( ) 3 ))/2 (mod 13), 3 and we get v 4 = 1 12 (mod 13). By theorem 3.2 we have that v 0 = 2, A = 2 and v 1 = B = 15. We calculate v 2 = (3 1 ) (mod 13), v 3 = (mod 13) and v 4 = (mod 13). Hence it is verified that above congruence equation has no solution. 11

12 Chapter 4 4 Cubic Congruence (mod p k ) Let the cubic congruence be where p be a prime, k Z + and a Z. x 3 a (mod p k ), Theorem 4.1. Hensel s Lemma Let f(x) be a polynomial with integer coefficients and k an integer with k 2. Let r be a solution of f(x) 0 (mod p k 1 ). Then (i) if f (r) 0 (mod p), then we get a unique integer t, 0 t p, such that f(r + tp k 1 ) 0 (mod p k 1 ), given as t f (r)(f(r)/p k 1 ) (mod p), where f (r) is the multiplicative inverse of f (r) modulo p. (ii) if f (r) 0 (mod p) and f(r) 0 (mod p k ), then f(r + tp k 1 ) 0 (mod p k ) for all integers t where 0 t p 1. (iii) if f (r) 0 (mod p) and f(r) 0 (mod p k ), then f(x) 0 (mod p k ) has no solution with x r (mod p k 1 ). In case (i), we note that f(x) 0 (mod p k 1 ) lifts a unique solution of f(x) 0 (mod p k ), and in case (ii), t is arbitrary so solution lifts to p incongruent solutions modulo p k or to none at all. For proof of lemma see [5]. Example 4.1. Solve the congruence f(x) = 2x 3 + 7x 4 0 (mod 5 2 ). Solution. Starting with f(x) = 2x 3 + 7x 4 0 (mod 5), we note that x = 1 is the only solution. Here f (1) = (mod 5), so root is non-singular. Taking f (1) 2 (mod 5) and f(1) = 5. We use case (i) that is t = 2 5/5 = 2 3 (mod 5) to get t = 3. We conclude that x = (mod 5 2 ) is the only solution of f(x) = 2x 3 + 7x 4 0 (mod 5 2 ). Corollary 4.1. Let r be a solution of the polynomial congruence equation f(x) 0 (mod p), where p is prime. If f (r) 0 (mod p), then we have a unique solution r k modulo p k, k = 2, 3, such that r k = r k 1 f(r k 1 )f (r). Here f (r) is the multiplicative inverse of f (r) modulo p. For proof of this corollary see [5]. 12

13 Example 4.2. Solve x 3 + 2x (mod 7 3 ). Solution. First we note that x 6 (mod 7) is solution of x 3 + 2x (mod 7). Since f (x) = 3x 2 + 2, we see that f (6) 5 0 (mod 7). Taking f (6) 3 (mod 7), we see by corollary 4.1 that the root r 1 = 6 (mod 7) lifts to r 2 = (mod 7 2 ). Further r 2 lifts r 3 = (mod 7 3 ) is only solution of x 3 + 2x (mod 7 3 ). Theorem 4.2. Let m = 1, 2, 4, p α, or 2p α, where is p is an odd prime. If (a, m) = 1 then the congruence equation x n a (mod m) has (n, φ(m)) solutions if a φ(m)/(n,φ(m)) 1 (mod m) but no solutions if a φ(m)/(n,φ(m)) 1 (mod m). For proof of the theorem see [1]. Example 4.3. Find the number of solutions of x 3 7 (mod 19 2 ). Solution. Since (7, 19 2 ) = 1 the congruence has (3, φ(19 2 )) = (3, 342) = 3 solutions or no solutions according as 7 φ(192 )/(3,φ(19 2 )) = 7 342/3 1 (mod 19 2 ). The congruence x 3 7 (mod 19 2 ) has three solutions. 4.1 Special case Among the refrences there is no generalization of theorem 4.2 that describes the case when (a, p k ) 1. Now we are going to solve the special case which is not recovered by theorem 4.2. Let p > 3 be a prime number, if (a, p k ) 1 then the congruence equation x 3 a np α (mod p k ) (4.1) has two cases where n an integer and k, α Z +. Suppose that x β + tp k 1 (mod p k ) are solutions of congruence equation (4.1) where 0 t p 1 and k 2. Put this value of x in equation (4.1) with k replaced by k + 1 we see that f(β + tp k 1 ) = (β + tp k 1 ) 3 + np α = β 3 + t 3 p 3k 3 + 3β 2 tp k 1 + 3βt 2 p 2k 2 + np α. Since 3k 3 = k + (2k 3) k + 1 we have that f(β + tp k 1 ) (β 3 + np α ) + 3β 2 tp k 1 f(β) + 3tf (β)p k 1 cp k + 3dtp k 0 (mod p k+1 ) 13

14 Since throughout the congruence is divisible by p k, on dividing p k we get that c + dt 0 (mod p), (4.2) which is a linear equation, where c = f(β)/p k and d = f (β)/p by second case of Hensel s lemma. This linear congruence has s = gcd(d, p) solutions if s c otherwise no solution by theorem 1.1. This shows that number of solutions of congruence equation (4.1) are dependent of f (x) = 3x 2, p and independent of n. Case I When α k When α k then cubic congruence is x 3 p α 0 (mod p k ), (4.3) where k, α Z +. The number of solutions will depend on k. There exist two sub cases for this congruence equation. (i) When k 0, 1 (mod 3) the number of solutions will be p 2q where q = k/3. General Expression (a) When k 0 (mod 3), to find all possible solutions we will generate general expression as follows. Suppose that x mp q (mod p k ), (4.4) where q = k/3 and m = 0, 1,, p 2q 1. Put this value in (4.3) as (mp q ) 3 0 (mod p k ). Take left hand side and put value of k/3 = k 0 3 by division algorithm in above congruence equation such as (mp ( k 0 3 ) ) 3 m 3 p k 0 (mod p k ), shows the right side. This show that the congruence equation x 3 0 (mod p k ) has the solutions of form x mp q (mod p k ). (b) When k 1 (mod 3), to find all possible solutions we will general generate expression. Let us x mp q+1 (mod p k ), (4.5) where q = k/3 and m = 0, 1,, p 2q 1. Put this value in (4.3) we find that (mp q+1 ) 3 0 (mod p k ). Take left hand side and put value of k/3 = k 1 3 by division algorithm in above congruence equation such as (mp ( k ) ) 3 m 3 p k+2 0 (mod p k ), the above result is equal to right hand side. This shows that the congruence equation x 3 0 (mod p k ) has the solutions of form x mp q+1 (mod p k ). 14

15 (ii) When k 2 (mod 3) the number of solutions will be p 2q+1 where q = k/3. General Expression In order to find all possible solutions we will derive a general expression as follows. Suppose that x mp q+1 (mod p k ), (4.6) where q = k/3 and m = 0, 1,, p 2q+1 1. Put this value in (4.3) (mp q+1 ) 3 0 (mod p k ). Take left hand side and put value of k/3 = k 2 3 by division algorithm in above congruence equation such as (mp ( k ) ) 3 m 3 p k+1 0 (mod p k ), gives right hand side. This shows that the congruence equation x 3 0 (mod p k ) has the solutions of form x mp q+1 (mod p k ). Example 4.4. Determined the solutions of congruence x 3 0 (mod 5 3 ). Solution. We see that k 0 (mod 3), the congruence equation has = 25 solutions because q = 3/3 = 1. To find all possible solutions we use equation (4.4), that is x m5 (mod 5 3 ) where m = 0, 1,, The roots are x 0, 5, 10, 15,, 120 (mod 5 3 ). Example 4.5. Calculate the solutions of the congruence equation x 3 0 (mod 7 4 ). Solution. We note that k 1 (mod 3), the congruence equation has = 49 solutions because q = 4/3 = 1. To determine all possible solutions by equation (4.5) that is x m7 2 (mod 7 4 ), where m = 0, 1,, The possible solutions are x 0, 49, 98, 147,, 2352 (mod 7 4 ). Example 4.6. Find the solutions of the congruence equation x 3 0 (mod 11 5 ). Solution. Since k 2 (mod 3), the congruence equation has = 1331 solutions because q = 5/3 = 1. We use equation (4.6) to find the all possible solutions of above congruence that is x m(11) 1+1 (mod 11 5 ), where m = 0, 1,, Hence solutions are Case II When α < k x 0, 121, 242, 363,, (mod 11 5 ). When α < k then cubic congruence is x 3 p α (mod p k ), (4.7) where k, α Z +. The congruence equation (4.7) has solutions if 3 α otherwise not. 15

16 (a) when k 0 (mod 3) Let α = k then the cubic congruence is x 3 p k (mod p k ). (4.8) This cubic congruence equation (4.8) has solutions of form x mp q (mod p k ) where q = k/3 by equation (4.4) as we have discussed in above general expression. Put this value of x in equation (4.8) and replace k by k + 1 we see that f(mp q ) = (mp q ) 3 p k = (mp k 3 ) 3 p k m 3 p k p k 0 (mod p k+1 ). Divide throughout the congruence by p k we obtain that m (mod p). (4.9) The congruence equation (4.9) is solveable and has (3, Φ(p)) solutions by theorem 4.2. The congruence equation is cubic therefore n = 3 is fix has always 1 or 3 solutions. (b) when k 1 (mod 3) Let α = k then the cubic congruence is x 3 p k (mod p k ), (4.10) has the solutions of form x mp q+1 (mod p k ) where q = k/3 by equation (4.5). Put this value of x in equation (4.8) and replace k by k + 1 we see that f(mp q+1 ) = (mp q+1 ) 3 p k = (mp k ) 3 p k m 3 p k+2 p k 0 (mod p k+1 ). Divide throughout the congruence by p k we obtain that m 3 p (mod p). This congruence is not solveable. (c) when k 2 (mod 3) Let α = k then the cubic congruence is x 3 p k (mod p k ). (4.11) The congruence equation (4.8) has solutions of form x mp q+1 (mod p k ) where q = k/3 by equation (4.4). Put this value of x in equation (4.8) and replace k by k + 1 we see that f(mp q+1 ) = (mp q+1 ) 3 p k = (mp k ) 3 p k m 3 p k+1 p k 0 (mod p k+1 ). 16

17 Divide throughout the congruence by p k we obtain that m 3 p (mod p). This congruence equation cannot be solved. This shows that the congruence equation x 3 p α (mod p k ) has solutions if 3 α. The congruence equation has p 2q or 3p 2q solutions where q = α/3 depend on equation (4.9). General Expression We can construct the general expression for cubic congruence x 3 p α (mod p k ) (4.12) where α, k Z + to find all the solutions when α < k. congruence equation (4.12) is Let the solutions of x mp q + np b (mod p k ), (4.13) where q = α/3, b = k 2q and n = 0, 1,, p 2q 1. Here m is a solution of the cubic congruence m 3 1 (mod p). Put this value of x in cubic congruence equation (4.12) such as (mp q + np b ) 3 p α (mod p k ). Take Left hand side and by division algorithm α/3 = (α 0)/3 we have that (mp q + np b ) 3 = m 3 p 3q + n 3 p 3b + 3m 2 p 2q p b + 3mp q n 2 p 2b = m 3 p α + n 3 p 3k 2α + 3m 2 p 2α/3 p k 2α/3 + 3mp α/3 n 2 p (6k 4α)/3 = m 3 p α + n 3 p 3k 2α + 3m 2 p k + 3mp α/3 n 2 p (2k α)/3 m 3 p α (mod p k ). Since m 3 1 (mod p) therefore the congruence is (mp q + np b ) 3 p α (mod p k ). The above result is equal right hand side of equation (4.12). This shows that the solutions of x 3 p α (mod p k ) always in the form x mp q + np b (mod p k ). Example 4.7. Determine the solutions of x (mod 7 4 ). Solution. We start to solve the congruence equation m 3 1 (mod 7) by equation (4.9) has m 1, 2, 4 (mod 7) three solutions. The original congruence equation has /3 = 147 solutions. To find all possible solutions we use the general equation (4.13) that is x 7m n (mod 7 4 ) where n = 0, 1, 2,, and m 1, 2, 4 (mod 7). For m = 1 the solutions are x 7, 56, 105,, 2359 (mod 7 4 ). 17

18 For m = 2 we have the following solutions The possible solutions when m = 4 are x 14, 63, 112,, 2366 (mod 7 4 ). x 28, 77, 126,, 2380 (mod 7 4 ). These are all solutions of the congruence equation x (mod 7 4 ). Example 4.8. Find the solutions of x (mod 11 5 ). Solution. The congruence m 3 1 (mod 11) has a unique solution m 1 (mod 11) by equation (4.9). The original cubic congruence equation has /3 = 121 solutions. To demonstrate the solutions use equation (4.13) that is x 11m n (mod 11 5 ) where n = 0, 1, 2,, and m = 1. The solutions of congruence equation are x 11, 1342, 2673,, (mod 11 5 ). 4.2 Cubic Congruence with linear term (mod p k ) Let cubic congruence equation with linear term is where p is prime, k Z + and a, b Z. The discriminant of (4.14) is ( p ) is Legendre symbol. (i) ( p x 3 + ax + b 0 (mod p k ), (4.14) = 4a 3 27b 2. ) = 1 if is quadratic non-residue (mod p) and root x r (mod p) staisfy first case of Hensel s lemma then the congruence has unique solution (mod p k ). (ii) 0 (mod p) then the congruence has different solutions (mod p k ). ( ) (iii) = 1 if is quadratic residue (mod p) and root x r (mod p) p staisfy first case of Hensel s lemma then the congruence has 0 or 3 solutions (mod p k ). The first two cases have taken from lemma 3.1 and case (iii) has stated in theorem

19 Example 4.9. Show that the congruence equation x 3 + 2x (mod 13 8 ) has unique solution. Solution. The discriminant is = = (mod 13). The Legendre ( 11 13) = 1 because 11 is quadratic non-residue. We note that x = 12 is the only solution mod 13. Here f (12) 0 staisfy case (i) of Hensel s lemma therefore cubic congruence has a unique solution (mod 13 8 ). Example Find the number of solutions of congruence equation x 3 +12x+ 6 0 (mod 5 6 ). Solution. Starting with = = (mod 5). Now we see that ( 1 5) = 1 because 1 is quadratic residue so cubic congruence has 0 or 3 solutions (mod 5 6 ) verify by theorem 3.2. Here A = 12, B = 6 so A B = 72 and (72, 5) = 1 then we have ( ) 5 v (5 ( 5 3 ))/3 (12) (1 ( 5 3 ))/2 (3 1 ) (1 ( 5 3 ))/2 (mod 5). 3 We obtain v 2 = 24 4 (mod 5). By theorem 3.2 since v 0 = 2, A = 12 and v 1 = B = 6, we find v 2 = (3 1 ) (mod 5). Result is verified and above equation has no solution (mod 5). It is clear, that by Hensel s lemma (mod 5 6 ) also has no solution. Example Find the number of solutions of congruence equation x 3 +4x+ 6 0 (mod 11 5 ). Solution. ( We have = = (mod 11). The Legendre 4 11) = 1 because 4 is quadratic residue. It is clear that cubic congruence has 0 or 3 solutions (mod 11 5 ). it is verified by theorem 3.2. First we solve this congruence (mod 11), here A = 4, B = 6 so A B = 24 then we see that v (11 ( 11 3 ))/3 2 ( 11 3 ) 11 (1 ( (4) 3 ))/2 ( (1 ( ) 3 ))/2 (mod 11), we get v 4 1 (mod 11). Using theorem 3.2 v 0 = 2, A = 4 and v 1 = B = 6. We determine that v 2 = (3 1 ) (mod 11), v 3 = (3 1 ) (mod 11) and v 4 = (3 1 ) (mod 11). The above result that congruence has three solutions (mod 11). By uniqueness of Hensel s lemma case (i) mod 11 5 also has three solutions. 19

20 4.2.1 Quadratic Equation (mod p 3 ) Let us the cubic congruence equation is f(x) = x 3 + ax + b 0 (mod p k ), (4.15) where p is prime, k Z + and a 0 such that a, b Z. When the discriminant of the equation will be = 4a 3 27b 2 = 0 then this congruence has always two distinct solutions such as x (x α) 2 (x β) (mod p), where α is repeated root. If α staisfy (ii) case of Hensel s lemma that is f (α) 0 (mod p) and f(α) 0 (mod p 2 ) then α + tp are solutions (mod p 2 ) where 0 t p 1. If α satisfied the third case of Hensel s lemma then the repeated root will not lift and congruence equation has a unique solution (mod p k ). To find which solutions and how many will lift for next level mod p 3 we can generate a general quadratic equation. Put α + tp in (4.15) and take k = 3 we get f(α + tp) = (α + tp) 3 + a(α + tp) + b = α 3 + t 3 p 3 + 3α 2 tp + 3αt 2 p 2 + aα + atp + b = (α 3 + aα + b) + (3α 2 + a)tp + 3αt 2 p 2 = f(α) + f (α)tp + 3αt 2 p 2 3αt 2 p 2 + kp 2 t + p 2 m (mod p 3 ), finally we get the quadratic equation that is 3αt 2 + kt + m 0 (mod p), (4.16) where k = f (α)/p (mod p) and m = f(α)/p 2 (mod p). This quadratic has 0 or 2 solutions (mod p). ( ) 0, if N p (3αt 2 p = 1 (mod p) + kt + m) = ( ) 2, if = 1 (mod p). p (4.17) When two solutions will survive, and second case of Hensel s lemma will satisfy then these two solutions will yield 2p solutions on the next level, and congruence equation will have 2p + 1 solutions. Since We have a unique solution on each level by first case of Hensel s lemma. Theorem 4.3. Suppose that f(x) is a polynomial with integral coefficients. Let f(a) 0 (mod p j ), that p τ f (a), and that j 2τ + 1. If b a (mod p j τ ) then f(b) f(a) (mod p j ) and p τ f (b). Moreover there is unique t (mod p) such that f(a + tp j τ ) 0 (mod p j+1 ). In this condition, a collection of p τ solutions (mod p j ) give rise to p τ solutions (mod p j+1 ), while power of p dividing f remain constant. Since hypothesis of theorem apply with a replaced by a + tp j τ and (mod p j ) replaced by 20

21 (mod p j+1 ) but with τ unchanged, the lifting may be repeated and continuous indefinitely. For proof this theorem see [1] General Expression Let cubic congruence equation is f(x) = x 3 + ax + b 0 (mod p j+1 ), (4.18) where p is prime, j Z + and a, b Z. Suppose that x α + tp j τ (mod p j ) are solutions of equation (4.18) and p τ f (α), where 0 t p 1 and j 2τ + 1. Put value of x in cubic congruence equation we have f(α + tp j τ ) = (α + tp j τ ) 3 + a(α + tp j τ ) + b = α 3 + t 3 p 3(j τ) + 3α 2 tp j τ + 3αt 2 p 2(j τ) + aα + atp j τ + b, since 3j 3τ = j + (2j 3τ) j + 1 therefore (α 3 + aα + b) + (3α 2 + a)tp j τ f(α) + f (α)tp j τ kp j + mtp j 0 (mod p j+1 ). Since both term on left side are divisible by p j and the right side is also we find k + mt 0 (mod p), (4.19) where (m, p) = 1, k = f(α)/p j (mod p) and m = f (α)/p τ (mod p). So use this linear equation we can find the value of unique t. Example Find the number of solutions of the congruence x 3 +12x+4 0 (mod 17 4 ). Solution. The congruence has discriminant = (mod 17) so this congruence has three solutions given as x 1, 8, 8 (mod 17), with one repeated root. The polynomial is f(x) = x x + 4. We note that x = 1 is one solution. Here f (1) = (mod 17) satisfy case (i) of Hensel s lemma. Now f (8) = (mod 17) and f(8) = (mod 17 2 ), this hold third case of Hensel s so 8 will not lift to the next solutions and only one solution x = 1 will survive uniquely (mod 17 4 ), from which we deduce that the congruence has a unique solution (mod 17 4 ). 21

22 Example Find the number of solutions of the congruence equation x 3 + 5x (mod 19 5 ). Solution. We have = (mod 19) so, three solutions of congruence are, x 12, 12, 14 (mod 19), with one repeated root. Here f (14) = (mod 19) hold case (i) of Hensel s lemma. We note that x = 12 is repeated root. We have that f (12) = (mod 19) and f(12) = (mod 19 2 ) satisfy case (ii), so that x 12, 31, 50, 69,, 354 (mod 19 2 ), are the solutions of x 3 + 5x (mod 19 2 ). Now we will use equation (4.16) to find the solutions (mod 19 3 ). First we find value of k and m such than k = f (12)/19 = 437/19 4 (mod 19), m = f(12)/19 2 = 1805/ (mod 19). By quadratic equation (4.16) we see that 36t 2 + 4t (mod 19). The discriminant is = = 704. Legendre symbol of discriminant is ( ) = 1 because 704 is quadratic non-residue therefore by equation (4.17) no solution will survive (mod p 3 ). We conclude that congruence has a unique solution (mod 19 4 ) that will lift by solution x = 14 due to first case of Hensel s lemma. Example Find the number of solutions of congruence equation x 3 + x (mod 13 4 ). Solution. Starting with = = (mod 13). So this equation has three solutions that are x 11, 11, 4 (mod 13), with one repeated root. We see that f (4) = (mod 13) hold case (i) of Hansel s. We note that x = 11 is repeated root. We have that f (11) = (mod 13) and f(11) = (mod 13 2 ) satisfy case (ii) of Hensel s lemma. So that x 11, 24, 37, 50,, 167 (mod 13 2 ), are solutions of x 3 + x (mod 13 2 ). Now we will use equation (4.16) to find solutions (mod 13 3 ). First we find value of k and m such that k = f (11)/13 = 364/13 2 (mod 13), m = f(11)/13 2 = 1352/ (mod 13). By quadratic equation (4.16) we have 33t 2 + 2t (mod 13). We have ) = = Legendre symbol with discriminant is = 1 because 1052 is quadratic residue therefore by equation (4.17) (

23 two solution will survive (mod 13 2 ). We solve this quadratic we get t = 10, 12 which gives that the = 141 and = 167 these two roots give solutions of the form t, t (mod 13 3 ), where 0 t 12. By theorem 4.3 we can see that 13 f (141), f(141) 0 (mod 13 3 ) and Similarly 13 f (167), so that f(167) 0 (mod 13 3 ). Hence there will be unique t that will lift for every next level and number of solutions will remain same after modulo We have found for each k 3 there are precisely solutions. We find this unique t by general expression We have that k = f(141)/ (mod 13) and m = f (141)/13 12 (mod 13). Hence (12, 13) = 1 from which 12t (mod 13) give that t = 2. Similarly k = f(167)/ (mod 13) and m = f (167)/13 1 (mod 13). We see (1, 13) = 1 from which t (mod 13) give t = 12. This shows that t = 2, 12 will lift for (mod 13 4 ), from which we deduce that and x = t 479, 2676, 4873,, (mod 13 4 ), x = t 2195, 4392, 6589,, (mod 13 4 ), where 0 t p 1 are solutions of x 3 + x (mod 13 4 ). We conclude that (mod 13 4 ) has 27 solutions. 4.3 Cubic Congruence with linear and quadratic term (mod p k ) Suppose the congruence equation is x 3 + bx 2 + cx + d 0 (mod p k ), (4.20) where p is prime and b, c, d Z. We substitute x = y + α in (4.20), to get (y + α) 3 + b(y + α) 2 + c(y + α) + d 0 (mod p k ), y 3 + (3α + b)y 2 + (3α 2 + 2bα + c)y + (α 3 + bα 2 + cα + d) 0 (mod p k ). If we see at coefficient of quadratic 3α + b 0 (mod p k ) is a linear congruence. There could be an α, but this is not uniquely determined at p = 3. The prime p = 3 is an evil case because multiple of α is 3 so 3α + b b 0 (mod 3) cannot find value of α. When p > 3, then all the time we can get rid from quadratic term such as find multiplicative inverse of 3 modulo p that is β and put in linear congruence 3βα + βb 0 (mod p k ) to find value of α = γ. Finally we put value of α in linear congruence equation and it will be incongruent zero modulo p. The modification form of equation (4.20) is written as x 3 +cx+d 0 (mod p k ). We can use lemma 3.1 and theorem 3.2 to find the solutions of this cubic congruence equation. 23

24 Example Simplify the congruence equation x 3 + 4x 2 + 5x (mod 5 3 ) into x 3 +cx+d 0 (mod 5 3 ) and find number of solutons of simplified congruence equation. Solution. starting with substitute x = y + α in congruence equation,so that f(y + α) = (y + α) 3 + 4(y + α) 2 + 5(y + α) + 8 We obtain that = (y 3 + α 3 + 3y 2 α + 3yα 2 ) + 4(y 2 + α 2 + 2yα) + 5(y + α) + 8. y 3 + (3α + 4)y 2 + (3α 2 + 8α + 5)y + (α 3 + 4α 2 + 5α + 8) 0 (mod 5 3 ). (4.21) We take cofficient of quadratic term to find value of α that is 3α (mod 5 3 ) gives α = 82 by Hensel s lemma. Put this value α = 82 in congruence equation (4.21) we obtain y y y (mod 5 3 ). Further, we simplify this equation we have that y y (mod 5 3 ). The discriminant = (mod 5). The Legendre is ( 4 5) = 1 because 4 is quadratic residue therefore congruence has 0 or 3 solutions (mod 5 3 ) verify by theorem 3.2 such as v (5 ( 5 3 ))/3 ( 5 3 ) (83) (1 ( 5 3 ))/2 (3 1 ) (1 ( 5 3 ))/2 (mod 5), and we get v 2 1 (mod 5). By theorem 3.2 we have that v 0 = 2, A = 83 and v 1 = B = 57. We calculate v 2 = (3 1 ) (mod 5). Hence it is verified that above congruence y y (mod 5 3 ) has no solution. 4.4 Root of multiplicity three of cubic congurence (mod p k ) Let the cubic polynomial is f(x) = (x p)(x ap)(x bp), where a, b Z and p is a prime number. Then f(x) = x 3 (p + ap + bp)x 2 + (ap 2 + bp 2 + abp 2 )x abp 3. 24

25 The coefficient of x 2, x and the constant term can be divided by at least p, p 2 and p 3 respectively. To get rid of the quadratic term we divide coefficient of x 2 by 3 and then put in original polynomial such as f ( x α ) 3 = ( x α 3 ) 3 α ( x α 3 ) 2 + (ap 2 + bp 2 + abp 2 ) where α = p + ap + bp and after simplifying we will obtain f(x) = x 3 cp2 x 3 dp3 27, ( x α ) mnp 3, 3 where c, d Z. Now for more simplicity we take this polynomial (mod p 3 ). f(x) = x 3 cp2 x dp x 3 np 2 x 0 (mod p 3 ), where n Z. In this thesis we just focus on the cubic polynomial of form f(x) = x 3 np 2 x 0 (mod p k ), (4.22) has always solution x 0 (mod p) of multiplicity three. The solution zero always satisfy case (ii) of Hensel s lemma therefore x = pt will be the solutions (mod p 2 ) where 0 t p 1. Let k = 3 and put x = pt in equation (4.22) as (pt) 3 np 2 (pt) 0 (mod p 3 ). (4.23) This shows that always all solutions will survive from mod p 2 to mod p 3 and that the number of solutions will be p 2. To find the number of solutions (mod p 4 ) we take Legender symbol. (i) If ( n p ) = 1 then three solutions will survive and modulo p4 has 3p 2 solutions. (ii) If ( n p ) = 1 then one solutions will survive and modulo p4 has p 2 solutions. To find which solutions will survive for (mod p 4 ) we can construct a general expression. Suppose that the cubic congruence is f(x) = x 3 np 2 x 0 (mod p 4 ). (4.24) Let x α + p 2 t be the solutions of the above congruence. By putting this value in (4.23) we obtain f(α + p 2 t) = (α + p 2 t) 3 np 2 (α + p 2 t) = α 3 + t 6 p 6 + 3α 2 tp 2 + 3αp 4 t 2 np 2 α np 4 t f(α) + f (α)p 2 t (mod p 4 ), 25

26 and we find that kp 3 + mp 3 t 0 (mod p 4 ). Since throughout the congruence divisible by p 3. Moreover, on dividing through by p 3 we find that k + mt 0 (mod p), (4.25) where k = f(α)/p 3 and m = f (α)/p. If above k and m be divided by p then solutions will survive and split into p new ones. The survivor of (mod p 5 ) can be found by the above expression. The number of solutions after (mod p 5 ) will remain constant by theorem 4.3. Note that zero will always survive for every level. Example Simplify the congruence equation f(x) = (x 5)(x 25)(x 35) 0 (mod 5 6 ) into general form x 3 np 2 x 0 (mod p k ) and find the solutions of simplified congruence equation. Solution. The cubic congruence is f(x) = x 3 65x x (mod 5 6 ). Replace x by x = x in above equation to get rid of the quadratic term. Then for the more simplicity take this congruence equation (mod 5 3 ), we see that f(x) = x x (mod 5 3 ), 27 hence cubic congruence is f(x) = x x 0 (mod 5 3 ) We focus on this modified congruence and find number of solutions (mod 5 6 ). The discriminant = 4a 3 = (mod 5) so this congruence has x 0, 0, 0 (mod 5), three solutions. Here f (0) = (mod 5 2 ) and f(0) 0 (mod 5 3 ) hold case (ii) of Hensel s lemma, hence x 0, 5, 10, 15, 20 (mod 5 2 ), are the solutions of x x 0 (mod 5 2 ). By equation (4.23) all solutions will survive for next level therefore 0 + 5t,5 + 5t,10 + 5t,15 + 5t and t are solutions (mod 5 3 ). The number of solutions are 5 2 (mod 5 3 ). The Legendre symbol is ( 4 5 ) = 1 (mod p) so three solutions will survive for (mod 54 ) becuase in section 4.4 we have discussed it. One survivor is zero that will lift for every level. To find which solution will survive we use equation (4.25), we note that k = f(5)/5 3 = 5 and m = f (5)/5 = 35. We have that (35, 5) = 5 and k further divisible by 5 therefore t will survivors of (mod 5 4 ) where 26

27 0 t 4. Similarly k = f(20)/5 3 = 80 and m = f (20)/5 = 260. We see that (260, 5) = 5 and k divisible by 5 therefore t will survivors of (mod 5 4 ) where 0 t 4. To find which solution will survive for (mod 5 5 ) we use same technique that we have applied on (mod 5 4 ). The survivors (mod 5 5 ) are t, t and t where 0 t 4. In fact we note that 5 2 f (0) and 5 5 f(0), so theorem 4.3 shows that number of solutions will remain constant after (mod 5 5 ). By equation (4.19) we find that k = f(55)/5 5 2 (mod 5) and m = f (55)/5 2 0 (mod 5) and verify that there is precisely one value of t (mod 5), namely t = 0, for which = 55 survives for (mod p 6 ). Similarly k = f(70)/5 5 2 (mod 5) and m = f (70)/5 2 2 (mod 5), moreover we can verify that there is precisely one value of t (mod 5), namely t = 4, for which = 570 is survive for (mod 5 6 ). We conclude that t, t and t are solutions (mod 5 6 ) where 0 t 4 and every solution further split into 5 new ones. The orignal congruence has solutions. The solutions of the equation is described as a tree showed in figure 1. Figure 1: Tree 27

28 Example Simplify the congruence equation f(x) = (x 7)(x 35)(x 56) 0 (mod 7 5 ) into general form x 3 np 2 x 0 (mod p k ) and find the number of solutions of simplified congruence equation. Solution. The cubic congruence equation is f(x) = x 3 98x x (mod 7 5 ). Substitute x for x = x in above polynomial to get rid of the quadratic term. Further for more simplicity take this polynomial (mod 7 3 ), so that f(x) = x x (mod 7 3 ), 27 and finally the cubic congruence is f(x) = x x 0 (mod 7 5 ). We find the number of solutions this modified congruence. Starting with = 4a 3 = (mod 7). Three solutions of congruence are x 0, 0, 0 (mod 7). We note that f (0) = (mod 7 2 ) and f(0) 0 (mod 7 3 ) staisfy case (ii) of Hensel s lemma, so that x 0, 7, 14, 21, 28, 35, 42 (mod 7 2 ), are solutions of f(x) = x x 0 (mod 7 2 ). By theorem 4.3 we see that 7 2 f (0) and 7 5 f(0) shows that the number of solutions will remain constant after (mod 7 5 ). Due to equation 4.24 all solutions will survive for next level and 0 + 7t,7 + 7t,14 + 7t,21 + 7t,28 + 7t, t and t are solutions (mod 7 3 ) where 0 t 6. The number of solutions are 7 2 (mod 7 3 ). The Legender symbol is ( 4 7 ) = 1 (mod 7) so unique solutions will survive for (mod 74 ) that we have discussed in section 4.4 and that will be zero therefore t survivors (mod 7 4 ). Similarly zero uniquely lift for (mod 7 5 ) and survivors are t (mod 7 5 ). The number of solutions (mod 7 5 ) are 7 2 and remain same after this level by theorem

29 Chapter 5 5 Cubic congruence (mod 2 k ) Let the cubic congruence equation be where 2 is prime, k Z + and a, Z. x 3 a (mod 2 k ), (5.1) Theorem 5.1. Suppose that k 3 and let a is odd. If n is odd then the congruence x n a (mod 2 k ) has exactly one solution. If n is even, then select β such that (n, 2 α 2 ) = 2 β.the congruence x n a (mod 2 k ) has 2 β+1 solution if a 1 (mod 2 β+2 ) or no solution a 1 (mod 2 β+2 ) For proof of theorem see [1]. Example 5.1. Find the number of solutions of x 3 7 (mod 2 3 ). Solution. Since n = 3 and a = 7 is odd, this equation has exactly one solution by theorem 5.1. Now we see solution by Hensel s lemma. The congruence f(x) = x (mod 2) has one solution that is x 1 (mod 2). Since f (x) = 3x 2, we note that f (1) = (mod 2), the first case of Hensel s lemma is satisfied so there is unique solution modulo 2 2 of the form 1 + 2t, where t find as t = f (1)(f(1)/2) (mod 2). Here f (1) = 1 (mod 2), so we have that f(1)/2 = 6/2 = 3. It give us that t = (mod 2). We derived that x = 3 (mod 2 2 ) is unique solution of f(x) 0 (mod 2 2 ). Furthermore, by corollary 4.1 we see that f(3) = 20, we conclude that x = = 17 7 (mod 2 3 ) is the unique solution of f(x) 0 (mod 2 3 ). Special case Among the refrences there is no generalization of theorem 5.1 that describes the case when a is even. Now we are going to solve the special case which is not recovered by theorem 5.1. Let the cubic congruence with special case when a is even x 3 a 2 j b (mod 2 k ), (5.2) where k Z + and a, b Z. If we substitute x = yc in 5.2 then we get y 3 c 3 2 j b (mod 2 k ). Here b is an odd number and we resolve the equation into y 3 2 j (mod 2 k ) and c 3 b (mod 2 k ). We conclude that b is an odd and n = 3, so by theorem (5.1) this equation has a unique solution therefore number of solutions of congruence will independent of b. There exist two cases for congruence y 3 2 j (mod 2 k ). 29

30 5.1 Case I when j k When j k, where j, k Z then the solutions of the congruence x 3 2 j 0 (mod 2 k ) will depend on k, therefore if j vary, it will not affect the number of solutions. It includes two sub-cases given as (a) When k 0, 1 (mod 3), then the cubic congruence has 2 2q solutions, where q = k/3. (b) When k 2 (mod 3), then the cubic congruence has 2 2q+1 solutions, where q = k/3. General Expression (a) We can construct the general expression for cubic congruence x 3 0 (mod 2 k ), (5.3) where k Z + to find all solutions when k 0, 1 (mod 3). Let us x m2 b (mod 2 k ), (5.4) here b = q + r, hence q = k/3 and r is raminder where m = 0, 1,, 2 q+r 1. Put value of x in equation (5.3) we see (m2 b ) 3 0 (mod 2 k ). Take left hand side and substitute value of k/3 = k r 3 by division algorithm in above congruence equation that is (m2 b ) 3 = m 3 k r 3( 2 3 +r) = m 3 2 k+2r 0 (mod 2 k ), is equal right hand side. The congruence x 3 2 j (mod 2 k ) has the solutions of form x m2 b (mod 2 k ). (b) When k 2 (mod 3) then we can construct the general expression for cubic congruence equation to find all possible solutions. Let us x 3 2 j (mod 2 k ) (5.5) x m2 b (mod 2 k ), (5.6) here b = q + 1, where q = k/3 and m = 0, 1,, 2 2q+1 1. Put value of x in equation (5.5) (m2 b ) 3 0 (mod 2 k ). We take left hand side and put value of k/3 = k 2 3 by division algorithm in above congruence equation such as (m2 b ) 3 = m 3 k 2 3( ) = m 3 2 k+1 0 (mod 2 k ), is equal right hand side of above congruence. This shows that the congruence x 3 2 j (mod 2 k ) has the solutions of form x m2 b (mod 2 k ). 30

31 Example 5.2. Determine the solutions of x (mod 2 6 ). Solution. We note that k 0 (mod 3), the congruence has = 16 solutions because q = 6/3 = 2. To find all solutions use equation (5.4) that is x m2 2+0 (mod 2 6 ), where m = 0, 1,, The solutions are x 0, 4, 8, 12,, 60 (mod 2 6 ). Example 5.3. Find the solutions of x (mod 2 4 ). Solution. We have that k 1 (mod 3) so congruence has = 4 solutions because q = 4/3 = 1. Further we use equation (5.4) that is x m2 1+1 (mod 2 4 ), where m = 0, 1,, The congruence has possible solutions. x 0, 4, 8, 12 (mod 2 4 ), Example 5.4. Determine the solutions of x (mod 2 11 ). Solution. Starting with k 2 (mod 3), therefore the congruence has = 128 solutions because q = 11/3 = 3. The equation 5.6 become x m2 3+1 (mod 2 11 ), where m = 0, 1,, The possible solutions are x 0, 16, 32,, 2032 (mod 2 11 ). 5.2 Case II when j < k When j < k, number of solutions of congruence equation x 3 2 j (mod 2 k ) will depend on j. The congruence equation has 2 2j/3 solutions if 3 j otherwise no solution. The solutions will be 4 or multiple of 4. (a) when k 0 (mod 3) Let j = k then the cubic congruence is x 3 2 k (mod 2 k ). (5.7) This equation (5.7) has solutions of form x m2 b (mod 2 k ) where b = q + r, q = k/3 and r is remainder by equation (5.4) as we have discussed in above general expression. Put this value of x in equation (5.7) and replace k by k + 1 we see that f(m2 b ) = (m2 b ) 3 2 k = (m2 k 3 ) 3 2 k m 3 2 k 2 k 0 (mod 2 k+1 ). 31

32 Divide throughout the congruence equation by 2 k we obtain that m (mod 2). This congruence equation is solveable and has always one solution by theorem 5.1. (b) when k 1 (mod 3) Let j = k then the cubic congruence is x 3 2 k (mod 2 k ). (5.8) The equation (5.8) has solutions of form x m2 b (mod 2 k ) where b = q + r, q = k/3 and r is remainder by equation (5.4) as we have discussed in above general expression. Put this value of x in equation (5.8) and take k + 1 instead of k we note that f(m2 b ) = (m2 b ) 3 2 k = (m2 k ) 3 2 k m 3 2 k+2 2 k 0 (mod 2 k+1 ). Divide throughout the congruence equation by 2 k we get that m (mod 2). This congruence equation cannot be solved. (c) when k 2 (mod 3) Let j = k then the cubic congruence is x 3 2 k (mod 2 k ). (5.9) The solutions of form x m2 b (mod 2 k ) where b = q + r, q = k/3 and r is remainder of the equation (5.9) by equation (5.4). Put this value of x in equation (5.9) and take k + 1 instead of k we see that f(m2 b ) = (m2 b ) 3 2 k = (m2 k ) 3 2 k m 3 2 k+1 2 k 0 (mod 2 k+1 ). Divide throughout the congruence by 2 k we obtain that m (mod 2). This congruence equation is not solveable. Hence these result shows that when 3 j then congruence equation x 3 2 j (mod 2 k ) has solutions otherwise not. 32

33 General Expression We can generate the general expression for cubic congruence equation where j, k Z + to find all solutions when j < k. Let x 3 2 j (mod 2 k ), (5.10) x 2 q + m2 b (mod 2 k ), (5.11) where q = j/3, b = k 2q and m = 0, 1,, 2 2q 1. Put this value of x in cubic congruence equation (5.10) such as (2 q + m2 b ) 3 2 j (mod 2 k ). By division algorithm j/3 = (j 0)/3 We take Left hand side (2 q + m2 b ) 3 = 2 3q + m 3 2 3b + 3m2 2q 2 b + 3m 2 2 q 2 2b = 2 j + m 3 2 3k 2j + 3m2 2j/3 2 k 2j/3 + 3m 2 2 j/3 2 (6k 4j)/3 = 2 j + m 3 2 3k 2j + 3m2 k + 3m 2 2 2k j 2 j (mod 2 k ). The above result is equal right hand side of equation (5.11). This shows that the solutions of x 3 2 j (mod 2 k ) always in the form x 2 a + m2 b. Example 5.5. Find the number of solutions to x (mod 2 4 ). Solution. Since j = 3, we see that 3 j so congruence has 2 2 3/3 = 2 2 = 4 solutions. We find these 4 solution by Hensel s lemma how they look like. Starting with f(x) = x 3 8 (mod 2), we note that x = 0 is the only solution. Since f (x) = 3x 2, we see that f (0) 0 (mod 2) and f(0) 0 (mod 4), satisfying case (ii) of Hensel s so that x 0, 2 (mod 2 2 ), are the solutions x (mod 2 2 ). We see that f (0) 0 (mod 2), and f(0) 0 (mod 8), so that we have the roots x = 2 and x = 4 (mod 8). Now f (2) 0 (mod 2), and f(2) 0 (mod 8) the second case of Hensel s is staisfied so that we have roots 2 + 4t (mod 8) where 0 t 1. We get that x 0, 2, 4, 6 (mod 2 3 ), are the solutions x (mod 2 3 ). We are now in a position to determine which, if any, of the root s 0, 2, 4, 6 (mod 8) can be lifted to root s (mod 16). We find that f(0) 0 (mod 16) third case of Hensel s lemma is satisfied so 0 will not lift solution for next level. We see that f(2) 0 (mod 2 4 ) we conclude that x = 2 and x = 10 are solutions 33

JUST THE MATHS UNIT NUMBER 1.8. ALGEBRA 8 (Polynomials) A.J.Hobson

JUST THE MATHS UNIT NUMBER 1.8. ALGEBRA 8 (Polynomials) A.J.Hobson JUST THE MATHS UNIT NUMBER 1.8 ALGEBRA 8 (Polynomials) by A.J.Hobson 1.8.1 The factor theorem 1.8.2 Application to quadratic and cubic expressions 1.8.3 Cubic equations 1.8.4 Long division of polynomials

More information

Revised Version of Chapter 23. We learned long ago how to solve linear congruences. ax c (mod m)

Revised Version of Chapter 23. We learned long ago how to solve linear congruences. ax c (mod m) Chapter 23 Squares Modulo p Revised Version of Chapter 23 We learned long ago how to solve linear congruences ax c (mod m) (see Chapter 8). It s now time to take the plunge and move on to quadratic equations.

More information

8 Primes and Modular Arithmetic

8 Primes and Modular Arithmetic 8 Primes and Modular Arithmetic 8.1 Primes and Factors Over two millennia ago already, people all over the world were considering the properties of numbers. One of the simplest concepts is prime numbers.

More information

Applications of Fermat s Little Theorem and Congruences

Applications of Fermat s Little Theorem and Congruences Applications of Fermat s Little Theorem and Congruences Definition: Let m be a positive integer. Then integers a and b are congruent modulo m, denoted by a b mod m, if m (a b). Example: 3 1 mod 2, 6 4

More information

I. GROUPS: BASIC DEFINITIONS AND EXAMPLES

I. GROUPS: BASIC DEFINITIONS AND EXAMPLES I GROUPS: BASIC DEFINITIONS AND EXAMPLES Definition 1: An operation on a set G is a function : G G G Definition 2: A group is a set G which is equipped with an operation and a special element e G, called

More information

= 2 + 1 2 2 = 3 4, Now assume that P (k) is true for some fixed k 2. This means that

= 2 + 1 2 2 = 3 4, Now assume that P (k) is true for some fixed k 2. This means that Instructions. Answer each of the questions on your own paper, and be sure to show your work so that partial credit can be adequately assessed. Credit will not be given for answers (even correct ones) without

More information

Number Theory. Proof. Suppose otherwise. Then there would be a finite number n of primes, which we may

Number Theory. Proof. Suppose otherwise. Then there would be a finite number n of primes, which we may Number Theory Divisibility and Primes Definition. If a and b are integers and there is some integer c such that a = b c, then we say that b divides a or is a factor or divisor of a and write b a. Definition

More information

CHAPTER 5. Number Theory. 1. Integers and Division. Discussion

CHAPTER 5. Number Theory. 1. Integers and Division. Discussion CHAPTER 5 Number Theory 1. Integers and Division 1.1. Divisibility. Definition 1.1.1. Given two integers a and b we say a divides b if there is an integer c such that b = ac. If a divides b, we write a

More information

SOLVING POLYNOMIAL EQUATIONS

SOLVING POLYNOMIAL EQUATIONS C SOLVING POLYNOMIAL EQUATIONS We will assume in this appendix that you know how to divide polynomials using long division and synthetic division. If you need to review those techniques, refer to an algebra

More information

3.6 The Real Zeros of a Polynomial Function

3.6 The Real Zeros of a Polynomial Function SECTION 3.6 The Real Zeros of a Polynomial Function 219 3.6 The Real Zeros of a Polynomial Function PREPARING FOR THIS SECTION Before getting started, review the following: Classification of Numbers (Appendix,

More information

CHAPTER SIX IRREDUCIBILITY AND FACTORIZATION 1. BASIC DIVISIBILITY THEORY

CHAPTER SIX IRREDUCIBILITY AND FACTORIZATION 1. BASIC DIVISIBILITY THEORY January 10, 2010 CHAPTER SIX IRREDUCIBILITY AND FACTORIZATION 1. BASIC DIVISIBILITY THEORY The set of polynomials over a field F is a ring, whose structure shares with the ring of integers many characteristics.

More information

On the generation of elliptic curves with 16 rational torsion points by Pythagorean triples

On the generation of elliptic curves with 16 rational torsion points by Pythagorean triples On the generation of elliptic curves with 16 rational torsion points by Pythagorean triples Brian Hilley Boston College MT695 Honors Seminar March 3, 2006 1 Introduction 1.1 Mazur s Theorem Let C be a

More information

Quotient Rings and Field Extensions

Quotient Rings and Field Extensions Chapter 5 Quotient Rings and Field Extensions In this chapter we describe a method for producing field extension of a given field. If F is a field, then a field extension is a field K that contains F.

More information

a 1 x + a 0 =0. (3) ax 2 + bx + c =0. (4)

a 1 x + a 0 =0. (3) ax 2 + bx + c =0. (4) ROOTS OF POLYNOMIAL EQUATIONS In this unit we discuss polynomial equations. A polynomial in x of degree n, where n 0 is an integer, is an expression of the form P n (x) =a n x n + a n 1 x n 1 + + a 1 x

More information

Math 319 Problem Set #3 Solution 21 February 2002

Math 319 Problem Set #3 Solution 21 February 2002 Math 319 Problem Set #3 Solution 21 February 2002 1. ( 2.1, problem 15) Find integers a 1, a 2, a 3, a 4, a 5 such that every integer x satisfies at least one of the congruences x a 1 (mod 2), x a 2 (mod

More information

Number Theory Hungarian Style. Cameron Byerley s interpretation of Csaba Szabó s lectures

Number Theory Hungarian Style. Cameron Byerley s interpretation of Csaba Szabó s lectures Number Theory Hungarian Style Cameron Byerley s interpretation of Csaba Szabó s lectures August 20, 2005 2 0.1 introduction Number theory is a beautiful subject and even cooler when you learn about it

More information

Primality - Factorization

Primality - Factorization Primality - Factorization Christophe Ritzenthaler November 9, 2009 1 Prime and factorization Definition 1.1. An integer p > 1 is called a prime number (nombre premier) if it has only 1 and p as divisors.

More information

Homework until Test #2

Homework until Test #2 MATH31: Number Theory Homework until Test # Philipp BRAUN Section 3.1 page 43, 1. It has been conjectured that there are infinitely many primes of the form n. Exhibit five such primes. Solution. Five such

More information

Integer Factorization using the Quadratic Sieve

Integer Factorization using the Quadratic Sieve Integer Factorization using the Quadratic Sieve Chad Seibert* Division of Science and Mathematics University of Minnesota, Morris Morris, MN 56567 seib0060@morris.umn.edu March 16, 2011 Abstract We give

More information

MATH10040 Chapter 2: Prime and relatively prime numbers

MATH10040 Chapter 2: Prime and relatively prime numbers MATH10040 Chapter 2: Prime and relatively prime numbers Recall the basic definition: 1. Prime numbers Definition 1.1. Recall that a positive integer is said to be prime if it has precisely two positive

More information

Chapter 4, Arithmetic in F [x] Polynomial arithmetic and the division algorithm.

Chapter 4, Arithmetic in F [x] Polynomial arithmetic and the division algorithm. Chapter 4, Arithmetic in F [x] Polynomial arithmetic and the division algorithm. We begin by defining the ring of polynomials with coefficients in a ring R. After some preliminary results, we specialize

More information

Section 4.2: The Division Algorithm and Greatest Common Divisors

Section 4.2: The Division Algorithm and Greatest Common Divisors Section 4.2: The Division Algorithm and Greatest Common Divisors The Division Algorithm The Division Algorithm is merely long division restated as an equation. For example, the division 29 r. 20 32 948

More information

3 1. Note that all cubes solve it; therefore, there are no more

3 1. Note that all cubes solve it; therefore, there are no more Math 13 Problem set 5 Artin 11.4.7 Factor the following polynomials into irreducible factors in Q[x]: (a) x 3 3x (b) x 3 3x + (c) x 9 6x 6 + 9x 3 3 Solution: The first two polynomials are cubics, so if

More information

QUADRATIC RECIPROCITY IN CHARACTERISTIC 2

QUADRATIC RECIPROCITY IN CHARACTERISTIC 2 QUADRATIC RECIPROCITY IN CHARACTERISTIC 2 KEITH CONRAD 1. Introduction Let F be a finite field. When F has odd characteristic, the quadratic reciprocity law in F[T ] (see [4, Section 3.2.2] or [5]) lets

More information

Integer roots of quadratic and cubic polynomials with integer coefficients

Integer roots of quadratic and cubic polynomials with integer coefficients Integer roots of quadratic and cubic polynomials with integer coefficients Konstantine Zelator Mathematics, Computer Science and Statistics 212 Ben Franklin Hall Bloomsburg University 400 East Second Street

More information

H/wk 13, Solutions to selected problems

H/wk 13, Solutions to selected problems H/wk 13, Solutions to selected problems Ch. 4.1, Problem 5 (a) Find the number of roots of x x in Z 4, Z Z, any integral domain, Z 6. (b) Find a commutative ring in which x x has infinitely many roots.

More information

Factoring Polynomials

Factoring Polynomials Factoring Polynomials Sue Geller June 19, 2006 Factoring polynomials over the rational numbers, real numbers, and complex numbers has long been a standard topic of high school algebra. With the advent

More information

9. POLYNOMIALS. Example 1: The expression a(x) = x 3 4x 2 + 7x 11 is a polynomial in x. The coefficients of a(x) are the numbers 1, 4, 7, 11.

9. POLYNOMIALS. Example 1: The expression a(x) = x 3 4x 2 + 7x 11 is a polynomial in x. The coefficients of a(x) are the numbers 1, 4, 7, 11. 9. POLYNOMIALS 9.1. Definition of a Polynomial A polynomial is an expression of the form: a(x) = a n x n + a n-1 x n-1 +... + a 1 x + a 0. The symbol x is called an indeterminate and simply plays the role

More information

a 11 x 1 + a 12 x 2 + + a 1n x n = b 1 a 21 x 1 + a 22 x 2 + + a 2n x n = b 2.

a 11 x 1 + a 12 x 2 + + a 1n x n = b 1 a 21 x 1 + a 22 x 2 + + a 2n x n = b 2. Chapter 1 LINEAR EQUATIONS 1.1 Introduction to linear equations A linear equation in n unknowns x 1, x,, x n is an equation of the form a 1 x 1 + a x + + a n x n = b, where a 1, a,..., a n, b are given

More information

Chapter 2 Remodulization of Congruences Proceedings NCUR VI. è1992è, Vol. II, pp. 1036í1041. Jeærey F. Gold Department of Mathematics, Department of Physics University of Utah Don H. Tucker Department

More information

Introduction to Finite Fields (cont.)

Introduction to Finite Fields (cont.) Chapter 6 Introduction to Finite Fields (cont.) 6.1 Recall Theorem. Z m is a field m is a prime number. Theorem (Subfield Isomorphic to Z p ). Every finite field has the order of a power of a prime number

More information

it is easy to see that α = a

it is easy to see that α = a 21. Polynomial rings Let us now turn out attention to determining the prime elements of a polynomial ring, where the coefficient ring is a field. We already know that such a polynomial ring is a UF. Therefore

More information

U.C. Berkeley CS276: Cryptography Handout 0.1 Luca Trevisan January, 2009. Notes on Algebra

U.C. Berkeley CS276: Cryptography Handout 0.1 Luca Trevisan January, 2009. Notes on Algebra U.C. Berkeley CS276: Cryptography Handout 0.1 Luca Trevisan January, 2009 Notes on Algebra These notes contain as little theory as possible, and most results are stated without proof. Any introductory

More information

Continued Fractions. Darren C. Collins

Continued Fractions. Darren C. Collins Continued Fractions Darren C Collins Abstract In this paper, we discuss continued fractions First, we discuss the definition and notation Second, we discuss the development of the subject throughout history

More information

Some facts about polynomials modulo m (Full proof of the Fingerprinting Theorem)

Some facts about polynomials modulo m (Full proof of the Fingerprinting Theorem) Some facts about polynomials modulo m (Full proof of the Fingerprinting Theorem) In order to understand the details of the Fingerprinting Theorem on fingerprints of different texts from Chapter 19 of the

More information

FACTORING POLYNOMIALS IN THE RING OF FORMAL POWER SERIES OVER Z

FACTORING POLYNOMIALS IN THE RING OF FORMAL POWER SERIES OVER Z FACTORING POLYNOMIALS IN THE RING OF FORMAL POWER SERIES OVER Z DANIEL BIRMAJER, JUAN B GIL, AND MICHAEL WEINER Abstract We consider polynomials with integer coefficients and discuss their factorization

More information

GREATEST COMMON DIVISOR

GREATEST COMMON DIVISOR DEFINITION: GREATEST COMMON DIVISOR The greatest common divisor (gcd) of a and b, denoted by (a, b), is the largest common divisor of integers a and b. THEOREM: If a and b are nonzero integers, then their

More information

The Division Algorithm for Polynomials Handout Monday March 5, 2012

The Division Algorithm for Polynomials Handout Monday March 5, 2012 The Division Algorithm for Polynomials Handout Monday March 5, 0 Let F be a field (such as R, Q, C, or F p for some prime p. This will allow us to divide by any nonzero scalar. (For some of the following,

More information

Continued Fractions and the Euclidean Algorithm

Continued Fractions and the Euclidean Algorithm Continued Fractions and the Euclidean Algorithm Lecture notes prepared for MATH 326, Spring 997 Department of Mathematics and Statistics University at Albany William F Hammond Table of Contents Introduction

More information

8 Divisibility and prime numbers

8 Divisibility and prime numbers 8 Divisibility and prime numbers 8.1 Divisibility In this short section we extend the concept of a multiple from the natural numbers to the integers. We also summarize several other terms that express

More information

6 EXTENDING ALGEBRA. 6.0 Introduction. 6.1 The cubic equation. Objectives

6 EXTENDING ALGEBRA. 6.0 Introduction. 6.1 The cubic equation. Objectives 6 EXTENDING ALGEBRA Chapter 6 Extending Algebra Objectives After studying this chapter you should understand techniques whereby equations of cubic degree and higher can be solved; be able to factorise

More information

Real Roots of Univariate Polynomials with Real Coefficients

Real Roots of Univariate Polynomials with Real Coefficients Real Roots of Univariate Polynomials with Real Coefficients mostly written by Christina Hewitt March 22, 2012 1 Introduction Polynomial equations are used throughout mathematics. When solving polynomials

More information

Number Theory: A Mathemythical Approach. Student Resources. Printed Version

Number Theory: A Mathemythical Approach. Student Resources. Printed Version Number Theory: A Mathemythical Approach Student Resources Printed Version ii Contents 1 Appendix 1 2 Hints to Problems 3 Chapter 1 Hints......................................... 3 Chapter 2 Hints.........................................

More information

minimal polyonomial Example

minimal polyonomial Example Minimal Polynomials Definition Let α be an element in GF(p e ). We call the monic polynomial of smallest degree which has coefficients in GF(p) and α as a root, the minimal polyonomial of α. Example: We

More information

PROBLEM SET 6: POLYNOMIALS

PROBLEM SET 6: POLYNOMIALS PROBLEM SET 6: POLYNOMIALS 1. introduction In this problem set we will consider polynomials with coefficients in K, where K is the real numbers R, the complex numbers C, the rational numbers Q or any other

More information

Computer and Network Security

Computer and Network Security MIT 6.857 Computer and Networ Security Class Notes 1 File: http://theory.lcs.mit.edu/ rivest/notes/notes.pdf Revision: December 2, 2002 Computer and Networ Security MIT 6.857 Class Notes by Ronald L. Rivest

More information

5. Factoring by the QF method

5. Factoring by the QF method 5. Factoring by the QF method 5.0 Preliminaries 5.1 The QF view of factorability 5.2 Illustration of the QF view of factorability 5.3 The QF approach to factorization 5.4 Alternative factorization by the

More information

Factorization Algorithms for Polynomials over Finite Fields

Factorization Algorithms for Polynomials over Finite Fields Degree Project Factorization Algorithms for Polynomials over Finite Fields Sajid Hanif, Muhammad Imran 2011-05-03 Subject: Mathematics Level: Master Course code: 4MA11E Abstract Integer factorization is

More information

RESULTANT AND DISCRIMINANT OF POLYNOMIALS

RESULTANT AND DISCRIMINANT OF POLYNOMIALS RESULTANT AND DISCRIMINANT OF POLYNOMIALS SVANTE JANSON Abstract. This is a collection of classical results about resultants and discriminants for polynomials, compiled mainly for my own use. All results

More information

Factoring of Prime Ideals in Extensions

Factoring of Prime Ideals in Extensions Chapter 4 Factoring of Prime Ideals in Extensions 4. Lifting of Prime Ideals Recall the basic AKLB setup: A is a Dedekind domain with fraction field K, L is a finite, separable extension of K of degree

More information

Kevin James. MTHSC 412 Section 2.4 Prime Factors and Greatest Comm

Kevin James. MTHSC 412 Section 2.4 Prime Factors and Greatest Comm MTHSC 412 Section 2.4 Prime Factors and Greatest Common Divisor Greatest Common Divisor Definition Suppose that a, b Z. Then we say that d Z is a greatest common divisor (gcd) of a and b if the following

More information

ON GALOIS REALIZATIONS OF THE 2-COVERABLE SYMMETRIC AND ALTERNATING GROUPS

ON GALOIS REALIZATIONS OF THE 2-COVERABLE SYMMETRIC AND ALTERNATING GROUPS ON GALOIS REALIZATIONS OF THE 2-COVERABLE SYMMETRIC AND ALTERNATING GROUPS DANIEL RABAYEV AND JACK SONN Abstract. Let f(x) be a monic polynomial in Z[x] with no rational roots but with roots in Q p for

More information

MATH 289 PROBLEM SET 4: NUMBER THEORY

MATH 289 PROBLEM SET 4: NUMBER THEORY MATH 289 PROBLEM SET 4: NUMBER THEORY 1. The greatest common divisor If d and n are integers, then we say that d divides n if and only if there exists an integer q such that n = qd. Notice that if d divides

More information

As we have seen, there is a close connection between Legendre symbols of the form

As we have seen, there is a close connection between Legendre symbols of the form Gauss Sums As we have seen, there is a close connection between Legendre symbols of the form 3 and cube roots of unity. Secifically, if is a rimitive cube root of unity, then 2 ± i 3 and hence 2 2 3 In

More information

Discrete Mathematics, Chapter 4: Number Theory and Cryptography

Discrete Mathematics, Chapter 4: Number Theory and Cryptography Discrete Mathematics, Chapter 4: Number Theory and Cryptography Richard Mayr University of Edinburgh, UK Richard Mayr (University of Edinburgh, UK) Discrete Mathematics. Chapter 4 1 / 35 Outline 1 Divisibility

More information

PYTHAGOREAN TRIPLES KEITH CONRAD

PYTHAGOREAN TRIPLES KEITH CONRAD PYTHAGOREAN TRIPLES KEITH CONRAD 1. Introduction A Pythagorean triple is a triple of positive integers (a, b, c) where a + b = c. Examples include (3, 4, 5), (5, 1, 13), and (8, 15, 17). Below is an ancient

More information

Computing exponents modulo a number: Repeated squaring

Computing exponents modulo a number: Repeated squaring Computing exponents modulo a number: Repeated squaring How do you compute (1415) 13 mod 2537 = 2182 using just a calculator? Or how do you check that 2 340 mod 341 = 1? You can do this using the method

More information

Math 453: Elementary Number Theory Definitions and Theorems

Math 453: Elementary Number Theory Definitions and Theorems Math 453: Elementary Number Theory Definitions and Theorems (Class Notes, Spring 2011 A.J. Hildebrand) Version 5-4-2011 Contents About these notes 3 1 Divisibility and Factorization 4 1.1 Divisibility.......................................

More information

Overview of Number Theory Basics. Divisibility

Overview of Number Theory Basics. Divisibility Overview of Number Theory Basics Murat Kantarcioglu Based on Prof. Ninghui Li s Slides Divisibility Definition Given integers a and b, b 0, b divides a (denoted b a) if integer c, s.t. a = cb. b is called

More information

Handout NUMBER THEORY

Handout NUMBER THEORY Handout of NUMBER THEORY by Kus Prihantoso Krisnawan MATHEMATICS DEPARTMENT FACULTY OF MATHEMATICS AND NATURAL SCIENCES YOGYAKARTA STATE UNIVERSITY 2012 Contents Contents i 1 Some Preliminary Considerations

More information

SUM OF TWO SQUARES JAHNAVI BHASKAR

SUM OF TWO SQUARES JAHNAVI BHASKAR SUM OF TWO SQUARES JAHNAVI BHASKAR Abstract. I will investigate which numbers can be written as the sum of two squares and in how many ways, providing enough basic number theory so even the unacquainted

More information

Lecture 13 - Basic Number Theory.

Lecture 13 - Basic Number Theory. Lecture 13 - Basic Number Theory. Boaz Barak March 22, 2010 Divisibility and primes Unless mentioned otherwise throughout this lecture all numbers are non-negative integers. We say that A divides B, denoted

More information

Factoring Algorithms

Factoring Algorithms Factoring Algorithms The p 1 Method and Quadratic Sieve November 17, 2008 () Factoring Algorithms November 17, 2008 1 / 12 Fermat s factoring method Fermat made the observation that if n has two factors

More information

Winter Camp 2011 Polynomials Alexander Remorov. Polynomials. Alexander Remorov alexanderrem@gmail.com

Winter Camp 2011 Polynomials Alexander Remorov. Polynomials. Alexander Remorov alexanderrem@gmail.com Polynomials Alexander Remorov alexanderrem@gmail.com Warm-up Problem 1: Let f(x) be a quadratic polynomial. Prove that there exist quadratic polynomials g(x) and h(x) such that f(x)f(x + 1) = g(h(x)).

More information

FIRST YEAR CALCULUS. Chapter 7 CONTINUITY. It is a parabola, and we can draw this parabola without lifting our pencil from the paper.

FIRST YEAR CALCULUS. Chapter 7 CONTINUITY. It is a parabola, and we can draw this parabola without lifting our pencil from the paper. FIRST YEAR CALCULUS WWLCHENW L c WWWL W L Chen, 1982, 2008. 2006. This chapter originates from material used by the author at Imperial College, University of London, between 1981 and 1990. It It is is

More information

ABSTRACT ALGEBRA: A STUDY GUIDE FOR BEGINNERS

ABSTRACT ALGEBRA: A STUDY GUIDE FOR BEGINNERS ABSTRACT ALGEBRA: A STUDY GUIDE FOR BEGINNERS John A. Beachy Northern Illinois University 2014 ii J.A.Beachy This is a supplement to Abstract Algebra, Third Edition by John A. Beachy and William D. Blair

More information

SOLUTIONS FOR PROBLEM SET 2

SOLUTIONS FOR PROBLEM SET 2 SOLUTIONS FOR PROBLEM SET 2 A: There exist primes p such that p+6k is also prime for k = 1,2 and 3. One such prime is p = 11. Another such prime is p = 41. Prove that there exists exactly one prime p such

More information

An Overview of Integer Factoring Algorithms. The Problem

An Overview of Integer Factoring Algorithms. The Problem An Overview of Integer Factoring Algorithms Manindra Agrawal IITK / NUS The Problem Given an integer n, find all its prime divisors as efficiently as possible. 1 A Difficult Problem No efficient algorithm

More information

Lectures on Number Theory. Lars-Åke Lindahl

Lectures on Number Theory. Lars-Åke Lindahl Lectures on Number Theory Lars-Åke Lindahl 2002 Contents 1 Divisibility 1 2 Prime Numbers 7 3 The Linear Diophantine Equation ax+by=c 12 4 Congruences 15 5 Linear Congruences 19 6 The Chinese Remainder

More information

The Factor Theorem and a corollary of the Fundamental Theorem of Algebra

The Factor Theorem and a corollary of the Fundamental Theorem of Algebra Math 421 Fall 2010 The Factor Theorem and a corollary of the Fundamental Theorem of Algebra 27 August 2010 Copyright 2006 2010 by Murray Eisenberg. All rights reserved. Prerequisites Mathematica Aside

More information

Elementary Number Theory

Elementary Number Theory Elementary Number Theory A revision by Jim Hefferon, St Michael s College, 2003-Dec of notes by W. Edwin Clark, University of South Florida, 2002-Dec L A TEX source compiled on January 5, 2004 by Jim Hefferon,

More information

Every Positive Integer is the Sum of Four Squares! (and other exciting problems)

Every Positive Integer is the Sum of Four Squares! (and other exciting problems) Every Positive Integer is the Sum of Four Squares! (and other exciting problems) Sophex University of Texas at Austin October 18th, 00 Matilde N. Lalín 1. Lagrange s Theorem Theorem 1 Every positive integer

More information

The Method of Partial Fractions Math 121 Calculus II Spring 2015

The Method of Partial Fractions Math 121 Calculus II Spring 2015 Rational functions. as The Method of Partial Fractions Math 11 Calculus II Spring 015 Recall that a rational function is a quotient of two polynomials such f(x) g(x) = 3x5 + x 3 + 16x x 60. The method

More information

Factoring & Primality

Factoring & Primality Factoring & Primality Lecturer: Dimitris Papadopoulos In this lecture we will discuss the problem of integer factorization and primality testing, two problems that have been the focus of a great amount

More information

Modern Algebra Lecture Notes: Rings and fields set 4 (Revision 2)

Modern Algebra Lecture Notes: Rings and fields set 4 (Revision 2) Modern Algebra Lecture Notes: Rings and fields set 4 (Revision 2) Kevin Broughan University of Waikato, Hamilton, New Zealand May 13, 2010 Remainder and Factor Theorem 15 Definition of factor If f (x)

More information

Settling a Question about Pythagorean Triples

Settling a Question about Pythagorean Triples Settling a Question about Pythagorean Triples TOM VERHOEFF Department of Mathematics and Computing Science Eindhoven University of Technology P.O. Box 513, 5600 MB Eindhoven, The Netherlands E-Mail address:

More information

The cyclotomic polynomials

The cyclotomic polynomials The cyclotomic polynomials Notes by G.J.O. Jameson 1. The definition and general results We use the notation e(t) = e 2πit. Note that e(n) = 1 for integers n, e(s + t) = e(s)e(t) for all s, t. e( 1 ) =

More information

Review of Fundamental Mathematics

Review of Fundamental Mathematics Review of Fundamental Mathematics As explained in the Preface and in Chapter 1 of your textbook, managerial economics applies microeconomic theory to business decision making. The decision-making tools

More information

RSA and Primality Testing

RSA and Primality Testing and Primality Testing Joan Boyar, IMADA, University of Southern Denmark Studieretningsprojekter 2010 1 / 81 Correctness of cryptography cryptography Introduction to number theory Correctness of with 2

More information

ELLIPTIC CURVES AND LENSTRA S FACTORIZATION ALGORITHM

ELLIPTIC CURVES AND LENSTRA S FACTORIZATION ALGORITHM ELLIPTIC CURVES AND LENSTRA S FACTORIZATION ALGORITHM DANIEL PARKER Abstract. This paper provides a foundation for understanding Lenstra s Elliptic Curve Algorithm for factoring large numbers. We give

More information

DIVISIBILITY AND GREATEST COMMON DIVISORS

DIVISIBILITY AND GREATEST COMMON DIVISORS DIVISIBILITY AND GREATEST COMMON DIVISORS KEITH CONRAD 1 Introduction We will begin with a review of divisibility among integers, mostly to set some notation and to indicate its properties Then we will

More information

Today s Topics. Primes & Greatest Common Divisors

Today s Topics. Primes & Greatest Common Divisors Today s Topics Primes & Greatest Common Divisors Prime representations Important theorems about primality Greatest Common Divisors Least Common Multiples Euclid s algorithm Once and for all, what are prime

More information

Solving Quadratic Equations

Solving Quadratic Equations 9.3 Solving Quadratic Equations by Using the Quadratic Formula 9.3 OBJECTIVES 1. Solve a quadratic equation by using the quadratic formula 2. Determine the nature of the solutions of a quadratic equation

More information

3.3. Solving Polynomial Equations. Introduction. Prerequisites. Learning Outcomes

3.3. Solving Polynomial Equations. Introduction. Prerequisites. Learning Outcomes Solving Polynomial Equations 3.3 Introduction Linear and quadratic equations, dealt within Sections 3.1 and 3.2, are members of a class of equations, called polynomial equations. These have the general

More information

On Generalized Fermat Numbers 3 2n +1

On Generalized Fermat Numbers 3 2n +1 Applied Mathematics & Information Sciences 4(3) (010), 307 313 An International Journal c 010 Dixie W Publishing Corporation, U. S. A. On Generalized Fermat Numbers 3 n +1 Amin Witno Department of Basic

More information

SYSTEMS OF PYTHAGOREAN TRIPLES. Acknowledgements. I would like to thank Professor Laura Schueller for advising and guiding me

SYSTEMS OF PYTHAGOREAN TRIPLES. Acknowledgements. I would like to thank Professor Laura Schueller for advising and guiding me SYSTEMS OF PYTHAGOREAN TRIPLES CHRISTOPHER TOBIN-CAMPBELL Abstract. This paper explores systems of Pythagorean triples. It describes the generating formulas for primitive Pythagorean triples, determines

More information

Tim Kerins. Leaving Certificate Honours Maths - Algebra. Tim Kerins. the date

Tim Kerins. Leaving Certificate Honours Maths - Algebra. Tim Kerins. the date Leaving Certificate Honours Maths - Algebra the date Chapter 1 Algebra This is an important portion of the course. As well as generally accounting for 2 3 questions in examination it is the basis for many

More information

HOMEWORK 5 SOLUTIONS. n!f n (1) lim. ln x n! + xn x. 1 = G n 1 (x). (2) k + 1 n. (n 1)!

HOMEWORK 5 SOLUTIONS. n!f n (1) lim. ln x n! + xn x. 1 = G n 1 (x). (2) k + 1 n. (n 1)! Math 7 Fall 205 HOMEWORK 5 SOLUTIONS Problem. 2008 B2 Let F 0 x = ln x. For n 0 and x > 0, let F n+ x = 0 F ntdt. Evaluate n!f n lim n ln n. By directly computing F n x for small n s, we obtain the following

More information

MOP 2007 Black Group Integer Polynomials Yufei Zhao. Integer Polynomials. June 29, 2007 Yufei Zhao yufeiz@mit.edu

MOP 2007 Black Group Integer Polynomials Yufei Zhao. Integer Polynomials. June 29, 2007 Yufei Zhao yufeiz@mit.edu Integer Polynomials June 9, 007 Yufei Zhao yufeiz@mit.edu We will use Z[x] to denote the ring of polynomials with integer coefficients. We begin by summarizing some of the common approaches used in dealing

More information

The van Hoeij Algorithm for Factoring Polynomials

The van Hoeij Algorithm for Factoring Polynomials The van Hoeij Algorithm for Factoring Polynomials Jürgen Klüners Abstract In this survey we report about a new algorithm for factoring polynomials due to Mark van Hoeij. The main idea is that the combinatorial

More information

The Mean Value Theorem

The Mean Value Theorem The Mean Value Theorem THEOREM (The Extreme Value Theorem): If f is continuous on a closed interval [a, b], then f attains an absolute maximum value f(c) and an absolute minimum value f(d) at some numbers

More information

Cryptography and Network Security Number Theory

Cryptography and Network Security Number Theory Cryptography and Network Security Number Theory Xiang-Yang Li Introduction to Number Theory Divisors b a if a=mb for an integer m b a and c b then c a b g and b h then b (mg+nh) for any int. m,n Prime

More information

Die ganzen zahlen hat Gott gemacht

Die ganzen zahlen hat Gott gemacht Die ganzen zahlen hat Gott gemacht Polynomials with integer values B.Sury A quote attributed to the famous mathematician L.Kronecker is Die Ganzen Zahlen hat Gott gemacht, alles andere ist Menschenwerk.

More information

V55.0106 Quantitative Reasoning: Computers, Number Theory and Cryptography

V55.0106 Quantitative Reasoning: Computers, Number Theory and Cryptography V55.0106 Quantitative Reasoning: Computers, Number Theory and Cryptography 3 Congruence Congruences are an important and useful tool for the study of divisibility. As we shall see, they are also critical

More information

GCDs and Relatively Prime Numbers! CSCI 2824, Fall 2014!

GCDs and Relatively Prime Numbers! CSCI 2824, Fall 2014! GCDs and Relatively Prime Numbers! CSCI 2824, Fall 2014!!! Challenge Problem 2 (Mastermind) due Fri. 9/26 Find a fourth guess whose scoring will allow you to determine the secret code (repetitions are

More information

College Algebra - MAT 161 Page: 1 Copyright 2009 Killoran

College Algebra - MAT 161 Page: 1 Copyright 2009 Killoran College Algebra - MAT 6 Page: Copyright 2009 Killoran Zeros and Roots of Polynomial Functions Finding a Root (zero or x-intercept) of a polynomial is identical to the process of factoring a polynomial.

More information

An Introductory Course in Elementary Number Theory. Wissam Raji

An Introductory Course in Elementary Number Theory. Wissam Raji An Introductory Course in Elementary Number Theory Wissam Raji 2 Preface These notes serve as course notes for an undergraduate course in number theory. Most if not all universities worldwide offer introductory

More information

calculating the result modulo 3, as follows: p(0) = 0 3 + 0 + 1 = 1 0,

calculating the result modulo 3, as follows: p(0) = 0 3 + 0 + 1 = 1 0, Homework #02, due 1/27/10 = 9.4.1, 9.4.2, 9.4.5, 9.4.6, 9.4.7. Additional problems recommended for study: (9.4.3), 9.4.4, 9.4.9, 9.4.11, 9.4.13, (9.4.14), 9.4.17 9.4.1 Determine whether the following polynomials

More information

Polynomial Factoring. Ramesh Hariharan

Polynomial Factoring. Ramesh Hariharan Polynomial Factoring Ramesh Hariharan The Problem Factoring Polynomials overs Integers Factorization is unique (why?) (x^2 + 5x +6) (x+2)(x+3) Time: Polynomial in degree A Related Problem Factoring Integers

More information

0.4 FACTORING POLYNOMIALS

0.4 FACTORING POLYNOMIALS 36_.qxd /3/5 :9 AM Page -9 SECTION. Factoring Polynomials -9. FACTORING POLYNOMIALS Use special products and factorization techniques to factor polynomials. Find the domains of radical expressions. Use

More information