Domain and range can't be negative

EV33
Messages
192
Reaction score
0

Homework Statement


Given f:A→B and g:B→C, let h=g(f(a))

If h is injective, then g is injective.

Give a counter example.

Homework Equations


Injection: Let f:A→B

For all f(x1)=f(x2) implies x1=x2


The Attempt at a Solution



f(a)=\sqrt{a} from [0, infinity]→[0,infinity]

g(b)=b2 from [all real numbers]→[0,infinity]

h(a)=a from [0, infinity]→[0,infinity]


Assuming h is injective and g is not, then this is a counter example. My problem is I am not sure if the square root messes things up here. I know that the square root of a squared is plus or minus a, but because the domain and range can't be negative ( I think), then this works.

So is this correct?
 
Physics news on Phys.org


I believe you are correct.
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top