For the following background material from total derivatives is required
Example of the infinitesimal transformation properties of the polar coordinate transformation