I recently need to write some proofs involving the relationship between donmain, co-domain and range, which I am little confused about, for example:
1.If $f:A\rightarrow{R},g:B\rightarrow{R},g \circ f:C\rightarrow{R}$
Then we have $C = range(f)\cap A \cap B$
2.If we have some $c\in C$, then also $f(c)\in B$
My questions:
1.Is these statements true, if so, is it possible to prove it?
Or if it's false, what would be the counter example and the right relationship?
2.Any other result we can conclude from the condition?
Any help would be appreciated.
Definitions I'm using:
$f:A\rightarrow{B}$:
$f$:domain $\rightarrow$ co-domain
domain:
Subset of R that f is defined on
(for example, domain of $\frac{1}{x}$ is R without $0$)
co-domain:
R as default
range:
Outputs of f as a subset in co-domain