Lecture 2: Number Theory and Rhythms

Size: px
Start display at page:

Download "Lecture 2: Number Theory and Rhythms"

Transcription

1 Lecture 2: Number Theory and Rhythms Try the following trick: with one hand, beat out a rhythm of 3 beats per unit time, and with the other hand beat out a rhythm of 2 beats per unit time. You ll hear a complicated joint rhythm that can make music interesting. (Talented drummers can beat 4 against 5, or even 6 against 7.) These are called isorhythms, and they arise from two parts that are repeating patterns of different lengths. Today I want to consider the mathematical problem of calculating how often two repeating patterns of different lengths become synchronized. For example, at the end of Brahms second symphony there s a short passage in 4/4 time, in quarter notes, that goes C-E-G-C-E-G-C-E-G. Here, Brahms has the wind players repeating a 3-beat motif (really just a triad) while everyone else is playing in 4-beat bar. If this kept going, how many beats elapse before the C is at the beginning of the bar? 12, because that s the lowest number of beats that s both divisible by 3 (the number of beats in the motif) and 4 (the number of beats in the bar). A related mathematical problem is to find the period of the sum of two sine waves at the same time. Suppose we add together the sine waves y = Sin[ (π/2) t ] and y = Sin[ (π/3) t ] The period of the first sine function is 2π/(π/2) = 4 seconds, and the period of the other is 6 seconds. The period of the sum of these two waves is the shortest time that s a whole number times 4 and a whole number times 6. The answer is 12 again, but notice that it s not just the product of 4 times 6. Let s get more precise about what we re doing. Defn For two integers x and y, the lowest common multiple lcm(x,y) is the least positive integer k such that x k and y k. [We use the divides notation: x y means that y=mx for integer m.]

2 Note that we stipulate that the lcm be positive, since every integer divides zero. [Why?] Example: lcm(3,7) = 21, lcm(3,9)=9, lcm(6,9) = 18, lcm(6,10)=30 Is there formula for the lowest common multiple? Why can t we just say that lcm(x,y)=xy? The example of lcm(6,10)=30 shows that, when x and y share a common factor (in this case, 2), we have to cancel that out in the product, so that lcm(6,10) = 6 10 / 2 = 30. In this case 2 is called the greatest common divisor of the two numbers. Defn For two integers x and y, the greatest common divisor gcd(x,y) is the greatest positive integer d such that d x and d y. Then lcm(x,y) = xy/gcd(x,y); for example, lcm(12,30) = 12 30/6 =60 since gcd(12,30)=6. However, we don t have a formula for the gcd of x and y. Instead, we have an algorithm, i.e., an explicit procedure which will produce the gcd in a finite number of steps. The Euclidean Algorithm for finding gcd(x,y). For simplicity, suppose x,y are positive. First, note that if one of x and y divides the other, then whichever one is smaller will be the gcd. For example, gcd(3,9)=3. However, suppose that x is smaller than y, and doesn t divide y. Then we can make our problem easier by taking away multiples of x from y. In other words, suppose that y = m x + r for a number r such that 0 < r < x. (This just says that r is the remainder when we divide y by x.) If d divides x and y, then d divides r. (Proof: because d divides x, then d divides mx, so d divides y-mx = r.) It follows that gcd(x,y) = gcd(r,x). Now we can start over with two smaller numbers x and r. If r divides x, then we re done and gcd(x,y)=gcd(r,x)=r. Otherwise, we can divide r into x and replace x by the remainder---in other words, apply the same step again.

3 Because the numbers get smaller every time, this procedure has to finish after a finite number of divisions. Example: Find gcd(12, 40). 1. Since 40 = , then gcd(12,40) = gcd(4,12). 2. Since 4 divides 12, gcd(4,12)=4. (Hence, lcm(12,40)=12 40/4=120.) Example: Find gcd(30,88). 1. Since 88= , then gcd(30,88)=gcd(28,30). 2. Since 30=1 28+2, then gcd(28,30)=gcd(2,28). 3. Since 2 divides 28, gcd(2,28)=2. Example: Find gcd(15,32). 1. Since 32=2 15+2, then gcd(15,32)=gcd(2,15). 2. Since 15=7 2+1, then gcd(2,15)=gcd(1,2). 3. Since 1 divides 2, then gcd(1,2)=1. Example: Find gcd(7,30). Since 30= , then gcd(7,30)=gcd(2,7). Since 7=3 2 +1, then gcd(2,7)=gcd(1,2)=1. Corollary If d=gcd(x,y), then there are integers k and l such that k x + l y = d. Proof At each step in the Euclidean algorithm, with d=gcd(x,y)=gcd(r,x), if we have d=k x + l r, then we can substitute r = y nx to get d = k x + l (y-nx) = l y + (k-l n) x. So, if d is an integer linear combination of the smaller numbers, it s also an integer linear combination of the larger numbers. Then, at the last stage of the Euclidean algorithm, d is one of the two numbers x and y, so it s definitely a linear combination then. QED. When gcd(x,y)=1, we say that x and y are relatively prime. As you can see from these examples, x and y don t have to be prime numbers to be relatively prime. However, the converse is true:

4 Theorem If p and q are distinct prime numbers, then gcd(p,q)=1, and lcm(p,q)=pq. Before we prove this, let s recall what prime numbers are: Defn A positive integer p>1 is prime if its only positive divisors are 1 and itself. Examples: 2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,... Proof of the theorem: Suppose d>0 divides p and q. Because d p, then either d=1 or d=p. Because d q, then either d=1 or d=q. Since p q, then d=1. Thus, gcd(p,q)=1. QED. ================= A Musical Example In the winter of , the French composer Olivier Messiaen was interned in a German POW camp Stalag VIIIa. He happened to be imprisoned with three other musicians (a violinist, a cellist, and a clarinet player), and as the German officer in charge of the camp was fairly liberal, Messiaen was encouraged to compose a piece for his fellow prisoners to play. The result was the Quartet for the End of Time. (The title refers to the Book of Revelations, which Messiaen doesn t literally depict, but which exerts more of a symbolic influence on the composition.) In the first movement, the Liturgie de Crystal, the piano repeats a 17-note rhythm over and over again while repeating a pattern of 29 chords. [see fintemp.pdf] So, since 17 and 29 are prime numbers, then lcm(17,29)=17 29=493. In other words, it takes 493 notes for the piano part to repeat! This quasi-repetition, similar but always shifting, is how Messiaen conveys a sense of timelessness in this movement. [play musical excerpt] ===========================================================

5 Prime Numbers and Rhythms In Western music, we almost always divide the music into equal-length bars, and each bar is divided into the same number of beats, usually 4 but sometimes 2 or 3 or 6. In time signatures like 2/4 or 3/4 or 4/4, the first number is how many beats in the bar, and the denominator (1/4 in these cases) tells how long one beat is. (A quarter note doesn t really stand for a quarter of a bar, except in 4/4 meter. Rather, it s an arbitrary reference unit for time; the speed of the music is usually indicated by how many quarter notes are played in a minute.) The rhythm of a piece of popular Western music is dictated by the choice of time signature, and then how we split up that regular succession of bars. Example rhythms: Star-Spangled Banner (3/4); The Yellow Rose of Texas (4/4); Greensleeves (6/8). Underlying each of these melodies is a steady pulse, that divides the bar into 2, 3, or 4 equal units. (Note: in the case of Greensleeves, the bar is first broken into two halves, and then each of those halves is divided into three eighth-notes.) It s rare in Western music for the bar to be divided into a prime number of beats (other than 2 or 3). Here are two examples of 5/4 time from classical music: [scherzo of Symphony #6, Tchiakowsky] [1st movement Mars from The Planets, Holst] In these cases, the bar is divided into two pieces of unequal length, 3 beats in the first half, 2 beats in the second. The same is true of the theme from the TV series Mission Impossible. My point is that when the number of beats per bar is a prime number more than 3, instead of thinking of the bar as a unit sliced into smaller pieces (divided rhythm), we start to think of the bar as assembled from smaller units of long and short lengths (additive rhythm). Fibonacci Rhythms In non-western cultures (Slavic, African, and in particular Indian music) much more complicated rhythms have been invented in this

6 way. The proliferation of rhythmic patterns poses some interesting counting problems for mathematicians. For example, suppose you assemble a rhythm from short and long pulses, with the long ones twice the length of the short ones. So, the short pulse is one beat and the long one is two beats. If the total length of the bar is, say, 2 beats or 3 beats or 4 beats, how many possible rhythms are there? 2= 1+1=2 (2 possibilities) 3=1+1+1=2+1=1+2 (3 possibilities) 4= =2+1+1=1+2+1=1+1+2=2+2 (5 possibilities) The number of possibilities increases rapidly with the length of the bar: # of beats # of rhythms Perhaps you recognize these as Fibonnaci numbers. A Fibonacci sequence is defined by the property that each number in the sequence is the sum of the previous two. If F_n is the nth Fibonacci number, the this property is expressed by the recurrence relation F_{n+1} = F_n + F_{n-1} (To get the sequence started, we usually specify F_0=1 and F_1=1.) Although this sequence bears the name of a 15th century Italian, the problem of counting how many rhythms are possible was solved----and the Fibonacci sequence discovered earlier---by a 12th century Indian mathematician named Hemachandra! (Note that Hemachandra was actually more concerned with the number of possible rhythms for poetry; therefore, we ll call these rhythms built out of 1-beat and 2-beat pulses poetic rhythms.) But why does the Fibonacci relationship show up in the numbers of poetic rhythms? Think of it this way: if R_n is the number of such rhythms with n beats, then we can get a rhythm with one more beat (i.e., n+1 beats) in it by just adding a short pulse onto the end of

7 an n-beat rhythm. We can also get a rhythm with n+1 beats by adding one long pulse on the end of an n-1 beat rhythm. For example, starting with the three-beat rhythms 1+1+1=2+1=1+2 we can add an extra beat on the end and get a 4-beat rhythm: =2+1+1= Or we can start with the 2-beat rhythms 1+1=2 and add a long pulse on the end and get the other 4-beat rhythms: 1+1+2=2+2. Since every 4-beat rhythm ends either with a short or long pulse, this gives us all of them. So, we ve shown that R_4 = R_3 + R_2, the same relation as the Fibonacci numbers. Similarly, R_{n+1}=R_n + R_{n-1}, so the sequences coincide exactly. Aside It seems difficult to calculate Fibonacci numbers using the recurrence relation. If I asked you what the 17th Fibonacci was, you d have to calculate the previous 16 numbers before you could tell me the 17th. However, there is an easier way of doing this. Suppose that x is a root of the quadratic equation x^2 = x+1. Then the powers of x satisfy x^(n+1)=x^n+x^(n-1), the same relationship as the Fibonacci numbers satisfy. Now, that quadratic equation actually has two roots: phi = (1+ 5)/2, and (1-phi) = (1-5)/2. The sequence of powers of phi and the sequence of powers of 1-phi both satisfy the Fibonacci recurrence relation. So, all we have to do is to combine these two sequences in the right way so as to get the same starting points (F_0=F_1=1). We get F_n = (phi^{n+1} - (1-phi)^{n+1})/ 5. Note: phi is the so-called golden ratio; when n is large, each Fibonacci number is approximately phi times the previous one. ============

8 Folk dance rhythms from the Balkans are also built out of long and short units, but the long units are 1.5 times the length of the short units. Here are some examples from Bulgaria: Paidushko: 5 beats = 2+3 [track 15] Ruchenitsa: 7 beats = [track 7] Lesnoto: 7 beats = Daichovo: 9 beats= [track 3] Grancharsko: 9 beats= Kopanitsa: 11 beats= Buchimish: 15 beats= [track 8] I ll refer these as Balkan rhythms. However, note that the Ewe people of West Africa also use rhythms built additively out of 2 s and 3 s, and these rhythms have influenced Carribean music. For example, there are the Bomba (Puerto Rico) 8 beats = Clave (Cuba) 12 beats=

9 Assignment: Listen to BBC Lecture 1 (available on my web page); read Harkelroad Ch.2 Problems: 1. Use the Euclidean algorithm to find the following: (a) gcd(78,144) (b) lcm(15,72) 2. Show that if an integer m satisfies m x and m y, then m gcd(x,y). [Hint: use the Corollary] 3. Find all the 6-beat poetic rhythms. 4. Show that lim_{n to infinity} F_{n+1}/F_n = phi. 5. List all the 9-beat Balkan rhythms. 6. Suppose B_n is the number of Balkan rhythms with n beats. (Note that B_1=0 since we can only use pulses of length 2 or 3.) Find a recurrence relation for B_n, and calculate B_n up to n=12. 7* (Bonus problem). Poetic 4-beat rhythms like and 2+2 have translational symmetry: if you shift all the barlines some number of beats ahead (1 in the first example, 2 in the second), the rhythm stays the same. Develop a recurrence relation for the number of n-beat poetic rhythms without translational symmetry.

Continuity and One-Sided Limits

Continuity and One-Sided Limits Continuity and One-Sided Limits 1. Welcome to continuity and one-sided limits. My name is Tuesday Johnson and I m a lecturer at the University of Texas El Paso. 2. With each lecture I present, I will start

More information

Number theory (Chapter 4)

Number theory (Chapter 4) EECS 203 Spring 2016 Lecture 10 Page 1 of 8 Number theory (Chapter 4) Review Questions: 1. Does 5 1? Does 1 5? 2. Does (129+63) mod 10 = (129 mod 10)+(63 mod 10)? 3. Does (129+63) mod 10 = ((129 mod 10)+(63

More information

Applied Cryptography and Computer Security CSE 664 Spring 2017

Applied Cryptography and Computer Security CSE 664 Spring 2017 Applied Cryptography and Computer Security Lecture 11: Introduction to Number Theory Department of Computer Science and Engineering University at Buffalo 1 Lecture Outline What we ve covered so far: symmetric

More information

1 A first example: detailed calculations

1 A first example: detailed calculations MA4 Handout # Linear recurrence relations Robert Harron Wednesday, Nov 8, 009 This handout covers the material on solving linear recurrence relations It starts off with an example that goes through detailed

More information

Grade 7/8 Math Circles November 27 & 28 &

Grade 7/8 Math Circles November 27 & 28 & Faculty of Mathematics Waterloo, Ontario N2L 3G1 Centre for Education in Mathematics and Computing Grade 7/8 Math Circles November 27 & 28 & 29 2018 Symmetry and Music Introduction We ve done a lot of

More information

SECTION 2.3: LONG AND SYNTHETIC POLYNOMIAL DIVISION

SECTION 2.3: LONG AND SYNTHETIC POLYNOMIAL DIVISION 2.25 SECTION 2.3: LONG AND SYNTHETIC POLYNOMIAL DIVISION PART A: LONG DIVISION Ancient Example with Integers 2 4 9 8 1 In general: dividend, f divisor, d We can say: 9 4 = 2 + 1 4 By multiplying both sides

More information

Table of Contents. 2013, Pearson Education, Inc.

Table of Contents. 2013, Pearson Education, Inc. Table of Contents Chapter 1 What is Number Theory? 1 Chapter Pythagorean Triples 5 Chapter 3 Pythagorean Triples and the Unit Circle 11 Chapter 4 Sums of Higher Powers and Fermat s Last Theorem 16 Chapter

More information

Discrete Mathematics and Probability Theory Summer 2014 James Cook Note 5

Discrete Mathematics and Probability Theory Summer 2014 James Cook Note 5 CS 70 Discrete Mathematics and Probability Theory Summer 2014 James Cook Note 5 Modular Arithmetic In several settings, such as error-correcting codes and cryptography, we sometimes wish to work over a

More information

ASSIGNMENT 12 PROBLEM 4

ASSIGNMENT 12 PROBLEM 4 ASSIGNMENT PROBLEM 4 Generate a Fibonnaci sequence in the first column using f 0 =, f 0 =, = f n f n a. Construct the ratio of each pair of adjacent terms in the Fibonnaci sequence. What happens as n increases?

More information

Fall 2017 Test II review problems

Fall 2017 Test II review problems Fall 2017 Test II review problems Dr. Holmes October 18, 2017 This is a quite miscellaneous grab bag of relevant problems from old tests. Some are certainly repeated. 1. Give the complete addition and

More information

Discrete Mathematics and Probability Theory Fall 2018 Alistair Sinclair and Yun Song Note 6

Discrete Mathematics and Probability Theory Fall 2018 Alistair Sinclair and Yun Song Note 6 CS 70 Discrete Mathematics and Probability Theory Fall 2018 Alistair Sinclair and Yun Song Note 6 1 Modular Arithmetic In several settings, such as error-correcting codes and cryptography, we sometimes

More information

Sequences and infinite series

Sequences and infinite series Sequences and infinite series D. DeTurck University of Pennsylvania March 29, 208 D. DeTurck Math 04 002 208A: Sequence and series / 54 Sequences The lists of numbers you generate using a numerical method

More information

Math Circle: Recursion and Induction

Math Circle: Recursion and Induction Math Circle: Recursion and Induction Prof. Wickerhauser 1 Recursion What can we compute, using only simple formulas and rules that everyone can understand? 1. Let us use N to denote the set of counting

More information

Lecture 10: Powers of Matrices, Difference Equations

Lecture 10: Powers of Matrices, Difference Equations Lecture 10: Powers of Matrices, Difference Equations Difference Equations A difference equation, also sometimes called a recurrence equation is an equation that defines a sequence recursively, i.e. each

More information

INTRODUCTION TO FRACTIONS

INTRODUCTION TO FRACTIONS INTRODUCTION TO FRACTIONS MEANING AND PROPERTIES OF FRACTIONS Fractions are used to represent parts of a whole. Example: What is the fraction of the shaded area? one-half one-quarter three-eighths 4 The

More information

Section 4. Quantitative Aptitude

Section 4. Quantitative Aptitude Section 4 Quantitative Aptitude You will get 35 questions from Quantitative Aptitude in the SBI Clerical 2016 Prelims examination and 50 questions in the Mains examination. One new feature of the 2016

More information

Section 3.1 Quadratic Functions

Section 3.1 Quadratic Functions Chapter 3 Lecture Notes Page 1 of 72 Section 3.1 Quadratic Functions Objectives: Compare two different forms of writing a quadratic function Find the equation of a quadratic function (given points) Application

More information

Math 110 FOUNDATIONS OF THE REAL NUMBER SYSTEM FOR ELEMENTARY AND MIDDLE SCHOOL TEACHERS

Math 110 FOUNDATIONS OF THE REAL NUMBER SYSTEM FOR ELEMENTARY AND MIDDLE SCHOOL TEACHERS 4-1Divisibility Divisibility Divisibility Rules Divisibility An integer is if it has a remainder of 0 when divided by 2; it is otherwise. We say that 3 divides 18, written, because the remainder is 0 when

More information

Continued Fractions: Introduction and Applications

Continued Fractions: Introduction and Applications PROCEEDINGS OF THE ROMAN NUMBER THEORY ASSOCIATION Volume 2, Number, March 207, pages 6-8 Michel Waldschmidt Continued Fractions: Introduction and Applications written by Carlo Sanna The continued fraction

More information

Number theory (Chapter 4)

Number theory (Chapter 4) EECS 203 Spring 2016 Lecture 12 Page 1 of 8 Number theory (Chapter 4) Review Compute 6 11 mod 13 in an efficient way What is the prime factorization of 100? 138? What is gcd(100, 138)? What is lcm(100,138)?

More information

Intermediate Math Circles February 29, 2012 Linear Diophantine Equations I

Intermediate Math Circles February 29, 2012 Linear Diophantine Equations I Intermediate Math Circles February 29, 2012 Linear Diophantine Equations I Diophantine equations are equations intended to be solved in the integers. We re going to focus on Linear Diophantine Equations.

More information

Math 31 Lesson Plan. Day 2: Sets; Binary Operations. Elizabeth Gillaspy. September 23, 2011

Math 31 Lesson Plan. Day 2: Sets; Binary Operations. Elizabeth Gillaspy. September 23, 2011 Math 31 Lesson Plan Day 2: Sets; Binary Operations Elizabeth Gillaspy September 23, 2011 Supplies needed: 30 worksheets. Scratch paper? Sign in sheet Goals for myself: Tell them what you re going to tell

More information

Factoring. there exists some 1 i < j l such that x i x j (mod p). (1) p gcd(x i x j, n).

Factoring. there exists some 1 i < j l such that x i x j (mod p). (1) p gcd(x i x j, n). 18.310 lecture notes April 22, 2015 Factoring Lecturer: Michel Goemans We ve seen that it s possible to efficiently check whether an integer n is prime or not. What about factoring a number? If this could

More information

Commutative Rings and Fields

Commutative Rings and Fields Commutative Rings and Fields 1-22-2017 Different algebraic systems are used in linear algebra. The most important are commutative rings with identity and fields. Definition. A ring is a set R with two

More information

3 Finite continued fractions

3 Finite continued fractions MTH628 Number Theory Notes 3 Spring 209 3 Finite continued fractions 3. Introduction Let us return to the calculation of gcd(225, 57) from the preceding chapter. 225 = 57 + 68 57 = 68 2 + 2 68 = 2 3 +

More information

Quadratic Equations Part I

Quadratic Equations Part I Quadratic Equations Part I Before proceeding with this section we should note that the topic of solving quadratic equations will be covered in two sections. This is done for the benefit of those viewing

More information

INFINITE SEQUENCES AND SERIES

INFINITE SEQUENCES AND SERIES 11 INFINITE SEQUENCES AND SERIES INFINITE SEQUENCES AND SERIES Infinite sequences and series were introduced briefly in A Preview of Calculus in connection with Zeno s paradoxes and the decimal representation

More information

Example: x 10-2 = ( since 10 2 = 100 and [ 10 2 ] -1 = 1 which 100 means divided by 100)

Example: x 10-2 = ( since 10 2 = 100 and [ 10 2 ] -1 = 1 which 100 means divided by 100) Scientific Notation When we use 10 as a factor 2 times, the product is 100. 10 2 = 10 x 10 = 100 second power of 10 When we use 10 as a factor 3 times, the product is 1000. 10 3 = 10 x 10 x 10 = 1000 third

More information

Lecture 17: Trees and Merge Sort 10:00 AM, Oct 15, 2018

Lecture 17: Trees and Merge Sort 10:00 AM, Oct 15, 2018 CS17 Integrated Introduction to Computer Science Klein Contents Lecture 17: Trees and Merge Sort 10:00 AM, Oct 15, 2018 1 Tree definitions 1 2 Analysis of mergesort using a binary tree 1 3 Analysis of

More information

Discrete Mathematics and Probability Theory Fall 2013 Vazirani Note 3

Discrete Mathematics and Probability Theory Fall 2013 Vazirani Note 3 CS 70 Discrete Mathematics and Probability Theory Fall 2013 Vazirani Note 3 Modular Arithmetic In several settings, such as error-correcting codes and cryptography, we sometimes wish to work over a smaller

More information

Grade 7/8 Math Circles. Continued Fractions

Grade 7/8 Math Circles. Continued Fractions Faculty of Mathematics Waterloo, Ontario N2L 3G Centre for Education in Mathematics and Computing A Fraction of our History Grade 7/8 Math Circles October th /2 th Continued Fractions Love it or hate it,

More information

Properties of Arithmetic

Properties of Arithmetic Excerpt from "Prealgebra" 205 AoPS Inc. 4 6 7 4 5 8 22 23 5 7 0 Arithmetic is being able to count up to twenty without taking o your shoes. Mickey Mouse CHAPTER Properties of Arithmetic. Why Start with

More information

11 Division Mod n, Linear Integer Equations, Random Numbers, The Fundamental Theorem of Arithmetic

11 Division Mod n, Linear Integer Equations, Random Numbers, The Fundamental Theorem of Arithmetic 11 Division Mod n, Linear Integer Equations, Random Numbers, The Fundamental Theorem of Arithmetic Bezout s Lemma Let's look at the values of 4x + 6y when x and y are integers. If x is -6 and y is 4 we

More information

Cosets and Lagrange s theorem

Cosets and Lagrange s theorem Cosets and Lagrange s theorem These are notes on cosets and Lagrange s theorem some of which may already have been lecturer. There are some questions for you included in the text. You should write the

More information

Sequences and Series

Sequences and Series Sequences and Series What do you think of when you read the title of our next unit? In case your answers are leading us off track, let's review the following IB problems. 1 November 2013 HL 2 3 November

More information

Generating Function Notes , Fall 2005, Prof. Peter Shor

Generating Function Notes , Fall 2005, Prof. Peter Shor Counting Change Generating Function Notes 80, Fall 00, Prof Peter Shor In this lecture, I m going to talk about generating functions We ve already seen an example of generating functions Recall when we

More information

Math 31 Lesson Plan. Day 5: Intro to Groups. Elizabeth Gillaspy. September 28, 2011

Math 31 Lesson Plan. Day 5: Intro to Groups. Elizabeth Gillaspy. September 28, 2011 Math 31 Lesson Plan Day 5: Intro to Groups Elizabeth Gillaspy September 28, 2011 Supplies needed: Sign in sheet Goals for students: Students will: Improve the clarity of their proof-writing. Gain confidence

More information

6: Polynomials and Polynomial Functions

6: Polynomials and Polynomial Functions 6: Polynomials and Polynomial Functions 6-1: Polynomial Functions Okay you know what a variable is A term is a product of constants and powers of variables (for example: x ; 5xy ) For now, let's restrict

More information

Chapter 1A -- Real Numbers. iff. Math Symbols: Sets of Numbers

Chapter 1A -- Real Numbers. iff. Math Symbols: Sets of Numbers Fry Texas A&M University! Fall 2016! Math 150 Notes! Section 1A! Page 1 Chapter 1A -- Real Numbers Math Symbols: iff or Example: Let A = {2, 4, 6, 8, 10, 12, 14, 16,...} and let B = {3, 6, 9, 12, 15, 18,

More information

Modular Arithmetic Instructor: Marizza Bailey Name:

Modular Arithmetic Instructor: Marizza Bailey Name: Modular Arithmetic Instructor: Marizza Bailey Name: 1. Introduction to Modular Arithmetic If someone asks you what day it is 145 days from now, what would you answer? Would you count 145 days, or find

More information

Solving Equations by Adding and Subtracting

Solving Equations by Adding and Subtracting SECTION 2.1 Solving Equations by Adding and Subtracting 2.1 OBJECTIVES 1. Determine whether a given number is a solution for an equation 2. Use the addition property to solve equations 3. Determine whether

More information

Lecture 5: Latin Squares and Magic

Lecture 5: Latin Squares and Magic Latin Squares Instructor: Padraic Bartlett Lecture 5: Latin Squares and Magic Week Mathcamp 0 Today s application is to magic! Not the friendship kind though ; instead we re going to talk about magic squares

More information

Practical Algebra. A Step-by-step Approach. Brought to you by Softmath, producers of Algebrator Software

Practical Algebra. A Step-by-step Approach. Brought to you by Softmath, producers of Algebrator Software Practical Algebra A Step-by-step Approach Brought to you by Softmath, producers of Algebrator Software 2 Algebra e-book Table of Contents Chapter 1 Algebraic expressions 5 1 Collecting... like terms 5

More information

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

Definition For a set F, a polynomial over F with variable x is of the form *6. Polynomials Definition For a set F, a polynomial over F with variable x is of the form a n x n + a n 1 x n 1 + a n 2 x n 2 +... + a 1 x + a 0, where a n, a n 1,..., a 1, a 0 F. The a i, 0 i n are the

More information

Cool Results on Primes

Cool Results on Primes Cool Results on Primes LA Math Circle (Advanced) January 24, 2016 Recall that last week we learned an algorithm that seemed to magically spit out greatest common divisors, but we weren t quite sure why

More information

MA554 Assessment 1 Cosets and Lagrange s theorem

MA554 Assessment 1 Cosets and Lagrange s theorem MA554 Assessment 1 Cosets and Lagrange s theorem These are notes on cosets and Lagrange s theorem; they go over some material from the lectures again, and they have some new material it is all examinable,

More information

264 CHAPTER 4. FRACTIONS cm in cm cm ft pounds

264 CHAPTER 4. FRACTIONS cm in cm cm ft pounds 6 CHAPTER. FRACTIONS 9. 7cm 61. cm 6. 6ft 6. 0in 67. 10cm 69. pounds .. DIVIDING FRACTIONS 6. Dividing Fractions Suppose that you have four pizzas and each of the pizzas has been sliced into eight equal

More information

Math Circle at FAU 10/27/2018 SOLUTIONS

Math Circle at FAU 10/27/2018 SOLUTIONS Math Circle at FAU 10/27/2018 SOLUTIONS 1. At the grocery store last week, small boxes of facial tissue were priced at 4 boxes for $5. This week they are on sale at 5 boxes for $4. Find the percent decrease

More information

Elementary Properties of the Integers

Elementary Properties of the Integers Elementary Properties of the Integers 1 1. Basis Representation Theorem (Thm 1-3) 2. Euclid s Division Lemma (Thm 2-1) 3. Greatest Common Divisor 4. Properties of Prime Numbers 5. Fundamental Theorem of

More information

Section 0.6: Factoring from Precalculus Prerequisites a.k.a. Chapter 0 by Carl Stitz, PhD, and Jeff Zeager, PhD, is available under a Creative

Section 0.6: Factoring from Precalculus Prerequisites a.k.a. Chapter 0 by Carl Stitz, PhD, and Jeff Zeager, PhD, is available under a Creative Section 0.6: Factoring from Precalculus Prerequisites a.k.a. Chapter 0 by Carl Stitz, PhD, and Jeff Zeager, PhD, is available under a Creative Commons Attribution-NonCommercial-ShareAlike.0 license. 201,

More information

MATH 2400 LECTURE NOTES: POLYNOMIAL AND RATIONAL FUNCTIONS. Contents 1. Polynomial Functions 1 2. Rational Functions 6

MATH 2400 LECTURE NOTES: POLYNOMIAL AND RATIONAL FUNCTIONS. Contents 1. Polynomial Functions 1 2. Rational Functions 6 MATH 2400 LECTURE NOTES: POLYNOMIAL AND RATIONAL FUNCTIONS PETE L. CLARK Contents 1. Polynomial Functions 1 2. Rational Functions 6 1. Polynomial Functions Using the basic operations of addition, subtraction,

More information

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

Solutions to Problem Set 4 - Fall 2008 Due Tuesday, Oct. 7 at 1:00 Solutions to 8.78 Problem Set 4 - Fall 008 Due Tuesday, Oct. 7 at :00. (a Prove that for any arithmetic functions f, f(d = f ( n d. To show the relation, we only have to show this equality of sets: {d

More information

7.2 Applications of Euler s and Fermat s Theorem.

7.2 Applications of Euler s and Fermat s Theorem. 7.2 Applications of Euler s and Fermat s Theorem. i) Finding and using inverses. From Fermat s Little Theorem we see that if p is prime and p a then a p 1 1 mod p, or equivalently a p 2 a 1 mod p. This

More information

ALGEBRA. 1. Some elementary number theory 1.1. Primes and divisibility. We denote the collection of integers

ALGEBRA. 1. Some elementary number theory 1.1. Primes and divisibility. We denote the collection of integers ALGEBRA CHRISTIAN REMLING 1. Some elementary number theory 1.1. Primes and divisibility. We denote the collection of integers by Z = {..., 2, 1, 0, 1,...}. Given a, b Z, we write a b if b = ac for some

More information

Intermediate Algebra. Gregg Waterman Oregon Institute of Technology

Intermediate Algebra. Gregg Waterman Oregon Institute of Technology Intermediate Algebra Gregg Waterman Oregon Institute of Technology c 207 Gregg Waterman This work is licensed under the Creative Commons Attribution 4.0 International license. The essence of the license

More information

2 Arithmetic. 2.1 Greatest common divisors. This chapter is about properties of the integers Z = {..., 2, 1, 0, 1, 2,...}.

2 Arithmetic. 2.1 Greatest common divisors. This chapter is about properties of the integers Z = {..., 2, 1, 0, 1, 2,...}. 2 Arithmetic This chapter is about properties of the integers Z = {..., 2, 1, 0, 1, 2,...}. (See [Houston, Chapters 27 & 28]) 2.1 Greatest common divisors Definition 2.16. If a, b are integers, we say

More information

The next sequence of lectures in on the topic of Arithmetic Algorithms. We shall build up to an understanding of the RSA public-key cryptosystem.

The next sequence of lectures in on the topic of Arithmetic Algorithms. We shall build up to an understanding of the RSA public-key cryptosystem. CS 70 Discrete Mathematics for CS Fall 2003 Wagner Lecture 10 The next sequence of lectures in on the topic of Arithmetic Algorithms. We shall build up to an understanding of the RSA public-key cryptosystem.

More information

Notes on Continued Fractions for Math 4400

Notes on Continued Fractions for Math 4400 . Continued fractions. Notes on Continued Fractions for Math 4400 The continued fraction expansion converts a positive real number α into a sequence of natural numbers. Conversely, a sequence of natural

More information

Introduction to Number Theory. The study of the integers

Introduction to Number Theory. The study of the integers Introduction to Number Theory The study of the integers of Integers, The set of integers = {... 3, 2, 1, 0, 1, 2, 3,...}. In this lecture, if nothing is said about a variable, it is an integer. Def. We

More information

What can you prove by induction?

What can you prove by induction? MEI CONFERENCE 013 What can you prove by induction? Martyn Parker M.J.Parker@keele.ac.uk Contents Contents iii 1 Splitting Coins.................................................. 1 Convex Polygons................................................

More information

Lecture 2. The Euclidean Algorithm and Numbers in Other Bases

Lecture 2. The Euclidean Algorithm and Numbers in Other Bases Lecture 2. The Euclidean Algorithm and Numbers in Other Bases At the end of Lecture 1, we gave formulas for the greatest common divisor GCD (a, b), and the least common multiple LCM (a, b) of two integers

More information

Radiological Control Technician Training Fundamental Academic Training Study Guide Phase I

Radiological Control Technician Training Fundamental Academic Training Study Guide Phase I Module 1.01 Basic Mathematics and Algebra Part 4 of 9 Radiological Control Technician Training Fundamental Academic Training Phase I Coordinated and Conducted for the Office of Health, Safety and Security

More information

Appendix A. Jargon. A.1 Strange technical terms

Appendix A. Jargon. A.1 Strange technical terms Appendix A Jargon Mathematicians write in a dialect of English that differs from everyday English and from formal scientific English. To read and write mathematics fluently, you need to be aware of the

More information

SEVENTH EDITION and EXPANDED SEVENTH EDITION

SEVENTH EDITION and EXPANDED SEVENTH EDITION SEVENTH EDITION and EXPANDED SEVENTH EDITION Slide 5-1 Chapter 5 Number Theory and the Real Number System 5.1 Number Theory Number Theory The study of numbers and their properties. The numbers we use to

More information

Number Theory. Introduction

Number Theory. Introduction Number Theory Introduction Number theory is the branch of algebra which studies the properties of the integers. While we may from time to time use real or even complex numbers as tools to help us study

More information

CHAPTER 1 NUMBER SYSTEMS. 1.1 Introduction

CHAPTER 1 NUMBER SYSTEMS. 1.1 Introduction N UMBER S YSTEMS NUMBER SYSTEMS CHAPTER. Introduction In your earlier classes, you have learnt about the number line and how to represent various types of numbers on it (see Fig..). Fig.. : The number

More information

Before this course is over we will see the need to split up a fraction in a couple of ways, one using multiplication and the other using addition.

Before this course is over we will see the need to split up a fraction in a couple of ways, one using multiplication and the other using addition. CH MORE FRACTIONS Introduction I n this chapter we tie up some loose ends. First, we split a single fraction into two fractions, followed by performing our standard math operations on positive and negative

More information

MATH 115, SUMMER 2012 LECTURE 12

MATH 115, SUMMER 2012 LECTURE 12 MATH 115, SUMMER 2012 LECTURE 12 JAMES MCIVOR - last time - we used hensel s lemma to go from roots of polynomial equations mod p to roots mod p 2, mod p 3, etc. - from there we can use CRT to construct

More information

Chapter 14: Divisibility and factorization

Chapter 14: Divisibility and factorization Chapter 14: Divisibility and factorization Matthew Macauley Department of Mathematical Sciences Clemson University http://www.math.clemson.edu/~macaule/ Math 4120, Summer I 2014 M. Macauley (Clemson) Chapter

More information

Day 1: Over + Over Again

Day 1: Over + Over Again Welcome to Morning Math! The current time is... huh, that s not right. Day 1: Over + Over Again Welcome to PCMI! We know you ll learn a great deal of mathematics here maybe some new tricks, maybe some

More information

Topics in Mathematics: Mathematics and Music Section 1.1: Musical Notation and a Geometric Property January 25, 2018

Topics in Mathematics: Mathematics and Music Section 1.1: Musical Notation and a Geometric Property January 25, 2018 Topics in Mathematics: Mathematics and Music Section.: Musical Notation and a Geometric Property January 5, 08 Duration: Geometric Sequences note head stem flag = Figure : Some basic symbols and terminology

More information

Error Correcting Codes Prof. Dr. P Vijay Kumar Department of Electrical Communication Engineering Indian Institute of Science, Bangalore

Error Correcting Codes Prof. Dr. P Vijay Kumar Department of Electrical Communication Engineering Indian Institute of Science, Bangalore (Refer Slide Time: 00:54) Error Correcting Codes Prof. Dr. P Vijay Kumar Department of Electrical Communication Engineering Indian Institute of Science, Bangalore Lecture No. # 05 Cosets, Rings & Fields

More information

Topic Contents. Factoring Methods. Unit 3: Factoring Methods. Finding the square root of a number

Topic Contents. Factoring Methods. Unit 3: Factoring Methods. Finding the square root of a number Topic Contents Factoring Methods Unit 3 The smallest divisor of an integer The GCD of two numbers Generating prime numbers Computing prime factors of an integer Generating pseudo random numbers Raising

More information

Power series and Taylor series

Power series and Taylor series Power series and Taylor series D. DeTurck University of Pennsylvania March 29, 2018 D. DeTurck Math 104 002 2018A: Series 1 / 42 Series First... a review of what we have done so far: 1 We examined series

More information

Page 1. These are all fairly simple functions in that wherever the variable appears it is by itself. What about functions like the following, ( ) ( )

Page 1. These are all fairly simple functions in that wherever the variable appears it is by itself. What about functions like the following, ( ) ( ) Chain Rule Page We ve taken a lot of derivatives over the course of the last few sections. However, if you look back they have all been functions similar to the following kinds of functions. 0 w ( ( tan

More information

June If you want, you may scan your assignment and convert it to a.pdf file and it to me.

June If you want, you may scan your assignment and convert it to a.pdf file and  it to me. Summer Assignment Pre-Calculus Honors June 2016 Dear Student: This assignment is a mandatory part of the Pre-Calculus Honors course. Students who do not complete the assignment will be placed in the regular

More information

Exam 2 Review Chapters 4-5

Exam 2 Review Chapters 4-5 Math 365 Lecture Notes S. Nite 8/18/2012 Page 1 of 9 Integers and Number Theory Exam 2 Review Chapters 4-5 Divisibility Theorem 4-1 If d a, n I, then d (a n) Theorem 4-2 If d a, and d b, then d (a+b).

More information

1. multiplication is commutative and associative;

1. multiplication is commutative and associative; Chapter 4 The Arithmetic of Z In this chapter, we start by introducing the concept of congruences; these are used in our proof (going back to Gauss 1 ) that every integer has a unique prime factorization.

More information

THE WHISPERING MOON WORKSHOP

THE WHISPERING MOON WORKSHOP THE WHISPERING MOON WORKSHOP THE NORDIC KNOWLEDGE TRAIN PROJECT AUTUMN 2015 HEUREKA, THE FINNISH SCIENCE CENTRE Duration: 45 minutes. Target groups: Visitors aged 7 12 years and families. The aim of the

More information

Ch. 12 Rational Functions

Ch. 12 Rational Functions Ch. 12 Rational Functions 12.1 Finding the Domains of Rational F(n) & Reducing Rational Expressions Outline Review Rational Numbers { a / b a and b are integers, b 0} Multiplying a rational number by a

More information

Math 13, Spring 2013, Lecture B: Midterm

Math 13, Spring 2013, Lecture B: Midterm Math 13, Spring 2013, Lecture B: Midterm Name Signature UCI ID # E-mail address Each numbered problem is worth 12 points, for a total of 84 points. Present your work, especially proofs, as clearly as possible.

More information

What is proof? Lesson 1

What is proof? Lesson 1 What is proof? Lesson The topic for this Math Explorer Club is mathematical proof. In this post we will go over what was covered in the first session. The word proof is a normal English word that you might

More information

Notes on Polynomials from Barry Monson, UNB

Notes on Polynomials from Barry Monson, UNB Notes on Polynomials from Barry Monson, UNB 1. Here are some polynomials and their degrees: polynomial degree note 6x 4 8x 3 +21x 2 +7x 2 4 quartic 2x 3 +0x 2 + 3x + 2 3 cubic 2 2x 3 + 3x + 2 3 the same

More information

Lecture 7: Number Theory Steven Skiena. skiena

Lecture 7: Number Theory Steven Skiena.   skiena Lecture 7: Number Theory Steven Skiena Department of Computer Science State University of New York Stony Brook, NY 11794 4400 http://www.cs.sunysb.edu/ skiena Number Theory and Divisibility G-d created

More information

PHYSICS 15a, Fall 2006 SPEED OF SOUND LAB Due: Tuesday, November 14

PHYSICS 15a, Fall 2006 SPEED OF SOUND LAB Due: Tuesday, November 14 PHYSICS 15a, Fall 2006 SPEED OF SOUND LAB Due: Tuesday, November 14 GENERAL INFO The goal of this lab is to determine the speed of sound in air, by making measurements and taking into consideration the

More information

WEIRD AND WILD MACHINES

WEIRD AND WILD MACHINES EXPLODING DOTS CHAPTER 9 WEIRD AND WILD MACHINES All right. It is time to go wild and crazy. Here is a whole host of quirky and strange machines to ponder on, some yielding baffling mathematical questions

More information

Chapter 1 Review of Equations and Inequalities

Chapter 1 Review of Equations and Inequalities Chapter 1 Review of Equations and Inequalities Part I Review of Basic Equations Recall that an equation is an expression with an equal sign in the middle. Also recall that, if a question asks you to solve

More information

Egyptian Fraction. Massoud Malek

Egyptian Fraction. Massoud Malek Egyptian Fraction Massoud Malek Throughout history, different civilizations have had different ways of representing numbers. Some of these systems seem strange or complicated from our perspective. The

More information

The Golden Ratio. The Divine Proportion

The Golden Ratio. The Divine Proportion The Golden Ratio The Divine Proportion The Problem There is a population of rabbits for which it is assumed: 1) In the first month there is just one newborn pair 2) New-born pairs become fertile from their

More information

Math Circles Cryptography

Math Circles Cryptography Math Circles Cryptography Nickolas Rollick nrollick@uwaterloo.ca March 7, 2018 Introduction Last time, we talked about public key cryptography, an idea from the 1970s that opened the door for encryption

More information

6.042/18.062J Mathematics for Computer Science March 17, 2005 Srini Devadas and Eric Lehman. Recurrences

6.042/18.062J Mathematics for Computer Science March 17, 2005 Srini Devadas and Eric Lehman. Recurrences 6.04/8.06J Mathematics for Computer Science March 7, 00 Srini Devadas and Eric Lehman Lecture Notes Recurrences Recursion breaking an object down into smaller objects of the same type is a major theme

More information

Math Circle Beginners Group February 28, 2016 Euclid and Prime Numbers Solutions

Math Circle Beginners Group February 28, 2016 Euclid and Prime Numbers Solutions Math Circle Beginners Group February 28, 2016 Euclid and Prime Numbers Solutions Warm-up Problems 1. What is a prime number? Give an example of an even prime number and an odd prime number. A prime number

More information

CDM. Recurrences and Fibonacci

CDM. Recurrences and Fibonacci CDM Recurrences and Fibonacci Klaus Sutner Carnegie Mellon University 20-fibonacci 2017/12/15 23:16 1 Recurrence Equations Second Order The Fibonacci Monoid Recurrence Equations 3 We can define a sequence

More information

Constructions with ruler and compass.

Constructions with ruler and compass. Constructions with ruler and compass. Semyon Alesker. 1 Introduction. Let us assume that we have a ruler and a compass. Let us also assume that we have a segment of length one. Using these tools we can

More information

= 5 2 and = 13 2 and = (1) = 10 2 and = 15 2 and = 25 2

= 5 2 and = 13 2 and = (1) = 10 2 and = 15 2 and = 25 2 BEGINNING ALGEBRAIC NUMBER THEORY Fermat s Last Theorem is one of the most famous problems in mathematics. Its origin can be traced back to the work of the Greek mathematician Diophantus (third century

More information

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

All variables a, b, n, etc are integers unless otherwise stated. Each part of a problem is worth 5 points. Math 152, Problem Set 2 solutions (2018-01-24) All variables a, b, n, etc are integers unless otherwise stated. Each part of a problem is worth 5 points. 1. Let us look at the following equation: x 5 1

More information

CDM. Recurrences and Fibonacci. 20-fibonacci 2017/12/15 23:16. Terminology 4. Recurrence Equations 3. Solution and Asymptotics 6.

CDM. Recurrences and Fibonacci. 20-fibonacci 2017/12/15 23:16. Terminology 4. Recurrence Equations 3. Solution and Asymptotics 6. CDM Recurrences and Fibonacci 1 Recurrence Equations Klaus Sutner Carnegie Mellon University Second Order 20-fibonacci 2017/12/15 23:16 The Fibonacci Monoid Recurrence Equations 3 Terminology 4 We can

More information

Intermediate Math Circles February 26, 2014 Diophantine Equations I

Intermediate Math Circles February 26, 2014 Diophantine Equations I Intermediate Math Circles February 26, 2014 Diophantine Equations I 1. An introduction to Diophantine equations A Diophantine equation is a polynomial equation that is intended to be solved over the integers.

More information

1 Overview and revision

1 Overview and revision MTH6128 Number Theory Notes 1 Spring 2018 1 Overview and revision In this section we will meet some of the concerns of Number Theory, and have a brief revision of some of the relevant material from Introduction

More information

Generating Electricity. Outreach Program Lesson Plan

Generating Electricity. Outreach Program Lesson Plan Outreach Program Lesson Plan WAAW Foundation is non-profit organization dedicated to bringing hands-on STEM education to girls all over Africa. Our Mission: To increase the pipeline of African women in

More information