Prove that 2xmodn is a bijection for all odd n

  • Thread starter Thread starter freshman2013
  • Start date Start date
  • Tags Tags
    Bijection
freshman2013
Messages
43
Reaction score
0
1. State whether or not f(x) = 2x mod n is a bijection for all odd n and prove it

Homework Equations

The Attempt at a Solution


So I'm pretty sure it is a bijection over testing it for some odd n, and the fact that gcd(2,n) = 1, thus there must exist an inverse for 2x mod n. However, I realize this proof makes no sense since I can make this argument for any function mod (a prime number) that it is a bijection, although not all functions mod prime are bijections. Any thoughts on where to go now?
 
Physics news on Phys.org
freshman2013 said:
1. State whether or not f(x) = 2x mod n is a bijection for all odd n and prove it

Homework Equations

The Attempt at a Solution


So I'm pretty sure it is a bijection over testing it for some odd n, and the fact that gcd(2,n) = 1, thus there must exist an inverse for 2x mod n. However, I realize this proof makes no sense since I can make this argument for any function mod (a prime number) that it is a bijection, although not all functions mod prime are bijections. Any thoughts on where to go now?

Why are you worried about 'all functions'? You are only dealing with the function f(x)=2x mod n. Yes, there is an inverse for multiplication by 2 mod n where n is odd. What are you worried about?
 
Dick said:
Why are you worried about 'all functions'? You are only dealing with the function f(x)=2x mod n. Yes, there is an inverse for multiplication by 2 mod n where n is odd. What are you worried about?
Forexample, I'm saying that you can argue that x^2 is coprime with n for all primes n. Then argue that x^2 mod n is bijective for all primes n. But that's not that case. E.g. x^2mod 7
x=3 x^2mod7 = 9mod7 = 2mod7
x = 4 x^2mod7 = 16mod7 = 2mod7
Thus x^2mod7 is not bijective but I can use the exact same argument from my 2xmod(n) "proof" to say that x^2mod7 is bijective. Hence, I don't think you can argue that 2x is coprime with all odd n as automatically implying that 2xmodn is bijectgive.
 
freshman2013 said:
Forexample, I'm saying that you can argue that x^2 is coprime with n for all primes n. Then argue that x^2 mod n is bijective for all primes n. But that's not that case. E.g. x^2mod 7
x=3 x^2mod7 = 9mod7 = 2mod7
x = 4 x^2mod7 = 16mod7 = 2mod7
Thus x^2mod7 is not bijective but I can use the exact same argument from my 2xmod(n) "proof" to say that x^2mod7 is bijective. Hence, I don't think you can argue that 2x is coprime with all odd n as automatically implying that 2xmodn is bijectgive.

The only thing those have in common is the digit '2'. f(x)=2x isn't like f(x)=x^2. 3^2 mod 7=2. 2=9 mod 7. But 3^9 mod 7=6. You can't reduce exponents mod n. Is that what you are asking?
 
Prove $$\int\limits_0^{\sqrt2/4}\frac{1}{\sqrt{x-x^2}}\arcsin\sqrt{\frac{(x-1)\left(x-1+x\sqrt{9-16x}\right)}{1-2x}} \, \mathrm dx = \frac{\pi^2}{8}.$$ Let $$I = \int\limits_0^{\sqrt 2 / 4}\frac{1}{\sqrt{x-x^2}}\arcsin\sqrt{\frac{(x-1)\left(x-1+x\sqrt{9-16x}\right)}{1-2x}} \, \mathrm dx. \tag{1}$$ The representation integral of ##\arcsin## is $$\arcsin u = \int\limits_{0}^{1} \frac{\mathrm dt}{\sqrt{1-t^2}}, \qquad 0 \leqslant u \leqslant 1.$$ Plugging identity above into ##(1)## with ##u...
Back
Top