• Welcome to Valhalla Legends Archive.
 

An interesting riddle

Started by iago, June 02, 2004, 12:59 AM

Previous topic - Next topic

iago

On day 1, a man goes hiking.  The path he takes is ascending, so it's slow going.  He leaves at 8am, and arrives at his destination at 5pm.  

The next day, he goes home.  Since it's downhill, the going is much faster.  He leaves at 8am and arrives home by 3pm.  

The question is: is there some time during both of the days that he was in the same position?  ie, the same position at the same time on both days.


Although I know the answer, I'm going to leave it open for now.  I'm sure it's pretty obvious to certain people what the answer is :)
This'll make an interesting test for broken AV:
QuoteX5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*


Yoni

I know the answer as well. To extend the riddle:

What theorem in calculus confirms the answer? :)

CrAzY

Alg 1 student here... Graph it and find intersection points.
CrAzY

iago

Quote from: CrAzY on June 04, 2004, 08:03 AM
Alg 1 student here... Graph it and find intersection points.

That's pretty much how I pictured it.  Basically, 2 points on a graph (on a straight line is easiest) moving in opposite directions with different velocity -- do they pass each other at any point?  

But I have no idea how you would confirm it in calculus.
This'll make an interesting test for broken AV:
QuoteX5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*


dxoigmn

#4
Quote from: iago on June 07, 2004, 11:09 AM
Quote from: CrAzY on June 04, 2004, 08:03 AM
Alg 1 student here... Graph it and find intersection points.

That's pretty much how I pictured it.  Basically, 2 points on a graph (on a straight line is easiest) moving in opposite directions with different velocity -- do they pass each other at any point?  

But I have no idea how you would confirm it in calculus.

The squeeze theorem comes to mind but I'm not entirely sure.

Edit: Added link to mathworld.

Yoni


R.a.B.B.i.T

#6
QuoteSend a second man up the second day the exact same way the first man went up on the first day.  The point and time at which they meet is the point and time the first man was/is present on the path both days at the same time.

[edit]
Go abstract math solutions ^^

[edit2]
Am I supposed to use Black color?  Eh...

iago

Quote from: R.a.B.B.i.T on June 09, 2004, 09:44 PM
[edit2]
Am I supposed to use Black color?  Eh...
Eh, doesn't hurt :)
This'll make an interesting test for broken AV:
QuoteX5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*


K

#8
How about this:

let the distance of the hike = d;
let dx/dt be the rate (distance/time) at which he travels on both days.

given:
x1(0) = 0; (hasnt gone up yet)
x2(0) = d; (hasn't gone down yet)

overall times = 9hours, 7hours.
dx/dt1 = (1/9 * d)
dx/dt2 = -(1/7 * d) (travelling in the opposite direction)

integrate:
x1(t) = (1/9 * d * t) + C
x2(t) = -(1/7 * d * t) + C

solve for C using the givens above:
x1(t) = (1/9 * d * t)
x2(t) = - 1/7 * d * t + d = d - (1/7 * d * t)

solve for intersection:

(1/9 * d * t) = d - (1/7 * d * t)
1/9 * t = 1 - 1/7 * t
(1/9 + 1/7) t = 1
16/63 t = 1
t = 63 / 16 = 3.9 hours.

I guess you could call that the fundamental theorem of calculus, ie F(t) = integral(F'(t)dt) + C.  But the integration is hardly necessary if you know the equation of a line with slope m and intercept b :P

Yoni

Quote from: K on June 09, 2004, 11:07 PM
dx/dt1 = (1/9 * d)
dx/dt2 = -(1/7 * d) (travelling in the opposite direction)

Just to nullify K's calculations and previous responses to this thread:

Assume the hiker didn't go up or down at a constant rate.
Some places were harder to hike in, and then he went slower, and some places were easier, and then he went faster.

Also, assume that on the way up, it's possible that he may have gone straight, or even down a few times (for example, when passing a small hill on the way).
Similarly, assume that on the way down, he may have gone straight or up a few times.

Also, assume that it's possible that he didn't take the exact same route going down as he did going up. Someone at the top told him of a faster way, and he chose that instead. (He also went faster because descending is easier.)

Under all these restrictions, he still must have been at the exact same height in both days at least during one time of the day.

What theorem in calculus (which, I'm afraid, hasn't been mentioned in this thread yet) confirms this?

K

The intermediate value theorem.

Yoni


K

#12
You mentioning that the rate didn't have to be constant and could have increased or decreased jogged my memory.  

Definition:

Given a function f(x) that is continuous over the interval (a, b) with a < b, and a constant k such that k falls between f(a) and f(b)  [ie, f(a) > k > f(b), or f(a) < k < f(b) ], some constant c such that a < c < b is guaranteed to exist such that f(c) = k.

Adron

However, since things are quantized and not continous, there are no guarantees he's been at the same height at the same time both days ;)

Yoni

Quote from: Adron on June 10, 2004, 05:11 PM
However, since things are quantized and not continous, there are no guarantees he's been at the same height at the same time both days ;)
Yes there are. Define "same height" as "within a single quanta(?) of the same height" and then, since the movement is a continuous function multiplied by a quantizing constant (as I would like to believe), you get the result easily using calculus as described.

If not, you'd have to look at the time, stretching and compressing with the changes of the hiker's velocity. This gets annoyingly complicated, stick to Newton mechanics for this please.