Does there exist a function f : R → R which satisfies
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.
doesn't fall under the category of discontinous everywhere?
Log in to reply
The function in the example is discontinuous at all non-zero integers and continuous everywhere else so it is not discontinuous everywhere.
@Alperen AYDIN No it is continuous at some points and discontinuous at others.
Relevant wiki: Bijection, Injection and Surjection - Problem Solving - Hard
f(x)=1/x when x != 0 and f(0)=0 seems to be a good example
Simplea and elegant indeed!
What I've noticed here is the fact that, if g ( x ) is a function which is a bijection between the nonnegative real numbers (with g ( 0 ) = 0 ), then its inverse is also a bijection between the nonnegative real numbers. This implies that f ( x ) = − g ( x ) if x ≥ 0 , f ( x ) = g − 1 ( − x ) otherwise gives us f ( f ( x ) ) = x for all x.
Let h ( x ) = x if ⌊ x ⌋ ≡ 0 ( m o d 2 ) , h ( x ) = x + 2 if ⌊ x ⌋ ≡ 1 ( m o d 4 ) , h ( x ) = x − 2 if ⌊ x ⌋ ≡ 3 ( m o d 4 ) . We can see that by checking cases (or graphing) that h ( x ) is a bijection between the nonnegative real numbers (with g ( 0 ) = 0 ), and h ( x ) is nonmonotonic. Letting g ( x ) = h ( x ) , we get our desired function f ( x ) .
So the answer it Yes .
P.S. Here is the graph of h ( x ) to see how I was inspired to construct such a function.
Well...
f ( x ) = ⎩ ⎨ ⎧ x ( x ≤ 0 ) x 1 ( x > 0 )
Enough said.
There appears to be no shortage of such functions. We are told that f is neither increasing nor decreasing, and yet it's bijective. Thus the function must have points of discontinuity. Since f is bijective, f ∘ f is also bijective. We're told it's non-descreasing, but it's allowed to be increasing. So the obvious thing is to create a function f such that f ( f ( x ) ) = x .
This is easier to do if we consider a subset of the real line. On ( 0 , 1 ) let f ( x ) = 1 − x . This function is a bijection of the interval ( 0 , 1 ) onto itself. If we compose f with itself, we see that f ( f ( x ) ) = 1 − ( 1 − x ) = x .
We can extend f to the entire real line by setting f ( x ) = ⌈ x ⌉ − x + ⌊ x ⌋ . This function is locally decreasing but increasing in the sense that if x − y > 1 then f ( x ) > f ( y ) .
honda1095cm5
Way ytyleti
Goodewelle
The 2. is tricky, but can be read as "not ((not increasing) and (not decreasing))", which is simply "increasing or decreasing". f(x) = x is bijective, increasing and f(f(x)) = x is increasing.
Actually, you are not right here. It should be interpreted as "not ((not increasing everywhere) or (not decreasing everywhere))", which is the same as "(increasing somewhere and decreasing somewhere)". So, your example does not work.
Problem Loading...
Note Loading...
Set Loading...
Relevant wiki: Bijection, Injection and Surjection - Problem Solving - Hard
Here's a straightforward example. Let f ( x ) = x when x is not an integer and f ( x ) = − x when x is an integer. Clearly f is a bijection which is neither non-increasing or non-decreasing and f ( f ( x ) ) = x is non-decreasing.