Google Classroom
GeoGebraTarefa

Mice problem

This activity belongs to the GeoGebra book The Domain of the Time. If, in the previous activity, we add a third point and make the pursued ones also pursuers, we obtain the well-known mice problem. Now there are three points, M, N and P, representing the mice, located respectively at the initial positions A, B and C, which are the vertices of an equilateral triangle. Each point has the same constant speed (1 m/s), but each mouse is always directed toward its neighbor: M moves toward N, N moves toward P, and P moves toward M. The curve described by each mouse is one of the most common curves in nature, found in both shells and galaxies: the logarithmic spiral. It doesn't matter whether there are 3 or more mice located at the vertices of a regular polygon; in any case, they will trace out a logarithmic spiral, also called equiangular due to the constant angle formed by the tangent at any point with the line connecting it to the center (a property shared with the circle). In the case of the three mice, this constant angle is 30º. You can modify the initial positions A and B. You can also download the construction and add more mice to adapt it to regular polygons with more sides: it's very simple!
SCRIPT FOR SLIDER anima # Calculate the elapsed seconds dt; add one second if t1(1) < tt SetValue(tt, t1(1)) SetValue(t1, First(GetTime(), 3)) SetValue(dt, (t1(1) < tt) + (t1(1) − tt)/1000) # Move M, N and P and stop the animation when N and M are close enough SetValue(M, M + dt vM) SetValue(N, N + dt vN) SetValue(P, P + dt vP) StartAnimation(anima, abs(N M) > (x(Corner(2) Corner(1))/200)) Author of the activity and GeoGebra construction: Rafael Losada.