Survey
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
Week 7: School Mathematics (Before Calculus) The standard curriculum in the U.S. is a death march to calculusβ¦ This is a shame on a lot of levels. Richard Rusczyk Two Theorems from Elementary School Typically, elementary school students learn many facts about numbers, few of which are proved, at that time, in any way. Some arithmetic facts are not proved because they seem intuitively obvious. Some facts are not proved because the proof would be too deep. These two rationales for omitting proofs in the elementary school setting are not mutually exclusive. We now consider a couple of facts that nearly all elementary school students encounter in some form. The first theorem is an extension of the fact that every integer is either even or odd β in other words, any integer π₯ can be written as either 2π or 2π + 1 for some integer π. A similar fact is that any integer π₯ can be written as either 3π or 3π + 1 or 3π + 2 for some integer π. Likewise, any integer π₯ can be written as either 4π or 4π + 1 of 4π + 2 or 4π + 3 for some integer π. This pattern continues; here is the general fact. Arithmetic Theorem 1: For any integer π₯ and natural number π, there is a unique integer π and a unique natural number π, less than π, so that π₯ = π β π + π. It might help to state this theorem in symbolic form: (βπ β β)(βπ₯ β β€)(β! π β β€)(β! π β β)(π < π β§ π₯ = π β π + π) We will not prove this theorem immediately, but will do so in time. The next theorem concerns the factoring of whole numbers. Given a whole number π, a prime factorization of π is a sequence of prime numbers, the product of which is equal to π. For example, we say that a prime factorization of 504 is 2 β 2 β 2 β 3 β 3 β 7. We can also say that 504 is 2 β 3 β 2 β 3 β 2 β 7, but this is considered to be just the same factorization (albeit in a different order). If a number is prime, we say that the number is its own prime factorization. Arithmetic Theorem 2: Every natural number greater than 1 has a unique prime factorization. Proof of existence: Note that 2 is its own prime factorization. Likewise, 3 is its own prime factorization. A prime factorization of 4 is 2 β 2. Next, 5 is its own prime factorization, and 6 Week 7 Page 2 has a prime factorization 2 β 3. Suppose we know that all of the natural numbers, from 2 up to some number π, have prime factorizations. Consider the next natural number, π + 1. By definition, this number is either prime or composite. ο· ο· If π + 1 is prime, then it is its own prime factorization. If π + 1 is composite, then by definition, π + 1 is the product of two natural numbers π and π, with 1 < π < π + 1 and 1 < π < π + 1. We already know that each of these numbers can be written as the product of a sequence of primes, so π + 1, which is π β π, can be written as the product of these two products, which gives us a prime factorization of π. By induction, every natural number greater than 1 has a prime factorization. β The uniqueness of a natural numberβs prime factorization can be proved with the help of Arithmetic Theorem 1, but this proof is slightly too complicated to delve into its details in this course. Exercise 1: Without referring to Arithmetic Theorems 1 or 2, prove that any natural number π₯ can be written as either 3π or 3π + 1 or 3π + 2 for some integer π. Exercise 2: Using the previous exercise (but again without referring to Arithmetic Theorems 1 or 2), prove that any integer π₯ can be written as either 3π or 3π + 1 or 3π + 2 for some integer π. Exercise 3: Without referring to Arithmetic Theorems 1 or 2, prove that no integer can be written in more than one of three forms from the previous two exercises (3π or 3π + 1 or 3π + 2). Exercise 4: Give a rough outline of how we would prove that any natural numberβs prime factorization is unique. Exercise 5: Find a counterexample to the following statement: For all natural numbers π, π, and π, if π β π is a multiple of π, then either π or π must be a multiple of π. Using the Theorems Arithmetic Theorems 1 and 2 are fundamental building blocks for proving many arithmetic facts. Those two theorems also provide guarantees for the effectiveness of certain mathematical techniques learned in elementary school and beyond. The proof of Arithmetic Theorem 1 will be dealt with later; for now, letβs take Arithmetic Theorems 1 and 2 for granted and see how they can be used in proofs. Week 7 Page 3 Proposition: If π is an integer that is not a multiple of 5, then π2 can be written as either 5π + 1 or 5π + 4 for some integer π. Proof: Suppose π is an integer that is not a multiple of 5. By Arithmetic Theorem 1, there are four possible cases β ο· If π = 5π + 1 for some integer π, then π2 = 25π2 + 10π + 1 = 5(5π2 + 2π) + 1. ο· If π = 5π + 2 for some integer π, then π2 = 25π2 + 20π + 4 = 5(5π2 + 4π) + 4. ο· If π = 5π + 3 for some integer π, then π2 = 25π2 + 30π + 9 = 5(5π2 + 6π + 1) + 4. ο· If π = 5π + 4 for some integer π, then π2 = 25π2 + 40π + 16 = 5(5π2 + 8π + 3) + 1. In each case, π2 is either 5π + 1 or 5π + 4 for some integer π. β The next proposition is a somewhat surprising fact about prime numbers, which mostly do not follow any convenient patterns. Proposition: When we square any prime number greater than 3, the result is always a multiple of 12, plus 1. Proof: Let π₯ be a prime number greater than 3. By Arithmetic Theorem 1, there is an integer π such that π₯ = 6π + π, and π is either 0, 1, 2, 3, 4, or 5. Now, ο· ο· ο· ο· ο· ο· we know that π₯ cannot be 6π, because π₯ is prime. if π₯ = 6π + 1, then π₯ 2 = 36π2 + 12π + 1 = 12(3π2 + π) + 1, which is a multiple of 12, plus 1. π₯ cannot be 6π + 2, because this is 2(3π + 1), which is not prime. π₯ cannot be 6π + 3, because this is 3(2π + 1), which is not prime. π₯ cannot be 6π + 4, because this is 2(3π + 2), which is not prime. if π₯ = 6π + 5, then π₯ 2 = 36π2 + 60π + 25 = 12(3π2 + 5π + 2) + 1, which is a multiple of 12, plus 1. In the only possible cases, it turns out that π₯ 2 is always a multiple of 12, plus 1. β In trying to prove the proposition above, because the statement is related to multiples of 12, it would be a natural first instinct to write a proof with 12 cases: π₯ = 12π + π, with π as either 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, or 11. In fact, the proof can be written this way successfully, and it would not be a bad idea to try writing that version of the proof yourself. It requires a little extra insight to see that a shorter proof can be written successfully with only 6 cases. Week 7 Page 4 A proof of this form, involving several cases, is often called a βproof by exhaustion.β Proposition: There are infinitely many prime numbers. Proof: Suppose there are a finite number of primes. Let π be the product of all these prime numbers. Consider the natural number π + 1, which is clearly larger than 1. For any prime number π, this number π + 1 can be written as π β (product of the other primes) + 1, which means that π + 1 cannot be a multiple of π, because of the uniqueness part of Theorem 1. But if π + 1 is not a multiple of any of the prime numbers, it contradicts Theorem 2. So there are infinitely many prime numbers. β Proposition: If the product of two natural numbers is a multiple of a prime, then one of those two natural numbers must be a multiple of that prime. Proof: Let π be prime and π and π be natural numbers, and suppose π β π is a multiple of π. This means that π β π = π β π for some natural number π. We consider three cases: π = 0, π = 1, and π > 1. ο· ο· ο· If π = 0, then π β π = 0, so either π or π must be 0 and therefore a multiple of π. If π = 1, then π β π = π, so since π is prime, either π or π must be equal to 1 and the other must be equal to π. If π > 1, then by Theorem 2, π can be expressed as a product of prime factors. Therefore π β π is the product of π and these factors. So since π β π = π β π, the prime number π is one of the unique prime factors of π β π. Now, π and π can each be written as products of prime factors, so π β π is the product of every prime factor of either π or π. Since the prime factorization of π β π is unique, π must be one of these prime factors of either π or π. In each case, either π or π is a multiple of π. β Exercise 6: Prove that for any integer π₯, if π₯ 2 is a multiple of 3, then π₯ is a multiple of 3. Exercise 7: Use the previous exercise to prove that β3 is irrational. Exercise 8: Prove that if π₯ is an integer greater than 5 and π₯ β 1 and π₯ + 1 are both prime, then π₯ is a multiple of 6. Exercise 9: Prove that no square number ends with the digit 2. Exercise 10: Use Arithmetic Theorem 2 to prove that if π is prime, then βπ is irrational. Exercise 11: Prove Arithmetic Theorem 1. (Hint: the proof will be like a combination of Exercises 1β3, but more general.) Week 7 Page 5 Some Properties of Functions From basic algebra through the most modern ideas of mathematics, functions play a steadily increasing role. Up to at least the early years of college-level mathematics, essentially all functions are concerned only with real numbers β that is, a typical function takes real numbers as βinputβ and gives real numbers as βoutput.β But in general, a function can have any kind of input and any kind of output. The domain of a function is the set of all objects that are allowed to be βplugged intoβ the function. A codomain of a function is a set containing all objects that might be βoutputβ by the function. Example: The function given by the formula π(π₯) = 5 β β2 + π₯ , according to the usual understanding of an algebra student, has domain [β2, β). The interval (ββ, 5] is a codomain of this function. Note that any function with codomain β is known as a real-valued function. These are the functions dealt with throughout grade school and most of college. There is a special notation, used extremely rarely in early mathematics courses but increasingly useful for more modern areas, that is used to designate a function along with its domain and codomain. Definition: We say that π is a function from set π΄ to set π΅ iff π΄ is the domain of π and π΅ is a codomain of π. This is indicated by the notation π: π΄ β π΅. As an example, for the function π mentioned above, we can say that π βΆ [β2, β) β (ββ, 5]. Definition: A function π: π΄ β π΅ is one-to-one iff (βπ β π΄)(βπ β π΄)(π β π β π(π) β π(π)). Definition: A function π: π΄ β π΅ is onto π΅ iff (βπ β π΅)(βπ β π΄)(π(π) = π). Definition: A function π: π΄ β β, with π΄ β β, is increasing iff (βπ β π΄)(βπ β π΄)(π < π β π(π) < π(π)). Definition: A function π: π΄ β β, with π΄ β β, is decreasing iff (βπ β π΄)(βπ β π΄)(π < π β π(π) > π(π)). Exercise 12: Prove that the function π, given before, is one-to-one. Exercise 13: Prove that the function π, given before, is onto (ββ, 5]. Exercise 14: Prove that the function π, given before, is decreasing. Week 7 Page 6 Exercise 15: Prove that the typical algebra function given by the formula π(π₯) = π₯ 2 + 5 (a) β¦ is not one-to-one. (b) β¦ is not onto β. (c) β¦ is not increasing. (d) β¦ is not decreasing. Exercise 16: Prove that if π βΆ β β β is increasing and β βΆ π΄ β β is decreasing, then the function given by π(β(π₯)) is decreasing and one-to-one.