Monday, December 30, 2019

Amazing discoveries in Science!



  1.  Electricity and Magnetism are one and the same thing.

 

This was clear from Faraday and Oersted's experiments but was theoretically unified completely by Maxwell's great equations. Now it underlies all of modern electricity generation and hence, modern economy. Still thinking about it, it is amazing. What has Magnetism of Compass, magnets have to do with electric current, light bulbs and so on. This is one of the results which separates a learned man from an illiterate to me.

2. Light is an electromagnetic wave.
Nowadays this looks like a normal thing everyone knows. Still think about it. What has light from sun, moon and candle have to do with electricity or magnetism. 

This was the result which made me realize the beauty of science!

This is science at its most beautiful and pure, elevates one spiritually on to a different plane and no religion or other superstitious nonsense can event match remotely. 
This is again from Great Maxwell who purely by theoretical work and completing his equations purely in terms of mathematical elegance came up with this discovery.

3. E=Mc^2

When I first saw this equation [in high school] I thought it must be a printing mistake as what does light has to do with mass or energy?

When I understood special relativity and implications behind this it was truly amazing. To truly appreciate the beauty of this one should read Einstein's original paper which is very readable even for a non physicist. To start from 2 simple assumptions and to derive something this powerful, well I guess that is genius!

This also has the non-intuitive implication that there is no absolute notion of time or simultaneity which is amazing in its own right!

4. Evolution and natural selection

This shook me to the core when I first learned Darwin's theory in my higher secondary school. This meant we are not "special" and just one among so many animals. When I saw the proof it was hard to deny it with so many things pointing in its way - DNA, common proteins, blood, bones and embryology among so many others. You really have to be an idiot to reject it after being shown the evidence.

But it is one of the foundational results in all of science.



5. Gravity

It is unfair not to include Newton in this list as he pretty much started all of modern physics and quite a bit of mathematics including calculus. His many discoveries are important in so many ways. 
That said the discovery that moon is bound by the same force which breaks one's bones when falling from tree is truly amazing and enlightening!















Saturday, June 6, 2015

Proof - PI is irrational


                                                    [image source: wikipedia]
 Lets assume PI is rational.
Then PI = a/b, a and b are integers.

We also know pi is not an integer as its value lies between 3 and 4.

We know the equation:

e^(i PI) = -1

substituting its rational form:
 e^(i * (a/b)) = -1

raising both sides to bth power.
e^(a i) = (-1) ^b

now there are two cases:

1. b is odd.
in this case e^(a i) = -1
this means cos a = -1
this implies a is an odd multiple of PI. That is PI, 3PI, 5PI etc. As cosx  takes -1 only in these points.
but we know PI is not an integer. so a is not an integer either.

2. b is even
in this case e^(a i) = 1
this means cos a =1
this means a is an even multiple of PI. That is 0, 2 PI, 4 PI etc.
but again 2 PI etc. are not integers. So only option left is a = 0 which would mean PI = 0!

This proves by contradiction that PI is irrational.

Sunday, October 19, 2014

Godel's theorem for layman

In mathematics we use:
  1. a set of assumptions (axioms) and 
  2. use a set of rules for deriving conclusions (inference)
  3. Proofs are statements which are derivable from axioms using these rules.
A system is consistent if we can only prove true statements.  That is we can't prove a statement and its opposite.



For example, we can't prove both 2+2 = 4 and 2+2 != 4 in the system. Only one can be proven.

Now we know we can't prove both. Do we know we can prove the true one in all cases?

Godel theorem says no. In a consistent system, there will always be statements which are true but not provable! Sounds odd, but that's exactly the reason the theorem is puzzling and popular!

              THIS STATEMENT IS NOT PROVABLE


The implication is although mathematicians may be working on things like Fermat's last theorem they may not provable even if they are true. So they may be just wasting time [in some sense] trying to prove it. Of course Fermat's last theorem itself was provable and proved by Andrew Wiles.



Saturday, February 22, 2014

Parking in a narrow parking space in parking lot

                                   courtesy: http://www.aviewfromthecyclepath.com

I had the problem of parking in a spot which has poles for roof support on one side [left] and another car at the other side [right] and space itself was narrow. The opposite side had the cars as well [in the parking lot] and the passage was not very wide to go to the other end and make a 90 degree turn into the space.

My main problem was avoiding scratching or hitting the other car to my side. So I tended to go close to the pole and turn sharply in. I kept scratching my car against the pole.

Suddenly the idea struck me.

Go past the spot and in front of the car to your side. turn in front of the car [of course, it is not possible to do 90 degree turn. If it were possible you may as well do it in front of your own spot] as much as you can and back up in front of your own slot making you turn 90 degrees in front of your own slot. Now you can go straight in.

So the key idea: Turn not in front of your space but past the space in front of the next car and back up till you are perfectly aligned 90 degrees!

Hope this helps someone in same situation!

Sunday, December 15, 2013

Continuum hypothesis for layman


We have at least 2 different kinds of infinities:

1. Integers and all the other countable numbers - That is things you can pair with integers.




For instance pairs: {1, 1}, {1,2} ...

These can be easily paired integers along diagonals:


                            {1   1}     {1 2}    {1 3}

                            {2   1}     {2  2}
                            
                             {3   1}

We can easily pair like so:
1 -> {1 1}
2 -> {1  2}
3 -> {2  1}
4 -> {1  3}
5 -> {2  2}
...

So pairs  [fractions being one of them with equivalence class notion on top] are no 'bigger' than integers.

2. On the other hand real numbers are really bigger than integers!


Courtesy:Wikipedia

There is a nice way to prove this due to George Cantor.

In fact we need to only consider real numbers in {0, 1}

if it is countable, We can write this as:

1-> 0.0000...0
2-> 0.0000...1
   0.0000..2
   ..
   0.9999..9
Now if we go along the diagonal and change 0 to 1 and everything else [1, 2,...9] to 0 we get a number which differs from all these numbers in atleast one position and it is not mappable to an integer!

So real numbers are indeed bigger, in fact way way bigger! In fact they are not even real despite their name!

Now the continuum hypothesis asks whether there is an infinity strictly between integers and reals or reals are the next big infinity. Of course hypothesis claims it is true.
No one has been able to prove or disprove this in more than a century!





Monday, November 25, 2013

How do we know neutrinos exist


I was wondering today why should we postulate neutrinos and make life more complicated than it already is.



This article explains why neutrinos are required and in addition as a bonus explains how they are detected. Apparently it is must for accounting for conservation of energy in beta decay.

Story of the Neutrino


Tuesday, November 12, 2013

Income inequality of US or hail capitalism US style!


This is from wikipedia and made me fall out of my chair!

  1. Top 1% owns 35% of wealth.
  2. Top 5% owns 60% of wealth or 3 out of every 5 dollars.
  3. Bottom 40% owns  just 0.2% of wealth.
  4. Bottom 60% owns just 4% of wealth or 96% is owned by top 40%
Really hail capitalism US style - 60% is poor because they don't try and Big banks/wall street firms will get saved by government if they fail [of course with fat bonuses for their executives].

Saturday, November 2, 2013

Is there an opposite of absolute zero temperature?




That is do we have a highest possible temperature in the universe?

We know we have a lowest possible temperature  [−273.15° Celsius] when all particles of the system have no kinetic energy at all.

I was wondering is there an opposite of absolute zero and looked up in the net.

These two articles discuss this. Apparently it goes to the heart of physics!

Current contender is Planck temperature at
                     32
1.4 x 10 
 
PBS - absolute hot

and

http://en.wikipedia.org/wiki/Absolute_hot



Monday, October 7, 2013

Why a digital computer is just a DFA?


Pedantically speaking of course!

A digital computer is just a Deterministic finite automaton, which of course is equivalent to the complexity [or power] of Regular expressions.



How?

A digital computer just has 2^[memory size] states it can go to. So it is equivalent to a DFA having 2^[memory size] states. So in that sense it is no more powerful than a DFA.

But given that these 2^memory size states are huge, it does approximate a universal Turing Machine!

But to reiterate pedantically speaking it is just a DFA with huge number of states!



Layman definition of P, NP and NP-complete


Here is my layman intuition for these important complexity classes:

1. P

All problems which are solvable in polynomial time.
Sorting for example.

2. NP

All problems which can be verified in polynomial time. That is given an instance of a problem and its 'solution' we can tell in polynomial time whether it is indeed a solution or not.
Integer factorization for example.

3. NP-hard

All problems which are harder than NP or at least as hard as NP. Any thing whose verification is exponential will trivially belong to this. 
For example factorial of n.  Or producing all permutations of n.
[Technical nit - problems have to be decision problems for them to be in P, NP etc. but we will ignore this for now]

4. NP-complete 

 


It is in NP - hard  as in 3) above and this can be reduced to a problem in NP. So in a sense NP-completeness brings down the complexity a notch from NP-hard to NP.
For example, subset sum problem. In general many optimization problems end up here.

 

In layman terms:


P <= NP

P+NP-Complete = NP
 
NP < NP-hard

NP-Complete < NP-hard [this follows from previous inequality]





Largest factored number


I was listening about Quantum computation in Quantum theory - lecture 15.

Suddenly I started wondering what is the biggest number [known publicly] to have been factored. As usual I turned to wikipedia.



This number known as RSA-768 is the hardest known number [having only 2 prime factors also called semiprime].

1 ]=> (* 33478071698956898786044169848212690817704794983713768568912431388982883793878002287614711652531743087737814467999489 36746043666799590428244633799627952632279158164343087642676032283815739666511279233373417143396810270092798736308917)

;Value: 1230186684530117755130494958384962720772853569595334792197322452151726400507263657518745202199786469389956474942774063845925192557326303453731548268507917026122142913461670429214311602221240479274737794080665351419597459856902143413



If we purely go by digit size it is:

 1061
2   - 1 

it is 320 digits!

Saturday, September 28, 2013

Great Perimeter institute physics videos

I found very good set of physics course videos in perimeter institute recorded seminar archive.

I am going through these 2 courses and they are very good and highly recommended.

1.  Advanced General Relativity

This course introduces general relativity at advanced level as the name implies. Prof. Sorkin is very smart and good teacher despite his soft voice!



I enjoyed the explanation of Covariant derivative and Lie derivative in particular. It gave me an intuition in to why covariant derivative is inextricably linked to metric and very intuitive explanation of Lie brackets as the "inability of the parallelograms to close".

2. Quantum Theory

It introduces quantum theory again at an advanced level. Prof. Emerson again is very good teacher and has a good voice as a bonus.



I am only half way through the course so far. I enjoyed the foundation discussions in lecture 7 and more importantly the connection between classical and quantum mechanics in lecture 8. Latter gave an intuition about why jumping of state is not so different from classical probabilistic "state update rule" and surprisingly where they differ is after the measurement we DO NOT see the outcome.
1. In Quantum mechanics coherent superposition is destroyed and it definitely is in one of the eigen states [although we didn't take a look at the actual state!]
2. In classical mechanics "coherent superposition" remains in the sense same probability density function continues to apply.

This was very interesting observation and came us a surprise to me! This point alone was the worth effort I spent in learning these videos.


Saturday, August 31, 2013

Top 10 innovations of 20th century



10. Digital camera


9. ATM



8. Man made satellites and GPS


7. GUI (Graphical User Interface)



6. Refrigerator



5.  Television
Old TV digital picture Frame

 4. Internet


3. Cell Phone


2. Air planes


1. Computer
old school

Honourable mentions:

X-rays, MRI and Ultra sound scans
xray 3


Credit cards:






Saturday, June 1, 2013

How to know if you are educated

How to know if you are educated - that is well-educated. It simply doesn't mean you have a degree in something.

1. You know earth is round. 

It is so simple and obvious, but I don't think many people feel it in their bones. For example, How would you tell a kid that earth is round?

I was taught the example of approaching ship. When it approaches we would see its  bottom part first instead of mast. As I hadn't seen a ship approaching, I had no way of knowing whether it is true. I  could simply accept either statement as true!

One illustration I can think of is you can fly to USA from India in two different directions say through Tokyo or through London. It will be possible only if earth is around.

Another is when it is day in say India it is night in USA. It can't happen if earth is flat. All the earth will get sunlight at same time.

Another is all the satellites rotate the earth and in particular some as geo-synchronous. This makes sense only if earth is round and rotating in its axis.

2. You know earth orbits sun and not the other way around.

It is very hard to get an intuitive feel of this. Particularly because earth hardly seems to be moving [except when there are earthquakes!]. Here you need a good education to help you.

Many people would think that seasons occur because of earth's orbit. No - it is actually because of earth's tilt of 23 degrees. In fact most of the northern hemisphere is farthest from sun in summer.

One way to see this is [if we assume earth is moving] if we were not rotating we will fly away [or towards] from sun and it should get colder over years. So only option left is to orbit. Of course we could be standing still. Why that is not an option with sun around is our point 3)

3. You know Newton's theory of Gravity.

That every thing attracts every thing else [not just girls attract boys or vice versa]. It is the reason we feel pressure on us when sit or stand. That's the reason it hurts when we fall. In fact it is the reason we fall at all.
If earth were to stand still sun would simply attract it and earth would have collided with sun.
Once we understand gravity it is the easiest of all to grasp as we feel it all the time.

4. You know Darwin's theory of evolution by natural selection.

You understand all species once shared a common ancestor and evolved into different species due to natural selection.
This one is hard to swallow because it hurts our pride. We have to come to the realization that we are only special to the extend every other species are special as far as earth is concerned.
But all that shared DNA code, chimpanzee and kangaroo loudly proclaims its truth. We are not well-educated we don't understand evolution.

5. Common courtesy

If we don't have basic respect for people then all our education hasn't really done anything for us after all. It simply didn't have the intended effect - to make us civilized.



Sunday, May 19, 2013

How long does it take to jump from San francisco bridge?

How long does it take to jump from San francisco bridge? That is how long a person would be in free-fall?

Golden gate bridge elevation is 67 meters.

So using high school physics:

 distance = 1/2 g t^2

67 = 1/2 * 9.8 * t^2

This gives in my scheme interpreter for time of 3.7 seconds:

(expt (/ (* 67 2) 9.8) 1/2)

;Value: 3.697765458727081

Speed

What would his speed be at the time of his free-fall experience broken?

 speed = gt

(* 9.8 (expt (/ (* 67 2) 9.8) 1/2))

;Value: 36.2381014955254



That is 36.24 m/s!

or:

(* 3.6 (* 9.8 (expt (/ (* 67 2) 9.8) 1/2)))

;Value: 130.45716538389144

 130 KM per hour or close 81 M/hour - Nasty!

Force

What would be the force?

F = d(MV)/dt

So for a person of 70 KG, assuming the final splash down happens in 1 micro-sec in Newtons:

(/ (* 70 (* 3.6 (* 9.8 (expt (/ (* 67 2) 9.8) 1/2)))) .01)

;Value: 913200.15768724




This is equivalent to 91 TON on top of the person - or close to 45 elephants on Top crushing the bones! Not very nice way to go!



Saturday, May 18, 2013

My reasons for evolution being true

My reasons for evolution being true or should I say for evolution being obvious, at least in hind sight?  In particular, why human beings are just another animal species although with some remarkable abilities, in particular in brain.



1.  Chimpanzee

When we see a Chimpanzee It looks remarkably similar to us. If we are special why do these guys look very similar to us? Just to fool us in to thinking that we are their cousins? In fact, to me these guys are the 'missing' link! Only an idiot can miss the link...




2. DNA

Why do we have the same DNA made up of same 4 bases [Adenine, Thymine, Cytosin, Guanine]? Why didn't we get created through some other genetic code. This makes it look very very obvious that we evolved from same animals [more exactly from our common ancestors].


3. Germs and diseases

We get pretty much the same diseases as other animals from very similar viruses and bacteria. For example, we get swine flu - So pigs and humans have to be quite a bit similar for these viruses to survive in both the species. In fact we are very similar - we are both mammals.




4.  Breast feeding

Both woman and other female animals breast [or udder] feed their young through nipples in very similar ways. It is striking in particular for other primates.






















5. Kangaroo

Why are no Kangaroos to be found in say India, United States or Germany? If every species are specially created there is no particular reason to place all species of Kangaroos in Australia or near by.  Why not place red kangaroo in Australia and Grey one in say India?

Doesn't the geographical distribution of all animals make it very clear, all closely related animals evolved from their common ancestor which happened to be in one particular geographical location. 

Before the invention of air planes, one particular species had to be in close proximity for reproduction and survival. It is another matter, now we have become planetary wide pests like cockroaches or rats.







Friday, February 1, 2013

create shopping list online


Now you can use http://nabrus.com to create your shopping list for free and access it using your mobile from the market.

Its tagline - "create list and see from anywhere in any phone or computer"


Monday, August 27, 2012

Practical Innovations that changed the world!


1. Faraday's discovery of induced current from changing magnetic flux which runs our economy now. Think of a world without electricity - no light, no tv, no laptop and no internet!
2. Graham Bell's invention of Telephone - It totally changed the way we communicate. Precursor to this is Telegram and Cellphone is successor.
3. James Watt's Steam Engine and Trains - it changed the way people move.
4. Wright brothers' invention of air planes - of course, it also changed the way we move.
5. Computers - it changed the way people do work, buy, entertain. All kinds of reservations, shopping and great scientific endeavours like 'curiosity'.
6. Ability to make controlled fire. It changed the way we eat or build things.
7. Agriculture - It again changed the way we eat.
8. Ability to forge metals.
9. Counting in base 10.

 Did I miss something more important?

What is Temperature?






I was thinking about what is Temperature.


What it means for something to be in particular temperature? I looked around in the net, and learned that it is simply average kinetic energy of molecules.

If something is hot, the molecules in that something is moving around or oscillating faster. In the case of metals it is electrons. If something is cold, the molecules are relatively slow.

Why do we feel hot when we touch a hot object? The molecules in the object collide pretty hard on our fingers, trying to disturb our cells which is felt by our neurons as 'hot'.

Why do we feel cold? When molecules in the air is taking away average kinetic energy from us through collisions and we lose energy [heat].



Monday, August 6, 2012

What's the use of physics?

One word answer - Electricity.
Can you think of living in a world without electricity? What we take for granted came from physics.
Although that's not the reason for physics [its for its own sake] its the utility of it.
So today's Mars exploration etc. will turn into tomorrow's 'Electricity'.