Hit Counter

Showing posts with label tech. Show all posts
Showing posts with label tech. Show all posts

18 Mar 2010

Guest Post #5: Discovery Of A Mathematician Wannabe

I am excited. This is my first geek-blog (for want of a better term, my apologies). I have always wanted to write something technical but try as I may, words elude me when I sit down to it. Unwillingly, I have had to acknowledge the tag given to me by the men in my family (sigh): technically-challenged.

It is not very hard for me to live up to the tag. So, when Ramana sent me his post this morning, I had been looking forward to it, albeit a bit anxious. I only had to open it to jump up in excitement. Mathematics! I almost clapped my hands with glee. It used to be my favourite subject in school, along with Literature.

The guest posts just keep getting better and better...

A few minor problems from number theory keep me awake in the nights from time to time. Roughly a month ago, for the price of a good night sleep, one of those nights of mental fecundity granted me an insight into the closed form equation for Fibonacci numbers. When Sangeetha asked me to write for her blog, I enthusiastically welcomed the opportunity since I meant to write about my insight for a while and I did not do so.

Fibonacci numbers, since I can grasp them even with my undernourished mathematical faculties, fascinate me days on end. In fact, I wrote a post on Fibonacci numbers more than one year ago at http://ramana.posterous.com/generalized-fibonacci-sequence. For any problem, depending on the dimension, there can be several generalizations! This time, my attention is the closed form expression for Fibonacci numbers also known as Binet's Fibonacci number formula. Of course, I did not know who Binet was until yesterday. In any event, in order to find out Nth term of Fibonacci sequence, we have the following formula:

F(N) = ((1+sqrt(5))^N - (1-sqrt(5))^N)/(2^Nsqrt(5))

The above formula amazed me for many years since I did not know much about "Linear Recurrence Equation" (http://mathworld.wolfram.com/LinearRecurrenceEquation.html). Yes, I would love to become a mathematician and that too in number theory without knowing Linear Recurrence Equation and Binet's work.

Let us get back to the above equation and the night of pure ecstasy. I expanded the above formula for a few values of N. I recalled the following fact about binomial expansion:

(a+b)^N - (a-b)^N = 2(N c 1)a^(N-1)b + 2(N c 3)a^(N-3)b^3 + ...

As you could see in the above, the powers of b are odd numbers. In our closed formula for Fibonacci, a equals 1 and b equals sqrt(5). Since the powers of b (sqrt(5)) are odd, we can get rid of one of sqrt(5) with the one in the denominator. Even powers of sqrt(5) result in nice integers. I was extremely delighted to note this. Of course, simple minds and simple pleasures. Then, it occurred to me why we cannot change the value of b in the closed formula. That is what I did next. I substituted sqrt(7) for sqrt(5). I ended up getting the following sequence:

1, 1, 2.5, 4, 7.75, 13.75, ...

If you examine the above for a few seconds, it will reveal its recurrence relation:

g(N) = g(N-1) + 1.5g(N-2)

From the above result, as you can easily surmise, I was totally ecstatic. Then, I tried sqrt(9) equal to 3. I got:

1, 1, 3, 5, 11, 21, 43, 85, 171, ...

The relation is:

h(N) = h(n-1) + 2h(n-2)

Now, it is time to mess with the value of a. Until now, it has been 1. I increased it 2 and I still kept b at 3. I got:

1, 2, 5.25, 13, 32.5625, ...

The relation is:

j(N) = 2j(N-1) + 1.25j(N-2)

The above results are the ones that I wanted to post in this entry. Since it is Sangeetha's blog, I decided to check a couple of web sites before posting. Unfortunately, I discovered this page http://mathworld.wolfram.com/FibonacciNumber.html. The cases that I was discussing above are straight from the following equation:

X^2 - aX - b = 0

The moral of the story comes in a twin-pack:
1. You cannot aspire to be a mathematician and accomplish "original" discoveries without studying even the basics.
2. At the same time, there is no shame in exploring mathematical world even with limited knowledge. As long as you do not expect and ask for huge rewards for your investigations, you can have a lot of fun. In addition to that, the discoveries that you make are undoubtedly original for you if not for the rest of the world.

Literature stayed with me in the form of the books I read, this blog, emails I write everyday, more recently Twitter, et al. Somewhere along the road, I had left Math behind. I can't wait to start clicking on those links!

1 Feb 2010

iPad - My View

There's a fair deal of discussions on Apple's new iPad. After ranting about it on Twitter for a bit, I've decided to move my tuppence worth of opinion to my blog. I'm known to be technically challenged, so this is my 'layman version' of a review, from a layman (woman) who has not seen or touched the iPad (no pun intended).

Frankly, I've seen more of a negative response to Steve Jobs' new gadget, than excitement. I can see why. Touted as a go-between of the Apple Mac and iPhone, I'd have expected it to have some of the best features of both. Days after it's launch, it's still not clear whether it was meant to be a computer or a phone... or just a reader. Brilliant!

It's definitely not a phone. You cannot make calls, cannot SMS (sending text messages via Gtalk or Yahoo does not count - by the way, does iPad allow that) and do all those 'phone'y things. So, it must be a computer.

Ok, let us see.

Cannot multi-task. Whoa whoa whoa!! I love my Nokia 5800 series. I can talk to my friend (speaker-phone), while I send a text to someone, while an email loads in the background. So, the iPhone does not have the provision but wait, the iPad is supposed to better than an iPhone, yeah? Like an engadget review said, "All this power and very little you can do with it at once."

Does not have a USB drive. I need to connect to a PC to download music, photographs. Wait! If the USP of the iPad was the big screen (compared to an iPhone) for better reading, photographs, music, etc, should it not atleast have a provision to download all of these?

No CD drive. Hmm. I can watch videos and listen to music but I need a computer to get them first. I need a PC to even convert my music to a format the iPad will play back for me.

If I need to connect to a PC for everything, why do I need an iPad? It's definitely not compact, so don't try telling me that I can transfer my stuff into the iPad and carry it around.

good e-book reader, bigger screen, better reading. How about I just plug my computer to a large screen LCD TV, lie in bed with a mug of hot chocolate and read? I like that better. An even bigger screen, even better reading! Alright, alright, it feels like a real book. Still, not enough. I'm a real book reader any day, so I wouldn't want to buy this one, just for the 'real' experience.

Does not support Flash. Somebody's blog I read explains that this was probably intentionally left out and that SJ would come up with a buy-your-pictures-from-the-iStore idea like the iTunes. Until then, what? Did I mention I like free pictures?

No iChat. No comments. But the iPhone has... ok, ok, no comments.

What did I forget? Oh yeah. No camera. Really? Why? The cheapest mobile phones come with a basic camera these days. Laptops don't advertise webcams as a special feature anymore - atleast not as a selling feature - it's just got to be there!

I don't buy that iPad is a hero just because there are customers lined up in front of their stores. Like another fellow-blogger indicated, it appears to be a case of Apple fans shelling out upwards of $500 dollars just so they can say they were one of the first to own one.

It's thin but guess what? Not light. It's tilt response is good. Guess what? My Nokia 5800... Okay, I won't go there again.

All said and done, it's probably not the world's worst bet. I mean, there are some nice things being said about it (even though I can't see it or be convinced). It costs $500 and above. If people are still buying it, either they are excessively rich or see something in it (Tell me! Tell me what you see and please don't say big screen).

If you are planning to buy an iPad and can't decide, here's my verdict. Don't buy it. Just give me the money. I promise you it's money better spent ;-)