Find two functions f(x) and g(x) such that f[g(x)] = x but g[f(x)] does not equal x
I wouldn't even know where to begin here.
@whpalmer4
@bahrom7893
@inkyvoyd
@amistre64
@Luigi0210
I guess we should try to avoid using simple linear functions. A composition of linear functions will always give us g(f(x))=x if it already gave us f(g(x))=x. So we need something a little bit fancier. Like a function that is `not one-to-one`.
I tried arctan and tan, but she (my teacher) said they'd both come to x. Wolfram alpha says she's wrong though?
Hmm, ya seems like she's wrong >.< I have another idea.. how bout these two functions :)
\[\large\rm f(x)=x^2,\qquad\qquad\qquad g(x)=\sqrt{x}\]
Those both equal x
\[\large\rm g(f(x))=\sqrt{x^2}=|x|\]
Ah, nevermind I just saw that
\[\large\rm f(g(x))=\sqrt{x}^2=x\]When the square is on the outside we have something else going on like we see here :)
But it's happening because x^2 is not one-to-one. Seems like tangent should give you some similar shenanigans, but i dunno >.<
Yeah... Thank you! You've helped bunches1
*!
cool c:
Join our real-time social learning platform and learn together with your friends!