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
Get step-by-step solutions from verified subject matter experts
