Cut the knot: learn to enjoy mathematics
A math books store at a unique math study site. Shopping at the store helps maintain the site. Thank you.
Learning Math Online
Sites for teachers
Sites for parents
Terms of use
Awards
Interactive Activities

CTK Exchange
CTK Wiki Math
CTK Insights - a blog
Math Help

III Millennium Olympiad

Games & Puzzles
What Is What
Arithmetic/Algebra
Geometry
Probability
Outline Mathematics
Make an Identity
Book Reviews
Stories for Young
Eye Opener
Analog Gadgets
Inventor's Paradox
Did you know?...
Proofs
Math as Language
Things Impossible
Visual Illusions
My Logo
Math Poll
Cut The Knot!
MSET99 Talk
Other Math sites
Front Page
Movie shortcuts
Personal info
Privacy Policy

Guest book
News sites

Recommend this site

Games to relax

Sites for teachers
Sites for parents

Education & Parenting

Manifesto  |  Bookstore  |  Contents  |  Amazon store  |  Term index  |  What changed?  |  Contact  |  Recommend
RSS Feed: Recent changes at CTK

Disappearing lines

Here the task is similar to that of shifting staircases. In the applet below, there again are two parts - a stationary lower part and a moving upper part. To open the eyes one should slide the upper part up and to the right one notch.


This applet requires Sun's Java VM 2 which your browser may perceive as a popup. Which it is not. If you want to see the applet work, visit Sun's website at http://www.java.com/en/download/index.jsp, download and install Java VM and enjoy the applet.


Now, if you count the number of lines displayed, you'll discover that, compared to the original diagram, there is one line less. I assure you that no cheating is involved here. You could perform this trick on a piece of paper with the same result. Where did the line go?

Actually nowhere. The total length of the newly obtained lines is the same as the total length of the original ones.

This puzzle may seem to have little educational content. But this is not the case. Try to figure out how the moving part has been implemented. Everything is being drawn in real time. How would you do this?

A second reason for my creating the applet is what's called nowadays software reuse. Writing software is a very expensive and error prone undertaking. About 9-10 years ago it was realized what great advantage might be drawn from creating reusable components which eventually lead to the appearance of Object-Oriented languages and programming. Java is such an object-oriented language. I'd consider this a sin not to make a good use of Java's object-oriented nature.

This puzzle is described by Martin Gardner in his delightful "aha! Gotcha".

Copyright © 1996-2009 Alexander Bogomolny

34222218Page copy protected against web site content infringement by Copyscape


Search:
Keywords:

Google
Web CTK