The Student Room Group

ok.. hard maths problem... to do with lighthouses

atlease hard for me...

Two lighthouses can be seen from the sea-front at Shoreton. Both lights switch on and off in regular repeating patterns. One is on for 7 seconds and off for 16 seconds, whilst the other is on for 8 seconds and off 23 seconds.

15 seconds ago both lights became visible at precisely the same moment.

In how many seconds from now will both lights next disappear from view together?

The answer is 568 or 583. You decide! :tsr2:
arslan
atlease hard for me...

Two lighthouses can be seen from the sea-front at Shoreton. Both lights switch on and off in regular repeating patterns. One is on for 7 seconds and off for 16 seconds, whilst the other is on for 8 seconds and off 23 seconds.

In how many seconds from now will both lights next disappear from view together?

The answer is 568 or 583. You decide! :tsr2:

You've not said whether they start together or what...
Reply 2
e-unit
You've not said whether they start together or what...


srry bout that, i've corrected added '15 sec ago both lights became visible at the same time' in the original post now. thanks for that.
7 + 16 = 23. The second light is off for exactly the same amount of time as the first takes to complete one whole 'cycle'. So by the time the second light turns back on, the first is at the same stage as it was when the second turned off. So in one full cycle of the second light, the first light's cycle has advanced by 8 seconds. Can you do it now?
Reply 4
hhmm, still not sure, this is what i can do:

these are the off times in secs since they became visible together:

first light: 7, 30, 53, 76, 99 ...
2nd light: 8, 39, 70, 101, 132 ...

so i suppose when the number is the same for both lights, this is the time it takes for both lights to go off, i.e. disappear at the exact moment.

BUT, the answer is 583 sec or something v. close. so far too tedious to use this method. There must be a simple mathematical solution.
Reply 5
is the answer not 613 seconds? (628-15)
Reply 6
That's what I got too.
Reply 7
bob_54321
is the answer not 613 seconds? (628-15)


how did u guys do it?

anyway, the book says they go off together 583 seconds after they start together, so it would be 583-15.

since u both got it may be that you're correct, but what i wanted to know is the mathematical approach to take because listing the times like i was doing is far too tedious.
Reply 8
I did the "listing the times" approach because I couldn't be bothered to think. I just banged the numbers into a spreadsheet and looked down the list (only took 15 seconds). I wasn't really concentrating though, so I could have made a mistake (I wouldn't have posted if someone else hadn't said the same thing).
Reply 9
is this a BMAT question, because Im sure Ive seen this one in there
Reply 10
lucaz
is this a BMAT question, because Im sure Ive seen this one in there


yep it is! but adapted to make it slightly more complicated so instead of a list or diagram approach a mathematical approach is needed, i was curious so i thought i'll post it here.
Reply 11
We define an interval as the time elapsed between 2 switch-ons. So the first lighthouse has an interval of 23 secs and the second one has an interval of 31 secs.

We can say 31k - 23r = 7 , where k and r are some positive integers.

It means that at the rth interval of the first lighthouse, the dissapearing of light occurs together within this interval (or at the kth interval of the second lighthouse) Try to visualise a bit by means of graphically representing the problems if you still cant see this relationship.

31k - 23r = 7 is a linear diophantine equation, I would say conveniently so, because 31 and 23 is a coprime. Using very simple euclidean algorithm, k=21 and r=28. So 23*r = 23*28 = 644

So the answer should be 644-16 = 628 because you want the moment the light dissapears, so minus 16secs of switch-off.

It's 4:30am, so my solution maybe completely nonsensical, or there might be a more elegant solution. Oh, btw, you can check out how to solve linear diophantine equation, if you didnt know about it, it's very fascinating and easy to be understood.
Reply 12
khaixiang
We define an interval as the time elapsed between 2 switch-ons. So the first lighthouse has an interval of 23 secs and the second one has an interval of 31 secs.

We can say 31k - 23r = 7 , where k and r are some positive integers.

It means that at the rth interval of the first lighthouse, the dissapearing of light occurs together within this interval (or at the kth interval of the second lighthouse) Try to visualise a bit by means of graphically representing the problems if you still cant see this relationship.

31k - 23r = 7 is a linear diophantine equation, I would say conveniently so, because 31 and 23 is a coprime. Using very simple euclidean algorithm, k=21 and r=28. So 23*r = 23*28 = 628

So the answer should be 644-16 = 628 because you want the moment the light dissapears, so minus 16secs of switch-off.

It's 4:30am, so my solution maybe completely nonsensical, or there might be a more elegant solution. Oh, btw, you can check out how to solve linear diophantine equation, if you didnt know about it, it's very fascinating and easy to be understood.


interesting approach, +ive rep coming ur way
Reply 13
arslan
yep it is! but adapted to make it slightly more complicated so instead of a list or diagram approach a mathematical approach is needed, i was curious so i thought i'll post it here.


Where did you get this question from?
Reply 14
Vazzyb
Where did you get this question from?


it's for my bmat preparation, i saw it in a student guide book for passing the test.
Reply 15
arslan
it's for my bmat preparation, i saw it in a student guide book for passing the test.


yeah, yeah - I gathered as much hehe - which guide :p: ?