How many functions are there such that for all real ?
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.
Suppose such a functiom exists. Let a = 2 5 − 1 and b = 2 − 5 − 1 . Then clearly, f ( f ( a ) ) = b and f ( f ( b ) ) = a . Let f ( a ) = p . Then f ( b ) = f ( f ( f ( a ) ) ) = f ( f ( p ) ) = p 2 − 2 .
So we have a cycle of length four, given by
a → p → b → p 2 − 2 → a . Notice that a , b , p 2 − 2 are all distinct from p :
If p = a , then b = f ( p ) = f ( a ) = p = a , which is false.
If p = b , then f ( a ) = f ( f ( a ) ) , so a = f ( f ( f ( f ( a ) ) ) ) = f ( f ( f ( f ( f ( a ) ) ) ) ) = f ( a ) = p , which cannot be.
If p = p 2 − 2 , then f ( p ) = f ( p 2 − 2 ) , or b = a , which is false.
Now, f ( f ( p 2 − 2 ) ) = f ( f ( f ( f ( f ( a ) ) ) ) ) = f ( a ) = p , so
( p 2 − 2 ) 2 − 2 = p , or p 4 − 4 p 2 − p + 2 = 0 , which factorises as
( p − 2 ) ( p + 1 ) ( p 2 + p − 1 ) = 0 , which can be written as ( p − ( p 2 − 2 ) ) ( p − a ) ( p − b ) = 0 . But we saw that none of p = a , p = b or p = p 2 − 2 is possible. So we have arrived at a contradiction. Hence our assumption of the existence of such a function is incorrect.
Therefore no such function exists.