Question: Problem 5: Linear algebra modulo a prime Grading criteria: code correctness in a and c; mathematical correctness in b. a. Define the matrix M 7

 Problem 5: Linear algebra modulo a prime Grading criteria: code correctness

Problem 5: Linear algebra modulo a prime Grading criteria: code correctness in a and c; mathematical correctness in b. a. Define the matrix M 7 2 = | 1 1-1 1 3 -3 11 2 . 5) Verify (by computing both ways) that inverting M, then reducing modulo 2, gives the same result as reducing modulo 2, then computing the mod-2 inverse. (Hint: you can ensure you are getting the mod-2 inverse by casting the matrix entries into IntegerModRing (2).) In [ ]: b. Find all primes p for which the reduction of M modulo p does not have an inverse. Justify your answer. In [ ]: C. Test your answer to b by reducing M modulo each prime p that you listed and confirming that the result does not have a mod-p inverse In [ ]: Problem 5: Linear algebra modulo a prime Grading criteria: code correctness in a and c; mathematical correctness in b. a. Define the matrix M 7 2 = | 1 1-1 1 3 -3 11 2 . 5) Verify (by computing both ways) that inverting M, then reducing modulo 2, gives the same result as reducing modulo 2, then computing the mod-2 inverse. (Hint: you can ensure you are getting the mod-2 inverse by casting the matrix entries into IntegerModRing (2).) In [ ]: b. Find all primes p for which the reduction of M modulo p does not have an inverse. Justify your answer. In [ ]: C. Test your answer to b by reducing M modulo each prime p that you listed and confirming that the result does not have a mod-p inverse In [ ]

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!