# European call delta derivation

Let's write $S(T) = S_T$ and $S(0) = S_0$. We want to compute $\frac{d}{dS_0}\mathbb{E}[f(S_T)]$. From a previous discussion this is equal to $$\mathbb{E}_{S_0}\left[f(S_T)\frac{g'_{S_0}(S_T)}{g_{S_0}(S_T)}\right]$$ where $f(S_T) = e^{-rT}(S_T - K)^{+}$. We need to find $g_{S_0}(S_T)$, the density of $S_T$ which is given by $$g(x) = \frac{1}{x\sigma\sqrt(T)}\phi\left(\frac{ln(x/S_0) - (r - \sigma^2/2)T}{\sigma\sqrt{T}}\right)$$ where $\phi$ is the standard normal density. In my notes it states that through algebra and calculus gives $$\frac{g'_{S_0}(x)}{g_{S_0}(x)} = \frac{ln(x/S_0) - (r - \sigma^2/2)T}{S_0 \sigma^2 T}$$

I am a bit confused but the mix of notation of $g(x)$ and $g_{S_0}(x)$, I want to show the detail of this to convince myself that this is true through "algebra and calculus". This is not an exercise for homework, I just do not understand the notation which is not allowing me to proceed. Any suggestions or comments are appreciated.

Attempted Derivation:

Through some algebra I was able to do expand $g(x)$:

\begin{align*} g(x) &= \frac{1}{x\sigma\sqrt(T)}\phi\left(\frac{ln(x/S_0) - (r - \sigma^2/2)T}{\sigma\sqrt{T}}\right)\\ &= \frac{1}{x\sigma\sqrt{T}}\cdot \frac{1}{\sqrt{2\pi}}\exp\left(-\left(\frac{ln(x/S_0) - (r-\sigma^2/2)T}{\sigma\sqrt{T}}\right)^2/2\right)\\ &= \frac{1}{x\sigma\sqrt{T}}\cdot \frac{1}{\sqrt{2\pi}}\exp\left(-\frac{r}{2\sigma^2} + \frac{ln(x/S_0)}{2\sigma^2 T} + \frac{1}{4}\right) \end{align*} Thus, $$g'(x) = \frac{ \exp\left(-\frac{r}{2\sigma^2} + \frac{ln(x/S_0)}{2\sigma^2 T} + \frac{1}{4}\right)}{2\sqrt{2\pi}\sigma^3 T^{3/2}x^2} - \frac{ \exp\left(-\frac{r}{2\sigma^2} + \frac{ln(x/S_0)}{2\sigma^2 T} + \frac{1}{4}\right)}{\sqrt{2\pi}\sigma\sqrt{T}x^2 }$$

As you can see this seems to be turning into an algebra nightmare. Unless I did something wrong I do not see how we will get $$\frac{g'_{S_0}(x)}{g_{S_0}(x)} = \frac{ln(x/S_0) - (r - \sigma^2/2)T}{S_0 \sigma^2 T}$$

• There is only one g. $S_0$, the initial stock price, is a parameter of g which does not change in this problem. So you can omit it entirely, or maybe write $g(x;S_0)$ if this notation makes more sense to you. $x$ is the variable, $S_0$ a more or less fixed parameter. – Alex C Apr 10 '17 at 0:52
• @AlexC I figured that, I made an attempt but unless I did something wrong this is looking rather nasty – user26372 Apr 10 '17 at 1:09
• You are probably close. Start with $g(x)$ as shown in the second line. Now take the logarithm of it and then the derivative. This will give the "logarithmic derivative" which is the same as $\frac{g'}{g}$. – Alex C Apr 10 '17 at 1:20
• see quant.stackexchange.com/questions/18557/… There are also some shortcuts using homogeneity that allow you to do it very fast. See my book More Mathematical Finance. – Mark Joshi Apr 10 '17 at 2:10
• @AlexC I tried taking the logarithm of $g(x)$ and then taking the derivative but it is still a big mess. – user26372 Apr 10 '17 at 14:29

Two issues can be observed in your derivation. First, we note that \begin{align*} \exp\left(-\left(\frac{\ln(x/S_0) - (r-\sigma^2/2)T}{\sigma\sqrt{T}}\right)^2/2\right)\color{red}{\ne} \exp\left(-\frac{r}{2\sigma^2} + \frac{\ln(x/S_0)}{2\sigma^2 T} + \frac{1}{4}\right). \end{align*} Secondly, the derivative (i.e., the delta) is with respect to $S_0$ instead of $x$. In fact, for \begin{align*} g(S_0, x) &= \frac{1}{x\sigma\sqrt{T}}\phi\left(\frac{\ln(x/S_0) - (r - \sigma^2/2)T}{\sigma\sqrt{T}}\right)\\ &=\frac{1}{x\sigma\sqrt{T}}\cdot \frac{1}{\sqrt{2\pi}}\exp\left(-\left(\frac{\ln(x/S_0) - (r-\sigma^2/2)T}{\sigma\sqrt{T}}\right)^2/2\right), \end{align*} it can be easily verified that \begin{align*} \frac{\partial g(S_0, x)}{\partial S_0} &= g(S_0,x)\, \frac{\ln(x/S_0) - (r-\sigma^2/2)T}{S_0\sigma^2T}. \end{align*}