23 Elliptic curves mod p

Size: px
Start display at page:

Download "23 Elliptic curves mod p"

Transcription

1 52 MA Elliptic curves mod p Elliptic curves have been studied by mathematicians for a long time. Starting in about 1985 such curves were used in cryptography. In the cryptographic applications of elliptic curves we are no longer interested in their rational points but in their solutions modulo a prime p. In other words, we are not looking for pairs (x, y) of rational numbers satisfying y 2 = x 3 + ax 2 + bx + c but for pairs (x, y) with x and y from the set F p = {0, 1, 2,..., p 1} satisfying the same equation. But now we carry out the operations of addition and multiplication modulo p. If a F p and a 0 then gcd(a, p) = 1, thus we can divide by a. Indeed, using the extended Euclidean algorithm, we find b F p such that ab 1 mod p. To divide by a then simply means to multiply by b. We call b F p the multiplicative inverse of a. For example, from mod 11 we see that 4 is the inverse of 3 in F 11 and so 7/3 = 7 4 = 28 = 6 in F 11. This indeed is true, because 7/3 = 6 means nothing but 3 6 = 7 which is correct when we calculate modulo 11. A set is called a field if an addition and a multiplication is defined on it so that the usual laws (associativity, commutativity, distributivity) hold true and division by non-zero elements is possible. We are familiar with the real number field and the complex number field. The rational numbers also form a field. Crucial for the following is that F p has the properties of a field as well. Given the equation y 2 = x 3 + ax 2 + bx + c of an elliptic curve E we can easily determine points (x, y) F p F p which lie on the elliptic curve. We call them F p -points of E. Example Let p = 5 and consider the elliptic curve y 2 = x 3 3x 2 + 3x. To find its F p -points, we first draw up a table of values of x 3 3x 2 + 3x where all the calculations are carried out modulo 5. Then we have to find those x for which x 3 3x 2 + 3x is a quadratic residue modulo p. x x 2 x 3 3x 2 3x x 3 3x 2 + 3x In the second column we see that the possible squares modulo 5 are 0, 1, 4. Therefore, there is no solution with x = 2 or x = 4. We can now list the points of our elliptic curve modulo 5: (0, 0), (1, 1), (1, 4), (3, 2), (3, 3). This curve has five F 5 -points. Example Consider the curve y 2 = x 3 + 1, with p = 11. Again draw up a table.

2 Week 9 53 x x x x Matching the last row with the squares gives us the following 11 points on this curve: (0, 1), (0, 10), (2, 3), (2, 8), (5, 4), (5, 7), (7, 5), (7, 6), (9, 2), (9, 9), (10, 0). Example Let p = 13 and consider the curve y 2 = x 3 + x x x x x 3 + x After matching the last row with the squares we find these 14 F 13 -points on this elliptic curve: (1, 2), (1, 11), (2, 1), (2, 12), (3, 5), (3, 8) (4, 2), (4, 11), (5, 3), (5, 10), (7, 2), (7, 11), (10, 6), (10, 7) We define addition of F p -points on an elliptic curve exactly as we defined it for rational points earlier. In particular, we need to include a point at infinity. We call this point O E if the elliptic curve is called E. This is not the point (0, 0) which may or may not be a point of E. If the curve E is given by y 2 = x 3 + ax 2 + bx + c and P = (x 1, y 1 ), Q = (x 2, y 2 ) are F p -points on it, we can use the formulae for the coordinates of P + Q and of 2P we found in the previous section: P + Q = (x, y) with m = y 2 y 1 x 2 x 1 provided that x 1 x 2 mod p x = a + m 2 x 1 x 2 y = y 1 + m(x 1 x) 2P = (x, y) with m = 3x ax 1 + b 2y 1 provided that 2y 1 0 mod p x = a + m 2 2x 1 y = y 1 + m(x 1 x). Knowing how to add and to double points on an elliptic curve E allows us to form other multiples of a point P inductively by defining mp = (m 1)P + P for m 2. Negative multiples are defined as well: ( m)p = (mp ).

3 54 MA6011 Example Continuing with Example 23.1 we let P = (3, 2) and obtain 2P = (1, 4), because we get m = 3, x = = 1 and y = 2 + 3(3 1) = 4 in the calculation modulo 5. We also obtain 3P = 2P + P = (1, 4) + (3, 2) = (0, 0) as we now have m = 4 and x = = 0 and y = 4 + 4(1 0) = 0. If we continue this way we get 4P = (1, 1), 5P = (3, 3) and 6P = O E. We thus have E = {O E, P, 2P, 3P, 4P, 5P }. We say that the point P generates the set of F 5 -points of E. Example In Example 23.2 the equation of E was y 2 = x 3 + 1, with p = 11. The doubling formula becomes: m = 3x 2 1/2y 1 and 2(x 1, y 1 ) = (m 2 2x 1, y 1 + m(3x 1 m 2 )). Starting with P = (7, 5) a calculation shows that P = (7, 5) 5P = (9, 9) 9P = (5, 4) 2P = (2, 8) 6P = (10, 0) 10P = (2, 3) 3P = (5, 7) 7P = (9, 2) 11P = (7, 6) 4P = (0, 10) 8P = (0, 1) 12P = O E and again P = (7, 5) generates the set of F 11 -points of E. In addition to P, only 5P = (9, 9), 7P = (9, 2) and 11P = (7, 6) are generators. For all the other points a smaller multiple will produce O E. For example, with Q = (0, 10) we get 2Q = (0, 1) and 3Q = O E and the higher multiples of Q will again be (0, 10), (0, 1) or O E. Example In Example 23.3 the equation of E was y 2 = x 3 + x 2 + 2, with p = 13. If P = (x 1, y 1 ) is on this curve, the formula for 2P in this case is 2P = ( 1 + m 2 2x 1, y 1 + m(x 1 x)) with m = (3x x 1 )/2y 1 and x = 1 + m 2 2x 1. Starting with P = (3, 5), we obtain 2P = (10, 7), 4P = (4, 2), 8P = (5, 10) and 16P = P. Hence 15P = O E. In this case, we can express each point as a multiple of P. Further calculations show that 3P = 2P + P = (2, 12), 5P = 4P + P = (1, 2), 6P = 4P +2P = (7, 2), 7P = 6P +P = (5, 3), 9P = 8P +P = (7, 11), 10P = (1, 11), 11P = (4, 11), 12P = (2, 1), 13P = (10, 6) and 14P = (3, 8). Thus P = (3, 5) generates all the F 13 -points on this elliptic curve. The method of completing the cube works when we do calculations modulo p, provided that p 3. This means that we can restrict our attention to elliptic curves given by an equation of the form y 2 = x 3 + bx + c. This is knows as the Weierstrass form of an elliptic curve. The condition that the curve is non-singular simplifies to 4b c 2 0. If we are interested in F p -points, this condition is to be understood as 4b c 2 0 mod p. We have seen above how to find new points if we know at least one point on an elliptic curve. To find such an initial point, we may pick randomly a number 0 x p 1 and then use the Jacobi symbol to check whether x(x 2 + b) + c is a quadratic residue modulo p. If so, we find a square root and if not we try again.

4 Week Elliptic Curves in Cryptography Elliptic curves are used in modern cryptography for key exchange. The resulting algorithms are faster and the key sizes are smaller than those used for RSA and for the Diffie-Hellman key exchange which is based on discrete logarithms. The classical Diffie-Hellman key exchange works as follows. A large prime p and a primitive root g modulo p are made publicly known. Two users A and B who wish to exchange a secret key both randomly select their own private keys k A and k B. Both should be integers between 1 and p 1. Then they calculate their public keys g k A and g k B which they exchange. Both users are then able, with their private key, to compute their common secret key g k Ak B = ( g A) k kb = ( g B) k ka. The security of this method depends on the difficulty of the discrete logarithm problem. This idea can be extended to elliptic curves. Instead of raising a primitive root g to certain powers, a point P on an elliptic curve is multiplied by certain integers. In practice this means that a prime p, an elliptic curve E and an F p -point G on E have to be made known publicly. The users A and B choose their secret keys k A and k B and exchange the pubic keys k A G and k B G. Their secret key is k A k B G, which both can compute with their secret key from the public key of the other user. The security of this method depends on the difficulty of finding an integer k such that P = kg, where P and G are two known F p -points on an elliptic curve E. When carrying out calculations on elliptic curves, the point at infinity has always to be taken account of. The proper way of doing this is using projective coordinates. To understand them, we rewrite the equation of the curve in the form y 2 z = x 3 + bxz 2 + cz 3 with an extra variable z. This equation is homogeneous in x, y, z. This means that if (x, y, z) is a solution then so also is (kx, ky, kz) for any k 0. A solution (x, y) of the original equation will be represented in projective coordinates as (x, y, 1). This works because substituting z = 1 in the homogeneous equation returns the original equation y 2 = x 3 + ax + b of the curve. The key point is now that we define that in projective coordinates (x, y, z) and (kx, ky, kz) both represent the same point. Moreover, when using projective coordinates it is not allowed to have all three components equal to zero, that is (0, 0, 0) does not represent a point in projective coordinates. In order to avoid confusion, we will write (x : y : z) for the point that is represented by (kx, ky, kz) for any k 0. For example (x : y : 1) = (2x : 2y : 2) = ( x : y : 1) are projective coordinates of the same point (x, y) in usual coordinates. This means that the usual coordinates of a point (x 1 : y 1 : z 1 ) with z 1 0 are x = x 1 /z 1 and y = y 1 /z 1. Because k 0, projective coordinates of a point (x, y) will always have z 0. If z = 0 the equation of the cubic simplifies to 0 = x 3. Therefore, the only point with projective coordinates (x : y : 0) on the elliptic curve is the point (0 : y : 0) where y 0. This is the point at infinity, i.e. O E = (0 : 1 : 0). Let us now summarise our knowledge of addition and doubling of points on an elliptic curve E which is given in Weierstrass form y 2 = x 3 + bx + c. Let two points

5 56 MA6011 P 1 = (x 1 : y 1 : z 1 ) and P 2 = (x 2 : y 2 : z 2 ) in projective coordinates be given on the curve E. This means that y 2 1z 1 = x bx 1 z cz 3 1 and y 2 2z 2 = x bx 2 z cz 3 2. We describe now how to find projective coordinates (x : y : z) for the point P = P 1 + P 2 on the curve E. If z 1 = 0 we have P = P 2 = (x 2 : y 2 : z 2 ). If z 2 = 0 we have P = P 1 = (x 1 : y 1 : z 1 ). Assume z 1 0 and z 2 0 for all items below. Replace x 1 by x 1 z 1, y 1 by y 1 z 1, x 2 by x 2 z 2 and y 2 by y 2 z 2. If x 1 = x 2 and y 1 + y 2 = 0 we have P = O E = (0 : 1 : 0). If x 1 = x 2 and y 1 + y 2 0 we define m = 3x2 1 + b 2y 1 for use below. If x 1 x 2 we define m = y 2 y 1 x 2 x 1 for use below. The projective coordinates of P are x = m 2 x 1 x 2, y = m(x 1 x) y 1 and z = 1. In this description, P 1 = P 2 is allowed, so that doubling is included in the above algorithm. Subtraction P 1 P 2 is the same as adding the negative of P 2, i.e. P 1 P 2 = P 1 + ( P 2 ). The negative of P 2 is (x 2 : y 2 : z 2 ). In particular, O E = O E. If these calculations are carried out modulo a prime number p, equalities and inequalities have to be taken as congruences modulo p. Example Let p = 101 and E the curve given by y 2 = x x + 5. By trying small values for x, we may find the F 101 -points P = (1, 7) and Q = (0, 45) on E. In order to calculate 10P we apply successive doubling in the following way. We first observe that 10 = = = ( ) 2 and so we find 10P = (4P + P ) 2 = ((2P ) 2 + P ) 2. Here are the calculations. To find 2P, we have x 1 = 1, y 1 = 7 and so m = (3x )/2y 1 = 46/14 = 23/7. Using Euclid s algorithm we find that = 1, hence 29 is the multiplicative inverse of 7 in F 101 and so m = 23/7 = = 667 = 61 = 40. Recall that all our calculations are modulo 101 here. We obtain x = m 2 2x 1 = ( 40) 2 2 = 1598 = 83 y = m(x 1 x) y 1 = 40(1 83) 7 = = 767 = 41 and so 2P = (83, 41). The second step is to find 4P = 2(83, 41), so we have x 1 = 83 and y 1 = 41. Now m = (3x )/2y 1 = 1015/82 = 5/82. The inverse of 82 is found to be 16, because Thus m = 5/82 = 5 ( 16) = 80 = 21. Therefore, x = m 2 2x 1 = = 477 = 73 y = m(x 1 x) y 1 = 21(83 73) 41 = 169 = 68

6 Week 9 57 and so 4P = (73, 68). The next step is to find 5P = P + 4P. Here we have x 1 = 1, y 1 = 7 and x 2 = 73, y 2 = 68. Therefore, m = (y 2 y 1 )/(x 2 x 1 ) = (68 7)/(73 1) = 61/72. The extended Euclidean algorithm gives us the equation = 1. This means that 7 is the inverse of 72 and so m = 61/72 = ( 7) 61 = 427 = 23. We obtain now x = m 2 x 1 x 2 = ( 23) = 455 = 51 y = m(x 1 x) y 1 = 23(73 51) 68 = 574 = 32 and so 5P = (51, 32). In the last step we find 10P by doubling 5P = (51, 32). Here we have x 1 = 51 and y 1 = 32 and obtain m = (3x )/2y 1 = 7534/64 = 69/64. The inverse of 64 in F 101 turns out to be 30. Therefore, m = 69/64 = = 2070 = 50 and we finally get i.e. 10P = (75, 81). x = m 2 2x 1 = = 2398 = 75 y = m(x 1 x) y 1 = 50(51 75) 32 = 1232 = 81, Example Let p = 1009 and the curve E be given by y 2 = x x The point P = (1, 237) is on E. To calculate 99P, we first observe that 99 = = = ((2 + 1) ) and so 99P = (((((2P + P )2)2)2)2 + P )2 + P. The intermediate steps in the calculation are as follows. 2P = (268, 692) 12P = (448, 129) 49P = (769, 977) 3P = (653, 258) 24P = (255, 425) 98P = (30, 802) 6P = (301, 157) 48P = (297, 673) 99P = (237, 558) 25 Number of points on an elliptic curve There are only finitely many F p -points on an elliptic curve y 2 = x 3 + bx + c, because there are only finitely many possibilities for x and y in F p. For small primes p we could make a list of all F p -points or we may count them by calculating x 3 +bx+c for each x F p and then use the Legendre symbol to find if this is a quadratic residue. Example To find the number of F 5 -points on the curve y 2 = x 3 + 2x + 1, we calculate x 3 + 2x + 1 mod 5 for x = 0, 1, 2, 3, 4 and then find the corresponding Legendre symbol modulo 5. We should not forget to count the point at infinity O E. x x 3 2x x 3 + 2x + 1 ( x 3 +2x ± ± ± ) y

7 58 MA6011 This shows that we have seven F 5 -points, including O E, on this curve. This method of calculation results in the following formula for the number N p of F p -points on y 2 = x 3 + bx + c in which a sum of Legendre symbols occurs p 1 ( ) x 3 + bx + c N p = p p x=0 To understand this we only have to observe that for a fixed x the number of y which satisfies the congruence y 2 x 3 + bx + c mod p is equal to ( ) x 3 + bx + c 1 +. p However, for large primes p this formula is not very practicable. More useful is the following general theorem. Theorem 25.2 (Hasse). If N p is the number of F p -points on an elliptic curve then p p < N p < p p. The number a p = p + 1 N p is known as the p-defect of the elliptic curve and Hasse s Theorem says that its absolute value is relatively small: a p < 2 p. Example With p = 5, Hasse s Theorem shows that 2 N With the method used in the previous example to count points we obtain the following table: E N 5 (E) a p (E) E N 5 (E) a p (E) y 2 = x 3 + 2x 2 4 y 2 = x 3 + 2x y 2 = x 3 + 4x y 2 = x 3 + 4x 8 2 y 2 = x 3 + x 4 2 y 2 = x 3 + x y 2 = x 3 + 3x y 2 = x 3 + 3x 10 4 y 2 = x In general, it can be shown that for all primes p and each value of a p that is possible by Hasse s Theorem, there exists an elliptic curve with exactly this p-defect. The number of F p -points on an elliptic curve when the prime p is large can be calculated by an algorithm of Schoof. A description of the mathematical background of Schoof s algorithm is beyond the scope of this course.

3.1. RATIONAL EXPRESSIONS

3.1. RATIONAL EXPRESSIONS 3.1. RATIONAL EXPRESSIONS RATIONAL NUMBERS In previous courses you have learned how to operate (do addition, subtraction, multiplication, and division) on rational numbers (fractions). Rational numbers

More information

3.2. Solving quadratic equations. Introduction. Prerequisites. Learning Outcomes. Learning Style

3.2. Solving quadratic equations. Introduction. Prerequisites. Learning Outcomes. Learning Style Solving quadratic equations 3.2 Introduction A quadratic equation is one which can be written in the form ax 2 + bx + c = 0 where a, b and c are numbers and x is the unknown whose value(s) we wish to find.

More information

ECE 842 Report Implementation of Elliptic Curve Cryptography

ECE 842 Report Implementation of Elliptic Curve Cryptography ECE 842 Report Implementation of Elliptic Curve Cryptography Wei-Yang Lin December 15, 2004 Abstract The aim of this report is to illustrate the issues in implementing a practical elliptic curve cryptographic

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

Section 6.1 Factoring Expressions

Section 6.1 Factoring Expressions Section 6.1 Factoring Expressions The first method we will discuss, in solving polynomial equations, is the method of FACTORING. Before we jump into this process, you need to have some concept of what

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

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

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

5.1 Radical Notation and Rational Exponents

5.1 Radical Notation and Rational Exponents Section 5.1 Radical Notation and Rational Exponents 1 5.1 Radical Notation and Rational Exponents We now review how exponents can be used to describe not only powers (such as 5 2 and 2 3 ), but also roots

More information

is identically equal to x 2 +3x +2

is identically equal to x 2 +3x +2 Partial fractions 3.6 Introduction It is often helpful to break down a complicated algebraic fraction into a sum of simpler fractions. 4x+7 For example it can be shown that has the same value as 1 + 3

More information

Breaking The Code. Ryan Lowe. Ryan Lowe is currently a Ball State senior with a double major in Computer Science and Mathematics and

Breaking The Code. Ryan Lowe. Ryan Lowe is currently a Ball State senior with a double major in Computer Science and Mathematics and Breaking The Code Ryan Lowe Ryan Lowe is currently a Ball State senior with a double major in Computer Science and Mathematics and a minor in Applied Physics. As a sophomore, he took an independent study

More information

2.5 Zeros of a Polynomial Functions

2.5 Zeros of a Polynomial Functions .5 Zeros of a Polynomial Functions Section.5 Notes Page 1 The first rule we will talk about is Descartes Rule of Signs, which can be used to determine the possible times a graph crosses the x-axis and

More information

Solving Rational Equations

Solving Rational Equations Lesson M Lesson : Student Outcomes Students solve rational equations, monitoring for the creation of extraneous solutions. Lesson Notes In the preceding lessons, students learned to add, subtract, multiply,

More information

MATH 10034 Fundamental Mathematics IV

MATH 10034 Fundamental Mathematics IV MATH 0034 Fundamental Mathematics IV http://www.math.kent.edu/ebooks/0034/funmath4.pdf Department of Mathematical Sciences Kent State University January 2, 2009 ii Contents To the Instructor v Polynomials.

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

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

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

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

Principles of Public Key Cryptography. Applications of Public Key Cryptography. Security in Public Key Algorithms

Principles of Public Key Cryptography. Applications of Public Key Cryptography. Security in Public Key Algorithms Principles of Public Key Cryptography Chapter : Security Techniques Background Secret Key Cryptography Public Key Cryptography Hash Functions Authentication Chapter : Security on Network and Transport

More information

Factoring Quadratic Expressions

Factoring Quadratic Expressions Factoring the trinomial ax 2 + bx + c when a = 1 A trinomial in the form x 2 + bx + c can be factored to equal (x + m)(x + n) when the product of m x n equals c and the sum of m + n equals b. (Note: the

More information

An Efficient and Secure Key Management Scheme for Hierarchical Access Control Based on ECC

An Efficient and Secure Key Management Scheme for Hierarchical Access Control Based on ECC An Efficient and Secure Key Management Scheme for Hierarchical Access Control Based on ECC Laxminath Tripathy 1 Nayan Ranjan Paul 2 1Department of Information technology, Eastern Academy of Science and

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

Primes in Sequences. Lee 1. By: Jae Young Lee. Project for MA 341 (Number Theory) Boston University Summer Term I 2009 Instructor: Kalin Kostadinov

Primes in Sequences. Lee 1. By: Jae Young Lee. Project for MA 341 (Number Theory) Boston University Summer Term I 2009 Instructor: Kalin Kostadinov Lee 1 Primes in Sequences By: Jae Young Lee Project for MA 341 (Number Theory) Boston University Summer Term I 2009 Instructor: Kalin Kostadinov Lee 2 Jae Young Lee MA341 Number Theory PRIMES IN SEQUENCES

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

Zero: If P is a polynomial and if c is a number such that P (c) = 0 then c is a zero of P.

Zero: If P is a polynomial and if c is a number such that P (c) = 0 then c is a zero of P. MATH 11011 FINDING REAL ZEROS KSU OF A POLYNOMIAL Definitions: Polynomial: is a function of the form P (x) = a n x n + a n 1 x n 1 + + a x + a 1 x + a 0. The numbers a n, a n 1,..., a 1, a 0 are called

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

= 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

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

4.1. COMPLEX NUMBERS

4.1. COMPLEX NUMBERS 4.1. COMPLEX NUMBERS What You Should Learn Use the imaginary unit i to write complex numbers. Add, subtract, and multiply complex numbers. Use complex conjugates to write the quotient of two complex numbers

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

Lecture Note 5 PUBLIC-KEY CRYPTOGRAPHY. Sourav Mukhopadhyay

Lecture Note 5 PUBLIC-KEY CRYPTOGRAPHY. Sourav Mukhopadhyay Lecture Note 5 PUBLIC-KEY CRYPTOGRAPHY Sourav Mukhopadhyay Cryptography and Network Security - MA61027 Modern/Public-key cryptography started in 1976 with the publication of the following paper. W. Diffie

More information

Calculate Highest Common Factors(HCFs) & Least Common Multiples(LCMs) NA1

Calculate Highest Common Factors(HCFs) & Least Common Multiples(LCMs) NA1 Calculate Highest Common Factors(HCFs) & Least Common Multiples(LCMs) NA1 What are the multiples of 5? The multiples are in the five times table What are the factors of 90? Each of these is a pair of factors.

More information

Exponents and Radicals

Exponents and Radicals Exponents and Radicals (a + b) 10 Exponents are a very important part of algebra. An exponent is just a convenient way of writing repeated multiplications of the same number. Radicals involve the use of

More information

2.3. Finding polynomial functions. An Introduction:

2.3. Finding polynomial functions. An Introduction: 2.3. Finding polynomial functions. An Introduction: As is usually the case when learning a new concept in mathematics, the new concept is the reverse of the previous one. Remember how you first learned

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

Public Key Cryptography: RSA and Lots of Number Theory

Public Key Cryptography: RSA and Lots of Number Theory Public Key Cryptography: RSA and Lots of Number Theory Public vs. Private-Key Cryptography We have just discussed traditional symmetric cryptography: Uses a single key shared between sender and receiver

More information

Algebra II End of Course Exam Answer Key Segment I. Scientific Calculator Only

Algebra II End of Course Exam Answer Key Segment I. Scientific Calculator Only Algebra II End of Course Exam Answer Key Segment I Scientific Calculator Only Question 1 Reporting Category: Algebraic Concepts & Procedures Common Core Standard: A-APR.3: Identify zeros of polynomials

More information

This is a square root. The number under the radical is 9. (An asterisk * means multiply.)

This is a square root. The number under the radical is 9. (An asterisk * means multiply.) Page of Review of Radical Expressions and Equations Skills involving radicals can be divided into the following groups: Evaluate square roots or higher order roots. Simplify radical expressions. Rationalize

More information

Zeros of a Polynomial Function

Zeros of a Polynomial Function Zeros of a Polynomial Function An important consequence of the Factor Theorem is that finding the zeros of a polynomial is really the same thing as factoring it into linear factors. In this section we

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

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

1.6 The Order of Operations

1.6 The Order of Operations 1.6 The Order of Operations Contents: Operations Grouping Symbols The Order of Operations Exponents and Negative Numbers Negative Square Roots Square Root of a Negative Number Order of Operations and Negative

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

Linear Programming Notes V Problem Transformations

Linear Programming Notes V Problem Transformations Linear Programming Notes V Problem Transformations 1 Introduction Any linear programming problem can be rewritten in either of two standard forms. In the first form, the objective is to maximize, the material

More information

POLYNOMIAL FUNCTIONS

POLYNOMIAL FUNCTIONS POLYNOMIAL FUNCTIONS Polynomial Division.. 314 The Rational Zero Test.....317 Descarte s Rule of Signs... 319 The Remainder Theorem.....31 Finding all Zeros of a Polynomial Function.......33 Writing a

More information

Factorization Methods: Very Quick Overview

Factorization Methods: Very Quick Overview Factorization Methods: Very Quick Overview Yuval Filmus October 17, 2012 1 Introduction In this lecture we introduce modern factorization methods. We will assume several facts from analytic number theory.

More information

Properties of Real Numbers

Properties of Real Numbers 16 Chapter P Prerequisites P.2 Properties of Real Numbers What you should learn: Identify and use the basic properties of real numbers Develop and use additional properties of real numbers Why you should

More information

Solving Quadratic Equations by Factoring

Solving Quadratic Equations by Factoring 4.7 Solving Quadratic Equations by Factoring 4.7 OBJECTIVE 1. Solve quadratic equations by factoring The factoring techniques you have learned provide us with tools for solving equations that can be written

More information

Algebra Unpacked Content For the new Common Core standards that will be effective in all North Carolina schools in the 2012-13 school year.

Algebra Unpacked Content For the new Common Core standards that will be effective in all North Carolina schools in the 2012-13 school year. This document is designed to help North Carolina educators teach the Common Core (Standard Course of Study). NCDPI staff are continually updating and improving these tools to better serve teachers. Algebra

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

Equations, Inequalities & Partial Fractions

Equations, Inequalities & Partial Fractions Contents Equations, Inequalities & Partial Fractions.1 Solving Linear Equations 2.2 Solving Quadratic Equations 1. Solving Polynomial Equations 1.4 Solving Simultaneous Linear Equations 42.5 Solving Inequalities

More information

Discrete Mathematics and Probability Theory Fall 2009 Satish Rao, David Tse Note 2

Discrete Mathematics and Probability Theory Fall 2009 Satish Rao, David Tse Note 2 CS 70 Discrete Mathematics and Probability Theory Fall 2009 Satish Rao, David Tse Note 2 Proofs Intuitively, the concept of proof should already be familiar We all like to assert things, and few of us

More information

This unit will lay the groundwork for later units where the students will extend this knowledge to quadratic and exponential functions.

This unit will lay the groundwork for later units where the students will extend this knowledge to quadratic and exponential functions. Algebra I Overview View unit yearlong overview here Many of the concepts presented in Algebra I are progressions of concepts that were introduced in grades 6 through 8. The content presented in this course

More information

Vocabulary Words and Definitions for Algebra

Vocabulary Words and Definitions for Algebra Name: Period: Vocabulary Words and s for Algebra Absolute Value Additive Inverse Algebraic Expression Ascending Order Associative Property Axis of Symmetry Base Binomial Coefficient Combine Like Terms

More information

3.6. Partial Fractions. Introduction. Prerequisites. Learning Outcomes

3.6. Partial Fractions. Introduction. Prerequisites. Learning Outcomes Partial Fractions 3.6 Introduction It is often helpful to break down a complicated algebraic fraction into a sum of simpler fractions. For 4x + 7 example it can be shown that x 2 + 3x + 2 has the same

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

1.3 Polynomials and Factoring

1.3 Polynomials and Factoring 1.3 Polynomials and Factoring Polynomials Constant: a number, such as 5 or 27 Variable: a letter or symbol that represents a value. Term: a constant, variable, or the product or a constant and variable.

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

The Mathematics of the RSA Public-Key Cryptosystem

The Mathematics of the RSA Public-Key Cryptosystem The Mathematics of the RSA Public-Key Cryptosystem Burt Kaliski RSA Laboratories ABOUT THE AUTHOR: Dr Burt Kaliski is a computer scientist whose involvement with the security industry has been through

More information

The Prime Numbers. Definition. A prime number is a positive integer with exactly two positive divisors.

The Prime Numbers. Definition. A prime number is a positive integer with exactly two positive divisors. The Prime Numbers Before starting our study of primes, we record the following important lemma. Recall that integers a, b are said to be relatively prime if gcd(a, b) = 1. Lemma (Euclid s Lemma). If gcd(a,

More information

Answer Key for California State Standards: Algebra I

Answer Key for California State Standards: Algebra I Algebra I: Symbolic reasoning and calculations with symbols are central in algebra. Through the study of algebra, a student develops an understanding of the symbolic language of mathematics and the sciences.

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

Here are some examples of combining elements and the operations used:

Here are some examples of combining elements and the operations used: MATRIX OPERATIONS Summary of article: What is an operation? Addition of two matrices. Multiplication of a Matrix by a scalar. Subtraction of two matrices: two ways to do it. Combinations of Addition, Subtraction,

More information

MATH 60 NOTEBOOK CERTIFICATIONS

MATH 60 NOTEBOOK CERTIFICATIONS MATH 60 NOTEBOOK CERTIFICATIONS Chapter #1: Integers and Real Numbers 1.1a 1.1b 1.2 1.3 1.4 1.8 Chapter #2: Algebraic Expressions, Linear Equations, and Applications 2.1a 2.1b 2.1c 2.2 2.3a 2.3b 2.4 2.5

More information

FACTORING QUADRATIC EQUATIONS

FACTORING QUADRATIC EQUATIONS FACTORING QUADRATIC EQUATIONS Summary 1. Difference of squares... 1 2. Mise en évidence simple... 2 3. compounded factorization... 3 4. Exercises... 7 The goal of this section is to summarize the methods

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

The Euclidean Algorithm

The Euclidean Algorithm The Euclidean Algorithm A METHOD FOR FINDING THE GREATEST COMMON DIVISOR FOR TWO LARGE NUMBERS To be successful using this method you have got to know how to divide. If this is something that you have

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

Elementary Number Theory and Methods of Proof. CSE 215, Foundations of Computer Science Stony Brook University http://www.cs.stonybrook.

Elementary Number Theory and Methods of Proof. CSE 215, Foundations of Computer Science Stony Brook University http://www.cs.stonybrook. Elementary Number Theory and Methods of Proof CSE 215, Foundations of Computer Science Stony Brook University http://www.cs.stonybrook.edu/~cse215 1 Number theory Properties: 2 Properties of integers (whole

More information

Understanding Basic Calculus

Understanding Basic Calculus Understanding Basic Calculus S.K. Chung Dedicated to all the people who have helped me in my life. i Preface This book is a revised and expanded version of the lecture notes for Basic Calculus and other

More information

Factoring Polynomials and Solving Quadratic Equations

Factoring Polynomials and Solving Quadratic Equations Factoring Polynomials and Solving Quadratic Equations Math Tutorial Lab Special Topic Factoring Factoring Binomials Remember that a binomial is just a polynomial with two terms. Some examples include 2x+3

More information

Partial Fractions Examples

Partial Fractions Examples Partial Fractions Examples Partial fractions is the name given to a technique of integration that may be used to integrate any ratio of polynomials. A ratio of polynomials is called a rational function.

More information

3 0 + 4 + 3 1 + 1 + 3 9 + 6 + 3 0 + 1 + 3 0 + 1 + 3 2 mod 10 = 4 + 3 + 1 + 27 + 6 + 1 + 1 + 6 mod 10 = 49 mod 10 = 9.

3 0 + 4 + 3 1 + 1 + 3 9 + 6 + 3 0 + 1 + 3 0 + 1 + 3 2 mod 10 = 4 + 3 + 1 + 27 + 6 + 1 + 1 + 6 mod 10 = 49 mod 10 = 9. SOLUTIONS TO HOMEWORK 2 - MATH 170, SUMMER SESSION I (2012) (1) (Exercise 11, Page 107) Which of the following is the correct UPC for Progresso minestrone soup? Show why the other numbers are not valid

More information

Vector and Matrix Norms

Vector and Matrix Norms Chapter 1 Vector and Matrix Norms 11 Vector Spaces Let F be a field (such as the real numbers, R, or complex numbers, C) with elements called scalars A Vector Space, V, over the field F is a non-empty

More information

Examples of Functions

Examples of Functions Examples of Functions In this document is provided examples of a variety of functions. The purpose is to convince the beginning student that functions are something quite different than polynomial equations.

More information

The last three chapters introduced three major proof techniques: direct,

The last three chapters introduced three major proof techniques: direct, CHAPTER 7 Proving Non-Conditional Statements The last three chapters introduced three major proof techniques: direct, contrapositive and contradiction. These three techniques are used to prove statements

More information

Sect 6.7 - Solving Equations Using the Zero Product Rule

Sect 6.7 - Solving Equations Using the Zero Product Rule Sect 6.7 - Solving Equations Using the Zero Product Rule 116 Concept #1: Definition of a Quadratic Equation A quadratic equation is an equation that can be written in the form ax 2 + bx + c = 0 (referred

More information

1.7. Partial Fractions. 1.7.1. Rational Functions and Partial Fractions. A rational function is a quotient of two polynomials: R(x) = P (x) Q(x).

1.7. Partial Fractions. 1.7.1. Rational Functions and Partial Fractions. A rational function is a quotient of two polynomials: R(x) = P (x) Q(x). .7. PRTIL FRCTIONS 3.7. Partial Fractions.7.. Rational Functions and Partial Fractions. rational function is a quotient of two polynomials: R(x) = P (x) Q(x). Here we discuss how to integrate rational

More information

Lies My Calculator and Computer Told Me

Lies My Calculator and Computer Told Me Lies My Calculator and Computer Told Me 2 LIES MY CALCULATOR AND COMPUTER TOLD ME Lies My Calculator and Computer Told Me See Section.4 for a discussion of graphing calculators and computers with graphing

More information

Algebra 1 Course Title

Algebra 1 Course Title Algebra 1 Course Title Course- wide 1. What patterns and methods are being used? Course- wide 1. Students will be adept at solving and graphing linear and quadratic equations 2. Students will be adept

More information

Just the Factors, Ma am

Just the Factors, Ma am 1 Introduction Just the Factors, Ma am The purpose of this note is to find and study a method for determining and counting all the positive integer divisors of a positive integer Let N be a given positive

More information

1 Lecture: Integration of rational functions by decomposition

1 Lecture: Integration of rational functions by decomposition Lecture: Integration of rational functions by decomposition into partial fractions Recognize and integrate basic rational functions, except when the denominator is a power of an irreducible quadratic.

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

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

ALGEBRA REVIEW LEARNING SKILLS CENTER. Exponents & Radicals

ALGEBRA REVIEW LEARNING SKILLS CENTER. Exponents & Radicals ALGEBRA REVIEW LEARNING SKILLS CENTER The "Review Series in Algebra" is taught at the beginning of each quarter by the staff of the Learning Skills Center at UC Davis. This workshop is intended to be an

More information

3.1. Solving linear equations. Introduction. Prerequisites. Learning Outcomes. Learning Style

3.1. Solving linear equations. Introduction. Prerequisites. Learning Outcomes. Learning Style Solving linear equations 3.1 Introduction Many problems in engineering reduce to the solution of an equation or a set of equations. An equation is a type of mathematical expression which contains one or

More information

Zeros of Polynomial Functions

Zeros of Polynomial Functions Zeros of Polynomial Functions The Rational Zero Theorem If f (x) = a n x n + a n-1 x n-1 + + a 1 x + a 0 has integer coefficients and p/q (where p/q is reduced) is a rational zero, then p is a factor of

More information

Partial Fractions. Combining fractions over a common denominator is a familiar operation from algebra:

Partial Fractions. Combining fractions over a common denominator is a familiar operation from algebra: Partial Fractions Combining fractions over a common denominator is a familiar operation from algebra: From the standpoint of integration, the left side of Equation 1 would be much easier to work with than

More information

Copy in your notebook: Add an example of each term with the symbols used in algebra 2 if there are any.

Copy in your notebook: Add an example of each term with the symbols used in algebra 2 if there are any. Algebra 2 - Chapter Prerequisites Vocabulary Copy in your notebook: Add an example of each term with the symbols used in algebra 2 if there are any. P1 p. 1 1. counting(natural) numbers - {1,2,3,4,...}

More information

Systems of Linear Equations

Systems of Linear Equations Systems of Linear Equations Beifang Chen Systems of linear equations Linear systems A linear equation in variables x, x,, x n is an equation of the form a x + a x + + a n x n = b, where a, a,, a n and

More information

Notes on Determinant

Notes on Determinant ENGG2012B Advanced Engineering Mathematics Notes on Determinant Lecturer: Kenneth Shum Lecture 9-18/02/2013 The determinant of a system of linear equations determines whether the solution is unique, without

More information

Copyrighted Material. Chapter 1 DEGREE OF A CURVE

Copyrighted Material. Chapter 1 DEGREE OF A CURVE Chapter 1 DEGREE OF A CURVE Road Map The idea of degree is a fundamental concept, which will take us several chapters to explore in depth. We begin by explaining what an algebraic curve is, and offer two

More information

PROPERTIES OF ELLIPTIC CURVES AND THEIR USE IN FACTORING LARGE NUMBERS

PROPERTIES OF ELLIPTIC CURVES AND THEIR USE IN FACTORING LARGE NUMBERS PROPERTIES OF ELLIPTIC CURVES AND THEIR USE IN FACTORING LARGE NUMBERS A ver important set of curves which has received considerabl attention in recent ears in connection with the factoring of large numbers

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

3 Some Integer Functions

3 Some Integer Functions 3 Some Integer Functions A Pair of Fundamental Integer Functions The integer function that is the heart of this section is the modulo function. However, before getting to it, let us look at some very simple

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

Higher Education Math Placement

Higher Education Math Placement Higher Education Math Placement Placement Assessment Problem Types 1. Whole Numbers, Fractions, and Decimals 1.1 Operations with Whole Numbers Addition with carry Subtraction with borrowing Multiplication

More information

Sample Problems. Practice Problems

Sample Problems. Practice Problems Lecture Notes Quadratic Word Problems page 1 Sample Problems 1. The sum of two numbers is 31, their di erence is 41. Find these numbers.. The product of two numbers is 640. Their di erence is 1. Find these

More information

3. Mathematical Induction

3. Mathematical Induction 3. MATHEMATICAL INDUCTION 83 3. Mathematical Induction 3.1. First Principle of Mathematical Induction. Let P (n) be a predicate with domain of discourse (over) the natural numbers N = {0, 1,,...}. If (1)

More information