Suppose [math]. We can write [math], where [math] . The Leibnitz notation for the chain rule is [math]. The factors are [math] (written as a function of [math] ) and [math] . Now substitue in the function of [math] for [math] to get

[math] (written as a function of [math] ).