Suppose you have X marbles and I have Y marbles, for a total of 2020.
Amazingly, I am left with the same number of marbles as one of us originally had before the exchanges!
How many marbles do you have now?
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.
I wrote this in javascript and got 808 that matched. I need to brush up on my algebra apparently |----------------------------------------| function solve(x) { var t = 2020; var y = t - x; y = (x * 0.5 + y) / 2; console.log(y, x); // 808,808 } solve(808);
// try : 20, 808, 1010, 1212, 1347
what a amazing solution.
The question was: "How many marbles do you have now?" So I thank os X=808
Log in to reply
I misread it as how many marbles did you have at the outset (X) and entered 808. [Doh!]. The following phrasing would have made the intent clearer to me: “Suppose you had X marbles and I had Y marbles” (past tense) ... “So after the exchange, how many marbles do you have now?”
Like question couldn't be written like "What is X" or "What is Y" because this confused me and that is the only reason i give a wrong answer
We have X + Y = 2 0 2 0 . After the exchanges, the amount of marbles "I" have is 2 Y + 4 X = X or Y . 2 Y + 4 X = Y ⟹ Y = 3 2 0 2 0 ∈ / N , so it must be 2 Y + 4 X = X ⟹ Y = 1 2 1 2 which is the amount of marbles "you" have when "I" have X marbles.
i am confused by both of you!!!
Log in to reply
Lol 😄 There's nothing to confuse, sit calm and try to make equations according to the question, you will end up with the correct answer! 😎
Even I did it in the same way! , But did a mistake and read as how many marble's I had... So I clicked "808" 😂
yo this one confuses me 😒
X + Y = 2020 .....EQN(1)
FOR FIRST EXCHANGE,. X- X/2 I HAVE AND Y+X/2 YOU HAVE .
FOR SECOND EXCHANGE, X-X/2 +1/2(Y+X/2) I HAVE AND YOU HAVE Y + X/2 - 1/2(Y+X/2) .
SO NOW, YOU HAVE Y/2 + X/4 MARBLES. THIS MAY BE EQUAL TO X OR Y AS PER THE QUESTION.
WHEN Y/2 + X/4 = Y , WE GET X= 2Y . PUTTING THIS IN EQN(1) 3Y = 2020 BUT THE VALUE OF Y CAN'T BE FRACTION SO THIS ASSUMPTION IS WRONG.
WHEN Y/2 + X/4 = X , WE GET Y= 3X/2 . PUTTING THIS IN EQN(1) 5X/2 = 2020 OR X = 808 and Y = 1212.
SO YOU HAVE 1212 MARBLES.
Exactly what I did, but there is an error in the second line.
It's X - (X / 2) and Y + (X / 2) Not X - (X / 2) and Y + (Y / 2)
Log in to reply
Ohh yes. That's a typing error. Thank you so much!
WHY USING SO MUCH CAPITALS?
This could only happen with a 60%-40% split. We then go to an 80%-20% split after half (20%) of the 40% gets added to the 60%. Lastly, we take half (40%) of the 80% and give it back to what became 20%. That leaves us with a 40%-60% split.
60% of 2020 is 1212. 40% of 2020 is 808. Since I (X) “gave” marbles first, I had to have started with the 40% first otherwise we would finish with a 35%-65% split if I had 60% of the marbles to start with. I started with 40%, 808, and ended with 60%, 1212.
Your solution is right, but a little bit too complicated. The privious one is the most elegant one.
As we know 2020 - Y = X, we could write the state at the end of the exchange as either
Option 1: ([2020 - Y]/2 + Y)/2 = Y
Or
Option 2: ([2020 - Y]/2 + Y)/2 = X = 2020 - Y
In the first scenario, as we solve for Y we conclude that
Y = 2020/3
This results in a non integer number of marbles (which is impossible). This does not happen in the second scenario, in which solving for Y gets us to a valid amount of marbles in our hands.
([2020 - Y]/2 + Y)/2 = 2020 - Y
[2020 - Y]/2 = 2(2020 - Y) - Y
2020 - Y = 2(4040 - 3Y)
5Y = 8080 - 2020
Y = 6060/5
Y = 1212
1) X + Y = 2020
2) X/2 + (Y + X/2) = 2020
3) [(X/2)+(Y +X/2)/2] + (Y +X/2)/2 = 2020
Now, Let's take the RIGHT part in (3) and equalize it with the LEFT part in (1)
0.5*(Y + X/2) = X
(2020-X) + X/2 = 2X
4040 - 2X + X = 4X
4040 = 5X
X = 808
So, Y = 1212
proof: 1) 808 + 1212 = 2020
2) 404 + 1616 = 2020
3) 1212 + 808 = 2020 #
My initial method was similar but in the end trial and error worked well!
Obviously its correct but how? With my human logic I assumed its in half. 1010 each. +505 is 1515 minus it half. so 757.5. that plus 505 is 1262.5 I understand you need to use equations and algebra but how and why. Emphasis on WHY
Problem Loading...
Note Loading...
Set Loading...
At first the marbles are divided as :- Y and X
After first move marbles are divided as
Y + 2 X and X - 2 X
After second move
2 Y + 2 X and 2 X + 2 Y + 2 X
That is
4 2 Y + X and 4 3 X + 2 Y
Now it is given that either :--
4 2 Y + X = Y OR 4 2 Y + X = X
So either :--
2Y = X OR 3X = 2Y
we need to equate the above result with X + Y = 2020
When 2Y = X then we get values of X And Y in fraction which is not possible
Thus 3X = 2Y, and on equating with X + Y = 2020 we get X = 808 and Y = 1212
According to the question we need to find marbles left with me which is 4 3 X + 2 Y = 1 2 1 2