John and Peter are training for the Olympic Games 100 meters freestyle. They start at opposite ends of a 90 meter pool, and start to swim the length of the pool. When they reach one end, they immediately turn around and continue swimming.
John swims at the competitive rate of 3 meters per second, while Peter swims at the leisurely warmup rate of 2 meters per second. If they swam for 12 minutes, how many times did they pass each other?
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.
There are two types of swimmers meeting - in the opposite direction and in the same direction, when the faster swimmer overtakes the slower. The number of crossing ( the opposite direction) is 20 as was already explained. Now let us count the overtakes. The faster swimmer is 1meter per second faster, so it takes 90 seconds for 1st overtake. So there are 630 s left for next 3 overtakes (it takes 180 seconds for the faster to catch the slower).
So there is 20+4=24 meetings
Log in to reply
I use a different method but get the same result as yours.
Those 20 have already included the extra 4 you added
Well in fact there are 4 meetings which happen at the end of the pool. Your method included those 4 meetings twice
What is the reason that you added 18 n divide by 36?? plzzz could you xplain it??
The two swimmers are always in the pool, so the faster swimmer has to meet the slower swimmer somewhere in the pool when he is swimming along the length. So basically it is 720/(90/3)=24
Log in to reply
Almost correct, but there are 4 cases in which the swimmers meet at the ends of the pool.
Instead of the faster swimmer meeting the slower swimmer twice (once when overtaking and then when passing in the opposite direction), the swimmers only meet once.
It's sort of like the repeated root in a y = x 2 graph. Instead of the graph intersecting the x-axis twice, in opposite directions, the graph just meets the axis once.
Therefore, the answer is 24 - 4 = 20.
good answer
We cannot generalize that both swimmers would cover twice the distance of the pool after their first meeting. The cases that you are referring to are the once that when they meet they are travelling in the opposite direction. But their meeting point could be such that, when they meeting the are travelling in the same direction. In this case the distance covered will not be twice the pool. This may not happen within the time interval specified in the problem, but at a later time.As a result the answer came out to be correct by your method.
Log in to reply
When the faster swimmer overtakes the slower one (they are swimming in the same direction), he had to swim 180 m more then the slower, to overtake him the next time. This is done in 180 seconds. The slower one covers the distance 1 8 0 × 2 = 3 6 0 m , the faster one 1 8 0 × 3 = 5 2 0 m . Difference of their distances is 180 m - twice the pool. So I believe my method is correct and the correct answer is 24 .
Log in to reply
To cover the length of the pool the faster runner takes 90/3=30 sec. So in 12mins it would have covered the length of the pool 12*60/30=24 times. So the two swimmers can meet each other at most 24 times. But from this we have to deduct those cases where the swimmers meet at one of the two ends, because in the subsequent round there would be no meetings. Such cases are 4 (The first time is after 90 seconds and there after LCM((90,60)=180).So the answer is 24-4=20
Log in to reply
@Souvik Paul – Thank you, I have got it now.
@Souvik Paul – Good, nice alternative method.
very good.........
@Daniel Liu . Exactly i got this problem from a maths quiz question paper
I think it should be 19 not 20.Because 12 minute time is not given after they meet first time. Its when they started the race.So before 20th meeting of swimmers practice session will be over.
If we assume the one of the them is stationary, and the other swimmer starts with an effective speed of 5 m/s. To cover 90 m it takes him 18 seconds. Now since the first person is stationary, the second person has to cover the length of swimming pool twice to get to him. Once, when he goes to one end and the other when he returns from the other end towards the swimmer we have assumed stationary all at the speed of 5m/s. Now, since the distance covered is twice, thus the time taken will also be twice the initial meeting time. So a meeting takes place every 36 seconds after the 1st. Out of 720 seconds i.e. 12 minutes 18 seconds have already gone by and now 708 seconds are left. 36 which is the time for every subsequent meeting goes into 708 a maximum of 19 times.
Hence 19+1=20 meetings
well anyone tried to save some energy for time times when faster overtakes slower??????that also occurs....head to head contact is not necessary in problem statement... i solved it for 24 and was disappointed
out of 720 if 18 seconds have gone by, we have 702 seconds left , not 708 ...
Log in to reply
thanks for the correction, that when applied still gives us the same answer, however i ought to have been more careful with the subtraction
I like your approach. It's different from what I would expect
I too solved the question in the "5 meetings in 3 minutes" method but this has got to be the best approach I have seen.Nice work!
Log in to reply
Even i did like you but we got better explanation ....isn't it...
Realy very good approach. Congrats.
For every 3 minutes they meet 5 times. Hence in 12 minutes they meet 5x3/4=20 times
@Hatim Zaghloul the same logic can then be said for the slower swimmer, he goes around the pool 16 times so he must cross him 16 times. but thats not the correct explanation.
That is also how I solved it.
For every 3 minutes they will meet only 4 times. to understand the same we will have to divide the 3 minutes into 2 sessions of 90 seconds each(when each participant completes an entire round). In the first session of 90 secs they will cross each other 3 times. but at the end of 90 secs both the participants will be at the same end, because 1 participant has swam 1 round extra. during the second session of 90 secs since both the participants will be swimming in the same direction, their combined speed will be as follows; 1 minute for the 1st 30 secs, 5 minute for the next 15 secs, 1minute for the next 15 secs,5 minute for the next 12 secs. During this period of 72 secs 1 participant has covered a distance of 216 meters (i.e. 2 rounds +36 meters) and the 2 nd participant has covered a distance of 144 meters ( i.e. 36 meters away from the end) .It is at this point where they will cross each other..At the end of 90 secs both will be at the end of their respective sides from where they had started. thus it can be seen that they will cross each other during the period of 3 minutes. this cycle will repeat after every 3 minutes. thus the correct answer should be 16.
Log in to reply
They cross 5 times every 3 minutes. Your logic is false because at 90 seconds, they will meet again on one edge. Therefore, 2*2+1=5.Hence, your argument is invalid
Log in to reply
The two swimmers will cross each other at 18secs,54secs,90secs,162secs in the first 3 minutes where they will reach from where they started initially. this can be verified by means of illustration also. hence my argument that they cross each other 4 times every 3 mins. stands.
Log in to reply
@Naresh Kariwala – They also must cross at 126 seconds.
Log in to reply
@Steven Perkins – You are right Mr. Steven. I admit to the error. They cross each other every 3 minutes 5 times.
Log in to reply
@Naresh Kariwala – Hence someone just proved me right? Damn I was sleeping
@Naresh Kariwala – They will also cross at 126 th second as they were at the same place at 90th second. Hence 5 times and 20 is the right answer.
They will cross each other 4 times every 3 minutes
You are smart
I got annoyed with my stupidity so I cheated
int f(int x){
return (((3*x)%90)+((2*x)%90));
}
int g(int x){
return (90-((3*x)%90))+((2*x)%90);
}
int main(){
int counter=0;
int a;
int b;
for (int i=1; i<=720; ++i){
a=(((3*i)/90)%2);
b=((((2*i)/90)+1)%2);
if ((f(i)==90) && (a!=b)){
++counter;
}
else if ((g(i)==90) && (a==b)){
++counter;
}
}
std::cout<<counter;
}
*Result : 20
Hmm. C++? you could easily declare a, b, and counter in one single line;; But this is also a way to solve a problem......so.......
Log in to reply
Yeah I can count like at least 15 things I could have done to make it more proper, efficient, and short. Not only was I stupid, but also lazy.
OMG
The first time the swimmers meet, the sum of the distances they have covered is 90 metres. When they next meet, the sum of the distances they have covered is 270 metres. At the next crossing, they have covered 180 metres more; etcetera. In 12 minutes, the swimmers will cover 3x720 + 2x720 = 3600 metres. 3600/180 = 20, therefore there are 20 crossings.
The other solutions are better ngl
Log in to reply
nah mine is nice
mine is basically the same as the top one
NOTHING IS NEEDED.....JUST DRAW 2 WAVEFORMS...TOTAL DURATION OF BOTH WAVEFORM 12 MIN...WAVEFORMS ARE TRIANGULAR...ONE HAS TIME PERIOD 60 SEC STARTING FROM ORIGIN OTHER HAS TIME PERIOD 45 SEC STARTING FROM MAX POINT..NOW CHECK NO. OFINTERSECTIONS..... :) :)
what did u mean
Log in to reply
i'ts not possible for me to explain without diagram.....
3X720/90=24,2X720/90=16,24+16=40
Log in to reply
i did the same way and i think 40 times is the number of times each of them crossed the other whers if we want to find the times both crossed each other we should devide it with 2
Let john and peter be J and P J's speed-3m/s That means that he covers 90 m in every 30 seconds by unitary method. It means J takes 1 min for 2 rounds. Then, J takes 24 rounds in 12 mins by unitary method. Then it comes to P. P's speed-2m/s P takes 45 secs to complete 90m(1 round). That means it takes 1.5 mins to complete 2 rounds by unitary method. Then, till the time 12 mins complete, P completes 16 rounds by unitary method. Then, add the rounds taken by both Jack and Peter. The total will be 40 rounds. Then divide it by 2. As there are two people(Jack and Peter). It will come 20 which is the answer. They will pass each other 20 times!! Hope it helps you!! :)
We can start by calling John's distance x and Peter's y. We can represent these distances in parametrics as follows.
y = 2t x = 3t
We can then infer from the information given that x + y = 90n where n is an odd positive integer since when their paths cross the distance traveled will equal the length of the pool. In this case n must be odd since at the starting point n = 0 and the intersection happens for n = 1. At this point the remaining total distance is 90 to the 180 mark, but John is 1.5 times faster and has a shorter distance before reaching the end of the pool and Peter has the longest distance and is slower so John will reach his end before Peter reaches his and when x + y = 180 they wouldn't have crossed paths. They will have to travel a combined distance of 90 to do so.
We can substitute 3t and 2t into x + y = 90n to get 5t = 90n. For n = 1, t = 18 so they first cross at t = 18. For n = 3 we have 5t = 270 so t = 54. For n = 5, t = 90. The common difference for each successive t is 36. They swim for 720 seconds so 5(720) = 90n. Here, n = 40, but since that is even, the last time they will cross, is at n = 39 and t = 702. Between 1 and 39 inclusive, there are 20 odd numbers so they cross 20 times in 12 minutes.
20 times
Problem Loading...
Note Loading...
Set Loading...
First, notice that they swim at a combined rate of 5 m/s . Therefore, it takes them 9 0 ÷ 5 = 1 8 s to cover the length of the pool. After their first crossing, however, they must cover twice the length of the pool to cross each other again. Therefore, after the first cross at 1 8 s , every subsequent crossing takes 3 6 s . They swim for a total of 6 0 × 1 2 = 7 2 0 seconds; therefore, the number of crossing they do in total is ⌊ 3 6 7 2 0 + 1 8 ⌋ = 2 0 .
This problem was based on a MathCounts Nationals problem #29. I forgot which year.