Relations and Functions: relationships and examples
A relation becomes a function only when each domain input has exactly one output. Declared sets: For f:A→B, A is the domain, B the codomain and f(A) the attained range. Onto means f(A)=B. One-one versus onto: x² from R to [0,∞) is onto but many-one. Restricting its domain to [0,∞) makes it one-one as well. Composition: For f(x)=2x+3,g(x)=x², f(g(x))=2x²+3 while g(f(x))=(2x+3)². Check that inner outputs lie in the outer domain. Inverse check: A bijection has a two-sided inverse. f inverse(x)=(x−3)/2 reverses 2x+3; it is not the reciprocal 1/(2x+3).Declared sets
For f:A→B, A is the domain, B the codomain and f(A) the attained range. Onto means f(A)=B.One-one versus onto
x² from R to [0,∞) is onto but many-one. Restricting its domain to [0,∞) makes it one-one as well.