Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started