Defenition: Let A and B be nxn matrices. Then A is said to be similar to B, denoted A is congruent to B, if there exists an invertible nxn matrix P such that B=(P^-1)AP.

a. Let A=I_n. Prove that, if A is congruent to B, then B=I_n

b. Let A be a nxn idempotent matrix. Prove that if A is congruent to B, then B is idempotent.

c. Is the analogue of part b above the nilpotent matrices true? Why or Why not?