- #1
Mathematicsresear
- 66
- 0
Homework Statement
suppose I have a function defined as:
G: ℚ--->ℚ
f(x)= { 2/ 3x if x does not equal to 0, 0 if x=0}
Homework Equations
Injective:if for all x,y in ℚ, f(x)=f(y) then x=y.
or if x does not equal to y then f(x) does not equal to f(y)
The Attempt at a Solution
I am confused as to the logic whilst proving that the above function is injective.
I understand that the contrapositive of the definition of injective can be used in the following case:
if x does not equal to 0 and y=0 then 2/ 3x =0 so f(x) does not equal to f(y).
However, why does this work for the following case:
if x does not equal to 0 and y does not equal to 0 then 2/ 3x = 2/ 3y so x=y.
Isn't this of the form p implies q implies r, and the definition of injective is not of that form?