Tennis is Complex!

Eight players entered the round-robin tournament at the World Tennis League, where every player played a set with each of the other 7 players. Thus the total number of sets played is 28.

After the matches were over, for each set that a player won, he/she received the same number of Galleons as the number of sets they won. For example, if a player won 5 out of his 7 sets, he will get 5 Galleons for each set he won, thus taking 25 Galleons home.

In the worst case, what is the maximum number of Galleons the World Tennis League must give away as prize money?

Details and Assumptions:
Galleon is just a unit of currency, just like Dollars.
Each set has a winner and a loser. No set ends in a draw.
Also, players are not penalized for losses.

Image credit: Wikipedia - Brett Weinstein


The answer is 140.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

6 solutions

Bhagirath Mehta
Apr 14, 2014

7^2 + 6^2 + 5^2 +4^2 +3^2 + 2^2+ 1^2 + 0^2= 140

There are 28 matches and eight players.

Each person's number of games won is squared to find the amount of galleons they won.

This can be represented as:

a^2 + b^2 + c^2 + d^2 + e^2 + f^2 +g^2 + h^2= total amount of winnings, which we want to maximize

Each variable stands for the number of games that each person won.

a, b, c , d, e, f, g and h are each less than or equal to 7. They are all integers.

a+b+c+d+e+f+g+h=28 as 28 games were won in all, since 28 games were played

To maximize this equation, one might think that we should start out with each of the first seven variables = 4 and the last one = 0. However, it is difficult to prove/ disprove this, so let's simplify the question.

If we had two variables, x and y, whose sum was 7, what is the maximum value you can get for x^2+y^2?

If we tried x and y =4, we would get 32.

If we increased x by 1 and decreased y by 1, we see that the increase far outweighs the decrease.

When x=5 and y=3, the problem would yield 34.

We quickly see that the maximum occurs when x=7 and y=0.

So does that mean that we should have a,b,c and d= 7 and e,f,g and h =0?

We get 7^2 + 7^2 + 7^2 +7^2 +0^2 +0^2 + 0^2 + 0^2= 140

It seems correct mathematically. All numbers are each less than or equal to 7. They all add up to 28.

But no, this would not be possible, as person a has to play every single person. It would not be possible for him to win seven games and for person b to win seven games, as that means they both won the game against each other, which would make no sense. We need to pick a loser in this match. Let's say that b lost. Therefore, b should be decreased by 1, to 6. But this means that g should be increased by 1, so that all the variables still add up to 28.

We have: 7^2 + 6^2 + 7^2 +7^2 +0^2 +0^2 + 1^2 + 0^2= 140

Now, person c could not have won seven matches, as person a won all of his matches and person b only lost one match, which was to person a. Therefore, we know person c lost two of his matches. We decrease the value of c to 5. This means we have to increase f to 2, like before.

We have: 7^2 + 6^2 + 5^2 +7^2 +0^2 + 2^2 + 1^2 + 0^2= 140

By the same reasoning, d becomes 4 and e has to become 3.

We have 7^2 + 6^2 + 5^2 +4^2 +3^2 + 2^2 + 1^2 + 0^2= 140

Now, our answer is possible and mathematically correct. This provides the maximum value possible: 140.

Superb!!

Satvik Golechha - 7 years, 1 month ago

well your method was better than that rubbish above

Murlidhar Sharma - 7 years, 1 month ago

This is a very good solution. Use LaTeX \LaTeX next time!

Milly Choochoo - 7 years, 1 month ago
Murtuza Akhtari
Apr 10, 2014

It was easy !!!!!!!! Just had to multiply all sets possible with 5 i.e. 28*5=140

but why and how

kaivalya swami - 7 years, 2 months ago

There are 28 matches, of which each match there must be one player win (and received 5 Gal); hence overall total gal given out are just 28 * 5

Kenrick Anggara - 7 years, 1 month ago

Log in to reply

how did you get multiplier "5"? the question mentions 5 just for an instance when a player has won 5 sets out of 7 that he played. i did not get how you guys got 5.. i agree with @Bhagirath Mehta . Can you please explain how you concluded to multiply 5?

Nisarg Thakkar - 7 years, 1 month ago

I thought it was a bit more complicated since it is a level 2 probem

Rohit Nair - 7 years, 1 month ago
Kevin Bourrillion
Apr 25, 2014

Follow-up: what's the minimum total payout?

The minimum total payout will occur when every single person is as close as possible to the average number of matches won. For example, if two people played seven matches, if one person won one match, the other person would have to win six matches to make up for the fact that seven matches have to be won in total.

1^2+6^2 > 2^2+5^2>3^2+4^2

The number of galleons that have to be added to the first player's winning is fewer than the number subtracted from the second player's winning. However, this will change when the first player's number of games won becomes greater or equal to the second player's. Therefore, we find that our minimum occurs near the average number of games won.

28/8 = 3.5

If four people win 3 matches and four people win 4 matches, we will receive the minimum total payout: 4 (3^2) + 4 (4^2)= 4(9)+4(16)= 4(25) = 100 galleons. We can prove that it is possible for eight people to receive such scores by creating a chart.

Bhagirath Mehta - 7 years ago
Sai Kumar
Apr 16, 2014

The solution revolves around maximizing the no. of wins so that we arrive at the biggest possible sum of squares. That is only possible, if we have the highest numbers to square and add.

The highest possible number of wins for a player is 7, which means no other player can have 7 wins. The next highest possible number of wins will be 6, and no other player except the first can have the same wins. We go on until we reach 0 wins for the last player. In this process, we have to take care of the total number of wins, which is 28, and make sure our choice of number of wins for all the players add up to it.

So, the solution would be (7^2 + 6^2 + 5^2 + 4^2 + 3^2 + 2^2 + 1^2) = 140

To support this answer, we can take up another possibility for the number of wins. Lets assume all the players have 4 wins and 3 losses, except the last player, who has no wins at all. Then we get (4*7 = 28) wins in total. Now when we square all those wins and add them up, we get the sum as 112, and not 140. So, maximizing the equation is the concept for this problem.

Vishal Sharma
May 2, 2014

There are 28 sets in total. And as per the ques. each single set is won by any of the two players. Therefore the federation has to anyway give 5 galleons to the winner in each match. Hence the answer,

28 × 5 = 140 28 \times 5 = 140

Shashank Kudlur
Apr 26, 2014

As each set results in a victory for one player or another, the federation must quite surely pay 5 galleons for each of the 28 sets. So the answer is 28x5=140.

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...