\dot{\mathbf{Q}} =~~\cfrac{\partial K}{\partial \mathbf{P}} \end{cases}