I need to find an algebraic expression for E(max{X-a,0}), where X has a lognormal distribution with mean mu and standard deviation sigma. So far, I have derived the following expression, but I could use some help to solve the first part of the last equation, I do think it should have somewhat of a form of a normal distribution pdf:
\begin{array}{l} E[X-a]^{+}=\int_{a}^{\infty}(x-a) h(x) d x=\int_{a}^{\infty}(x-a) \frac{1}{x \sigma \sqrt{2 \pi}} \exp \left(-\frac{1}{2}\left(\frac{\log (x)-\mu}{\sigma}\right)^{2}\right) d x\\ \text { substitute } y=\frac{\log (x)-\mu}{\sigma} \quad x=\exp (\sigma y+\mu)\\ d x=\sigma \exp (\sigma y+\mu) d y\\ E[x-a]^{+}=\frac{1}{\sqrt{2 \pi}} \int_{\frac{\log (a)-\mu}{\sigma}}^{\infty}(\exp (\sigma y+\mu)-a) \cdot \exp \left(-\frac{1}{2} y^{2}\right) d y\\ =\frac{1}{\sqrt{2 \pi}} \int_{\frac{\log (a)-\mu}{\sigma}}^{\infty} \exp \left(\sigma y+\mu-\frac{1}{2} y^{2}\right) d y-a \int_{\frac{\log (a)-\mu}{\sigma}}^{\infty} \frac{1}{\sqrt{2 \pi}} \exp \left(-\frac{1}{2} y^{2}\right) d y\\ =\frac{1}{\sqrt{2 \pi}} \int_{\frac{\log (a)-\mu}{\sigma}}^{\infty} \exp \left(\sigma y+\mu-\frac{1}{2} y^{2}\right) d y-a[\Phi(y)]_{\frac{\log (a)-\mu}{\sigma}}^{\infty}\\ =\frac{1}{\sqrt{2 \pi}} \int_{\frac{\log (a)-\mu}{\sigma}}^{\infty} \exp \left(\sigma y+\mu-\frac{1}{2} y^{2}\right) d y-a\left(1-\Phi\left(\frac{\log (a)-\mu}{\sigma}\right)\right) \end{array}