Laran Evans
I develop software people love to use.
  • Home
  • About
  • Contact
  • Resume
  • Testimonials
Skip to content
  • Entrepreneurship
    • Leadership
    • Project Management
    • Team Development
    • Time Management
  • Motorcycles
    • Restoration Projects
  • Puzzles
  • Software Architecture
    • Cloud Computing
  • Software Development
    • Algorithms
    • CSS
    • Java
    • Javascript
    • MySQL
    • PHP
    • Python
    • Ruby and Rails
    • System Administration
« Spinning Disc
Three Light Bulbs »

Analog Clock

By laran | Published: 2007/10/30

The Problem

Imagine an analog clock set to 12 o’clock. Note that the hour and minute hands overlap. How many times each day do both the hour and minute hands overlap? How would you determine the exact times of the day that this occurs?

The Solution

My original solution was this:

The hands overlap 24 times a day. They overlap once each hour. They overlap at 12, 1:05, 2:10, 3:15, 4:20, 5:25, 6:30, 7:35, 8:40, 9:45, 10:50 and 11:55. This cycle happens twice, once each for AM and PM.

Bruce Guenter however corrected me in a comment. According to Bruce:

They will overlap 22 times a day, 11 times each for AM and PM. To understand why, ask where the hour hand will be at each of the times you list above. At 6:30, the hour hand will be half way between :30 and :35, so the real overlap will be around 6:33.

At 11:55, the hour hand will be almost at 12:00. By the time the minute hand catches up to the hour hand, it is 12:00 again, back to the first overlap.

Thanks Bruce :)

This entry was posted in Puzzles and tagged Puzzles. Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.
« Spinning Disc
Three Light Bulbs »

3 Comments

  1. Bruce Guenter
    Posted 2007/11/01 at 3:08 PM | Permalink

    Uhhhh, not quite. They will overlap 22 times a day, 11 times each for AM and PM. To understand why, ask where the hour hand will be at each of the times you list above. At 6:30, the hour hand will be half way between :30 and :35, so the real overlap will be around 6:33.

    At 11:55, the hour hand will be almost at 12:00. By the time the minute hand catches up to the hour hand, it is 12:00 again, back to the first overlap.

    Happy puzzling. :)

  2. laran
    Posted 2007/11/02 at 3:53 PM | Permalink

    Very subtle Bruce. Nice.

  3. Bruce Guenter
    Posted 2007/11/02 at 4:51 PM | Permalink

    Oh, and to find out the exact times of day when they would overlap, you have to use some (relatively) simple linear algebra:

    angle_h = 5h + 5m/60 = 5h + m/12
    angle_m = m
    (angles are in terms of minute markers = 6 degrees)

    So, to find where they are the same angle, solve for m:
    angle_h = angle_m
    5h + m/12 = m
    11m/12 = 5h
    m = 60h/11

    At 12 (h=0), they overlap at 0 minutes, and at h=11 they overlap at 60 minutes (ie 12:00 again). At h=1, they overlap at m=5.4545… which is 1:05:27.2727… and so on.

Post a Comment

Click here to cancel reply.

Your email is never published nor shared. Required fields are marked *

*
*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

  • About Me

    I've got a masters degree in computer science and over 10 years of experience building web-based systems using Java/J2EE, Ruby, Rails and PHP. I'm a strong believer in the effectiveness of Agile Methods. Read more »

  • Subscribe

  • Table of Contents
    • The Problem
    • The Solution
  • Similar Posts
    • 100 Bright Ideas
    • The Manhole Cover
    • Seven Days of Gold
    • Spinning Disc
    • Three Light Bulbs
  • From Around the Web

      Shared Items
    • Recent Posts

      • The carbs are clean!
      • 80 pages of Ruby on Rails Performance Optimization Tips
      • Ruby Garbage Collection In-Depth
      • Binary Logic Basics
      • Kuali in Nacubo Magazine
    • Older Posts By Month

      Let's Talk

      Ask a question below. You'll be prompted for your name and email after you click the "Ask" button.

    Know more. Accomplish more. Succeed.