The Black-Scholes delta of a call option involves — the exponential of a squared expression. The Sharpe ratio of a log-return involves . Duration of a bond portfolio involves of a sum of exponentials in . All of these are compositions of functions, and none can be differentiated by the rules developed so far. The chain rule is the rule for differentiating compositions: it states that — differentiate the outer function evaluated at the inner, times the derivative of the inner. After the product rule, the chain rule is the most-used differentiation tool in mathematical finance.
Learning objectives. By the end of this note you should be able to:
- state the chain rule in both prime notation and Leibniz form ;
- identify the outer and inner functions of a composition and apply the chain rule;
- apply the "generalised power rule" to for any real ;
- differentiate , , , and ;
- apply the chain rule repeatedly for iterated compositions.
In this lesson
- The chain rule
- The generalised power rule
- Chain rule for exponentials and logarithms
- Trig derivatives with the chain rule
- Iterated composition (three or more layers)
Before you start
- The Product Rule, Quotient Rule, and Derivatives of Trigonometric Functions
- Transformations, Compositions, and Building New Functions
The full lesson, with worked examples and exercise solutions, is for members.
Read the full lessonNew to SelfMadeQuant.com? See membership options or explore the curriculum.