I have given a set of generalized coordinates $(q_1,..q_n,p_1,..p_n)$. Suppose I had a canonical transform $(q_i,p_i)\rightarrow (Q_i,P_i).$ I am trying to show that the phase space volume element remains constant after the transform. I'm trying to understand the proof given in https://courses.smp.uq.edu.au/MATH4104/m4104sec3.pdf (Property 2)
I don't understand how $AJ_nA^T=\begin{bmatrix} \{Q_i,Q_j\} & \{Q_i,P_j\} \\ \{P_i,Q_j\} & \{P_i,P_j\} \\ \end{bmatrix}.$
For example for the first block matrix/first quadrant $(1\leq i,j\leq n)$ I get $$(AJ_nA^T)_{ij}=\left(-\sum_{k=1}^n\frac{\partial Q_i}{\partial p_k}\right)\left(\sum_{k=1}^n\frac{\partial Q_j}{\partial q_k}\right)+\left(\sum_{k=1}^n\frac{\partial Q_i}{\partial q_k}\right)\left(\sum_{k=1}^n\frac{\partial Q_j}{\partial p_k}\right)= $$ $$ =\{Q_i,Q_j\}+x. $$ $x$ only has terms $\partial Q_j/\partial p_i$ and $\partial Q_j/\partial q_i$ where $i\neq j$.