Generalized Splines. Madeline Handschy, Julie Melnick, Stephanie Reinders. Smith College. April 1, 2013

Similar documents
Notes on Systems of Linear Congruences

MATH 145 Algebra, Solutions to Assignment 4

Simultaneous Linear, and Non-linear Congruences

Chinese Remainder Theorem explained with rotations

The security of RSA (part 1) The security of RSA (part 1)

COMP239: Mathematics for Computer Science II. Prof. Chadi Assi EV7.635

Chinese Remainder Theorem

3 The fundamentals: Algorithms, the integers, and matrices

Chinese Remainder Algorithms. Çetin Kaya Koç Spring / 22

4 Number Theory and Cryptography

The Chinese Remainder Theorem

Math 312/ AMS 351 (Fall 17) Sample Questions for Final

Part V. Chapter 19. Congruence of integers

ax b mod m. has a solution if and only if d b. In this case, there is one solution, call it x 0, to the equation and there are d solutions x m d

3.2 Solving linear congruences. v3

Number Theory Proof Portfolio

Integers and Division

Applied Cryptography and Computer Security CSE 664 Spring 2017

Objective Type Questions

Slides by Christopher M. Bourke Instructor: Berthe Y. Choueiry. Spring 2006

7.2 Applications of Euler s and Fermat s Theorem.

Math 109 HW 9 Solutions

Carmen s Core Concepts (Math 135)

MATH 25 CLASS 12 NOTES, OCT Contents 1. Simultaneous linear congruences 1 2. Simultaneous linear congruences 2

Solution Sheet (i) q = 5, r = 15 (ii) q = 58, r = 15 (iii) q = 3, r = 7 (iv) q = 6, r = (i) gcd (97, 157) = 1 = ,

Solutions to Problem Set 4 - Fall 2008 Due Tuesday, Oct. 7 at 1:00

Proof 1: Using only ch. 6 results. Since gcd(a, b) = 1, we have

MTH 346: The Chinese Remainder Theorem

This is an auxiliary note; its goal is to prove a form of the Chinese Remainder Theorem that will be used in [2].

Exercises Exercises. 2. Determine whether each of these integers is prime. a) 21. b) 29. c) 71. d) 97. e) 111. f) 143. a) 19. b) 27. c) 93.

CHAPTER 3. Congruences. Congruence: definitions and properties

2.3 In modular arithmetic, all arithmetic operations are performed modulo some integer.

Chapter 5. Number Theory. 5.1 Base b representations

Elementary Number Theory. Franz Luef

INTEGERS. In this section we aim to show the following: Goal. Every natural number can be written uniquely as a product of primes.

PRIME LABELING OF SMALL TREES WITH GAUSSIAN INTEGERS. 1. Introduction

MATH 501 Discrete Mathematics. Lecture 6: Number theory. German University Cairo, Department of Media Engineering and Technology.

CHAPTER 6. Prime Numbers. Definition and Fundamental Results

Number Theory and Group Theoryfor Public-Key Cryptography

C-N Math 207 Discrete Math

C-N Math 207 Discrete Math

Spatial Navigation. Zaneta Navratilova and Mei Yin. March 6, Theoretical Neuroscience Journal Club University of Arizona

MATH 2112/CSCI 2112, Discrete Structures I Winter 2007 Toby Kenney Homework Sheet 5 Hints & Model Solutions

The Chinese Remainder Theorem

M381 Number Theory 2004 Page 1

Homework #2 solutions Due: June 15, 2012

7. Prime Numbers Part VI of PJE

An Algorithm for Prime Factorization

Automorphisms of strongly regular graphs and PDS in Abelian groups

Proofs. Methods of Proof Divisibility Floor and Ceiling Contradiction & Contrapositive Euclidean Algorithm. Reading (Epp s textbook)

CMPUT 403: Number Theory

All variables a, b, n, etc are integers unless otherwise stated. Each part of a problem is worth 5 points.

LECTURE NOTES IN CRYPTOGRAPHY

ALGEBRA I (LECTURE NOTES 2017/2018) LECTURE 9 - CYCLIC GROUPS AND EULER S FUNCTION

MATH 361: NUMBER THEORY FOURTH LECTURE

1 Overview and revision

Congruences. September 16, 2006

Mathematics of Cryptography

SQUARE DIFFERENCE 3-EQUITABLE LABELING FOR SOME GRAPHS. Sattur , TN, India. Sattur , TN, India.

Solutions to Problem Set 3 - Fall 2008 Due Tuesday, Sep. 30 at 1:00

AN ALGEBRAIC PROOF OF RSA ENCRYPTION AND DECRYPTION

Number Theory in Problem Solving. Konrad Pilch

Introduction to Sets and Logic (MATH 1190)

Discrete Mathematics with Applications MATH236

Prime Labeling of Small Trees with Gaussian Integers

HOMEWORK 4 SOLUTIONS TO SELECTED PROBLEMS

Numbers. Çetin Kaya Koç Winter / 18

Math 324, Fall 2011 Assignment 7 Solutions. 1 (ab) γ = a γ b γ mod n.

The Chinese Remainder Theorem

An integer p is prime if p > 1 and p has exactly two positive divisors, 1 and p.

Number Theory Solutions Packet

MATH 4400 SOLUTIONS TO SOME EXERCISES. 1. Chapter 1

Introduction to Number Theory

2x 1 7. A linear congruence in modular arithmetic is an equation of the form. Why is the solution a set of integers rather than a unique integer?

The Chinese Remainder Theorem

Sets. We discuss an informal (naive) set theory as needed in Computer Science. It was introduced by G. Cantor in the second half of the nineteenth

Number Theory. Zachary Friggstad. Programming Club Meeting

The set of integers will be denoted by Z = {, -3, -2, -1, 0, 1, 2, 3, 4, }

MATH 310: Homework 7

YALE UNIVERSITY DEPARTMENT OF COMPUTER SCIENCE

CS280, Spring 2004: Prelim Solutions

This exam contains 5 pages (including this cover page) and 4 questions. The total number of points is 100. Grade Table

2x 1 7. A linear congruence in modular arithmetic is an equation of the form. Why is the solution a set of integers rather than a unique integer?

LECTURE 4: CHINESE REMAINDER THEOREM AND MULTIPLICATIVE FUNCTIONS

Math 131 notes. Jason Riedy. 6 October, Linear Diophantine equations : Likely delayed 6

A SURVEY OF PRIMALITY TESTS

The Chinese Remainder Theorem

MATH 25 CLASS 21 NOTES, NOV Contents. 2. Subgroups 2 3. Isomorphisms 4

6 Permutations Very little of this section comes from PJE.

Math From Scratch Lesson 20: The Chinese Remainder Theorem

Definition For a set F, a polynomial over F with variable x is of the form

Lecture notes: Algorithms for integers, polynomials (Thorsten Theobald)

Number Theory Homework.

Algorithmic number theory. Questions/Complaints About Homework? The division algorithm. Division

MATH 433 Applied Algebra Lecture 4: Modular arithmetic (continued). Linear congruences.

Integer factorization, part 1: the Q sieve. part 2: detecting smoothness. D. J. Bernstein

SOLUTIONS TO PROBLEM SET 1. Section = 2 3, 1. n n + 1. k(k + 1) k=1 k(k + 1) + 1 (n + 1)(n + 2) n + 2,

Number Theory Marathon. Mario Ynocente Castro, National University of Engineering, Peru

4. Congruence Classes

Basic elements of number theory

Transcription:

Smith College April 1, 213

What is a Spline?

What is a Spline? are used in engineering to represent objects.

What is a Spline? are used in engineering to represent objects.

What is a Spline? are used in engineering to represent objects. We will use splines to graphically represent systems of congruences.

What is a System of Congruences?

What is a System of Congruences? We say x y mod a if x y is a multiple of n. Example 3 13 mod 5 because 13 3 = 1 = 2 5

What is a System of Congruences? We say x y mod a if x y is a multiple of n. Example 3 13 mod 5 because 13 3 = 1 = 2 5 A spline is a graphical representation of a system of congruences. We label the nodes of the graph with the variables and the edges with the moduli. Below is the spline for the above congruence. y 13 x a 3 5

Paths with 3 Vertices System of Congruences x y mod a 1 y z mod z y x a 1

Why is this useful? System of Congruences x 1 x 2 mod a 1 x 2 x 3 mod x 3 x 4 mod a 3 x 4 x 5 mod a 4 x 5 x 6 mod a 5 x 6 x 1 mod a 6 x 5 x 1 mod a 7 x 5 x 2 mod a 8 x 5 x 3 mod a 9 x 4 x 2 mod a 1 x 4 x 1 mod a 11 x 4 x 6 mod a 12

Why is this useful? System of Congruences x 1 x 2 mod a 1 x 2 x 3 mod x 3 x 4 mod a 3 x 4 x 5 mod a 4 x 5 x 6 mod a 5 x 6 x 1 mod a 6 x 5 x 1 mod a 7 x 5 x 2 mod a 8 x 5 x 3 mod a 9 x 4 x 2 mod a 1 x 4 x 1 mod a 11 x 4 x 6 mod a 12 x 5 x 4 x 6 x 3 x 1 x 2

Main Questions Can we list all possible splines of a certain shape? Can we find a basis for the set of triangular splines? What can we find out about splines other than cycles?

General Triangle System of Congruences x y mod a 1 y z mod z x mod a 3 a 3 z x a 1 y

Triangle Solutions System of Congruences x y mod a 1 y z mod z x mod a 3 1? lcm(, a 3 ) a 3 1 a 3? a 3 a 1 a 1 a 1 1

Existence of Solution as Application of CRT System of Congruences y mod a 1 y z mod z mod a 3 z a 3 y Theorem There is a minimal value for y such that a spline of this form exists. a 1

Existence of Solution as Application of CRT System of Congruences y mod 3 y z mod 4 z mod 5 z 15 2 5 4 y 5 4 3 5 4 12 3 3 3

Chinese Remainder Theorem System of Congruences x a 1 mod n 1 x mod n 2 There exists a solution x if the integers n 1, n 2 are coprime. If gcd(n 1, n 2 ) 1 a solution x exists if and only if a 1 mod gcd(n 1, n 2 ).

Existence of Solution as Application of CRT System of Congruences y mod a 1 z y mod z mod a 3

Existence of Solution as Application of CRT System of Congruences y mod a 1 z y mod z mod a 3 By the Chinese Remainder Theorem, this system of congruences will have a solution if and only if y mod gcd(, a 3 )

Existence of Solution as Application of CRT System of Congruences y mod a 1 z y mod z mod a 3 By the Chinese Remainder Theorem, this system of congruences will have a solution if and only if y mod gcd(, a 3 ) Thus y = k gcd(, a 3 ) for some k Z.

Existence of Solution as Application of CRT System of Congruences y mod a 1 y z mod z mod a 3

Existence of Solution as Application of CRT System of Congruences y mod a 1 y z mod z mod a 3 Thus y = la 1 for some l Z.

Existence of Solution as Application of CRT System of Congruences y mod a 1 y z mod z mod a 3 Thus y = la 1 for some l Z. Recall y = k gcd(, a 3 ) for some k Z.

Existence of Solution as Application of CRT System of Congruences y mod a 1 y z mod z mod a 3 Thus y = la 1 for some l Z. Recall y = k gcd(, a 3 ) for some k Z. We want to minimize y...

Existence of Solution as Application of CRT System of Congruences y mod a 1 y z mod z mod a 3 Thus y = la 1 for some l Z. Recall y = k gcd(, a 3 ) for some k Z. We want to minimize y... Let y = lcm(gcd(, a 3 ), a 1 ).

Existence of Solution as Application of CRT a 3 z a 1 lcm(gcd(, a 3 ), a 1 )) Next we check that a spline exists: We must have a solution to the system of congruences z lcm(gcd(, a 3 ), a 1 )) mod z mod a 3 By the Chinese Remainder Theorem, we have a solution z if and only if lcm(gcd(, a 3 ), a 1 )) mod gcd(, a 3 ).

General Square System of Congruences x y mod a 1 y z mod z w mod a 3 w x mod a 4 w a 3 z a 4 x a 1 y

Square Solutions System of Congruences x y mod a 1 y z mod z w mod a 3 w x mod a 4 1 a 3 1? a 3?? a 3? lcm(a 3, a 4 ) a 3 a 4 1 a 1 1 a 4 a 1? a 4 a 1 a 4 a 1

Square Solutions System of Congruences mod a 1 z mod z w mod a 3 w mod a 4 Rewrite this as...

Square Solutions System of Congruences z mod z w mod a 3 w mod a 4 This is essentially the same as a triangle. a 4 w a 3 z a 1 a 4 w a 3 z

Square Solutions System of Congruences y mod a 1 y z mod z w mod a 3 w mod a 4 w a 3 z a 4 a 1 y

Bases: Can we find a basis for the set of triangular splines? Can we find a basis for the set of triangular splines?

Bases: What Solutions Have We Mentioned So Far? a 3 1 1 a 3 z y lcm(, a 3 ) a 3 a 1 a 1 a 1 1

Bases: What Solutions Have We Mentioned So Far? a 3 1 1 a 3 z y lcm(, a 3 ) a 3 1 a 1 In the center triangle, y is the minimal solution stated in the theorem we mentioned earlier. y = lcm(a 1, gcd(, a 3 )) a 1 a 1

Bases: What Solutions Have We Mentioned So Far? a 3 1 1 a 3 z y lcm(, a 3 ) a 3 1 a 1 In the center triangle, y is the minimal solution stated in the theorem we mentioned earlier. y = lcm(a 1, gcd(, a 3 )) We can write each of these solutions as a vector: 1 1, 1 z y, a 1 lcm(, a 3 ) a 1

Bases: Do these vectors form a basis? 1 1, 1 z y, Do these vectors form a basis? lcm(, a 3 )

Bases: Do these vectors form a basis? 1 1, 1 z y, Do these vectors form a basis? lcm(, a 3 ) Goal 1: Show that every linear combination of these vectors is a solution.

Bases: Do these vectors form a basis? 1 1, 1 z y, Do these vectors form a basis? lcm(, a 3 ) Goal 1: Show that every linear combination of these vectors is a solution. Goal 2: Show that every solution can be written as a linear combination of these vectors.

Goal 1: Show that every linear combination of these vectors a solution 1 α 1 1

Goal 1: Show that every linear combination of these vectors a solution 1 z α 1 + β y 1

Goal 1: Show that every linear combination of these vectors a solution 1 z lcm(, a 3 ) α 1 + β y + γ 1

Goal 1: Show that every linear combination of these vectors a solution 1 z lcm(, a 3 ) α 1 + β y + γ 1 α + βz + γ lcm(, a 3 ) = α + βy α

Goal 1: Show that every linear combination of these vectors a solution 1 z lcm(, a 3 ) α 1 + β y + γ 1 Is this a solution? α + βz + γ lcm(, a 3 ) = α + βy α

Goal 1: Show that every linear combination of these vectors a solution Is this a solution? α + βz + γ lcm(, a 3 ) a 3 α a 1 α + βy

Goal 1: Show that every linear combination of these vectors a solution Is this a solution? α + βz + γ lcm(, a 3 ) a 3 α + βy α a 1 Remember: y = lcm(a 1, gcd(, a 3 ))

Goal 1: Show that every linear combination of these vectors a solution Check edge a 1 : α + βz + γ lcm(, a 3 ) a 3 α a 1 α + β lcm(a 1, gcd(, a 3 ))

Goal 1: Show that every linear combination of these vectors a solution Check edge a 1 : α + βz + γ lcm(, a 3 ) a 3 α a 1 α + β lcm(a 1, gcd(, a 3 )) Need to show: α + β lcm(gcd(, a 3 ), a 1 ) α mod a 1

Goal 1: Show that every linear combination of these vectors a solution Check edge a 1 : α + βz + γ lcm(, a 3 ) a 3 α a 1 α + β lcm(a 1, gcd(, a 3 )) Need to show: α + β lcm(gcd(, a 3 ), a 1 ) α mod a 1 We can write lcm(gcd(, a 3 ), a 1 ) as some multiple k of a 1. Then we have α + βka 1

Goal 1: Show that every linear combination of these vectors a solution Check edge a 1 : α + βz + γ lcm(, a 3 ) a 3 α a 1 α + β lcm(a 1, gcd(, a 3 )) Need to show: α + β lcm(gcd(, a 3 ), a 1 ) α mod a 1 We can write lcm(gcd(, a 3 ), a 1 ) as some multiple k of a 1. Then we have α + βka 1 = α + na 1 for some integer n.

Goal 1: Show that every linear combination of these vectors a solution Check edge a 1 : α + βz + γ lcm(, a 3 ) a 3 α a 1 α + β lcm(a 1, gcd(, a 3 )) Need to show: α + β lcm(gcd(, a 3 ), a 1 ) α mod a 1 We can write lcm(gcd(, a 3 ), a 1 ) as some multiple k of a 1. Then we have α + βka 1 = α + na 1 for some integer n. Thus α + β lcm(gcd(, a 3 ), a 1 ) α mod a 1.

Goal 1: Show that every linear combination of these vectors a solution We showed that the first edge, a 1, is satisfied.

Goal 1: Show that every linear combination of these vectors a solution We showed that the first edge, a 1, is satisfied. In a similar fashion we can show that edges and a 3 are also satisfied. Theorem Every linear combination of 1 z 1, y, 1 lcm(, a 3 ) is a solution to a triangular spline.

Bases: Work in Progress Goal 1 Complete: We showed every linear combination of the vectors is a solution.

Bases: Work in Progress Goal 1 Complete: We showed every linear combination of the vectors is a solution. Goal 2: Every solution can be written as a linear combination of the vectors. We are still working to prove this.

Notation Let S n = the star graph with n vertices of degree 1 K n = the complete graph on n vertices W n = the wheel graph on n vertices C n = the cycle graph on n vertices.

Chinese Remainder Theorem: Star Graphs System of Congruences x a 1 mod n 1 x mod n 2 There exists a solution x if the integers n 1, n 2 are coprime. If gcd(n 1, n 2 ) 1 a solution x exists if and only if a 1 mod gcd(n 1, n 2 ).

Wheels: Relationship to star graphs W n = C n 1 + S n 1 Corollary: A sufficient condition for W n to have non-trivial solutions is for the labels of the edges adjacent to the center vertex (i.e. the vertex of degree n - 1) to be pairwise relatively prime.

Complete Graphs: Relationship to star graphs K n = K n 1 + S n 1 K n = C 3 + n 1 S i i=3 Corollary: A sufficient condition for K n to have non-trivial solutions is for n-3 of the vertices to have the following condition on their adjacent edges: all n-1 edges adjacent to the vertex v i have labels that are pairwise relatively prime.

Thanks! Thank you to Our advisor Professor Julianna Tymoczko The Smith College Department of Mathematics and Statistics The National Science Foundation, Grant DMS-1143716