A snake with body length 1 from head to tail has made an underground tunnel in the shape of a unit circle. Starting from inside the tunnel, the snake pokes 3 1 of its length (including its head) straight upwards out of the tunnel at some location. The snake then pokes its tail (and some length of its body) straight upwards out of the tunnel somewhere else. The rest of the snake's body remains within the tunnel.
The two poking locations are separated by an angle of θ . What value of θ (in degrees) minimizes the straight-line distance from the snake's head to its tail?
Details and Assumptions:
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
Thanks for the solution. I did it the same way. Maybe this should change categories.
Let's put the system in a x y z -coordinate space. Let the tunnel be described by the equation x 2 + y 2 = 1 . The snake is 'divided' in three parts:
Since the snake has lenght 1 , we'll have that h + b + t = 1 . Let be the point from which the tail pokes
T = ( 1 , 0 , t )
and the one from which the head pokes
H = ( cos θ , sin θ , 3 1 ) .
The 'body' lies on an arc of the circumference, so b = θ = 3 2 − t . Hence
T = ( 1 , 0 , 3 2 − θ )
H = ( cos θ , sin θ , 3 1 ) .
The distance to minimize is
H T = D ( θ ) = ( cos θ − 1 ) 2 + sin θ 2 + ( θ − 3 1 ) 2 = 9 1 9 − 2 cos θ + θ 2 − 3 2 θ
d θ d D = 0 ⟹ 3 θ + 3 sin θ − 1 = 0 ⟹ θ ≈ 0 . 1 6 7 0 5 rad .
Eventually, in degrees
θ ≈ 9 . 5 7 1 °
Problem Loading...
Note Loading...
Set Loading...
I'm not sure this can be done without calculus, so I suggest a category change.
Let's coordinatize: The circle will be centered at the origin in the x-y plane and the z-coordinate will be the height. If we put the snake's head hole on the x-axis, the head has coordinates ( 1 , 0 , 3 1 ) .
Let the portion of the snake's body inside the tunnel be θ and oriented counterclockwise (opposite from the picture) so the tail has coordinates ( cos θ , sin θ , 3 2 − θ )
The distance formula becomes d ( θ ) = ( cos θ − 1 ) 2 + ( sin θ − 0 ) 2 + ( 3 2 − θ = 3 1 ) 2 = 2 − 2 cos θ + ( 3 1 − θ ) 2
A quick graph shows this has a minimum at θ ≈ 0 . 1 6 7 0 5 5 radians or 9 . 5 7 1 5 4 6 degrees.
Can we get an exact or 'better' solution?
d ′ ( θ ) = 2 − 2 cos θ + ( 3 1 − θ ) 2 sin θ − 3 1 + θ
For this to equal zero, the numerator must equal zero so we could try solving sin θ = 3 1 − θ . However, this type of equation doesn't generally have an exact form.