Use the result of Exercise 11 and the Jordan form to prove the following: Let A and B be n×n matrices over the field F which have the same characteristic polynomial
f=(x−c1)d1⋯(x−ck)dk
and the same minimal polynomial. Suppose also that for each i the solution spaces of (A−ciI) and (B−ciI) have the same dimension. If no di is greater than 6, then A and B are similar.