Is There a Function f: Z -> Z Such That f(f(n))=-n for Every Integer?

  • Thread starter Thread starter ypatia
  • Start date Start date
  • Tags Tags
    Function
Click For Summary
The discussion centers on the existence of a function f: Z -> Z such that f(f(n)) = -n for every integer n. Participants express skepticism about the possibility of such a function, with one suggesting a piecewise definition that attempts to satisfy the condition. However, there is no consensus or proof provided that confirms the existence or impossibility of such a function. The conversation highlights the challenge of constructing a valid function while adhering to integer constraints. Ultimately, the question remains unresolved, inviting further exploration and proof.
ypatia
Messages
6
Reaction score
0
Is there any function (if any) f: Z -> Z such that
f(f(n))=-n , for every n belongs to Z(integers) ??


I think that there is not any function like the one described above but how can we prove it. Any ideas??
Thanks in Advance
 
Physics news on Phys.org
How about f(n)=in?
 
Not integer-valued. (I assume if the OP meant Gaussian integers that would have been mentioned, since that's the obvious solution.)

I've been thinking about this for a few hours now and I can't see any way to do it, but I can't prove that it's impossible.
 
How about

for n>0
f(2n-1)=2n
f(2n)=-2n+1
f(-2n+1)=-2n
f(-2n)=2n-1

f(0)=0
 
Nice, chronon. Nice.
 
Indeed - it's nice to visualize f as a piecewise permutation

(0)(-2,-1,2,1)(-4,-3,4,3)...(-2n,-2n+1,2n,2n-1)...

and recall that (abcd)^2=(ac)(bd)
 
Thread 'How to define a vector field?'
Hello! In one book I saw that function ##V## of 3 variables ##V_x, V_y, V_z## (vector field in 3D) can be decomposed in a Taylor series without higher-order terms (partial derivative of second power and higher) at point ##(0,0,0)## such way: I think so: higher-order terms can be neglected because partial derivative of second power and higher are equal to 0. Is this true? And how to define vector field correctly for this case? (In the book I found nothing and my attempt was wrong...

Similar threads

Replies
48
Views
4K
  • · Replies 13 ·
Replies
13
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 5 ·
Replies
5
Views
1K
  • · Replies 21 ·
Replies
21
Views
1K
  • · Replies 41 ·
2
Replies
41
Views
4K
  • · Replies 1 ·
Replies
1
Views
841
  • · Replies 25 ·
Replies
25
Views
2K
  • · Replies 6 ·
Replies
6
Views
1K
  • · Replies 4 ·
Replies
4
Views
2K