Mathematics

Math: Problem of the day-2

This problem was asked in IMO 1970, Hungary.

Q: For what natural numbers n can the product of some of the numbers n,n+1,n+2,n+3,n+4,n+5 be equal to the product of the remaining ones?

Note that since there are 6 numbers under consideration, if a prime number p divides any of these numbers, it cannot be greater than 5.

In the set of numbers n+1,n+2,n+3,n+4, there can be no common prime divisor greater than 2 or 3. Also, since two of these four numbers must be odd, they must be powers of 3. But this isn’t possible since no two powers of 3 differ by 2.

Therefore, there is no such n

  • Share/Bookmark

Math: Problem of the day-1

This problem was asked in IMO 1961, Hungary.

Q: Let a,b,c be the lengths of a triangle ABC whose area is S. Prove that a^2+b^2+c^2 \geq 4S \sqrt{3}. In what case does equality hold?

Solution: We can express the area in terms of the sides and angles of the triangle:

S=\frac{1}{2}bc sin A

Also, the cosine rule says that

a^2=b^2+c^2-2bc cos A

Therefore,

a^2+b^2+c^2 \geq 4S \sqrt{3} \iff b^2+c^2 \geq bc( \sqrt3 sin A + cos A) \\ \iff (b-c)^2+2bc(cos (A-60^0) \geq 0

Note that equality will hold above if b=c and a=60^0, that is, when the triangle is equilateral.

  • Share/Bookmark

Proofs by contradiction

One of the most powerful of methods of finding mathematical proofs is “proof by contradiction”. Say you have to prove some statement S. You start by assuming that the exact opposite of S is true. Proceeding further, you should reach some logical contradiction, which tells you that assuming that S isn’t true was not correct – so S must be true. On the face of it, the method is pretty simple, but it leads to some pretty useful and non-trivial results, of which two examples are discussed here.

(1) The square root of 2 is irrational

We first suppose that √2 is rational, which means that there must exist integers p and q such that p/q = √2. We can also assume that p and q have no common factors, since if they did have a common factor, it can be canceled out.
Now, a series of simple steps leads us to a logical contradiction:

img42

The contradiction is that we’ve shown that both p and q are even, while we had assumed that p and q have no common factor. Therefore, our assumption that √2 is rational was wrong; it must be irrational.

Is it possible to prove that √3 is irrational using the same method?

(2) There exist infinitely many primes

This was first proved by Euclid. He started by assuming that there are finitely many primes. Therefore, there must exist a largest prime; call it p. Now, consider the number N given by N = 1 × 2 × 3 × …. × (p + 1) = p! + 1

Note that if you divide N by any number from 1 to p, you’ll always be left with a remainder of 1. Therefore, N has no factors between 1 and p, which implies two possibilities:

• Either N has a prime factor larger than p, which shows the existence of a prime number larger than p – a contradiction.

N has no prime factor other than N itself; which means N is itself prime (and obviously N is larger than p) – a contradiction again

Therefore our original assumption that there are finitely many primes is wrong – the number of primes is infinite.

(3)  Seven real numbers are given in the interval (1,13).  Prove that at least three of them are the lengths of triangle’s sides.

Let the numbers be a,b,c,d,e,f,g. We can assume that a≤ b ≤c

Suppose by way of contradiction that no three of them are the lengths of a triangle’s sides. We have a + c > b and b + c > a. Then a + b ≤c, because if not, then there would exist a triangle with side lengths a,b,c.

We deduce c≥2. Similarly, we have d ≥ c + b ≥3, e ≥ d + c ≥5,  f  ≥ e + d≥ 8 and, finally, g ≥ f + e ≥ 13, which is a contradiction. 

  • Share/Bookmark

Cauchy-Schwarz inequality

In this article, we’ll discuss a very powerful inequality called the Cauchy-Schwarz inequality:

img42

Here, we’ll see how we can justify this inequality, and in another article, we’ll discuss its applications.

Proof – 1

The form of the inequality suggests that if we can somehow construct a quadratic equation where some condition can be imposed on its discriminant, we may be able to generate the required inequality.

Consider the function f (x) given by f (x) = (a1x – b1)2 + (a2x – b2)2 + ….. + (anx – bn)2

Obviously,

img42

Note that f (x) is a quadratic expression, and if we write it in the standard quadratic form, we have

img42

By virtue of f(x) always being non-negative, the discriminant D of f (x) must be non-positive. From this condition, the Cauchy-Schwarz inequality is immediately evident. Also, it should be obvious that the equality will hold if D = 0, which implies that f (x) has a real root, call it x0. Therefore, f (x0) = 0=(a1x0 – b1)2 + (a2x0 – b2)2 + ….. + (anx0 – bn)2

This is only possible if each of the terms on the RHS is zero:

img42

Proof – 2

This proof involves the use of a simple result.

img42

Prove this! This result can be easily generalized:

img42

When does equality hold in this?

Now, we prove the Cauchy-Schwarz inequality using this result:

img42

Its up to you to determine when the equality will hold in this case.

Proof – 3

We’ll only outline this proof briefly. If your general mathematical aptitude is good probably the first thing that should come to your mind when you look at the CS inequality is: Vectors!

Take two vectors:

img42

Now, the dot product of two vectors will always be less than the product of their moduli (lengths):

img42

with equality holding if the two vectors are in the same direction! Thus,

img42

Can this result be generalized to n terms?

  • Share/Bookmark

Probability: The Monty Hall Paradox

<Problem taken from LOCUS Math study material>

The problem we are going to discuss is publicly one of the most well known problems in probability. This version of the problem and its solution have been taken from Wikipedia.

Suppose you are in a game show, and you’re given the choice of three doors. Behind one door is a new car; behind the others, goats. The car and the goats were placed randomly behind the doors before the show. The rules of the game show are as follows: After you’ve chosen a door, the door remains closed for the time being. The game show host, Monty Hall, who knows what is behind the doors, now has to open one of the two remaining doors, and the door he opens must have a goat behind it. If both remaining doors have goats behind them, he chooses one randomly. After Monty Hall opens a door with a goat, he will ask you to decide whether you want to stay with your first choice or to switch to the last remaining door. Imagine that you choose Door 1 and the host opens Door 3, which has a goat. He then asks you “Do you want to switch to Door 2?” Is it to your advantage to change your choice?

img42

Figure-1

Before going through the solution, give the problem a great deal of thought. Will switching change the probability of wining? Or will it not matter because it is equally likely that the car may be behind Door 1 or Door 2 ?
O.K., now the solution. We are assuming that the player initially picked Door 1. (However, the player may initially choose any of the three doors). We’ll now calculate the probability of winning by switching, by listing out all cases explicitly.

Case 1: The car is behind Door 1. In this case, the game host Monty Hall must open one of the two remaining doors randomly

Case 2: The car is behind Door 2. Then the host must open Door 3

Case 3: The car is behind Door 3. Then the host must open Door 2

If the player chooses to switch, he’ll win only if the car is behind either of the two unchosen doors rather than the one that was originally picked.

The following diagram visually depicts the various cases and what happens with switching.

img42

Figure-2

Let us explain how we arrived at the various probabilities using a probability tree:

img42

Figure-3

Thus, switching leads to winning with probability 2/3 , that is, the player should switch for a higher probability of winning!

This result may seem very counter-intuitive to you. After all, you may say, the remaining two doors must each have a probability 1/2 of containing the car. However, this intuition is wrong.

In fact, you are not alone in this intuition . When first presented with this problem, an overwhelming majority of people assume that each door has an equal probability and conclude that switching does

not matter. Even Nobel laureates have been known to have given the wrong answer and to have insisted upon it! For more interesting facts about this problem, you’ll find a lot of resources online. Here’s a different version of the same problem call “The Prisoner’s Dilemma”

There are three condemned prisoners, a random one of whom has been secretly chosen to be pardoned. One of the prisoners begs the warden to tell him of one of the others who will be executed, arguing that this reveals no information about his own fate, but increases his chances of being pardoned from 1/3 to 1/2. The warden obliges, secretly flipping a coin to decide which name to provide if the prisoner who is asking is the one being pardoned. Does the warden’s answer change the prisoner’s chances of being pardoned?

  • Share/Bookmark