I'm working through the book "Lie Groups: An Introduction Through Linear Groups", by Wulf Rossmann. In the first section, the author introduces the matrix exponential and derives its basic properties. I have done most of the exercises that come right at the end of this section, but the last one has given me trouble, and I would appreciate any help to solve it.
The problem is posed like this: if $P$ and $Q$ are operators such that $$PQ-QP=k\mathbf{1},\tag{1}$$ for some scalar $k$ (here $\mathbf{1}$ denotes the identity operator) then they are said to satisfy Heisenberg's Commutation Relation. The problem then asks to show that $P$,$Q$ satisfy this relation if and only if $$\exp(\sigma P)\exp(\tau Q)=e^{\sigma\tau k}\exp(\tau Q)\exp(\sigma P) \tag{2}$$ for all real $\sigma$,$\tau$.
I understand that this should follow from the basic properties of the exponential function, and that it is in a way a generalization of the result (proved in the book), that two matrices $X$ and $Y$ commute if and only if $\exp(\sigma X)$, $\exp(\tau Y)$ commute for all $\sigma$,$\tau$, but I've been unable to prove either direction.