30 January 2009

Current Book - oPtion$

Now that the UW Applied Mathematics application is turned in I can go back to reading some books. I'm checking out oPtion$: The Secret Life of Steve Jobs, by Fake Steve Jobs (Real Daniel Lyons), at the moment.



Fake Steve Jobs was a blog written by author and former senior editor of Forbes, Dan Lyons. Lyons comically assumes the role of Steve Jobs, CEO of Apple Inc. by playing off of Jobs's elevated ego. In the blog, Lyons wrote about current events at Apple and other tech companies from the perspective of the caricature he created. For a good laugh, I highly suggest browsing some of the entries.

The book centers around a stock options backdating issue that come into light in 2001. This was at the time of the Enron scandal when the federal government was cracking down on various companies for falsifying various earning statements in order to squeeze out some extra cash. From what I know --- which is very little --- Jobs didn't report some of Apple's earnings as income simply out of negligence and therefore didn't suffer huge penalties.

oPtion$ tells this story from the hilarious perspective of Fake Steve. If you like Apple or Fake Steve Jobs or just want a quick, funny read; I suggest checking it out. It begins with the following poem:


sometimes i feel like a great chef

sometimes i feel like a great chef
who had devoted his entire life
to monastic study of the art of cooking
& gathered the finest ingredients
& built the most advanced kitchen
& and prepared the most exquisite meal
so perfect, so delicious, so extraordinary
more astounding than any meal ever created
yet each day i stand in my window
& watch ninety-seven percent of the world
walk past my restaurant
into the mcdonald's
across the street.

- fsj

23 January 2009

Introduction to Number Theory - Part IV

This will be the final installment on primes for my introduction to number theory series. Again, these discussions are motivated by the book Proofs from THE BOOK by Aigner and Ziegler in honors of the late Paul Erdos.

So far we have seen two proofs for the infinitude of primes that use pure number theory and one that uses abstract algebra. We will now top it all off with a proof that uses elementary calculus. To easily understand the proof, we need to know the basics about the following topics:

  • Riemannian Integral Approximations (i.e. Estimating the area under a graph using rectangles.)

  • Geometric Series: $latex \sum_{n=1}^\infty x^n, \text{for} \left| x \right| < 1$

  • The integral of the log function.


Seems surprisingly simple, yes? Let's see exactly how simple in the last proof which I will present here.


Theorem. There are infinitely many prime numbers


Proof. Let's begin by defining the "prime counting" function,

$latex \pi(x) = \#\{ p \leq x : p \in \mathbb{P} \}$


where $latex \mathbb{P} = { p_1, p_2, \ldots }$ is the set of all prime numbers in increasing order. That is, $latex \pi(x)$ is the number of primes less than $latex x$. (Note that we do not assume that there are infinitely many elements of this set. This is exactly what we're trying to prove.) Now, consider the natural logarithm function defined as the area underneath the function $latex f(t) = \frac{1}{t}$.

$latex \log(x) = \int_1^x \frac{1}{t}dt$



Recall from high school calculus that one can use upper and lower step functions to approximate the value of an integral, otherwise called the "rectangle method". One approximation of $latex \log(x)$ would be to draw a rectangle at each integer $latex n < x$, as shown in the picture below.

[[[INSERT AN UPPER STEP FUNCTION PIC]]]

Since the upper step function is always greater than or equal to the actual value of the integral, we have the following inequality for $latex n \leq x < n+1$

$latex \log(x) \leq 1 + \frac{1}{2} + \frac{1}{3} + \cdots + \frac{1}{n}$


$latex .\qquad \qquad \qquad \qquad \quad \leq \sum \frac{1}{m}$

where the sum is over all $latex m \in \mathbb{N}$ such that each prime divisor $latex p$ of $latex m$ is less than $latex x$. Now, since every such $latex m$ can be uniquely written as a product of primes $latex \prod_{p \leq x} p^{k_p}$, this last sum can be written

$latex \prod_{p \in \mathbb{P}, p \leq x} \left( \sum_{k \geq 0} \frac{1}{p^k} \right).$



The inner sum is a geometric series, meaning that $latex \sum \frac{1}{p^k} = \frac{1}{1-\frac{1}{p}}$, and therefore

$latex \log(x) \leq \prod_{p \in \mathbb{P}, p \leq x} \frac{1}{1 - \frac{1}{p}} = \prod_{p \in \mathbb{P}, p \leq x} \frac{p}{p-1} = \prod_{k=1}^{\pi(x)} \frac{p_k}{p_k - 1}.$



Since the $latex k^\text{th}$ prime, $latex p_k$, is greater than or equal to $latex k + 1$ (check for yourself), we have

$latex \frac{p_k}{p_k - 1} = 1 + \frac{1}{p_k - 1} \leq 1 + \frac{1}{k} = \frac{k}{k+1},$



and therefore

$latex \log(x) \leq \prod_{k=1}^{\pi(x)} \frac{k+1}{k} = \pi(x) + 1.$



Since $latex \log(x)$ is unbounded, we conclude that $latex \pi(x)$ is also unbounded as well, thus completing the proof.

$latex \square$



I hope you enjoyed these four beautiful proofs! Be on the lookout for more proofs from THE BOOK. Again, my main reference is "Proofs from THE BOOK (Third Edition)" by Martin Aigner and Gunter M. Ziegler. And if you have a BOOK proof of your own, please post a link below!

22 January 2009

Graduate School Applications

I finally completed my application for the University of Washington Applied Mathematics Ph.D program! Megan helped me put the finishing touches on my personal statement this morning. Although the deadline isn't until February 1st, I wanted to be absolutely sure that they receive it in time.

I'm excited and nervous for the outcome!

17 January 2009

PGP Key - Sending Secure Messages

I just set up my PGP key on my computer. (Again, in fact, since I recently reformatted the hard drive.) You can find the (new) ASCII and binary files on the new page on my blog titled "My PGP Key".

PGP (Pretty Good Privacy) is a well-used computer program that allows people to securely send encrypted messages to a user. This is the way it works: with some personal information, a password, and some entropy on the local computer; a user generates a public key and a private key. The private key is kept secret and is used to decrypt messages that the user received. The public key is used to encrypt messages to send to the user and is usually, well, public information. (For example, I'm posting my public key on this site.) The point is that only the private key can decrypt messages.

The free open-source version of the service, called GPG, is the actually program that I installed and configured. For an interesting look into the intricacies of modern encryption standards check out this page. It's an overview of the primary encryption algorithms, recommended configurations, hash functions, and more.

15 January 2009

Polish Mathematicians and Logicians - Part II

In my next post on the topic, I will list a few more Polish mathematicians and logicians. Here, however, I want to share something that I stumbled across while browsing Wikipedia:


The Scottish Café (Polish: Kawiarnia Szkocka; Ukrainian: Шотла́ндська кав'я́рня, Russian: Шотла́ндское кафе) was the café in Lwów (now Lviv) where, in the 1930s and 1940s, Polish mathematicians from the Lwów School of Mathematics met and spent their afternoons discussing mathematical problems.

Stanislaw Ulam recounts that the tables of the café had marble tops, so they could write in pencil, directly on the table, during their discussions. To avoid the results being lost, and after becoming annoyed with their writing directly on the table tops, Stefan Banach's wife provided the mathematicians with a large notebook, which was used for writing the problems and answers and eventually became known as the Scottish Book. The book—a collection of both solved, unsolved, and even provably unsolvable problems—could be borrowed by any of the guests of the café. Solving any of the mathematical problems was rewarded with often absurd prizes, such as a live goose.

The café is now located at 27, Taras Shevchenko Prospekt.


Poultry as a prize in a Polish math community doesn't come as much of a surprise to me. You can find the entire article here along with links and such.

More Polish mathematicians to come!

14 January 2009

Higher Math for High School Students - A Book

When I was in high school, mathematics seemed to be the only thing that I could do marginally well. In fact, that went as far back as elementary school where upon completing my own daily problem sheet I would walk around the room and help all the other kids with theirs. What a weirdo, that guy.

Cameron Brown, a mathematics teacher at Bellarmine Prep and a good friend, told me during my junior year of a brand new summer mathematics program: the Summer Institute of Mathematics at the University of Washington or SIMUW. I completed the sheet of math problems that came with the application (which were really hard), sent it in, and waited for a response. For some insane reason they decided that I would be talented enough for their program and that summer I spent six weeks learning about research-level mathematics from a surprisingly elementary point of view.

We were exploring problems combinatorics, elliptic curves, abstract algebra (transformations of the plane to be exact), computational mathematics, and many other fascinating topics and were able to make discoveries without the need of a degree in the subject. For someone who was itching to learn something other than more calculus this was a real treat and a true eye-opener to a world of mathematics that couldn't really be taught in the high school classroom; probably due to the ever-increasing need to meet standardized test...standards. That situation is a complicated one that I shouldn't get into, but in my experience as a prospective mathematician I always wanted some high school-level resources to cultivate this interest.

Therefore, I decided to write a book for all of those students out there who are interested in mathematics and would like to learn about totally awesome topics in an interactive and exploratory way. Similar to SIMUW, this book isn't meant to be a substitute for any college-level courses. Rather, I want to expose students to some of the key concepts that underly some of the hot research topics in math and science.

Each "chapter" will focus on a topic: methods of proof, number theory, graph theory, numerical analysis, combinatorics, to name a few. Within each chapter, I see four main sections:

History: A brief discussion of the history of the chapter's topic including short bios on the field's most influential people.
Mathematics: Discussion and proofs of some of the key ideas and concepts of the topic. This section is not intended as a reference style textbook (state theorem, prove theorem, state theorem, prove theorem, ...) but more of a guided exploration with plenty of motivation that will lead the reader to derive the theorems for themselves.
Examples: Here will be some real-world situations that incorporate the mathematics discussed in the previous section. These are meant to be exciting and meaningful to a wide assortment of aspiring scientists. Some computational examples will make use of Sage and Matlab so that students can become exposed to some of the key mathematical tools used in academia and industry.
Exercises: The exercises will primarily be used as a continuation of the theory outlined in the "Mathematics" section. Doing exercises is essential to learning math and motivated students would appreciate and would hopefully be excited about deriving some key ideas themselves. Many proofs of important theorems can be divided into several, easier to solve exercises. (Dummit and Foote's Algebra does an excellent job of this.)

Since I'm a proud supporter of the open-source community, especially after my work on Sage, I plan on releasing this book free of charge and open source under some GNU public license.

If you have any suggestions for topics, structure, or even public licenses then please send me an email or, better yet, post a comment. I look forward to hearing your thoughts and opinions on this project.