0

As already one user wrote out on Stack Exchange there is a discontinuous function that satisfies the equation $f(f(x)) = -x$. Namely:

Find a real function $f:\mathbb{R}\to\mathbb{R}$ such that $f(f(x)) = -x$?

--> click on the image here to view the function: g(x)

I also know that the function mentioned in that piece is equal to

$$f(x) = g(x-0.5)+0.5$$

Can anyone help me out on this and find the appropriate f(x)?

King
  • 31

1 Answers1

0

The same approach as in the accepted answer to the linked question works. We have to have $f(\frac 12)=\frac 12$, which makes $f(f(\frac 12))=\frac 12=1-\frac 12$. Partition the reals greater than $\frac 12$ into disjoint pairs. Given a pair $(a,b)$ define $$f(a)=b\\ f(b)=1-a\\ f(1-a)=1-b\\f(1-b)=a$$ Then $f(f(1-a))=a=1-(1-a)$ and similarly for $f(f(1-b))=b$ as required.

Ross Millikan
  • 374,822