Cyclic Functions
by nsato, Oct 14, 2010, 7:00 PM
The other day, I was teaching our Algebra 3 class, and one of the topics was using cyclic functions to solve functional equations. (We will also cover functional equations in an upcoming WOOT class.)
[jump]Learn more after the jump![/jump]
A function
is cyclic with order
if
![\[f^{n}(x) = x,\]](//latex.artofproblemsolving.com/0/d/c/0dce0757178ee9d246d83eef7a31c115e4c85f08.png)
where
denotes the
iterate of
, i.e. it is the function obtained when applying the function
times. For example, the function
is cyclic with order 2, because
![\[f^2(x) = f(f(x)) = f \left( \frac{1}{x} \right) = x.\]](//latex.artofproblemsolving.com/d/1/5/d1542b024498e083c931bd1d2fbec3a9ad668ea5.png)
The function
is cyclic with order 3, because
![\[f^2(x) = f(f(x)) = f \left( \frac{x - 1}{x} \right) = \frac{(x - 1)/x - 1}{(x - 1)/x} = -\frac{1}{x - 1},\]](//latex.artofproblemsolving.com/0/8/b/08b2092bbab9b52fabb8656f53cfcc0992270b1a.png)
and
![\[f^3(x) = f^2(f(x)) = f^2 \left( \frac{x - 1}{x} \right) = \frac{1}{-(x - 1)/x - 1} = x.\]](//latex.artofproblemsolving.com/0/0/e/00ea876af831e98f2b133d6666a6385b148939bc.png)
Note that these equations do not quite hold for all
. For example,
is not defined for
. This is typical for most cyclic functions that we deal with - they are defined for all real numbers, except possibly for a finite number of points. So in the definition of a cyclic function, it will be implicit that the equation
holds for all
, except possibly for a finite number of points.
We can use cyclic functions to solve functional equations as follows: For example, let
be a function such that
![\[3f \left( \frac{1}{x} \right) + \frac{2f(x)}{x} = x^2\]](//latex.artofproblemsolving.com/e/d/5/ed5eb26a80cf438869c7c80969cbefd77d098e29.png)
for all
. Find
. (This is a generalization of a 1998 HMMT problem.)
We know that the function
is cyclic with order 2, which means that if we replace
with
, the terms
and
switch, and we get
![\[3f(x) + 2x f \left( \frac{1}{x} \right) = \frac{1}{x^2}.\]](//latex.artofproblemsolving.com/e/4/2/e422a8365ec9d5a8f78dd51e9c59070132caec5b.png)
We can view these two equations as a system of equations in
and
. Solving for
, we find
![\[f(x) = \frac{3 - 2x^5}{5x^2}.\]](//latex.artofproblemsolving.com/7/f/5/7f541bb5e18766a600c71097d6e8ecc953856230.png)
We then check this solution. We have that
![\[f \left( \frac{1}{x} \right) = \frac{3 - 2/x^5}{5/x^2} = \frac{3x^5 - 2}{5x^3},\]](//latex.artofproblemsolving.com/8/2/3/8237fbf580ff3b6bc3d9b9752af69281ee41bb6b.png)
so
![\[3f \left( \frac{1}{x} \right) + \frac{2f(x)}{x} = \frac{3(3x^5 - 2)}{5x^3} + \frac{2(3 - 2x^5)}{5x^3} = \frac{5x^5}{5x^3} = x^2.\]](//latex.artofproblemsolving.com/a/4/a/a4a59e2e28c1e326d422ee5315449caf22a9f7cb.png)
Thus, our solution works.
A student in the class asked if there exist cyclic functions with order
, for any positive integer
. Because the function
is cyclic with order 2, it is also cyclic with order
for any positive integer
, but that's not very interesting. The function
is cyclic with order 1, so it is also cyclic with order
for any positive integer
, which is even less interesting.
For a given positive integer
, can you come up with a function
, from the real numbers to the real numbers (except possibly for a finite number of values), that is cyclic with order
, and that does not have any smaller order? In other words, we have to apply
to
times to get back
. I'm looking for a nice, simple formula, that you could plug into a calculator. I'll post my answer in a few days.
Here is the answer I was thinking of: First, can you think of an "operation" that has order
? That is, if you perform the operation
times, then you get back what you started with. Furthermore, you have to apply the operation at least
times to get back what you started with.
Here is an example: Take a point
, and a line passing through
. The operation consists of rotating the line around
by a certain angle.
If the angle is 90 degrees, then you get back the same line after two steps. If the angle is 60 degrees, then you get back the same line after three steps. In general, if the angle is
, then you get back the same line after
steps.
How do we turn this operation into a function that takes real numbers to real numbers?
We can think of the slope of the line, which can be any real number. If a line makes an angle
with the
-axis, then the slope of the line is given by
. Hence, the operation described above takes a line with slope
to a line with slope
.
By the addition formula for tangent,
![\[\tan \left( \theta + \frac{180^\circ}{n} \right) = \frac{\tan \theta + \tan \tfrac{180^\circ}{n}}{1 - \tan \theta \tan \tfrac{180^\circ}{n}}.\]](//latex.artofproblemsolving.com/7/d/c/7dc9f1b9f18c3abe444cd857280444c436185dd4.png)
Hence, the function
![\[f(x) = \frac{x + \tan \tfrac{180^\circ}{n}}{1 - (\tan \tfrac{180^\circ}{n}) x}\]](//latex.artofproblemsolving.com/e/6/9/e69b7e252b60f9d5df347f5313c8cac530d38676.png)
has the desired property, i.e. it is cyclic with order
, and it has no smaller order.
[jump]Learn more after the jump![/jump]
A function


![\[f^{n}(x) = x,\]](http://latex.artofproblemsolving.com/0/d/c/0dce0757178ee9d246d83eef7a31c115e4c85f08.png)
where






![\[f^2(x) = f(f(x)) = f \left( \frac{1}{x} \right) = x.\]](http://latex.artofproblemsolving.com/d/1/5/d1542b024498e083c931bd1d2fbec3a9ad668ea5.png)
The function

![\[f^2(x) = f(f(x)) = f \left( \frac{x - 1}{x} \right) = \frac{(x - 1)/x - 1}{(x - 1)/x} = -\frac{1}{x - 1},\]](http://latex.artofproblemsolving.com/0/8/b/08b2092bbab9b52fabb8656f53cfcc0992270b1a.png)
and
![\[f^3(x) = f^2(f(x)) = f^2 \left( \frac{x - 1}{x} \right) = \frac{1}{-(x - 1)/x - 1} = x.\]](http://latex.artofproblemsolving.com/0/0/e/00ea876af831e98f2b133d6666a6385b148939bc.png)
Note that these equations do not quite hold for all





We can use cyclic functions to solve functional equations as follows: For example, let

![\[3f \left( \frac{1}{x} \right) + \frac{2f(x)}{x} = x^2\]](http://latex.artofproblemsolving.com/e/d/5/ed5eb26a80cf438869c7c80969cbefd77d098e29.png)
for all


We know that the function





![\[3f(x) + 2x f \left( \frac{1}{x} \right) = \frac{1}{x^2}.\]](http://latex.artofproblemsolving.com/e/4/2/e422a8365ec9d5a8f78dd51e9c59070132caec5b.png)
We can view these two equations as a system of equations in



![\[f(x) = \frac{3 - 2x^5}{5x^2}.\]](http://latex.artofproblemsolving.com/7/f/5/7f541bb5e18766a600c71097d6e8ecc953856230.png)
We then check this solution. We have that
![\[f \left( \frac{1}{x} \right) = \frac{3 - 2/x^5}{5/x^2} = \frac{3x^5 - 2}{5x^3},\]](http://latex.artofproblemsolving.com/8/2/3/8237fbf580ff3b6bc3d9b9752af69281ee41bb6b.png)
so
![\[3f \left( \frac{1}{x} \right) + \frac{2f(x)}{x} = \frac{3(3x^5 - 2)}{5x^3} + \frac{2(3 - 2x^5)}{5x^3} = \frac{5x^5}{5x^3} = x^2.\]](http://latex.artofproblemsolving.com/a/4/a/a4a59e2e28c1e326d422ee5315449caf22a9f7cb.png)
Thus, our solution works.
A student in the class asked if there exist cyclic functions with order








For a given positive integer







Here is the answer I was thinking of: First, can you think of an "operation" that has order



Here is an example: Take a point



If the angle is 90 degrees, then you get back the same line after two steps. If the angle is 60 degrees, then you get back the same line after three steps. In general, if the angle is


How do we turn this operation into a function that takes real numbers to real numbers?
We can think of the slope of the line, which can be any real number. If a line makes an angle





By the addition formula for tangent,
![\[\tan \left( \theta + \frac{180^\circ}{n} \right) = \frac{\tan \theta + \tan \tfrac{180^\circ}{n}}{1 - \tan \theta \tan \tfrac{180^\circ}{n}}.\]](http://latex.artofproblemsolving.com/7/d/c/7dc9f1b9f18c3abe444cd857280444c436185dd4.png)
Hence, the function
![\[f(x) = \frac{x + \tan \tfrac{180^\circ}{n}}{1 - (\tan \tfrac{180^\circ}{n}) x}\]](http://latex.artofproblemsolving.com/e/6/9/e69b7e252b60f9d5df347f5313c8cac530d38676.png)
has the desired property, i.e. it is cyclic with order

This post has been edited 4 times. Last edited by nsato, Nov 19, 2010, 11:59 PM