The “Greek” V (vega) - Derivation & Graphs.

Define BS formulae and associated functions.

d1[S_,K_,r_,delta_,sigma_,T_,t_]:=(Log[S/K]+(r-delta+sigma^2/2)(T-t))/(sigma*Sqrt[T-t]);

d2[S_,K_,r_,delta_,sigma_,T_,t_]:=(Log[S/K]+(r-delta-sigma^2/2)(T-t))/(sigma*Sqrt[T-t]);

CNorm[d_]:=CDF[NormalDistribution[0,1],d];

VCall[S_,K_,r_,delta_,sigma_,T_,t_]:=S*Exp[-delta*(T-t)]*CNorm[d1[S,K,r,delta,sigma,T,t]]-K*Exp[-r*(T-t)]*CNorm[d2[S,K,r,delta,sigma,T,t]];

VPut[S_,K_,r_,delta_,sigma_,T_,t_]:=K*Exp[-r*(T-t)]*CNorm[-d2[S,K,r,delta,sigma,T,t]]-S*Exp[-delta*(T-t)]*CNorm[-d1[S,K,r,delta,sigma,T,t]];

The “Greek” Vega = ∂ V/∂ σ:

Compute and simplify the derivative for Vega:

K=.;
D[VCall[S,K,r,delta,sigma,T,t],sigma]

K=.;
FullSimplify[D[VCall[S,K,r,delta,sigma,T,t],sigma]]

Define Function Representation For Vega (note that Vega is the same for a call or a put - see proposition 29.3 in the book):

Vega[S_,K_,r_,delta_,sigma_,T_,t_]:=(((E^(delta (t-T)-(((((-delta+r+((sigma^2)/2)) (-t+T)+Log[(S/K)]))^2)/(2 (sigma^2) (-t+T))))) S (Sqrt[-t+T]))/(Sqrt[2 π]));

Plot Vega For Various Strike Prices

Plot[{Vega[S,100,.05,.02,.1,1,0],Vega[S,90,.05,.02,.1,1,0],Vega[S,110,.05,.02,.1,1,0],Vega[S,120,.05,.02,.1,1,0],Vega[S,80,.05,.02,.1,1,0]},{S,40,160}, AxesLabel->{"(Subscript[S, t])","Vega((Subscript[S, t]))"},PlotLabel->"Vega((Subscript[S, t])) w/ various strike prices K when \nr = 5%, δ = 2%, σ = 10%, T=  1, and t = 0", PlotStyle->{{Red,Thick},{Blue,Thick},{Green,Thick},{Green,Thick,Dashed},{Blue,Thick,Dashed}}, PlotLegends->LineLegend[{Directive[Blue,Dashed,Thick],Directive[Blue,Thick],Directive[Red,Thick],Directive[Green,Thick],Directive[Green,Dashed]},{"K=80","K=90","K=100","K=110","K=120"},LegendFunction->"Frame"],GridLines->Automatic]

Plot Vega For Various Expiration Times

Plot[{Vega[S,100,.05,.02,.1,5,0],Vega[S,100,.05,.02,.1,2,0],Vega[S,100,.05,.02,.1,1,0],Vega[S,100,.05,.02,.1,1/2,0],Vega[S,100,.05,.02,.1,1/100,0]},{S,40,160}, AxesLabel->{"(Subscript[S, t])","Vega((Subscript[S, t]))"},PlotLabel->"Vega((Subscript[S, t])) w/ various times T when \nK=100, r = 5%, δ = 2%, σ = 10%, and t = 0", PlotStyle->{{Red,Thick},{Blue,Thick},{Green,Thick},{Green,Thick,Dashed},{Blue,Thick,Dashed}}, PlotLegends->LineLegend[{Directive[Red,Thick],Directive[Blue,Thick],Directive[Green,Thick],Directive[Green,Thick,Dashed],Directive[Blue,Thick,Dashed]},{"T=5","T=2","T=1","T=1/2","T=1/100"},LegendFunction->"Frame"],GridLines->Automatic]

Plot Vega For Various Volatilities

Plot[{Vega[S,100,.05,.02,.75,1,0],Vega[S,100,.05,.02,.5,1,0],Vega[S,100,.05,.02,.1,1,0],Vega[S,100,.05,.02,.05,1,0],Vega[S,100,.05,.02,.01,1,0]},{S,0,350}, AxesLabel->{"(Subscript[S, t])","Vega((Subscript[S, t]))"},PlotLabel->"Vega((Subscript[S, t])) w/ various volatilities σ when  \nK = 100, r = 5%, δ = 2%, T=  1, and t = 0", PlotStyle->{{Red,Thick},{Blue,Thick},{Green,Thick},{Green,Thick,Dashed},{Blue,Thick,Dashed}}, PlotLegends->LineLegend[{Directive[Red,Thick],Directive[Blue,Thick],Directive[Green,Thick],Directive[Green,Thick,Dashed],Directive[Blue,Thick,Dashed]},{"σ=0.75","σ=0.5","σ=0.1","σ=0.05","σ=0.01"},LegendFunction->"Frame"],GridLines->Automatic]

Plot Vega For Various Dividend Reinvestment Rates δ

Plot[{Vega[S,100,.05,.001,.25,1,0],Vega[S,100,.05,.01,.25,1,0],Vega[S,100,.05,.1,.25,1,0],Vega[S,100,.05,.2,.25,1,0],Vega[S,100,.05,.4,.25,1,0]},{S,60,230}, AxesLabel->{"(Subscript[S, t])","Vega((Subscript[S, t]))"},PlotLabel->"Vega((Subscript[S, t])) w/ various dividend rates δ when  \nS = 100, r = 5%, σ = 25%, T=  1, and t = 0", PlotStyle->{{Red,Thick},{Blue,Thick},{Green,Thick},{Green,Thick,Dashed},{Blue,Thick,Dashed}}, PlotLegends->LineLegend[{Directive[Red,Thick],Directive[Blue,Thick],Directive[Green,Thick],Directive[Green,Thick,Dashed],Directive[Blue,Thick,Dashed]},{"δ=0.001","δ=0.01","δ=0.1","δ=0.2","δ=0.4"},LegendFunction->"Frame"],GridLines->Automatic]

Surface Plot of Vega((Subscript[S, t]), K)

Plot3D[CDelta[S,K,.05,.02,.75,1,0],{S,50,130},{K,50,120}, AxesLabel->{"(Subscript[S, t])","K", "Vega"},PlotLabel->"Vega((Subscript[S, t]),K) when r = 5%, δ = 2%, σ = 0.75, T=  1, and t = 0", ColorFunction->Function[{x,y,z},Hue[0.65*(1-z)]]]

Contour Plot of Vega((Subscript[S, t]), K)

ContourPlot[CDelta[S,K,.05,.02,.75,1,0],{S,50,130},{K,50,120}, FrameLabel->{"(Subscript[S, t])","K"},PlotLabel->"Vega((Subscript[S, t]),K) when r = 5%, δ = 2%, σ = 0.75, T=  1, and t = 0", ColorFunction->"TemperatureMap",Contours->45,PlotLegends->Automatic]

Surface Plot of  Vega(σ, K)

Plot3D[Vega[100,K,.05,.02,sigma,1,0],{sigma,0,1},{K,60,150}, PlotPoints->45,AxesLabel->{"σ","K", "Vega(σ,K)"},PlotLabel->"Vega(σ,K) when S = 100, r = 5%, δ = 2%, T=  1, and t = 0", ColorFunction->Function[{x,y,z},Hue[0.65*(1-z)]]]

Contour Plot of Vega(σ, K)

Quiet[ContourPlot[Vega[100,K,.05,.02,sigma,1,0],{sigma,0,1},{K,60,150}, Contours->45,FrameLabel->{"σ","K"},PlotLabel->"Vega(σ,K) when S = 100, r = 5%, δ = 2%, T=  1, and t = 0", PlotLegends->Automatic, ColorFunction->"TemperatureMap"]]

Surface Plot of Vega(σ, K) - Close Up

Quiet[Plot3D[Vega[100,K,.05,.02,sigma,1,0],{sigma,0.001,.02},{K,101,105}, PlotPoints->45,AxesLabel->{"σ","K", "Vega"},PlotLabel->"Vega(σ, K) when S = 100, r = 5%, δ = 2%, T=  1, and t = 0.", ColorFunction->Function[{x,y,z},Hue[0.65*(1-z)]],PlotRange->All]]

Contour Plot of Vega(σ, K) - Close Up

Quiet[ContourPlot[Vega[100,K,.05,.02,sigma,1,0],{sigma,0.001,.01},{K,101,105}, Contours->45,FrameLabel->{"σ","K"},PlotLabel->"Vega(σ, K) when S = 100, r = 5%, δ = 2%, T=  1, and t = 0", PlotLegends->Automatic, ColorFunction->"TemperatureMap"]]