Question

In: Computer Science

Compute additive and multiplicative inverses of 7 and 9 in Z11 (mod 11). Find out whether...

  1. Compute additive and multiplicative inverses of 7 and 9 in Z11 (mod 11).

  2. Find out whether or not 4 and 7 have multiplicative inverse in Z14 (mod 14).

  3. Let S be the set of even integers under the operations of addition and multiplication. Is S a ring? Is it commutative? Is it a field? Justify your answer.

  4. Compute the multiplicative inverse of 9 under modulo 31 using the extended Euclid’s algorithm.

Solutions

Expert Solution

Answer 1

Multiplicative inverse of integer a is x such that

For a=7 and n=11, multiplicative inverse will be 8

For a=9 and n=11, multiplicative inverse will be 5

Additive inverse of integer a is x such that

For a=7 and n=11, additive inverse will be 4

For a=9 and n=11, additive inverse will be 2

Answer 2

Multiplicative inverse of integer a is x such that

For a=4 and n=14,  

For any value of x from 1 to 13, there is no value of y which can satisfy this equation so there is no multiplicative inverse.

For a=7 and n=14,  

For any value of x from 1 to 13, there is no value of y which can satisfy this equation so there is no multiplicative inverse for Z14.

Answer 3

S is a set of even integers with operations addition and multiplication.

Addition of two even number is even.

Addition of two even integer will satisfy relation below.

Addition of three even integer will satisfy relation below as well.

There exists a element 0 in set S (0 is even integer) such that

There exists a element y in set S (y = -a which is also even integer if a is even integer) such that

Multiplication of two even number is even.

Multiplication of two even integer will satisfy relation below.

Multiplication of three even integer will satisfy relation below as well.

There does not exists a element 1 in set S (1 is not even integer) such that

There does not exists a element y in set S (y = 1/a which is not integer) such that

Multiplication of three even integer will satisfy relation below as well.

So as we can see that set S is Ring but not Field as R satisfies below.

  • (R, addition) is an abelian group ( i.e commutative group)
  • (R, multiplication) is a semigroup
  • For any three elements a, b, c R the left distributive law a.(b+c) =a.b + a.c.
  • Right distributive property (b + c).a =b.a + c.a is satisfied.

Answer 4

Multiplicative inverse of 9 under modulo 31 using the extended Euclid’s algorithm

a = 9, n=31

Step 0 : 31 = 3(9) + 4, p0 = 0, q0 = 3

Step 1: 9 = 2(4) + 1, p1 = 1, q1 = 2

Step 2: 4 = 4(1) + 0, p2 = p0 - p1 q0 (mod n) = 0 - 1(3) mod 31 = -3 mod 31 = 28

p3 = p1 - p2 q1 (mod n) = 1 - 28(2) mod 31 = -55 mod 31 = 7

So, 9(7) = 63 = 1+ 31(2) 1 (mod 31) . Answer is 7


Related Solutions

1. Find the additive and multiplicative inverses for the residual sets Z13, Z14, and Z11. Identify...
1. Find the additive and multiplicative inverses for the residual sets Z13, Z14, and Z11. Identify each as being a group, ring or field 2. Write an algorithm for performing Euclid greatest common denominator for A,B in Matlab and demonstrate the results for A=9777 and B=106665. Compare this the the matlab function gcd(A,B) and the by hand. 3. Program Euclid’s Extended algorithm in Matlab and demonstrate on the residual sets in problem 1. 4. Demonstrate Fermats and Eulers Theorems with...
compute 7^-1 mod 11? in details
compute 7^-1 mod 11? in details
Compute the following: (a) 13^2018 (mod 12) (b) 8^11111 (mod 9) (c) 7^256 (mod 11) (d)...
Compute the following: (a) 13^2018 (mod 12) (b) 8^11111 (mod 9) (c) 7^256 (mod 11) (d) 3^160 (mod 23)
a) Use Fermat’s little theorem to compute 52003 mod 7, 52003 mod 11, and 52003 mod 13.
  a) Use Fermat’s little theorem to compute 52003 mod 7,52003 mod 11, and 52003 mod 13. b) Use your results from part (a) and the Chinese remaindertheorem to find 52003 mod 1001. (Note that1001 = 7 ⋅ 11 ⋅ 13.)
Q−3: [5×4 marks] a. Find a, b if a+2b=107 mod 9 and 2a+b=-55 mod 7. b....
Q−3: [5×4 marks] a. Find a, b if a+2b=107 mod 9 and 2a+b=-55 mod 7. b. Write the prime factorization of 229320 and 49140, hence find GCD and LCM. c. Convert the following number (1303)4 to base 5. d. Using the Prime Factorization technique determine whether 173 is a prime. e. Use the cipher: f(x)=(x+7) mod 26 to decrypt “THAO ALZA”.
Compute φ(21). Find all the units modulo 21 and write down their inverses.
Compute φ(21). Find all the units modulo 21 and write down their inverses.
2, 9, 15, 5, 11, 7, 11, 7, 5, 10 find the population mean, the population...
2, 9, 15, 5, 11, 7, 11, 7, 5, 10 find the population mean, the population variance and the population standard deviation
Find all solutions of: (a) 4? ≡ 3 ??? 7 (b) 9? ≡ 11 ??? 26...
Find all solutions of: (a) 4? ≡ 3 ??? 7 (b) 9? ≡ 11 ??? 26 (c) 8? ≡ 6 ??? 14 (d) 8? ≡ 6 ??? 422
use algorithm modular exponentiation to find 11^644 mod 645
use algorithm modular exponentiation to find 11^644 mod 645
Consider the curve y2 ≡ x3 + 4x + 7 mod 11 1. For a point...
Consider the curve y2 ≡ x3 + 4x + 7 mod 11 1. For a point P= (2,10), find 2P (or double) 2. For two of the points P = (2,1) and Q =(7,2), find P+Q 3. Find the bound for the number of points on this curve using Hesse’s theorem.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT