Professional Documents
Culture Documents
Assignment
Assignment
Examination/2020
Dr. M. A. Rahman (Assignment) Financial Mathematics (3rd Year) September 13, 2021 1 / 47
Chapter-2: Introduction
Continuous compounding
For a constant interest rate r the time value of money under continuous
compounding is given by V (T ) = e rT P.
Dr. M. A. Rahman (Assignment) Financial Mathematics (3rd Year) September 13, 2021 1 / 47
Introduction
Return
Let us denote the asset price at time t by S(t). The meaningful quantity
for the change of an asset price is its relative change ∆S
S , which is called
the return, where ∆S = S(t + δt) − S(t). In other words,
Dr. M. A. Rahman (Assignment) Financial Mathematics (3rd Year) September 13, 2021 2 / 47
Introduction
Dr. M. A. Rahman (Assignment) Financial Mathematics (3rd Year) September 13, 2021 3 / 47
The Brownian Motion (Wiener Precess)
W (0) = 0.
Dr. M. A. Rahman (Assignment) Financial Mathematics (3rd Year) September 13, 2021 4 / 47
Normal Distribution
The probability density function for a random variable W (t) has a nor-
mal distribution with mean µ and variance σ 2 , then the probability density
function is
(t − µ)2
1
pW (t) = √ exp − , −∞ < t < ∞.
2πσ 2 2σ 2
The probability density function for a random variable W (z) has a standard
normal distribution with mean 0 and variance 1, i.e., W (z) ∼ N(0, 1) then
the probability density function is
2
1 z
pW (z) = exp − .
2π 2
Dr. M. A. Rahman (Assignment) Financial Mathematics (3rd Year) September 13, 2021 5 / 47
Properties
Show that
(i ) E [W ] = 0;
(ii ) E [W 2 ] = t;
(iii ) E [∆W ] = 0;
(iv ) E [(∆W )2 ] = ∆t;
(v ) ∆W = X (∆t)(1/2) , whereX ∼ N(0, 1)
Dr. M. A. Rahman (Assignment) Financial Mathematics (3rd Year) September 13, 2021 6 / 47
Properties
Rb
(i) E [W (t)] = a tW (t)dt, for a ≤ W (t) ≤ b.
∞
t2
Z
t t2
= √ e − 2σ dt, put z =
−∞ 2πσ 2σ
√ Z ∞
σ
=√ e −z dz = 0.
2π −∞
R∞ 2 t2
(ii) E [W (t)2 ] = √t − 2σ
put z = √t .
−∞ 2πσ e dt σ
∞ ∞
σ σ
Z 2
Z
z2
2 − z2
=> √ z e zd(e − 2 )
dz = √
2π −∞ −∞ 2π
σ √
Z ∞
σ z2
=√ e − 2 dz = √ 2π = σ.
2π −∞ 2π
Dr. M. A. Rahman (Assignment) Financial Mathematics (3rd Year) September 13, 2021 7 / 47
Question
1. Show that the return ∆S S is normally distributed with mean µ∆t and
2
variance σ ∆t.
2. Show that ∆S ∼ N(µS∆t, σ 2 S 2 ∆t).
2
3. Show that ln S(t) is a normal distribution with mean ln S0 + (µ − σ2 )t
and variance σ 2 t.
Dr. M. A. Rahman (Assignment) Financial Mathematics (3rd Year) September 13, 2021 8 / 47
Answer
Dr. M. A. Rahman (Assignment) Financial Mathematics (3rd Year) September 13, 2021 9 / 47
How to calculate small changes in a function that is
dependent on the values determined by stochastic
differential equation ?
Dr. M. A. Rahman (Assignment) Financial Mathematics (3rd Year) September 13, 2021 10 / 47
How to calculate small changes in a function that is
dependent on the values determined by stochastic
differential equation ?
df 1 d 2f
df = (µSdt + σSdW ) + (σSdW )2 .
dS 2 dS 2
df 1 d 2f 2 2
= (µSdt + σSdW ) + (σ S dt).
dS 2 dS 2
df 1 d 2f df
= (µS + σ 2 S 2 2 )dt + σS dW .
dS 2 dS dS
Dr. M. A. Rahman (Assignment) Financial Mathematics (3rd Year) September 13, 2021 11 / 47
Itô’s Lemma
df df 1 d 2f df
df = ( + µS + σ 2 S 2 2 )dt + σS dW .
dt dS 2 dS dS
Now consider f to be a function of both S and t. So long as we are
aware of partial derivatives, we can once again expand our function (now
f (S + dS, t + dt)) using a Taylor series approximation about (S, t) to get:
df df 1 d 2f d 2f d 2f
df = dS + dt + ( 2 dS 2 + 2 dt 2 + 2 dSdt) + ....
dS dt 2 dS dt dSdt
Dr. M. A. Rahman (Assignment) Financial Mathematics (3rd Year) September 13, 2021 12 / 47
Example
σ2
Show that ln S(t) is a normal distribution with mean ln S0 + (µ − 2 )t and
variance σ 2 t.
solution: We apply Itos lemma with x = f (S) = ln S
1 1 1 1
dx = (0 + .µS − . 2 .σ 2 S 2 )dt + .σSdW
S 2 S S
σ2 σ2
= (µ + )dt + σdW => dx(t) = (µ − )dt + σdW
2 2
σ2 σ2
)t + σW (t) ∼ N((µ + )t, σ 2 t)
=> x(t) − x(0) = (µ −
2 2
σ 2 σ2
=> ln S(t) = ln S(0) + (µ − )t + σW (t) ∼ N(ln S(0) + (µ − )t, σ 2 t)
2 2
Dr. M. A. Rahman (Assignment) Financial Mathematics (3rd Year) September 13, 2021 13 / 47
Geometric Brownian motion
By above example
σ2
ln S(t) = ln S(0) + (µ −
)t + σW (t)
2
S(t) σ2
=> ln( ) = (µ + )t + σW (t)
S(0) 2
σ 2
=> S(t) = S(0)exp{(µ − )t + σW (t)}
2
The transition probability density function for S(t) is
1 σ2
)t)2 /2σ2 t)
P(S(t) = S|S(0) = S0 ) = √ e −(ln(S/S0 −(µ− 2
2πσ 2 tS
This is called the log-normal distribution.
Dr. M. A. Rahman (Assignment) Financial Mathematics (3rd Year) September 13, 2021 14 / 47
Quetion
Show that theRmean and variance of the geometric Brownian motion are:
∞
(a) E [S(t)] = −∞ sPS(t) (s)ds = S0 e µt ,
(b) Var [S(t)] = S02 e 2µt σ2 t
R ∞[e − 1].
Proof:(a) E [S(t)] = 0 sPS(t) (s)ds
σ2 2 2
= 0 √ 1 2 e −(ln(S/S0 −(µ− 2 )t) /2σ t) dS
R∞
2πσ t
σ2 2 2
= −∞ √ 1 2 e x e (x−x0 −(µ− 2 )t) /2σ t) dx
R∞
2πσ t
σ2 2 2
= −∞ √ 1 2 e x+x0 +µt e (x+ 2 t) /2σ t dx
R∞
2πσ t
σ2 2 2
= S0 e µt −∞ √ 1 2 e x−(x+ 2 t) /2σ t dx
R∞
2πσ t
σ2 2 2
= S0 e µt −∞ √ 1 2 e (x− 2 t) /2σ t dx
R∞
2πσ t
= S0 e µt
Dr. M. A. Rahman (Assignment) Financial Mathematics (3rd Year) September 13, 2021 15 / 47
Quetion
σ2 2 2
Proof:(b) E [S(t)2 ] = 0 √ S 2 e −(ln(S/S0 −(µ− 2 )t) /2σ t) dS
R∞
2πσ t
σ2 2 2
= −∞ √ 1 2 e 2x e (x−x0 −(µ− 2 )t) /2σ t) dx
R∞
2πσ t
σ2 2 2
= −∞ √ 1 2 e 2(x+x0 +µt) e (x+ 2 t) /2σ t dx
R∞
2πσ t
σ2 2 2
= S02 e 2µt −∞ √ 1 2 e 2x−(x+ 2 t) /2σ t dx
R∞
2πσ t
3σ 2 2 2 2
= S02 e µt −∞ √ 1 2 e −(x− 2 t) /2σ t+σ t dx
R∞
2πσ t
2 2
= S02 e 2µt+σ t . Therefore, Var (S(t)) = E [S(t)2 ]−E [S(t)]2 = S02 e 2µt [e σ t −
1]
Dr. M. A. Rahman (Assignment) Financial Mathematics (3rd Year) September 13, 2021 16 / 47
Chapter-3: Options on Stocks
Definition
European call option gives the holder the right (not obligation) to buy the
underlying asset at a prescribed time T (expiry date/maturity) for a
specified (exercise/strike) price X .
European put option gives its holder the right (not obligation) to sell
underlying asset at the expiry time T for the exercise price X .
Dr. M. A. Rahman (Assignment) Financial Mathematics (3rd Year) September 13, 2021 17 / 47
Europian Options
Call Option
A call option gives the holder the right (but not the obligation) to buy the
underlying asset by a certain date for a certain price.
The price in the contract is known as the exercise or strike price (denoted
by X )
The date in the contract is known as the expiration or exercise or maturity
date (denoted by T )
The price of the underlying stock at the expiration date is denoted by
S(T ).
n S(T ) − X if S(T ) > X
Payoff =
0 otherwise.
At time 0 < t < T : Call Premium/Profit=Payoff-Call
value=max(S(T ) − X , 0) − C .
At time T : Gain of the buyer for a call is max(S(T ) − X , 0) − Ce rT .
Dr. M. A. Rahman (Assignment) Financial Mathematics (3rd Year) September 13, 2021 18 / 47
Europian Options
Dr. M. A. Rahman (Assignment) Financial Mathematics (3rd Year) September 13, 2021 19 / 47
Portfolios and Short Selling
Portfolios
Portfolio is a combination of assets, options and bonds.
Dr. M. A. Rahman (Assignment) Financial Mathematics (3rd Year) September 13, 2021 20 / 47
Trading Strategies
Straddle
Straddle is the purchase of a call and a put on the same underlying
security with the same maturity time T and strike price X . The value of
portfolio is V = C + P
Straddle is effective when an investor is confident that a stock price will
change dramatically, but is uncertain of the direction of price move.
Short Straddle, V = −C − P, profits when the underlying security changes
little in price before the expiration t = T .
Dr. M. A. Rahman (Assignment) Financial Mathematics (3rd Year) September 13, 2021 21 / 47
Trading Strategies
Bull Spread
Bull spread is a strategy that is designed to profit from a moderate rise in
the price of the underlying security.
Let us set up a portfolio consisting of a long position in call with strike
price X1 and short position in call with X2 such that X1 < X2 . The value
of this portfolio is Vt = Ct (X1 ) − Ct (X2 ). At maturity t = T
( 0 S ≤ X1
VT = S − X1 X1 ≤ S < X2
X2 − X1 S ≥ X2
Dr. M. A. Rahman (Assignment) Financial Mathematics (3rd Year) September 13, 2021 22 / 47
Bond Pricing
Bond
A Bond is a contract that yields a known amount F , called the face value,
on a known time T , called the maturity date. The authorised issuer (for
example, government) owes the holder a debt and is obliged to repay the
face value at maturity and may also pay interest (the coupon).
Zero-coupon bond
A Zero-coupon bond does not pay any coupons and involves only a single
payment at T .
Dr. M. A. Rahman (Assignment) Financial Mathematics (3rd Year) September 13, 2021 23 / 47
No Arbitrage Principle
One of the key principles of financial mathematics is the No Arbitrage Prin-
ciple.
There are never opportunities to make risk-free profit.
Arbitrage opportunity arises when a zero initial investment VT = 0 is iden-
tified that guarantees non-negative payoff in the future such that VT > 0
with non-zero probability.
Arbitrage opportunities may exist in a real market. But, they cannot last
for a long time.
All risk-free portfolios must have the same rate of return.
Let V be the value of a risk-free portfolio, and dV is its increment during
a small period of time dt. Then
dV
= rdt,
dt
where r is the risk-free interest rate.
Let Vt be the value of the portfolio at time t. If VT = 0, then Vt = 0 for
t < T.
Dr. M. A. Rahman (Assignment) Financial Mathematics (3rd Year) September 13, 2021 24 / 47
Upper Bound of a Call S(t)
Consider two portfolio having:
Portfolio A: one Stock
Portfolio B: one Call
At time 0 < t < T , Value of
Portfolio A: S(t)
Portfolio B: C
At time T , Value of
Portfolio A: S(T )
Portfolio B: max(S(T ) − X , 0)
Now, at time T , value of B: max(S(T ) − X , 0)
= −min(X − S(T ), 0) − S(T ) + S(T )
= −min(X , S(T )) + S(T )
Since −min(X , S(T )) + S(T ) < S(T ) => Value ofA > Value ofB
Therefore, at time t, Value ofA > Value ofB by no arbitrage principle.
=> S(t) > C .
Hence, S(t) is upper bound of a Call.
Dr. M. A. Rahman (Assignment) Financial Mathematics (3rd Year) September 13, 2021 25 / 47
Lower Bound of a Call C ≥ S(t) − Xe −r (T −t)
Consider two portfolio having:
Portfolio A: one Call+Cash
Portfolio B: one Stock
At time 0 < t < T , Value of
Portfolio A: C + Xe −r (T −t)
Portfolio B: S(t)
At time T , Value of
Portfolio A: max(S(T ) − X , 0) + X
Portfolio B: S(T )
Now, at time T , value of A: max(S(T ) − X , 0) + X
= max(S(T ), X )
= −min(X , S(T )) − S(T ) + S(T )
Since −min(X , S(T )) + S(T ) < S(T ) => Value ofA ≥ Value ofB
Therefore, at time t, Value ofA ≥ Value ofB by no arbitrage principle.
=> C + Xe −r (T −t) ≥ S(t).
Hence, C ≥ S(t) − Xe −r (T −t) is lower bound of a Call.
Dr. M. A. Rahman (Assignment) Financial Mathematics (3rd Year) September 13, 2021 26 / 47
Upper Bound of a Put P ≤ Xe −r (T −t)
Dr. M. A. Rahman (Assignment) Financial Mathematics (3rd Year) September 13, 2021 27 / 47
Lower Bound of a Put P ≥ Xe −r (T −t) − S(t)
Dr. M. A. Rahman (Assignment) Financial Mathematics (3rd Year) September 13, 2021 28 / 47
Call-Put Parity C − P = S(0) − Xe −rT
Dr. M. A. Rahman (Assignment) Financial Mathematics (3rd Year) September 13, 2021 29 / 47
Dependance of C E and P E on X
Dr. M. A. Rahman (Assignment) Financial Mathematics (3rd Year) September 13, 2021 30 / 47
Dependance of C E and P E on S(0)
Dr. M. A. Rahman (Assignment) Financial Mathematics (3rd Year) September 13, 2021 31 / 47
American Option
American options can be exercised at any time up to the expiration date.
Dependance of C A and P A on X .
Consider two portfolio having:
Portfolio A: one call with strike price X ′
Portfolio B: one call with strike price X ′′
At time t = 0, Value of
Portfolio A: C A (X ′ )
Portfolio B: C A (X ′′ )
At time 0 < t < T , value of
Portfolio A: C A (X ′ )e −r (T −t) = max(S(T ) − X ′ , 0)e −r (T −t)
Portfolio B: C A (X ′′ )e −r (T −t) = max(S(T ) − X ′′ , 0)e −r (T −t)
Suppose that X ′ < X ′′ , let X ′ + a = X ′′ , where a > 0
The value of B: max(S(T ) − X ′′ , 0)e −r (T −t)
= max(S(T ) − X ′ , 0)e −r (T −t) − max(S(T ) − a, 0)e −r (T −t) => V (A) >
V (B)
=> C A (X ′ ) > C A (X ′′ ).
Dr. M. A. Rahman (Assignment) Financial Mathematics (3rd Year) September 13, 2021 32 / 47
Dependance of C A and P A on S(t)
Dr. M. A. Rahman (Assignment) Financial Mathematics (3rd Year) September 13, 2021 33 / 47
Dependance of C A and P A on expiry T
Consider two portfolio having:
Portfolio A: one call with expiry time T ′
Portfolio B: one call with expiry time T ′′
At time 0 < t < expiry , Value of
′
Portfolio A: max(S(T ′ ) − X , 0)e −r (T −t)
′′
Portfolio B: max(S(T ′′ ) − X , 0)e −r (T −t)
Suppose that T ′ < T ′′ , let T ′ + t = T ′′ , where t > 0
′
Now, V (B) = max(S(T ′ + t) − X , 0)e −r (T +t−t)
′ ′
= max(S(T ′ ) − X , 0)e −rT + max(S(t) − X , 0)e −rT
′
Again, V (A) = max(S(T ′ ) − X , 0)e −r (T −t)
′ ′
= e rT max(S(T ′ ) − X , 0)e −rT
At time t = 0,
′
V (A) = max(S(T ′ ) − X , 0)e −rT
′ ′
V (B) = max(S(T ′ ) − X , 0)e −rT + max(S(0) − X , 0)e −rT
=> V (B) > V (A)
=> C A (T ′′ ) > C A (T ′ ).
Dr. M. A. Rahman (Assignment) Financial Mathematics (3rd Year) September 13, 2021 34 / 47
Questions
Dr. M. A. Rahman (Assignment) Financial Mathematics (3rd Year) September 13, 2021 35 / 47
Chapter-4: Binomial Distribution
Binomial distribution
Notation:X ∼ Binomial(n, p).
Description: number of successes in n independent trials, each with
probability p of success.
Probability
function:
n
fX (x) = P(X = x) = P x (1 − p)n−x for x = 0, 1, ..., n.
x
Mean: E (X ) = np.
Variance: Var (X ) = np(1 − p) = npq, where q = 1 − p.
Sum: if X ∼ Binomial(n, p),Y ∼ Binomial(m, p),
then X + Y ∼ Bin(n + m, p).
Dr. M. A. Rahman (Assignment) Financial Mathematics (3rd Year) September 13, 2021 36 / 47
Table of Binomial Model
S(0) S(0)u S(0)u 2 S(0)u 3
S(0)d S(0)ud S(0)u 2 d
S(0)d 2 S(0)ud 2
S(0)d 3
S(0) Su S uu S uuu
Sd S ud S uud
S dd S udd
S ddd
S u = S(0)u , S uu = S u u = S(0)uu , S uuu = S uu u = S u uu = S(0)uuu
Dr. M. A. Rahman (Assignment) Financial Mathematics (3rd Year) September 13, 2021 37 / 47
One Step Binomial Model
Dr. M. A. Rahman (Assignment) Financial Mathematics (3rd Year) September 13, 2021 38 / 47
One Step Binomial Model
f (S u ) − f (S d ) f (S u ) − f (S d )
u
∆= , and B = −e −rdt f (S ) − u
S(0)(u − d) (u − d)
f (S u ) − f (S d ) df (S u ) − uf (S d )
=> ∆ = , and B =
S(0)(u − d) e −rdt (u − d)
The initial value of derivative should be the same as that of the portfolio
V0 = ∆S(0) − B, which is
f (S u ) − f (S d ) df (S u ) − uf (S d )
D(0) = −
(u − d) e rdt (u − d)
(f (S u ) − f (S d ))e rdt − df (S u ) + uf (S d )
=
e rdt (u − d)
Dr. M. A. Rahman (Assignment) Financial Mathematics (3rd Year) September 13, 2021 39 / 47
One Step Binomial Model
(i) Assume u > d, if p∗ ≤ 0 then e rdt ≤ d then e rdt ≤ d < u. Then for a
greened risk free profit buy stock and sell cash bound.
(ii) if p∗ ≥ 1 then d < u ≤ e rdt . Then for a greened risk free profit sell
stock and buy cash bound.
Conclusion:
The probability of an up movement in the stock price occurs when
0 ≤ p∗ ≤ 1.
Dr. M. A. Rahman (Assignment) Financial Mathematics (3rd Year) September 13, 2021 40 / 47
Two-Steps Binomial Model
In the two-steps Binomial model option expires after two time steps as Suu ,
Sud and Sdd .
Let f (S u ) and f (S d ) be the options
p∗ S uu + (1 − p∗ )S ud p∗ S ud + (1 − p∗ )S dd
f (S u ) = , f (S d
) =
e r δt e r δt
Now,
p∗ f (S u ) + (1 − p∗ )f (S d )
f (S(2)) =
e r δt
p∗ (p∗ S uu + (1 − p∗ )S ud ) + (1 − p∗ )(p∗ S ud + (1 − p∗ )S dd )
=
e 2r δt
p S + 2p∗ (1 − p∗ )S + (1 − p∗ )2 S dd
2 uu ud
= ∗
e 2r δt
Dr. M. A. Rahman (Assignment) Financial Mathematics (3rd Year) September 13, 2021 41 / 47
Multi-Steps Binomial Model
p∗2 S uu + 2p∗ (1 − p∗ )S ud + (1 − p∗ )2 S dd
D(0) = f (S(2)) =
e 2r δt
Dr. M. A. Rahman (Assignment) Financial Mathematics (3rd Year) September 13, 2021 42 / 47
Multi-Steps Binomial Model
If S(1) => single step, S(2) => two steps, S(3) => three steps then
f (S(1)) = p∗ f (S u ) + (1 − p∗ )f (S d )
f (S(2)) = p∗2 f (S uu ) + 2p∗ (1 − p∗ )f (S ud ) + (1 − p∗ )2 f (S dd )
f (S(3)) = p∗3 f (S uuu ) + 3p∗2 (1 − p∗ )f (S uud ) + 3p∗ (1 − p∗ )2 f (S udd )
+(1 − p∗ )3 f (S ddd ).
Dr. M. A. Rahman (Assignment) Financial Mathematics (3rd Year) September 13, 2021 43 / 47
Multi-Steps Binomial Model
1
V (0) = ∆S(0) − B = {pCu + (1 − p)Cd }
e r δt
1
= {p 2 Cuu + 2p(1 − p)Cud + (1 − p)2 Cdd }
e 2r δt
1
= {p 3 Cuuu + 3p 2 (1 − p)Cuud + 3p(1 − p)2 Cudd + (1 − p)3 Cddd
e 3r δt
3
1 X 3
= p j (1 − p)3−j (u j d 3−j S − X )+ .
e 3r δt j
j=0
n
1 X n
= p j (1 − p)n−j (u j d n−j S − X )+ .
e nr δt j
j=0
Dr. M. A. Rahman (Assignment) Financial Mathematics (3rd Year) September 13, 2021 44 / 47
If the price of f (0) is not equal to D(0), the arbitrage opportunity exists.
If f (0) > D(0) the trader can short the derivative (get amount of money
equal to f (0)), and buy the portfolio (pay D(0), and has some profit. At
the expiry, the trader can sell the portfolio and buy the derivative (to
return it for the short selling). Therefore, the profit f (0) − D(0) is risk-free.
Dr. M. A. Rahman (Assignment) Financial Mathematics (3rd Year) September 13, 2021 45 / 47
Risk-Neutral valuation
Dr. M. A. Rahman (Assignment) Financial Mathematics (3rd Year) September 13, 2021 46 / 47
Risk-Neutral valuation
Dr. M. A. Rahman (Assignment) Financial Mathematics (3rd Year) September 13, 2021 47 / 47