Chain rule and coordinate system conversions