Let A=(a2121b)+1 (a 2×2 matrix built from real a,b), and P=(cosθsinθ−sinθcosθ),θ>0. Let B=PAPT, C=PTB10P. If the sum of the diagonal elements of C is nm with gcd(m,n)=1, then m+n is:
Solutions · 1
Official solution
Since PTP=I (orthogonal), PTB=APT and PTBP=A, so PTB10P=A10=C.
With A=(210−21) (as reconstructed from the source), one finds An=((21)n0∗1), so tr(C)=tr(A10)=(21)10+1=321+1=3233.
So m=33,n=32, gcd(m,n)=1, and m+n=65.