Question: You are given n X n matrices A,B,C and you wish to check whether AB = C: Show that Pr[ABx = Cx] = 1/2 if

You are given n X n matrices A,B,C and you wish to check whether AB = C:

Show that Pr[ABx = Cx] = 1/2 if AB <> C. Use this fact to design

a randomized algorithm to check whether AB = C. (Your algorithm should be a

Monte-Carlo algorithm, that is, it should always be efficient but may not always

return the correct answer.) Analyze the time complexity of your algorithm and its success probability, that is,

the probability that it returns the correct answer. How can you improve the success

probability?

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 Mathematics Questions!