Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

How to approach

  1. Apr 11, 2015 #1

    CWatters

    User Avatar
    Science Advisor
    Homework Helper

    I saw a problem the other day that belongs to a class of problems that I have forgotten how to solve (I'm 55). It went like this..

    Trains leave a station every 15mins and every 20 mins. The first two leave together at 9.10am. Do any others leave at the same time and when is the next time?

    The simple way to solve it is just to write down the two sequences...

    15mins: 9.10 9.25 9.40 9.55 10.10 etc
    20mins: 9.10 9.30 9.50 10.10 etc

    and note that they match again at 10.10am

    Clearly that works for this problem but there must be a better way. I just can't seem to figure out how to do the general case. For example you could assume there is a match at some time ΔT after 9.10 then write...

    ΔT = n*15 = m*20

    where n and m are unknown integers. But thats one equation with two unknowns.

    I half remember that ΔT must be a multiple of |n-m| or something like that but I think that just adds another unknown integer to the mix.
     
  2. jcsd
  3. Apr 11, 2015 #2

    jedishrfu

    Staff: Mentor

    Are you thinking of Diophantine equations?

    In this case, you can break it into prime factors:

    3*5*n = 2*2*5*m

    3*n = 4*m. Hence n=4 and m=3

    Just a guess
     
  4. Apr 11, 2015 #3

    HallsofIvy

    User Avatar
    Staff Emeritus
    Science Advisor

    The simplest way to deal with this is "least common multiple" of 15 and 20. 15= 3*5 and 20= 4*5 so the least common multiple is 3*4*5= 60 minutes. Two trains leave together 10 minutes after every hour.
     
  5. Apr 12, 2015 #4

    CWatters

    User Avatar
    Science Advisor
    Homework Helper

    Thanks HallsofIvy. That's exactly what I was trying to remember.
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook




Similar Discussions: How to approach
  1. How to approach this? (Replies: 6)

  2. Math approach (Replies: 1)

Loading...