- #1
JProgrammer
- 20
- 0
So I have to either prove that these functions are 1 - 1 or show a counter example to prove they are not. I believe that I have proven that these functions are 1 - 1, but I am not 100% sure:
For each of the following functions, either prove that the function is 1 – 1 or find a counterexample to show that the function is not 1 – 1.
F:R→R
F(x)={(x^2 for x≥0@〖-x〗^2 for x≤0)┤
This function is 1 -1
(x + 1)^2 = x^2 + x +1
-(x – 1)^2 = x^2 – 2x + 1
x^2 + x +1≠ x^2 – 2x + 1
F:Z→Z
F(n)={(n-1 for n even@n^3 for n odd)┤
This function is 1 – 1.
(n + 2) – 1
(n + 2)^3
n^3+6 n^2+12 n+8 ≠ n+1
Is my work sufficient for proving that the functions are 1 - 1? If not, how would I prove that they are 1 - 1? Or am I completely wrong and the functions are not 1 -1?
For each of the following functions, either prove that the function is 1 – 1 or find a counterexample to show that the function is not 1 – 1.
F:R→R
F(x)={(x^2 for x≥0@〖-x〗^2 for x≤0)┤
This function is 1 -1
(x + 1)^2 = x^2 + x +1
-(x – 1)^2 = x^2 – 2x + 1
x^2 + x +1≠ x^2 – 2x + 1
F:Z→Z
F(n)={(n-1 for n even@n^3 for n odd)┤
This function is 1 – 1.
(n + 2) – 1
(n + 2)^3
n^3+6 n^2+12 n+8 ≠ n+1
Is my work sufficient for proving that the functions are 1 - 1? If not, how would I prove that they are 1 - 1? Or am I completely wrong and the functions are not 1 -1?