Last Saturday Yangzhou Middle School celebrated her 110th anniversary. My connection to the school traces back all the way to my grandparents, who were alumni too. Literally all my family members were educated there; my mother is a high school physics teacher there and my uncle was once the headmaster. Our school unabashedly claims itself among the oldest and most prestigious academies in China, dated back to the Qing dynasty and since then produced numerous members of the National Academy of Science and Ivy League professors, famous writers, high ranked officials including Jiang Zemin and countless entrepreneurs. I was told, since I was young, that I should be part of that proud tradition; that I would grow up to be someone, might as well change the world a bit, the same way my seniors did: score perfectly in the National College Entrance Exam, attend the best universities in China, get a post graduate degree from the ivy league and finally go back to “serve our homeland”. Confucius couldn’t teach otherwise. Studying hard was and still is the only way for a kid in China to distinguish hims/herself from millions of others who probably have around the same ability and similar middle class background.
Read the rest of this entry »
It was a reading project for my knowledge engineering class. I gave a small presentation and wrote a simple report on this topic: please read it here. Nothing is new : elements of the paper are all well-known to the field; I adopted a uniformed and modern approach to my description. My treatment is simplistic – though self-contained – and I hope to expand it to a more detailed introductory tutorial.
I should take no responsibility to make any scientifically sound and statistically rigid argument in this post.
1. Impressionists may have been describing exactly what they have seen. They just forgot to consult their ophthalmologist.
2. Bats compute 3-d model of the world based on Doppler difference in real-time. It is not yet clear how they manage this feat, but considering their tiny brain and the complexity of the computation, nature still demonstrates superior workmanship than human. There seems to be a rich array of researches aiming to unravel this mystery. Click here.
Read the rest of this entry »
The study of fixed points, or more generally invariants under transformation, is one central theme of math and is extensively researched in many fields. According to wikipedia, there are over a hundred fixed point theorems. Here are only a few among numerous others:
- The Banach fixed point theorem, dealing with contraction mapping.
- The Brouwer’s fixed point theorem, dealing with continuous mapping from convex compact sets in Euclidean space to itself. (It can be generalized to Banach space, under the name of Schauder fixed point theorem; or to set-value correspondance, under the name Kakutani fixed point theorem.)
- The Tarski fixed point theorem, dealing with monotone and continuous mapping from a complete lattice to itself. A variant is the Kleene fixed point theorem, dealing with complete partial order.
Arguably the Brouwer’s fixed point theorem is the most known, thanks to John Nash’s brilliant paper (It was almost just a restatement of the theorem; the stroke of genius is to realize that a self-countering point [fixed point] is also a equilibrium point).
To compensate my lack of innovation in this department, I shall present three proofs in one post. We mention briefly first its connection with the intermediate value theorem. There are many analytic proofs too, notably by applying the hairy ball theorem.
Read the rest of this entry »
The post follows Problem Set 1.
Problems
(Jewish Problem)
Find all .
(Jewish Problem)
Prove that given
.
(Putnam 2002)
Let and
the number of non-empty subsets
of
with the property that the average value of elements of S is integer. Prove that
is always even.
(Putnam 2005)
For positive integers and
, let
denote the number of n-tuples
of integers such that
. Prove that
.
(Putnam 2002)
Evaluate
Introduction
The fast inverse square root algorithm is clever: two tricks in one line of code (line 10). Part of the Quake III game (for a detailed discussion of the origin of this algorithm see [4]), the procedure looks like this (slightly censored):
float Q_rsqrt( float number )
{
long i;
float x2, y;
const float threehalfs = 1.5F;
x2 = number * 0.5F;
y = number;
i = * ( long * ) &y; // evil floating point bit level hacking
i = 0x5f3759df - ( i >> 1 ); // what the *beep*?
y = * ( float * ) $ i;
y = y * ( threehalfs - ( x2 * y * y ) ); // 1st iteration
// y = y * ( threehalfs - ( x2 * y * y ) ); // 2nd iteration, this can be removed
return y;
}
One thing you notice in math/computer science is that many things exist independent of a uniform theory (and many insist that there is no uniform theory to speak of). Even without Godel’s paradox, the computing complexity of automated theorem proving (or anyone determined to follow “strictly systematic approach”) is extremely high (for example, first order theory of rational number is decidable; but the time complexity of the decision procedure is
). Plus, the machine proofs are not readable at all. We prefer elegant and clever solutions by humans.
Read the rest of this entry »
Might just turn out to be the worst.
There are too many conventional wisdom in the world. Have you ever encounter a situation when you choose something just because it was “the best thing to do”? About which college to attend? Which profession to choose? Or even whom to marry, what to eat and dress, and how to spend your holiday?
Dude. Life is short, Jobs preached, and don’t waste your time living someone else’s life.
Last post is a gentle introduction of Moire Pattern. In this post we will give a simplistic explanation for Moire Pattern. The post will progress in the following manner: we start by considering a very simple case of vertical gratings followed by a more rigorous treatment. Then we will build a simple model out of it. Finally we’ll try to explain why undersampling will cause Moire.
Read the rest of this entry »
We often hear “aliasing problems” and “anti-aliasing filters” in digital photography. Sampling theorem states that aliasing arises when . The reconstructed waveforms are distorted due to the interference of higher frequencies. (The term ‘aliasing’ comes from the word ‘alias’, meaning that two waveforms become indistinguishable under reconstruction.) But wait! Digital photos are not reconstructed through a band-pass filter — our LCDs are pixelized, not “smoothed”. How could aliasing occur? And perhaps more importantly, can we distinguish the effect of aliasing, if any, without spectrum analyzer?
Read the rest of this entry »
