Testing for a function

Is it that y=x2\displaystyle y = x^2 has no inverse or that it has an inverse which is not a function?

The inverse being x=±y\displaystyle x = \pm \sqrt y
That depends on how you define an inverse. y=x2 y=x^2 has no inverse function and we can say it has no inverse.

An inverse is a unary operation. It requires to know on which set!

If we use the language (set) of relations then inverting a relation is simply interchanging the components. If there is a relation R R between the sets A A and B B , sometimes written ARB ARB or ARB A\sim_R B then R R is a subset of A×B. A\times B . Say we have R=A×B R=A\times B to keep it simple. This means R={(x,y)xA,yB}. R=\{(x,y)\,|\,x\in A, y\in B\} . The inverse relation would then be R1={(y,x)xA,yB}. R^{-1}=\{(y,x)\,|\,x\in A,y\in B\} . Since f f is a relation, we can define a relation f1 f^{-1} by f1={(f(x),x)} f^{-1}=\{(f(x),x)\} instead of f={(x,f(x))}. f=\{(x,f(x))\} .

If f(x)=x2 f(x)=x^2 then (1,1),(1,1)f (-1,1),(1,1)\in f and (1,1),(1,1)f1. (1,-1),(1,1) \in f^{-1} . However, this isn't a function any longer, since this would mean that we have f1(1)=1 f^{-1}(1)=-1 and f1(1)=1. f^{-1}(1)=1 .

Long story short ...
The inverse being f1(y)=x=±yf^{-1}(y)= x=\pm \sqrt{y}
... which is no function.
 
That depends on how you define an inverse. y=x2 y=x^2 has no inverse function and we can say it has no inverse.

An inverse is a unary operation. It requires to know on which set!

If we use the language (set) of relations then inverting a relation is simply interchanging the components. If there is a relation R R between the sets A A and B B , sometimes written ARB ARB or ARB A\sim_R B then R R is a subset of A×B. A\times B . Say we have R=A×B R=A\times B to keep it simple. This means R={(x,y)xA,yB}. R=\{(x,y)\,|\,x\in A, y\in B\} . The inverse relation would then be R1={(y,x)xA,yB}. R^{-1}=\{(y,x)\,|\,x\in A,y\in B\} . Since f f is a relation, we can define a relation f1 f^{-1} by f1={(f(x),x)} f^{-1}=\{(f(x),x)\} instead of f={(x,f(x))}. f=\{(x,f(x))\} .

If f(x)=x2 f(x)=x^2 then (1,1),(1,1)f (-1,1),(1,1)\in f and (1,1),(1,1)f1. (1,-1),(1,1) \in f^{-1} . However, this isn't a function any longer, since this would mean that we have f1(1)=1 f^{-1}(1)=-1 and f1(1)=1. f^{-1}(1)=1 .

Long story short ...

... which is no function.
There's a lot to learn from your posts, but the process - looking for a needle in a haystack. Didn't know mathematicians could be so verbose.
 
Top