MCGILL UNIVERSITY SEPTEMBER 21, 2007 COPYRIGHT © 2007 MICHAEL I. SHAMOS Surprises in Experimental Mathematics Michael I. Shamos School of Computer Science.

Slides:



Advertisements
Similar presentations
5.1 Real Vector Spaces.
Advertisements

Copyright © Cengage Learning. All rights reserved. CHAPTER 5 SEQUENCES, MATHEMATICAL INDUCTION, AND RECURSION SEQUENCES, MATHEMATICAL INDUCTION, AND RECURSION.
Copyright © Cengage Learning. All rights reserved.
Copyright © Cengage Learning. All rights reserved. CHAPTER 5 SEQUENCES, MATHEMATICAL INDUCTION, AND RECURSION SEQUENCES, MATHEMATICAL INDUCTION, AND RECURSION.
Elementary Number Theory and Methods of Proof
INFINITE SEQUENCES AND SERIES
1 The RSA Algorithm Supplementary Notes Prepared by Raymond Wong Presented by Raymond Wong.
Complexity1 Pratt’s Theorem Proved. Complexity2 Introduction So far, we’ve reduced proving PRIMES  NP to proving a number theory claim. This is our next.
Ch 7.3: Systems of Linear Equations, Linear Independence, Eigenvalues
13. The Weak Law and the Strong Law of Large Numbers
7 INVERSE FUNCTIONS. The common theme that links the functions of this chapter is:  They occur as pairs of inverse functions. INVERSE FUNCTIONS.
Matrix Algebra THE INVERSE OF A MATRIX © 2012 Pearson Education, Inc.
Copyright © Cengage Learning. All rights reserved.
Copyright © 2007 Pearson Education, Inc. Slide 8-1.
Copyright © Cengage Learning. All rights reserved.
Copyright © Cengage Learning. All rights reserved. CHAPTER 11 ANALYSIS OF ALGORITHM EFFICIENCY ANALYSIS OF ALGORITHM EFFICIENCY.
Section 5.1 Number Theory.
Advanced Counting Techniques
College Algebra Sixth Edition James Stewart Lothar Redlin Saleem Watson.
Calculus and Analytic Geometry II Cloud County Community College Spring, 2011 Instructor: Timothy L. Warkentin.
Hadamard matrices and the hadamard conjecture
Chapter 1 Probability and Distributions Math 6203 Fall 2009 Instructor: Ayona Chatterjee.
Systems of Linear Equation and Matrices
Diophantine Approximation and Basis Reduction
Functions and Models 1. Exponential Functions 1.5.
Mathematics Review Exponents Logarithms Series Modular arithmetic Proofs.
Chapter 8. Section 8. 1 Section Summary Introduction Modeling with Recurrence Relations Fibonacci Numbers The Tower of Hanoi Counting Problems Algorithms.
College Algebra Fifth Edition James Stewart Lothar Redlin Saleem Watson.
The importance of sequences and infinite series in calculus stems from Newton’s idea of representing functions as sums of infinite series.  For instance,
Functions of Random Variables. Methods for determining the distribution of functions of Random Variables 1.Distribution function method 2.Moment generating.
The Gaussian (Normal) Distribution: More Details & Some Applications.
PROBABILITY AND STATISTICS FOR ENGINEERING Hossein Sameti Department of Computer Engineering Sharif University of Technology The Weak Law and the Strong.
CSE 20: Discrete Mathematics for Computer Science Prof. Shachar Lovett.
The Integers. The Division Algorithms A high-school question: Compute 58/17. We can write 58 as 58 = 3 (17) + 7 This forms illustrates the answer: “3.
Copyright © 2013, 2009, 2005 Pearson Education, Inc. 1 3 Polynomial and Rational Functions Copyright © 2013, 2009, 2005 Pearson Education, Inc.
11.2 Series In this section, we will learn about: Various types of series. INFINITE SEQUENCES AND SERIES.
Mathematical Induction I Lecture 4: Sep 16. This Lecture Last time we have discussed different proof techniques. This time we will focus on probably the.
Week 21 Conditional Probability Idea – have performed a chance experiment but don’t know the outcome (ω), but have some partial information (event A) about.
Section 2.3 Properties of Solution Sets
Elementary Linear Algebra Anton & Rorres, 9 th Edition Lecture Set – 07 Chapter 7: Eigenvalues, Eigenvectors.
Copyright © Cengage Learning. All rights reserved. 1 Functions and Models.
(Finite) Mathematical Induction In our first lesson on sequences and series, you were told that How can we be certain that this will be true for all counting.
Review of Probability. Important Topics 1 Random Variables and Probability Distributions 2 Expected Values, Mean, and Variance 3 Two Random Variables.
Matrices and Determinants
Copyright © Cengage Learning. All rights reserved. Sequences and Series.
Chapter 6 Large Random Samples Weiqi Luo ( 骆伟祺 ) School of Data & Computer Science Sun Yat-Sen University :
Representations of Functions as Power Series INFINITE SEQUENCES AND SERIES In this section, we will learn: How to represent certain functions as sums of.
Section 1.8. Proof by Cases Example: Let b = max{a, b} = a if a ≥ b, otherwise b = max{a, b} = b. Show that for all real numbers a, b, c
Math for CS Fourier Transform
Chapter 3 The Fundamentals: Algorithms, the integers, and matrices Section 3.4: The integers and division Number theory: the part of mathematics involving.
What is Mathematics? The science (or art?) that deals with numbers, quantities, shapes, patterns and measurement An abstract symbolic communication system.
Unit-III Algebraic Structures
Direct Proof and Counterexample III: Divisibility
Section 4.1 Eigenvalues and Eigenvectors
Great Theoretical Ideas In Computer Science
Sequences and Series of Functions
7 INVERSE FUNCTIONS.
Gaussian (Normal) Distribution
Systems of First Order Linear Equations
Trigonometric Identities
Gaussian (Normal) Distribution
Copyright © Cengage Learning. All rights reserved.
13. The Weak Law and the Strong Law of Large Numbers
Algebraic Structures: Group Theory
Chapter 11: Further Topics in Algebra
Copyright © Cengage Learning. All rights reserved.
DETERMINANT MATH 80 - Linear Algebra.
Copyright © Cengage Learning. All rights reserved.
Matrix Algebra THE INVERSE OF A MATRIX © 2012 Pearson Education, Inc.
13. The Weak Law and the Strong Law of Large Numbers
Presentation transcript:

MCGILL UNIVERSITY SEPTEMBER 21, 2007 COPYRIGHT © 2007 MICHAEL I. SHAMOS Surprises in Experimental Mathematics Michael I. Shamos School of Computer Science Carnegie Mellon University

MCGILL UNIVERSITY SEPTEMBER 21, 2007 COPYRIGHT © 2007 MICHAEL I. SHAMOS Mathematical Discovery Where do theorems come from? Theorem easy to conjecture, proof is hard –Fermat’s last theorem, four-color theorem Theorem surprising, but results from a logical investigation –Fundamental theorem of algebra Theorem difficult to invent, straightforward to prove –Hadamard three-circles theorem –Where do these come from?

MCGILL UNIVERSITY SEPTEMBER 21, 2007 COPYRIGHT © 2007 MICHAEL I. SHAMOS Hadamard Three-Circles Theorem If f(z) is holomorphic (complex differentiable) on the annulus centered at the origin and then a b r How was this theorem ever conjectured?

MCGILL UNIVERSITY SEPTEMBER 21, 2007 COPYRIGHT © 2007 MICHAEL I. SHAMOS Outline The problem –Closed-form expression for The approach –Build a catalog of real-valued expressions indexed by first 20 digits –Equivalent expressions will “collide” –Look up The discoveries –The Partial Sum Theorem –Overcounting functions –How many ways can n be expressed as an integer power k j ? –Expression for –...

MCGILL UNIVERSITY SEPTEMBER 21, 2007 COPYRIGHT © 2007 MICHAEL I. SHAMOS The Problem Closed form expressions for values of the zeta function Euler found an expression for all even values of s: No expression is known for even a single odd value, e.g. is a rational multiple of

MCGILL UNIVERSITY SEPTEMBER 21, 2007 COPYRIGHT © 2007 MICHAEL I. SHAMOS The Catalog Some values of :

MCGILL UNIVERSITY SEPTEMBER 21, 2007 COPYRIGHT © 2007 MICHAEL I. SHAMOS Other Catalogs Sloane’s Encyclopedia of Integer SequencesEncyclopedia –Terrific, but for integer sequences, not reals Plouffe’s InverterInverter –Huge (215 million entries), but not “natural” expressions from actual mathematical work Simon Fraser Inverse Symbolic CalculatorInverse Symbolic Calculator –50 million constants

MCGILL UNIVERSITY SEPTEMBER 21, 2007 COPYRIGHT © 2007 MICHAEL I. SHAMOS Discovery A where is the number of primes  k Is this a coincidence? Why the factor of 2? Is there a general principle at work? –In fact,

MCGILL UNIVERSITY SEPTEMBER 21, 2007 COPYRIGHT © 2007 MICHAEL I. SHAMOS Observation is a partial sum function, i.e., So can be rewritten as: where f and g are “related” More generally, is the partial sum function of the indicator function of the property “primeness”:

MCGILL UNIVERSITY SEPTEMBER 21, 2007 COPYRIGHT © 2007 MICHAEL I. SHAMOS The Partial Sum Theorem Given a sequence S of complex numbers s(k), let be the sequence of partial sums of S. Given a function f, if certain convergence criteria are satisfied, then where (the partial tails of f) is a transform of f independent of s & t PARTIAL SUMS OF s( j ) PARTIAL TAILS OF f ( k ) (New)

MCGILL UNIVERSITY SEPTEMBER 21, 2007 COPYRIGHT © 2007 MICHAEL I. SHAMOS Partial Sum Functions Many sequences are partial sum functions: the harmonic function generalized harmonic function Actually, every sequence is the partial sum function of some other sequence

MCGILL UNIVERSITY SEPTEMBER 21, 2007 COPYRIGHT © 2007 MICHAEL I. SHAMOS Some Partial Sum Transforms

MCGILL UNIVERSITY SEPTEMBER 21, 2007 COPYRIGHT © 2007 MICHAEL I. SHAMOS Some Partial Sum Transforms

MCGILL UNIVERSITY SEPTEMBER 21, 2007 COPYRIGHT © 2007 MICHAEL I. SHAMOS Partial Sum Theorem (Proof) Consider the upper triangular matrix HEADS OF s = t(i) TAILS OF f = g(j) Column sums are Row sums are

MCGILL UNIVERSITY SEPTEMBER 21, 2007 COPYRIGHT © 2007 MICHAEL I. SHAMOS The Convergence Criteria 1.All sums g(k) converge 2. converges; and 3. iff Proof: By Markoff’s theorem on convergence of double series

MCGILL UNIVERSITY SEPTEMBER 21, 2007 COPYRIGHT © 2007 MICHAEL I. SHAMOS Further Applications The number of perfect n th powers  k is The number of positive integers powers of a  k is Therefore, by inspection, * (Old) * * * *

MCGILL UNIVERSITY SEPTEMBER 21, 2007 COPYRIGHT © 2007 MICHAEL I. SHAMOS The Inverse Transform Given g(j), how can we find f(k)? Since g is a sum of f’s, f is the sequence of finite differences of g : Subtracting,

MCGILL UNIVERSITY SEPTEMBER 21, 2007 COPYRIGHT © 2007 MICHAEL I. SHAMOS Some Inverse Transforms

MCGILL UNIVERSITY SEPTEMBER 21, 2007 COPYRIGHT © 2007 MICHAEL I. SHAMOS Some Inverse Transforms

MCGILL UNIVERSITY SEPTEMBER 21, 2007 COPYRIGHT © 2007 MICHAEL I. SHAMOS The Partial Integral Theorem Given a function s(x), let t(y) be the “left integral” of s : Given a function f(y), if certain convergence criteria are satisfied, then where (the right integral of f) is a transform of f independent of s & t LEFT INTEGRAL OF s( x ) RIGHT INTEGRAL OF f ( y ) *

MCGILL UNIVERSITY SEPTEMBER 21, 2007 COPYRIGHT © 2007 MICHAEL I. SHAMOS Example Therefore, Note: if s(x) is a probability density then t(y) is its cumulative distribution function

MCGILL UNIVERSITY SEPTEMBER 21, 2007 COPYRIGHT © 2007 MICHAEL I. SHAMOS Example Consider the special case in which This implies. So

MCGILL UNIVERSITY SEPTEMBER 21, 2007 COPYRIGHT © 2007 MICHAEL I. SHAMOS Example Bessel functionStruve function What about Risch’s theorem? Risch, R. “The Solution of the Problem of Integration in Finite Terms.” Bull. Amer. Math. Soc., 1-76, , Mathematica gives up. Mathematica has no problem

MCGILL UNIVERSITY SEPTEMBER 21, 2007 COPYRIGHT © 2007 MICHAEL I. SHAMOS Discovery B Is there a general principle at work? must exceed, but by how much? –In fact,

MCGILL UNIVERSITY SEPTEMBER 21, 2007 COPYRIGHT © 2007 MICHAEL I. SHAMOS Overcounting Functions 1.Every term of S + occurs at least once in S. 2.In general, S + overcounts S, since some terms of S occur many times in S + 3.If K g (k) is the number of times f(k) is included in S +, then where K g (k) depends only on g and not on f. where ranges over the natural numbers and Let,

MCGILL UNIVERSITY SEPTEMBER 21, 2007 COPYRIGHT © 2007 MICHAEL I. SHAMOS Examples Let g(k, j) = k + j. How many ordered pairs (k, j) of natural numbers give k + j = n? Answer: K k+j (n) = n - 1 Therefore, by inspection,

MCGILL UNIVERSITY SEPTEMBER 21, 2007 COPYRIGHT © 2007 MICHAEL I. SHAMOS Examples Let g(k, j) = k j. How many ordered pairs (k, j) give k j = n? Answer: K kj (n) = d(n), the number of divisors of n. Therefore, by inspection

MCGILL UNIVERSITY SEPTEMBER 21, 2007 COPYRIGHT © 2007 MICHAEL I. SHAMOS Enumerating Non-Trivial Powers Let g(k, j) = k j. How many ordered pairs (k, j) give k j = n? Or, how many ways K(n) can n be expressed as a positive integral power of a positive integer? Let be the prime factorization of n n can be a non-trivial power of an integer > 1 iff G(n) = gcd(e 1, e 2,... ) exceeds 1; otherwise K(n) = 1. Suppose b > 1 divides G(n). Then, where each of the e i /b is a natural number, so n is the b th power of a natural number Suppose c > 1 does not divide G(n). Then at least one of the exponents e i /c is not a natural number and n is not the c th power of a natural number. Therefore, *

MCGILL UNIVERSITY SEPTEMBER 21, 2007 COPYRIGHT © 2007 MICHAEL I. SHAMOS A Remarkable Series Let. Then yields the “overcounting” function (Old) *

MCGILL UNIVERSITY SEPTEMBER 21, 2007 COPYRIGHT © 2007 MICHAEL I. SHAMOS Goldbach’s Theorem In 1729, Christian Goldbach proved that

MCGILL UNIVERSITY SEPTEMBER 21, 2007 COPYRIGHT © 2007 MICHAEL I. SHAMOS Discovery C (Old) What is * *

MCGILL UNIVERSITY SEPTEMBER 21, 2007 COPYRIGHT © 2007 MICHAEL I. SHAMOS Discovery D Since the partial sum function of is, where is the number of distinct prime factors of k *

MCGILL UNIVERSITY SEPTEMBER 21, 2007 COPYRIGHT © 2007 MICHAEL I. SHAMOS Discovery E For c > 1 real and p prime, In particular,

MCGILL UNIVERSITY SEPTEMBER 21, 2007 COPYRIGHT © 2007 MICHAEL I. SHAMOS Results The counting function K max (n) of max(k, j) is 2n-1. So The counting function K lcm (n) of lcm(k, j) is d(n 2 ). So

MCGILL UNIVERSITY SEPTEMBER 21, 2007 COPYRIGHT © 2007 MICHAEL I. SHAMOS The First-Digit Phenomenon Given a random integer, what is the probability that its leading digit is a 1? Answer: depends on the distribution from which k is chosen If k is chosen uniformly in [1, n], then let p(d, n) be the probability that the leading digit of k is d For n = 19 +, 5/9 < p(1,n) <.579; 1/19  p(9,n) < 1/18 For n = 9 +, p(1,n) = 1/9; p(9,n) = 1/9 The “average” is log 10 (1+1/d) {.301,.176,.124,.097,.079,.066,.058,.051,.046}

MCGILL UNIVERSITY SEPTEMBER 21, 2007 COPYRIGHT © 2007 MICHAEL I. SHAMOS Relative Digit Frequency (Benford’s Law) log 10 (1+1/d)

MCGILL UNIVERSITY SEPTEMBER 21, 2007 COPYRIGHT © 2007 MICHAEL I. SHAMOS Relative Digit Frequency

MCGILL UNIVERSITY SEPTEMBER 21, 2007 COPYRIGHT © 2007 MICHAEL I. SHAMOS First-Digit Phenomenon

MCGILL UNIVERSITY SEPTEMBER 21, 2007 COPYRIGHT © 2007 MICHAEL I. SHAMOS Major Ideas For mathematicians: –How to populate the catalog –How to generalize from discoveries For computer scientists: –Use in symbolic manipulation systems For data miners: –How to mine the catalog, i.e. how to find new relations For statisticians: –How to use the fact that where P is the cumulative distribution of density p

MCGILL UNIVERSITY SEPTEMBER 21, 2007 COPYRIGHT © 2007 MICHAEL I. SHAMOS A Parting Philosophy “The object of mathematical rigor is to sanction and legitimize the conquests of intuition, and there was never any other object for it.” Jacques Hadamard (as quoted by Borel in 1928)

MCGILL UNIVERSITY SEPTEMBER 21, 2007 COPYRIGHT © 2007 MICHAEL I. SHAMOS Q A &

Results n! is the nearest integer to

MCGILL UNIVERSITY SEPTEMBER 21, 2007 COPYRIGHT © 2007 MICHAEL I. SHAMOS Hypergometric Functions The are solutions of the hypergeometric differential equation: where

MCGILL UNIVERSITY SEPTEMBER 21, 2007 COPYRIGHT © 2007 MICHAEL I. SHAMOS Partial Sum Theorem (Proof) Consider the upper triangular matrix The sum of row i is The sum of column j is The sum of the row sums equals the sum of the columns sums precisely when the conditions of Markoff’s theorem are satisfied. QED

MCGILL UNIVERSITY SEPTEMBER 21, 2007 COPYRIGHT © 2007 MICHAEL I. SHAMOS Correspondence with Plouffe

MCGILL UNIVERSITY SEPTEMBER 21, 2007 COPYRIGHT © 2007 MICHAEL I. SHAMOS First-Digit Phenomenon SOURCE: SIMON PLOUFFESIMON PLOUFFE

MCGILL UNIVERSITY SEPTEMBER 21, 2007 COPYRIGHT © 2007 MICHAEL I. SHAMOS First Digit Frequency

MCGILL UNIVERSITY SEPTEMBER 21, 2007 COPYRIGHT © 2007 MICHAEL I. SHAMOS Correspondence with Plouffe