Unoffical empeg BBS

Quick Links: Empeg FAQ | RioCar.Org | Hijack | BigDisk Builder | jEmplode | emphatic
Repairs: Repairs

Topic Options
#361602 - 08/05/2014 20:34 Beauty of Mathematics...
canuckInOR
carpal tunnel

Registered: 13/02/2002
Posts: 3212
Loc: Portland, OR
So, I got an email from my mom, with the subject of Beauty of Mathematics, containing a youtube link. Since I have a degree in math, it seemed appropriately nice.

I was (perhaps naively) expecting something like this ViHart video:


*sigh*

I got this "inspirational" video, instead:


Okay, mom, the first part is neat. But the rest of that? It's not "mathematics", it's trite numerology, and it's idiotic garbage. (If you were smart, and skipped the second vid, they assign numbers to letters of the alphabet based on position, and then add up the numerical value of various phrases.)

I'm on the fence trying to decide if I ought to tell my conservative mother that if you continue with that theory, internet porn is even better than love of god.

Decisions, decisions.

Top
#361603 - 08/05/2014 20:48 Re: Beauty of Mathematics... [Re: canuckInOR]
rubennyc
member

Registered: 27/01/2006
Posts: 142
Loc: New Jersey, USA
I really wish I could help you on this one. Only thing that comes to mind is to reply with an extended Vi Hart p"laylist. (Love Vi Hart!)

Top
#361607 - 09/05/2014 00:43 Re: Beauty of Mathematics... [Re: canuckInOR]
tanstaafl.
carpal tunnel

Registered: 08/07/1999
Posts: 5549
Loc: Ajijic, Mexico
I had never heard of Vi Hart before. She has a lot of videos out there and is a fantastic talent.

Has she been able to leverage these videos into a money-making operation? If so, whatever she earns isn't enough!

Thank you for broadening my horizons. I'm going to watch more of her videos over the next few days.

On the topic of mathematics...

Many years ago (like about 40 or so) I came up with a math problem that intrigued me. I was never able to solve it, so on a whim I gave it to my office manager, who did. I don't remember her solution, only that it involved some outside-the-box thinking. Here's the problem:

Visualize an analog 12-hour clock with hour hand, minute hand, second hand. We know that at 12:00:00 all three hands are in perfect mathematically defined alignment. At what other times if any (such as five minutes and a few seconds after one, or maybe 21 or 22 minutes and a few seconds after four) are all three hands in perfect alignment. Prove (or disprove) it.

Fun, eh?

tanstaafl.
_________________________
"There Ain't No Such Thing As A Free Lunch"

Top
#361608 - 09/05/2014 00:48 Re: Beauty of Mathematics... [Re: canuckInOR]
drakino
carpal tunnel

Registered: 08/06/1999
Posts: 7868
I think that second video converted me to some form of polytheism. After all, love of gods is 120%. I've heard about those 100, 101 and 110% people before. 120% sounds even better.

Top
#361612 - 09/05/2014 02:56 Re: Beauty of Mathematics... [Re: tanstaafl.]
K447
old hand

Registered: 29/05/2002
Posts: 798
Loc: near Toronto, Ontario, Canada
Originally Posted By: tanstaafl.
... Here's the problem:

Visualize an analog 12-hour clock with hour hand, minute hand, second hand. We know that at 12:00:00 all three hands are in perfect mathematically defined alignment. At what other times if any (such as five minutes and a few seconds after one, or maybe 21 or 22 minutes and a few seconds after four) are all three hands in perfect alignment. Prove (or disprove) it...
Prove what exactly?

Off the top of my head, the clock hands would align eleven times as the hour hand travels around the clock face. The minute hand must run around 60 minutes plus five minutes (1/12th of the next hour) to catch up with the hour hand.

The second hand only matters when the other two are aligned, as it next catches up with the minute hand every 1+1/12th hour.

It is way past bedtime here, so if I messed this up, that is my excuse... smile

Top
#361615 - 09/05/2014 06:33 Re: Beauty of Mathematics... [Re: canuckInOR]
peter
carpal tunnel

Registered: 13/07/2000
Posts: 4180
Loc: Cambridge, England
If numerology is the last refuge of the scoundrel, the last-but-one is that thing that I don't have a name for, where people do essentially the same thing with bogus etymology. It was brilliantly sent up by, who else, Jon Stewart, satirising, who else, Glenn Beck, by doing a whole presentation on "LIBERTARIANS": roaring "They lie! 'Lie' is right there in the name! [underlines it] But *who* is lying to us? Bert! [picture of Bert from Sesame Street] And who else is lying to us? Arians!" [flails arms, becomes too overcome to speak].

(In retrospect, finding the clip on Youtube would probably have been easier than typing that out...)

Peter

Top
#361616 - 09/05/2014 06:53 Re: Beauty of Mathematics... [Re: tanstaafl.]
andy
carpal tunnel

Registered: 10/06/1999
Posts: 5916
Loc: Wivenhoe, Essex, UK
Originally Posted By: tanstaafl.
I had never heard of Vi Hart before. She has a lot of videos out there and is a fantastic talent.

Has she been able to leverage these videos into a money-making operation? If so, whatever she earns isn't enough!


"Q: Can I give you money? You should really be able to make videos full time!
A: I already make videos full time! Making my videos takes a lot longer than most people’s craziest estimates. Luckily, you’re not the only one who thinks my work is worth supporting. I am currently very generously supported by SAP, and before that, I was supported by Khan Academy. I am doing pretty good!"
_________________________
Remind me to change my signature to something more interesting someday

Top
#361619 - 09/05/2014 13:47 Re: Beauty of Mathematics... [Re: peter]
Roger
carpal tunnel

Registered: 18/01/2000
Posts: 5683
Loc: London, UK
Originally Posted By: peter

(In retrospect, finding the clip on Youtube would probably have been easier than typing that out...)


http://www.youtube.com/watch?v=Wdw0T5Q66tc
_________________________
-- roger

Top
#361621 - 09/05/2014 16:28 Re: Beauty of Mathematics... [Re: tanstaafl.]
canuckInOR
carpal tunnel

Registered: 13/02/2002
Posts: 3212
Loc: Portland, OR
Originally Posted By: tanstaafl.
I had never heard of Vi Hart before. [...]
Thank you for broadening my horizons.

My pleasure! I love her videos, along with SmarterEveryDay.

Originally Posted By: tanstaafl.
Visualize an analog 12-hour clock with hour hand, minute hand, second hand. We know that at 12:00:00 all three hands are in perfect mathematically defined alignment. At what other times if any (such as five minutes and a few seconds after one, or maybe 21 or 22 minutes and a few seconds after four) are all three hands in perfect alignment. Prove (or disprove) it.

The simple way to do it is to get an analog clock, and wind the hour hand around the entire face, taking note of the times when they overlap. smile

Top
#361666 - 12/05/2014 20:07 Re: Beauty of Mathematics... [Re: K447]
canuckInOR
carpal tunnel

Registered: 13/02/2002
Posts: 3212
Loc: Portland, OR
Originally Posted By: K447
Originally Posted By: tanstaafl.
... Here's the problem:

Visualize an analog 12-hour clock with hour hand, minute hand, second hand. We know that at 12:00:00 all three hands are in perfect mathematically defined alignment. At what other times if any (such as five minutes and a few seconds after one, or maybe 21 or 22 minutes and a few seconds after four) are all three hands in perfect alignment. Prove (or disprove) it...
Prove what exactly?

Off the top of my head, the clock hands would align eleven times as the hour hand travels around the clock face. The minute hand must run around 60 minutes plus five minutes (1/12th of the next hour) to catch up with the hour hand.

That's actually quite incorrect. It all comes down to a question of
precision -- how precise do you want to be?

The problem with your logic is that, as the minute hand moves the 1/12th
of the next hour to catch up to the hour hand, the the hour hand is
still moving
. So in truth, the minute hand must move 1/12th of an
hour plus the delta that the hour hand has moved in those 5 + delta
minutes. Similarly for the second hand.

The simple way to look at it is as a function of percentage. The hands
will align when they're the same percentage of the way around the clock
face. You can describe that as the following set of functions (in terms
of seconds -- we could arbitrarily pick any other unit, like tenths of a
second, if we wanted to, but seconds is quite sufficient):
Code:
h(x) = x / 43200
m(x) = (x mod 3600) / 3600
s(x) = (x mod 60) / 60

for x in [0,43200)

Alignment occurs for the set
Code:
{ x | h(x) = m(x) = s(x), 0 <= x < 43200 }

At this point, it's easier to break out a bit of C -- I lack the knowledge
to continue representing this in pure mathematical notation. smile
Code:
#include <stdlib.h>
#include <stdio.h>
#include <math.h>

#define PRECISION 0.01

double h(int x) {
    return ((double)x) / 43200.0;
}

double m(int x) {
    return fmod((double)x, 3600.0) / 3600.0;
}

double s(int x) {
    return fmod((double)x, 60.0) / 60.0;
}

int main(void) {
    for (int x = 0; x < 43200; x++) {
        double h_pct = h(x);
        double m_pct = m(x);
        double s_pct = s(x);

        if (fabs(h_pct - m_pct) < PRECISION &&
            fabs(h_pct - s_pct) < PRECISION &&
            fabs(m_pct - s_pct) < PRECISION) {
            printf("%5d (%02d:%02d:%02d)\t%f\t%f\t%f\n", x, x/3600, (x/720)%60, x%60, h_pct, m_pct, s_pct);
        }
    }
}

If you only care about precision within, say, 1%, then that gives you the following:
Code:
    0 (00:00:00)        0.000000        0.000000        0.000000
 3905 (01:05:05)        0.090394        0.084722        0.083333
 3966 (01:05:06)        0.091806        0.101667        0.100000
 7871 (02:10:11)        0.182199        0.186389        0.183333
11776 (03:16:16)        0.272593        0.271111        0.266667
15742 (04:21:22)        0.364398        0.372778        0.366667
19647 (05:27:27)        0.454792        0.457500        0.450000
23553 (06:32:33)        0.545208        0.542500        0.550000
27458 (07:38:38)        0.635602        0.627222        0.633333
31424 (08:43:44)        0.727407        0.728889        0.733333
35329 (09:49:49)        0.817801        0.813611        0.816667
39234 (10:54:54)        0.908194        0.898333        0.900000
39295 (10:54:55)        0.909606        0.915278        0.916667

But none of those percentage numbers are actually equal, and
since Doug did say "perfect mathematical alignment", I'd say this level
of precision isn't sufficient. As a consequence the only acceptable
answer is...

Never (as Doug hinted, with his underlined "if any").

Thank you, irrational numbers. edit: Thank you Peter, for reminding me that these are not irrational, as they're just a decimal representation of fractions...


Edited by canuckInOR (13/05/2014 14:41)

Top
#361669 - 13/05/2014 04:37 Re: Beauty of Mathematics... [Re: canuckInOR]
peter
carpal tunnel

Registered: 13/07/2000
Posts: 4180
Loc: Cambridge, England
Another way of looking at it, is to say that the position repeats after 12 hours. In those 12 hours, the hour hand goes round once and the minute hand twelve times, so the minute hand overtakes the hour hand exactly eleven times. Because the speeds are constant, those moments must be exactly one-eleventh of a 12-hour period apart.

Similarly, the minute hand goes round 12 times and the second hand 720 times. So the second hand overtakes the minute hand 708 times, exactly 1/708th of a 12-hour period apart.

The three hands exactly align whenever the minute hand overtakes the hour hand at the exact moment that the second hand is overtaking the minute hand. That time would have to be an exact number of elevenths and an exact number of 708ths. But as 11 and 708 are coprime, there is no such fraction: the only answer is zero elevenths, which equals zero 708ths, which is 12:00:00.

Thank you, coprime numbers.

Peter

Top
#361672 - 13/05/2014 08:34 Re: Beauty of Mathematics... [Re: canuckInOR]
Roger
carpal tunnel

Registered: 18/01/2000
Posts: 5683
Loc: London, UK
Originally Posted By: canuckInOR
Thank you, irrational numbers.


Thank you, Erlang:

Code:
1> H = fun(X) -> X / 43200 end.
2> M = fun(X) -> (X mod 3600) / 3600 end.
3> S = fun(X) -> (X rem 60) / 60 end.
4> [X || X <- lists:seq(0, 43200), H(X) =:= M(X) andalso M(X) =:= S(X)].
[0]
_________________________
-- roger

Top
#361674 - 13/05/2014 10:26 Re: Beauty of Mathematics... [Re: peter]
tanstaafl.
carpal tunnel

Registered: 08/07/1999
Posts: 5549
Loc: Ajijic, Mexico
Originally Posted By: Peter
The three hands exactly align whenever the minute hand overtakes the hour hand at the exact moment that the second hand is overtaking the minute hand.
That's it! Now I remember...the office manager solved the problem as a function of relative velocities, rather than position as a function of time.

Very nicely and compactly stated, Peter.

tanstaafl.
_________________________
"There Ain't No Such Thing As A Free Lunch"

Top
#361677 - 13/05/2014 13:16 Re: Beauty of Mathematics... [Re: Roger]
peter
carpal tunnel

Registered: 13/07/2000
Posts: 4180
Loc: Cambridge, England
Originally Posted By: Roger
Thank you, Erlang:

But that code also returns just the one match if you ask it whether the minute hand and hour hand ever coincide (ignoring the second hand). So it falls a bit short of proving that the three-way event never happens, because it only considers events which happen at an integer number of seconds. The numbers involved are not irrational, but nor are they integers (elevenths of a 12-hour period).

It occurs to me that if your clock doesn't have a sweep second hand, then that's a whole different calculation.

Peter

Top
#361679 - 13/05/2014 14:45 Re: Beauty of Mathematics... [Re: peter]
canuckInOR
carpal tunnel

Registered: 13/02/2002
Posts: 3212
Loc: Portland, OR
Originally Posted By: peter
Thank you, coprime numbers.

Ah, wonderful. On the way home, I started thinking that there had to be an easier proof such that the hands didn't share any common factors, but I was stuck thinking with the numbers in my previous solution, which were clearly non-coprime.

Top
#361681 - 13/05/2014 16:11 Re: Beauty of Mathematics... [Re: canuckInOR]
peter
carpal tunnel

Registered: 13/07/2000
Posts: 4180
Loc: Cambridge, England
And if the French Revolution's audacious idea of decimal time (1d=10h, 1h=100m, 1m=100s) had stood the test of, uh, time -- then every time the hour and minute hand coincided, the second hand would be there too. (The "11" and "708" become "9" and "990", and every exact ninth is also an exact 990th.)

The even more interesting question is, given X hours per day (or per half-day, if that's what your clock-face measures) and Y minutes per hour, how many triple alignments are there as a function of X and Y?

Peter

Top
#361761 - 20/05/2014 21:14 Re: Beauty of Mathematics... [Re: canuckInOR]
Taym
carpal tunnel

Registered: 18/06/2001
Posts: 2504
Loc: Roma, Italy
Thank you for making me discover Vi Hart. smile
_________________________
= Taym =
MK2a #040103216 * 100Gb *All/Colors* Radio * 3.0a11 * Hijack = taympeg

Top