Question: a and b are symmetric matrices?
Answer: If A and B are symmetric matrices then AB+BA is a symmetric matrix (thus symmetric matrices form a so-called Jordan algebra). Any power An of a symmetric matrix A (n is any positive integer) is a symmetric matrix. If A is an invertible symmetric matrix then A-1 is also symmetric.