Define what it means for the transformation R2n→R2n given by
(qi,pi)↦(Qi(qj,pj),Pi(qj,pj)),i,j=1,…,n
to be canonical. Show that a transformation is canonical if and only if
{Qi,Qj}=0,{Pi,Pj}=0,{Qi,Pj}=δij
Show that the transformation R2→R2 given by
Q=qcosϵ−psinϵ,P=qsinϵ+pcosϵ
is canonical for any real constant ϵ. Find the corresponding generating function.