Skip to content →

Tag: mac

the taxicab curve

(After-math of last week’s second year lecture on elliptic
curves.)

We all know the story of Ramanujan and the taxicab, immortalized by Hardy

“I remember once going to see him when he was lying ill at Putney. I had ridden in taxicab no. 1729 and remarked that the number seemed to me rather a dull one, and that I hoped it was not an unfavorable omen. ‘No,’ he replied, ‘it’s a very interesting number; it is the smallest number expressible as a sum of two cubes in two different ways’.”

When I was ten, I wanted to become an archeologist and even today I can get pretty worked-up about historical facts. So, when I was re-telling this story last week I just had to find out things like :

the type of taxicab and how numbers were displayed on them and, related to this, exactly when and where did this happen, etc. etc. Half an hour free-surfing further I know a bit more than I wanted.

Let’s start with the date of this taxicab-ride, even the year changes from source to source, from 1917 in the dullness of 1729 (arguing that Hardy could never have made this claim as 1729 is among other things the third Carmichael Number, i.e., a pseudoprime relative to EVERY base) to ‘late in WW-1’ here

Between 1917 and his return to India on march 13th 1919, Ramanujan was in and out a number of hospitals and nursing homes. Here’s an attempt to summarize these dates&places (based on the excellent paper Ramanujan’s Illness by D.A.B. Young).

(may 1917 -september 20th 1917) : Nursing Hostel, Thompson’s Lane in Cambridge.
(first 2 a 3 weeks of october 1917) : Mendip Hills Senatorium, near Wells in Somerset. (november 1917) : Matlock House Senatorium atMatlock in Derbyshire.
(june 1918 – november 1918) : Fitzroy House, a hospital in Fitzroy square in central London. (december 1918 – march 1919) : Colinette House, a private nursing home in Putney, south-west London. So, “he was lying ill at Putney” must have meant that Ramanujan was at Colinette House which was located 2, Colinette Road and a quick look with Google Earth

shows that the The British Society for the History of Mathematics Gazetteer is correct in asserting that “The house is no longer used as a nursing home and its name has vanished” as well as.”

“It was in 1919 (possibly January), when Hardy made the famous visit in the taxicab numbered 1729.”

Hence, we are looking for a London-cab early 1919. Fortunately, the London Vintage Taxi Association has a website including a taxi history page.

“At the outbreak of the First World War there was just one make available to buy, the Unic. The First World War devastated the taxi trade.
Production of the Unic ceased for the duration as the company turned to producing munitions. The majority of younger cabmen were called up to fight and those that remained had to drive worn-out cabs.
By 1918 these remnant vehicles were sold at highly inflated prices, often beyond the pockets of the returning servicemen, and the trade deteriorated.”

As the first post-war taxicab type was introduced in 1919 (which became known as the ‘Rolls-Royce of cabs’) more than likely the taxicab Hardy took was a Unic,

and the number 1729 was not a taxicab-number but part of its license plate. I still dont know whether there actually was a 1729-taxicab around at the time, but let us return to mathematics.

Clearly, my purpose to re-tell the story in class was to illustrate the use of addition on an elliptic curve as a mean to construct more rational solutions to the equation $x^3+y^3 = 1729 $ starting from the Ramanujan-points (the two solutions he was referring to) : P=(1,12) and Q=(9,10). Because the symmetry between x and y, the (real part of) curve looks like

and if we take 0 to be the point at infinity corresponding to the asymptotic line, the negative of a point is just reflexion along the main diagonal. The geometric picture of addition of points on the curve is then summarized
in

and sure enough we found the points $P+Q=(\frac{453}{26},-\frac{397}{26})$ and $(\frac{2472830}{187953},-\frac{1538423}{187953}) $ and so on by hand, but afterwards I had the nagging feeling that a lot more could have been said about this example. Oh, if Im allowed another historical side remark :

I learned of this example from the excellent book by Alf Van der Poorten Notes on Fermat’s last theorem page 56-57.

Alf acknowledges that he borrowed this material from a lecture by Frits Beukers ‘Oefeningen rond Fermat’ at the National Fermat Day in Utrecht, November 6th 1993.

Perhaps a more accurate reference might be the paper Taxicabs and sums of two cubes by Joseph Silverman which appeared in the april 1993 issue of The American Mathematical Monthly.

The above drawings and some material to follow is taken from that paper (which I didnt know last week). I could have proved that the Ramanujan points (and their reflexions) are the ONLY integer points on $x^3+y^3=1729 $.

In fact, Silverman gives a nice argument that there can only be finitely many integer points on any curve $x^3+y^3=A $ with $A \in \mathbb{Z} $ using the decomposition $x^3+y^3=(x+y)(x^2-xy+y^2) $.

So, take any factorization A=B.C and let $B=x+y $ and $C=x^2-xy+y^2 $, then substituting $y=B-x $ in the second one obtains that x must be an integer solution to the equation $3x^2-3Bx+(B^2-C)=0 $.

Hence, any of the finite number of factorizations of A gives at most two x-values (each giving one y-value). Checking this for A=1729=7.13.19 one observes that the only possibilities giving a square discriminant of the quadratic equation are those where $B=13, C=133 $ and $B=19, C=91 $ leading exactly to the Ramanujan points and their reflexions!

Sure, I mentioned in class the Mordell-Weil theorem stating that the group of rational solutions of an elliptic curve is always finitely generated, but wouldnt it be fun to determine the actual group in this example?

Surely, someone must have worked this out. Indeed, I did find a posting to sci.math.numberthy by Robert L. Ward : (in fact, there is a nice page on elliptic curves made from clippings to this newsgroup).

The Mordell-Weil group of the taxicab-curve is isomorphic to $\mathbb{Z} \oplus \mathbb{Z} $ and the only difference with Robert Wards posting was that I found besides his generator

$P=(273,409) $ (corresponding to the Ramanujan point (9,10)) as a second generator the point
$Q=(1729,71753) $ (note again the appearance of 1729…) corresponding to the rational solution $( -\frac{37}{3},\frac{46}{3}) $ on the taxicab-curve.

Clearly, there are several sets of generators (in fact that’s what $GL_2(\mathbb{Z}) $ is all about) and as our first generators were the same all I needed to see was that the point corresponding to the second Ramanujan point (399,6583) was of the form $\pm Q + a P $ for some integer a. Points and their addition is also easy to do with sage :

sage: P=T([273,409])
sage: Q=T([1729,71753])
sage: -P-Q
(399 : 6583 : 1)

and we see that the second Ramanujan point is indeed of the required form!

Leave a Comment

mathML versus LaTeXRender

No math
today. If you’re interested in the latest on noncommutative geometry,
head over to the NCG-blog where Alain Connes has a post on
Time.
Still, Alain’s post is a good illustration of what Ill be rambling about
TeX and how to use it in a blog.

If you’re running a math-blog,
sooner or later you want to say something more than new-age speak like
‘points talking to each other’ and get to the essence of it. In short,
you want to talk math and it’s a regrettable fact that math doesnt go
well with ASCII. In everyday life we found a way around this : we all
use TeX to write papers and even email-wise (among mathematicians) we
write plain TeX-commands as this language is more common to us than
English. But, plain TeX and the blogosphere don’t mix well. If you’re
expecting only professional mathematicians to read what you write, you
might as well arXiv your thoughts. Im convinced the majority of people
coming here (for whatever reason) dont speak plain-TeX. Fortunately,
there is technology to display TeX-symbols on a blog. Personally, I was
an early adapter to
LaTeXRender and even today a
fair share of page-views relates to the few
posts I did on
how to get latexrender working on a mac. Some time ago I
switched to mathML and now I’m
regretting I ever did…

Mind you, I’m convinced that mathML is the
‘proper’ way to get TeX to the internet but there are at the moment some
serious drawbacks. For starters, it is highly user-unfriendly. You
simply cannot expect people to switch browsers (as well as installing
extra fonts) just because they come to your site (or you have to be a
pretty arrogant git). Speaking for myself, Im still having (against my
better judgment) Safari as my default browser, so when I come to a site
like the n-category cafe I just
skim the plain-text in between and if (and only if) the topic interests
me tremendously I’ll allow myself to switch to Flock or Firefox to read
the post in detail. I’m convinced most of you have a similar
surfing-attitude. MathML also has serious consequences on the
server-side. If you want to serve mathML you have to emit headers which
expect everything to follow to be purified XHTML. If I ever forget a
closing tag in a post, this is enough to break down NeverEndingBooks to
all Firefox-users. I’ve been writing HTML since the times when the best
browser around was something called NCSA Mosaic so Ive a
pretty lax attitude to end-tags (especially in IMG-tags) and Im just
getting too old to change these bad habbits now… It seems I’m not the
only one. Many developers of WordPress-plugins write bad XHTML-code, so
the last couple of weeks I’ve been spending more time fixing up code
than writing posts. If you want to run a mathML-wordpress site you might
find the following hints helpfull. If you get a ‘yellow screen of
death’ when viewing your site with Firefox, chances are that one of your
plugin-authors missed a closing tag in the HTML-rendering of his/her
plugin. As a rule of thumb : go for the IMG-tags first! I’m sorry to
say, but Latexrender-Steve
is among the XHTML-offenders. (On a marginal note, LaTeXrender also has
its drawbacks : to mathematicians this may seem incredible but what
Latexrender does to get one expression displayed is to TeX an entire
file, get the image from the ps-file turn it into a gif and display it,
so one gets a GIF-folder of enrmous proportions. Hence, use Latexrender
only if you have your own server and dont have to care about memory
constraints. Another disadvantedge was that the GIFs were displayed with
a vertical offset, but this has been solved recently (use the ‘offset
beta’ files in the distribution)). Wrt. to that offset-beta version, use
this latex.php file instead (I
changed the IMG-line). Some plugins may not serve the correct headers
to display mathML. So, if you want to allow readers to have a
printer-friendly version of your mathML-post, get the WP-print plugin BUT
change to this wp-print.php file in order to
send the proper headers. Sometimes there are just forgotten lines/tags
in the code, such as in the [future calendar plugin](http://anthologyoi.com/wordpress/plugins/future-posts-calendar-
plugin.html). So, please use this version
of the future.calendar.php file. And so on, and so on. The joys of
trying to maintain a mathML-based blog… So, no surprise I’m seriously
considering to ditch mathML and change to normal headers soon. One of
the things I like about LaTeXRender is that it can be extended, meaning
that you can get your own definitions and packages loaded whereas with
mathML you’re bound to write iTeX, which Ill never manage. But, again,
mathML will be the correct technology once all major browsers are mathML
capable and the font-problem is resolved. Does anyone know whether
Safari 3 (in Leopard, that is Mac OS 10.5 to the rest of you) will be
mathML-able?

Leave a Comment

bookmarks tuesday cleanup


Geeky Mom : Why am I blogging?
. Been there before. Sooner or later
all non-pseudonomenous bloggers are faced with the same dilemmas.
There’s really no answer or advice to give except : blog when you feel
like it, if not do something different, after all its just one of those
billion of blogs around.

Texmaker : another
LaTeX-frontend, possibly having a few extras such as : a structure-pane
including labels you gave to formulas, theorems etc. (click on them
brings you to them). Intend to use it now as I’m in another rewrite of
the never-ending-book..

Microformats : “Designed for
humans first and machines second, microformats are a set of simple, open
data formats built upon existing and widely adopted standards.” May
have another look.

Quicksilver : a recurring
link. At times when I feel learning key-strokes may save me a lot of
time I have (another) go at Quicksilver. Last week, Ive reinstalled this
blog more or less post by post and used keystrokes to send a line in the
SQL-file of the database dump of NEB as a clipping to Scrivener to
MultiMarkdown it further. I used the app Service Scrubber
to define my own key-strokes. Must have another go at Quicksilver soon.
Im sure it distinguishes โ€š”power mac users” from the rest of
us.


List of GTDTools
: a good list of GTD-software. I’m probably just
too chaotic for GTD to improve my workflow but somehow I cannot resist
trying some of these things out.

LifeDEV : One of those sites that tells
me I should take GTD more seriously

DoIt : One of
these GTD-tools. It is said to go well with Quicksilver, so maybe, one
day.

Think
: Here a little seemingly completely useless tool which works well (at
least for me). No, it does not make you think, but at least it helps you
while you are thinking (or doing anything a bit focussed). Install it
and enjoy! The principle is that it just blocks out all other open
windows (and there are keystrokes (yes, again) to get you quickly in
and out.) Besides, it looks great. It’s in my dock and this says it
all

Thinkature :
a brainstorming tool. Dont know why I did bookmark this. Perhaps one
day, a few years from now

Stafford Talk :
a talk by Toby Stafford I came across by accident. Maybe there are other
interesting talks on the site?

Science Scouts : a great
idea! Give yourself badges for how well you do science (or talk/write
about science). Have to collect my badges soon. I’m sure this only
works for people with a scouting-history, but who
knows?

MacResearch : Here’s a site
that may become useful. MacResearch.org is an open and independent
community for scientists using Mac OS X and related hardware in their
research. It is the mission of this site to cultivate a knowledgeable
and vibrant community of researchers to exchange ideas and information,
and collectively escalate the prominence of Apple technologies in the
scientific research community. They have some interesting articles
and tutorials on e.g. DevonThink and BibDesk etc. Worth to
revisit.

Jennifer in love : wellโ€š should I say something about this?
probably best not.


Breakthrough CLI
: another pamphlet in favor of the Command Line! A
must read for those who perfer GUIs to CLIs.

<

p>CLI – the
site
: Rod is working hard on CLI-20. Whenever he releases version
2.0, neverendingbooks will be among the first sites to run it. I still
love the idea.

Why do I bother? : an n-category post I got briefly interested in,
but was somehow flooded by professional
math-philosophers

Newton Legacy Reviewed : just that, a first review
on the next bookmark.

the Newton
Legacy
: a free online book, a murder mystery with a physics touch.
Perhaps this is the best investment of time/energy : write a popular
science book rather than another paper. Read half way through it (sorry
but not the best prose Ive read so far), may continue but was held up
reading a (real) murder mystery Equinox featuring also Newton and
alchemy (must be in the air somehow), also not the best mystery read
so far

Stalking with Googleearth
: no comment

(to be continued)

Leave a Comment