“It’s Okay” – An Amazing speech at Symbiosis Pune

Posted on July 17, 2021May 3, 20242 Comments on “It’s Okay” – An Amazing speech at Symbiosis Pune

Don’t just have career or academic goals. Set goals to give you a balanced, successful life. Balanced means ensuring your health, relationships, mental peace are all in good order.

There is no point of getting a promotion on the day of your breakup. There is no fun in driving a car if your back hurts. Shopping is not enjoyable if your mind is full of tensions.

Don’t take life seriously. Life is not meant to be taken seriously, as we are really temporary here. We are like a prepaid card with limited validity. If we are lucky, we may last another 50 years. And 50 years is just 2,500 weekends.

Do we really need to get so worked up?

It’s OK, Bunk few classes, score low in couple of papers, take leave from work, fall in love, fight a little with ur spouse… It’s ok… We are people, not programmed devices..!

“Don’t be serious, enjoy Life as it comes”

ISI B Stat/ B Math 2020 Answer key and solution link

Posted on September 21, 2020

Answer key to ISI B math / B stat 2020 exam conducted on 20 September 2020:

1: B 2: A 3: B 4:A 5: D 6: C 7:D 8:C 9: A 10: C

11: B 12: B 13: B 14: A 15: A 16: A 17: D 18: A 19: B 20: B

21: C 22: C 23:A 24: D 25:A 26: A 27: B 28: D 29: C 30: A

Link to complete UGA solutions: TBA

Link to complete UGB solutions: TBA

In how many ways, we can paint 6 faces of a cube with 6 different colors. And the answer is not factorial 6!

Posted on June 7, 2020

To solve this problem, we will need to understand Linear and Circular arrangements.

We will start with a simple problem. What are the possible arrangements of three distinct objects say A, B, and C? Arrangements are ABC, ACB, BCA, BAC, CAB, and CBA. Altogether, we have six arrangements. Another way of looking at the problem is in terms of the number of choices for arrangement. For three objects we have three positions that are to be filled. For the first position we have three choices, we can place either A, B, or C. For the second position we now have two choices as one of the objects is already placed in the first position. And for the third, we have only one choice that is the last remaining object when the first two positions are already filled.

If we generalize the concept, then for n distinct objects, we have n positions. For the first position we have n choices, for the second we have n-1 choices, n-2 for third, and so on till we have last position and last object with only one choice. So the total number of ways of arranging n distinct object is n!

Now, what if, we have to arrange A, B, and C on a circle rather than on a line? On a circle, the possible arrangements are ABC and ACB and there is no other arrangement possible. So on the circle; we just have only 2 arrangements compared to 6 in a line. How do we make sense of that?

Let us try and arrange 6 linear arrangements (ABC, ACB, BCA, BAC, CAB, and CBA) on a circle.

{ABC, BCA, and BAC} are anticlockwise arrangements of ABC and { ACB, CBA, and CAB} are the clockwise arrangement of ABC. If we simply rotate the three arrangements {ABC, BCA, and BAC} they all represent the same arrangement ABC and in the same way rotation of {ACB, CBA, and CAB} reveals they are also same as ACB. So, we have only two cases on a circle instead of 6 cases.

The difference between a line and circle is a line always has a starting point and all the n! arrangements will be different. But on a circle, we do not have that luxury of having a starting point. So basically on a circle what we do is we choose any one object and assign it a place on a circle. And when we fix an object on a circle then all other objects are arranged anticlockwise relative to the first object. So on a circle, all we need to do is fix any object and then arrange remaining n-1 objects relative to it in n-1! Ways. Thus, the number of ways in which we can arrange n distinct object on a circle is (n-1)!

In the case of ABC, fix anyone says A on top of the circle and then arrange the other 2 anticlockwise in 2! Ways that are consistent with our answer that A, B, and C can be arranged in only two ways on a circle.

Now, we will come to 6 colors and 6 faces of a cube. As it is not a linear arrangement, the answer is not 6! All the six faces of a cube are identical and as it was in cyclic permutations there is no starting point here as well. So we need to fix one color on any one face and arrange all the other colors relative to it. So, out of these six colors, we need to paint any one face with any one color. So let us paint one face with say red. For the face opposite to the red color, we have 5 choices. Now let us put a color on the opposite face, say green. So, we now have a cube with two opposite faces painted with red and green and we are left with 4 unpainted faces and 4 colors. If we will rearrange the cube, then the problem now looks familiar. All there four faces are similar to arrangements on a circle. So four objects on a circle can be arranged in 3! Ways. Total number of ways of painting this cube will simply be 5X3!=5X6=30

Game theory: Introduction, Basic elements & Assumptions

Posted on June 7, 2020

To a large extent, it can be said that the most dynamic principle that governs our existence is interaction. We interact with each other within varied frameworks such as social, political, economic, military so on, and so forth. It is not just humans who interact but businesses, processes, and technology almost everything interacts with every other thing. And this inevitable interaction warrants the finest strategy and optimal decision making. Right from choosing toothpaste to choosing the right financial portfolio every one of us is a player in this grand game called life and is expected to make a sound rational decision through strategic interaction with other players. And to assist us in our endeavor and our pursuit of happiness we have a fine companion in Game theory.  

As Wikipedia puts it Game theory is the study of mathematical models of strategic interaction among rational decision-makers. So, game theory provides a mathematical framework to a model wide variety of decision problems. While game theory is imperative for many disciplines, it is indispensable for the study of economics. Two competing firms having identical products in perfect competition, having to choose an equilibrium strategy to decide the pricing of the product is an example of game theory modeling in economics. In the field of politics, the decision that how should candidates position themselves along the political spectrum is a typical game theory Hotelling problem. In biology, there have been numerous incongruous behaviors for example consider the case of worker bees that slog their entire life to nourish queen bee and never mate. Evolutionary game theory has been used to explain such inconsistent behaviors. In computer science, Algorithmic game theory helps understand and design algorithms in strategic environments. From philosophy to operational research, game theory offers its coffer in full to anyone who approaches it with utmost dedication and interest. 

 Before we embark on our voyage in the inspiring world of game theory, let us quickly look at basic elements and assumptions in game theory:

At the heart of game theory lies a Game: Any competitive activity whose outcome depends on the strategic interaction between two or more decision-makers (better known as players) is a game. Chess, football, boxing, etc are examples of games and so are missile defense, price wars, and management negotiations. All the strategic decision-makers within the context of the game are Players. Players could be competing individuals who say as in chess and could be competing firms in a duopoly. In the context of the game, every player encounters a decision problem characterized by three fundamental questions:

1: What are the possible choices?

2: What is the result of each of these choices?

3: And how does each outcome affects the player?

These questions now help us formalize three basic concepts of; action, outcomes, and pay-offs. The set of all possible choices that a player has is called actions. Actions result in possible consequences known as outcomes. Each player receives a payout from every outcome, which is known as the payoff. A payoff function assigns quantifiable value to ordinal payoffs ranging from money to utility.

A very interesting example in Game theory is the game of matching pennies played between two players, Player 1 and Player 2. Each player has a penny and must secretly turn the penny to heads or tails. The players then reveal their choices simultaneously. If the pennies match (both heads or both tails), then Player 1 keeps both pennies, so wins one from Player 2 (resulting in +1 for Player 1, −1 for Player 2). If the pennies do not match (one head and one tail) Player 2 keeps both pennies, so receives one from Player 1 (−1 for Player 1, +1 for Player 2).  

In this game, each player has two choices and thus action set has two elements either they can play heads or tails. The interaction of two players’ choices results in four outcomes which can be represented by the following matrix. HH, HT, TH, & TT. If it HH or TT player 1 win and HT or TH player 2 wins. If the outcome is HH then the payoff of players 1 and 2 are +1,-1 respectively and in the same way we can write payoffs for all the outcomes. 

Now before moving forward, let us examine some assumptions in game theory.

Rational Choice assumption: Rational choice assumption asserts that a player’s choice in choosing between potential actions will choose the action that gives him the highest possible payoff.  So, the rational choice assumption in the case of matching pennies imposes the condition that both players know all possible actions, all possible outcomes, and the possible payoffs from each outcome. 

Another way to represent matching pennies game is by using a decision tree using branches and nodes.

A Subscription request

Posted on March 13, 2020

If there is a God, he is a great  Mathematician
Paul A. M. Dirac

I welcome you to my world of mathematics. I present to you

www.mathsmerizing.com and YouTube channel  MATHSMERIZING

for your kind perusal. If you like them and are inspired by the possibilities then consider subscribing and sharing it with someone who might benefit from it.

As a student and now as a teacher, I have always been fascinated by “WHY” it is the way it is! With my own little understanding and knowledge, I have tried to answer some question which I was always curious about:

  • Why do so many students dread mathematics?Why is factorial 0!=1? 
  • Does factorial (0.5)! really exist?Why it is possible to define log for negative numbers?
  • Why L’Hopital’s rule proof and counter-examples are not generally taught?
  • Why we don’t study proof for Descartes’ rule of sign? Derangement?
  • Why it is possible to solve equations such as sinz=2? and many more

The channel and website features

Beyond the boundaries: Classical core concepts which are natural extension to present knowledge such as Gamma function, Gaussian integrals, Maclauren series and many more

Math Marvels: Compendium of fascinating problems such as Ramanujan’s puzzle, Descartes’ theorem of kissing circles, 1000 door puzzle, 1000 bottle puzzle,Game theory and many more

Tell me WHY: Collection of classical proofs and deeper reason behind the fundamentals.

and a whole Array of topics where I have discussed theory with numerous, graded examples arranged in relevant and convenient playlists.

All of us are born with natural love and flair for mathematics. Whether you are an aspiring musician or an art apprentice, a business enthusiast or a promising athlete a part of the love and beauty of mathematics is already expressed in you. It only takes a moment of flowing inspiration and enchanting motivation to be smitten by it.For me, Mathematics is the language of creation. And for Legendary mathematician Carl Friedrich Gauss, “Mathematics is the King of all Arts & the Queen of all Sciences”. I invite you to immerse in the beauty of mathematics and find your very own definition of mathematics. 

Thank you

Curious case of the history of L’hopital’s rule

Posted on March 3, 2020March 13, 2020

Lopitals’ Rule or Lospital Rule or as I prefer to call it L’hospitals’ rule is used extensively in calculus to evaluate limits of the indeterminate forms 0/0 and 8/8. The rule was first published by the French mathematician Guillaum De’ Hopital (Giom de hospital) in 1696 in a book who title can be roughly translated to English as “Analysis of the infinitely small, for the understanding of curved line.” Now, this book is considered to be the very first book on Differential calculus. However, it is somewhat controversially believed that the rule which goes by the name of l’Hôpital was introduced to him in 1694 by his teacher Johann (Johenn) Bernoulli.  

l’Hôpital met Bernoulli at the end of 1691, when Bernoulli was just 24 and was new to the mathematics world. By then l’Hôpital was already a member of important circle consisting of mathematicians and physicists. l’Hôpital identified the talent of Bernoulli and employed him to give him private lessons for a short period of time. There have been historical accounts which indicates that l’Hôpital may have paid Bernoulli a retainer in lieu of his discoveries and may have signed a pact that Bernoulli would hide his discoveries from others.

Initially, content with the agreement and the “princely sum” Bernoulli continued to honor their agreement. It was when the accolades bestowed on l’Hôpital’s work, he grew increasingly unhappy. Bernoulli complained that he had not received enough credit for his contributions, in spite of the preface of l’Hôpital’s book which says:

I recognize I owe much to the insights of the Messrs. Bernoulli, especially to those of the young (John), currently a professor in Groningen. I did unceremoniously use their discoveries, as well as those of Mr. Leibniz. For this reason I consent that they claim as much credit as they please, and will content myself with what they will agree to leave me.

It was in 1704, when l’Hôpital died,  Bernoulli publicly revealed of their agreement & claimed credit for almost everything of real interest in l’Hôpital’s book.

At that time barring Liebniz and few others, everyone in France regarded his claim as ridiculous primarily on two counts. One, l’Hôpital’s’ mathematical talent was well regarded and two, Bernoulli was involved in several other priority disputes.

In 1921, a manuscript of Bernoulli’s lectures on differential calculus from 1691-92 was discovered in the Basel University. The text showed remarkable similarities to l’Hôpital’s writing, substantiating Bernoulli’s account of the book’s origin.

Considering all that, somewhat arguably I can say that, if history had played itself differently, we would have been discussing the Bernoulli’s Rule today.

King’s 1000 bottles of wine puzzle Method 1

Posted on February 12, 2020

A bad king has a cellar of 1000 bottles of delightful and very expensive wine. A neighbouring queen plots to kill the bad king and sends a servant to poison the wine. Fortunately (or say unfortunately) the bad king’s guards catch the servant after he has only poisoned one bottle. Alas, the guards don’t know which bottle but know that the poison is so strong that even if diluted 100,000 times it would still kill the king. Furthermore, it takes around a month to have an effect. The bad king decides he will buy some slaves to drink the wine. Being a clever bad king he knows he need only buy 10 slaves and will still be able to drink the rest of the wine (999 bottles) at his anniversary party in 5 weeks time. Explain what is in the mind of the king, how will he be able to do so ?

If there wasn’t any time constraint in the problem, we could have had simpler solutions with less mortality. If he has, say n prisoners (n<1000) then he can divide wine bottles in a [1000/n] set. Every month he can take one set of bottles, and he can administer each wine bottle uniquely to each prisoner and then wait for a month and repeat the process with next set of bottles until he finds the poisoned bottle. Another solution could be to divide 1000 in set of two groups. Take one group and take a small portion from each bottle and mix then, and feed it to a prisoner. If the prisoner dies, divide the used 500 bottles and repeat the process until he finds the poisoned bottle.                                   500–250–125–63-31-16-8–4–2–1

Here odd numbers can’t be divided and would result in uneven distribution but still the number of prisoner king would need is 10, to have a 100% probability of knowing which wine was poisoned.

So now we will come back to the original puzzle with the given time constraint that the solution is needed within 5 weeks. So, what bad king had in his mind was binary numbers. As we know binary is number to the base 2 having only two digits 0 and 1

To begin, the king would label each bottle with both its decimal number and a 10-digit binary equivalent. Why 10? coz 2^9=512 < 100 0 bottles of wine < 2^10.

Now, the king can code the 10 prisoners from P1 to P10 in the following arrangement.

Now each bottle serves as a code describing which prisoners are to drink from it. In this system, a one means the prisoner drinks from it, a zero means the prisoner doesn’t.

For example, only Prisoner A10 should drink from bottle one since its binary is 0000000001. Whereas, Prisoners A9 and A10 should drink from bottle no 3 whose binary is 0000000011 because it has 1’s in the columns that match up with prisoners A9 and A10.

The king will continue this process until he has given out sips of wine from every bottle. Since, each bottle is a unique placement of 0 and 1’s so the poisoned bottle will result in the death of specific prisoners. Say for example the poisoned bottle it 662 then its binary equivalent is

1010010110 So in this case, prisoners A1, A3, A6, A8 and A9 will die while others would survive. So, after a month, he can simply line up the prisoners in order and mark the ones have been poisoned with ones and mark the rest with zeros. Then all he needs to do is to convert the resulting binary number back into its decimal equivalent to reveal which bottle was poisoned.

King’s 1000 bottles of wine puzzle Method 2

Posted on February 12, 2020

A bad king has a cellar of 1000 bottles of delightful and very expensive wine. A neighbouring queen plots to kill the bad king and sends a servant to poison the wine. Fortunately (or say unfortunately) the bad king’s guards catch the servant after he has only poisoned one bottle. Alas, the guards don’t know which bottle but know that the poison is so strong that even if diluted 100,000 times it would still kill the king. Furthermore, it takes around a month to have an effect. The bad king decides he will buy some slaves to drink the wine. Being a clever bad king he knows he need only buy 10 slaves and will still be able to drink the rest of the wine (999 bottles) at his anniversary party in 5 weeks time. Explain what is in the mind of the king, how will he be able to do so ?

We have already discussed one method to solve the puzzle, now we will consider another method which in a way is similar to the previous one in theory but different in application.

Firstly, the king would label the bottles from 0 to 999. And then he would line up the 10 prisoners and lable them as A1, A2 and so forth.

Bottle 0

Bottle 1

Bottle 2

..

The king will have Prisoner A1 drink from every other bottle starting with the first bottle, bottle #0 that is Prisoner A1 will drink from bottles 0, 2, 4, …

Next, assign Prisoner A2 the task of drinking from every other set of two bottles. In other words, Prisoner B drinks from bottles 0 and 1, skips 2 and 3. Drinks from 4 and 5, skips 6 and 7, and so forth continuing the pattern.

Have Prisoner A3 drink from every other set of four bottles: for example Prisoner C drinks from bottles 0–3, (skip 4–7), 8–11, (skip 12–15), 16–19, …

If we look at the pattern then the bottle assignments reflect powers of 2. So if we continue with the assignment then

PrisonerA4 drinks from every other set of eight bottles. Prisoner A5 from every other set of 16. Prisoner A6 from every other 32. Prisoner A7 from every other 64. Prisoner A8 from every other 128. Prisoner A9 from every other 256. And finally, Prisoner A10 from the first 512 bottles.

Now, How the king will be able to tell which bottle was the poisonous one? To do so he will look at the pattern of poisoned prisoners encoded in binary sequence. Before he can decode the result, he needs to flip the prisoners around so that it matches the binary place-value system. He would place a zero above the prisoners who are poisoned, and a one above those who aren’t.

Now suppose all the prisoners are poisoned? Which bottle of wine was it?

Now let’s suppose that everyone except prisoner A is poisoned.

How about if A1, A4, A6, A7 and A9 are poisoned then

1010010110

Which is the binary equivalent of bottle number 662.

How do I learn Mathematics?

Posted on February 8, 2020February 8, 2020

Your success in mathematics is largely determined by your inspiration for studying it. If your motivation is only to pass an exam or get good grades then it will always remain “cold” and “pointless” for you. The transformation of Maryam Mirzakhani, from a student who never enjoyed maths to the first woman to be awarded the highest honor in mathematics-The fields medal, shows that it takes only a moment of flowing inspiration and enchanting motivation to be smitten by the beauty and love of maths. Once you are inspired by the possibilities in mathematics, your desire, commitment, internal conviction and belief in your ability to succeed are automatically aligned to meet your goals. And then math becomes as effortless and as enjoyable as an amazing movie or a delectable meal. Once you figure out your inspiration for studying, the next step is to learn to live with mathematics. William Paul Thurston often said, “Mathematics is not about numbers, equations, computations or algorithms; it is about clarity and understanding”. Once you learn to live with the subject, the concepts and problems stay with you beyond the confinement of a classroom or a textbook and you can experience mathematics happening around you at all times. I have had more breakthroughs through contemplation than reading a textbook and I have solved far more problems while riding a bike than sitting in a classroom. Accumulating knowledge or gathering information in a classroom isn’t learning. As Krishnamurthy said, “Learning happens from moment to moment; it is living, moving; it has no beginning and no end.” And when you learn to live with mathematics, you are often rewarded by many things, including the beauty of an ingenious solution or a better understanding of the constraints when no solution can be found. Albert Einstein once remarked, “Do not worry about your difficulties in mathematics. I can assure you mine are still greater”. The journey through the freedom and abstraction of mathematics is full of challenges and to begin with, another critical value to have is perseverance. It took John Napier almost 20 years to work out his log table so that multiplication becomes easy for everyone else. Don’t look for ready made solutions, and shortcut methods; Stay with a problem long enough and the solution will reveal itself to you in full glory. As Maryam rightly said, “The beauty of mathematics, only shows itself to more patient followers.” Euler immersed in his mathematical research when told his wife is taking her last breath, said: “Ask her to wait I am almost done.” Inspiration, living with the subject and perseverance will not make the destination closer but they will certainly make the journey more enjoyable and rewarding, as they did for the king of mathematics himself.

What is Mathematics?

Posted on February 8, 2020February 8, 2020

Wikipedia says Mathematics has no generally accepted definition. Different schools of thought, particularly in philosophy, have put forth radically different definitions. For Albert Einstein, Pure mathematics is, in its way, the poetry of logical ideas. For William Thurston, a fields medalist mathematician, Mathematics is not about numbers, equations, computations, or algorithms: it is about understanding and clarity. For Danica McKellar, an American actress and mathematics writer, Math is the only place where truth and beauty mean the same thing. And for Indian writer and human-computer Shakuntala Devi, everything around you is mathematics. Numbers have life; they are not just symbols on paper. The possibilities in mathematics are limitless. Mathematics is neither constraint by the limitation of space and time nor by the extent/scope of scientific experiments. And that is the reason, Legendary mathematician Carl Friedrich Gauss famously said: “Mathematics is the King of all Arts & the Queen of all Sciences”. Mathematics, as I view it, is the language of creation. The laws of science express the beauty and interactions of nature in an explicit mathematical form. For me, it is a profound yet subtle, life force that commands the laws governing the universe. So, immerse in the beauty of mathematics and find your very own definition of mathematics.