Do there exist functions f : R → R and g : R → R , such that f ∘ g is strictly increasing and g ∘ f is strictly decreasing?
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.
d(f(g))/dx = df/dg * dg/dx > 0
d(g(f(x)) = dg/df * df/dx < 0
Make df/dg and dg/df negative, dg/dx negative and df/dx positive.
Well, if f ′ ( x ) > 0 and g ′ ( x ) < 0 for all x , then both f ( g ( x ) ) and g ( f ( x ) ) are strictly decreasing. Thus there are no differentiable function that satisfy your conditions.
Simon, can you furnish an example?
Log in to reply
One example that goes against that condition is f ( x ) = e x and g ( x ) = e − x . As f is strictly increasing and g is strictly decreasing, f ( g ( x ) ) = e e − x and g ( f ( x ) ) = e − e x are both strictly decreasing. The simplest one is f ( x ) = x and g ( x ) = − x .
I have written up an example :) I hope you enjoy.
So is the answer to the question yes or no?
Log in to reply
The answer is yes. Yet, it takes some handwork to prove the existence of the functions. As Simon said, it is not the case that if f ( x ) is strictly increasing and g ( x ) is strictly decreasing for all x , then f ∘ g is increasing, whereas g ∘ f is decreasing.
Log in to reply
I have written up a simple example of two such functions which I found somewhere on reddit ^^. I hope you like it!
You may want to read this and also that .
Problem Loading...
Note Loading...
Set Loading...
Here is a simple and explicit example of two such functions: First, set f ( 0 ) = g ( 0 ) = 0 . Define f ( x ) = x for x ∈ ( 1 , 2 ] and f ( x ) = − x for x ∈ [ − 2 , − 1 ) . For all other x , define f such that f ( x ) = − 2 f ( 2 x ) for all x . f looks something like this:
Note that f ( f ( x ) ) = x , as you can check (the absolute value never changes under f ). With this set up, define g ( x ) = 2 f ( x ) .
Now, f ( g ( x ) ) = f ( 2 f ( x ) ) = − 2 f ( f ( x ) ) = − 2 x (decreasing) and g ( f ( x ) ) = 2 f ( f ( x ) ) = 2 x (increasing).