Recitation 4: Solutions
Recitation 4: Solutions
Question 1
There are three bonds available in the market, A, B, and C, all with face value
of $100. Bond A is a zero-coupon bond, with maturity of 1 year, and current
price of $97.50. Bond B pays an annual coupon of 3%, has 2 years to maturity,
and is currently traded at $96.00. Bond C pays an annual coupon of 3.5%, has
3 years to maturity, and is currently traded at $98.00.
Compute 1-year, 2-year, and 3-year spot interest rates.
Solutions:
Let us write the prices of all bonds as a function of the spot interest rates and
coupon rate. Start with bond A:
$100
PA = .
1 + r1
Its price is just a function of the face value, $100, and the 1-year spot price. Price
of bond B is the discounted coupons paid in Year 1 and Year 2 and discounted
$100 of the face value. The appropriate discounting rates are the spot interest
rates r1 and r2 , the last is squared since we get the respective payments only in
two years:
$3 $3 + $100
PB = + .
1 + r1 (1 + r2 )2
Similarly, price of bond C is
$3.5 $3.5 $3.5 + $100
PC = + 2
+ .
1 + r1 (1 + r2 ) (1 + r3 )3
Given that prices of bonds, PA , PB , and PC , are known, we efficiently have a
system of three equations with three unknowns. From first equation we immedi-
ately get r1 = 2.56%1 . Plug r1 into the second equation to get another equation
with just one unknown:
$3 $3 + $100
96 = + .
1 + 2.56% (1 + r2 )2
1 Note that this number, like many others in the recitation, is rounded up to the second
digit. Nevertheless, we do not round it when plug it in further equation to avoid accumulation
of roundoff error.
1
Solving it get the 2-year spot interest rate r2 = 5.20%. Plugging both found
interest rates into third equation we get
$3.5 $3.5 $3.5 + $100
98 = + + .
1 + 2.56% (1 + 5.20%)2 (1 + r3 )3
we receive r3 = 4.22%.
Question 2: Arbitrage
You are a bond trader, and see the below bonds and prices on your screen (these
are risk-free bonds):
Bond Face Value Maturity Coupon rate Price
A $100 1 0% $96.90
B $100 2 2.75% $99.00
C $100 3 0% $88.55
There is another bond, D, that just became available. Bond D has a face
value of $100, 3 years to maturity, and 3% coupon rate. Its current price is
$99.50.
(a) Is there an arbitrage opportunity in this market? If yes, explain how you
would take an advantage of this opportunity.
(b) Construct an arbitrage trading strategy that pays off $100 today and
nothing in the future.
Solutions:
(a) Is there an arbitrage opportunity in this market? If yes, explain how you
would take an advantage of this opportunity.
First, we should find term structure of interest rates from. We should use
prices of bonds A, B, and C to find r1 , r2 , and r3 .
$100
$96.90 = PA = ,
1 + r1
$2.75 $2.75 + $100
$99 = PB = + ,
1 + r1 (1 + r2 )2
$100
$88.55 = PC = .
(1 + r3 )3
The first and third equation can be solved to r1 = 3.20% and r3 = 4.14%.
Plugging r1 into the second equation solve r2 = 3.28%.
Given the term structure we can conclude what the price of bond D should
be
2
$3 $3 $3 + $100
PD = + 2
+ = $96.93.
1 + 3.20% (1 + 3.28%) (1 + 4.14%)3
Notice the negative signs. This is because we assumed that we are buying
x of each bond, which represents cash outflow. Our positions should
be such that bond payoffs times positions are zero in subsequent years.
Hence, payoff in Year 1 defines equation
since bond A pays $100, bond B pays $2.75, bond C pays $0, bond D pays
$3.00, and the bond portfolio must pay us zero. Notice the positive signs.
This is because payoffs from the bought bonds represent cash inflow.
Similarly, payoffs in Year 2 and Year 3 return us
$102.75xB + $3.00xD = $0
$100.00xC + $103.00xD = $0
Finally, combining those equations we get the following system of four
equations with four unknowns
3
−$96.90xA − $99.00xB − $88.55xC − $99.5xD = $100
$100x + $2.75x + $3.00x
A B D = $0
$102.75x B + $3.00x D = $0
$100.00xC + $103.00xD = $0
It is a linear system and it can be solved in many ways. One of the options
is to start from last two equations and express xB and xC as functions of
xD :
3
xB = − 102.75 xD
xC = − 103
100 xD
Plugging the result into the second equation the system simplifies to
−$96.90xA − $99.00xB − $88.55xC − $99.5xD = $100
2.75×3
xA = ( 102.75 −3) xD
100
3
xB = − 102.75
xD
xC = − 103
100 xD
Let us discuss how to automate solving the arbitrage question. The system
of equations can be rewritten in the matrix form.
−96.90 −99.00 −88.55 −99.50 xA 100
100.00 2.75 0.00 3.00 xB = 0
0.00 102.75 0.00 3.00 xC 0
0.00 0.00 100.00 103.00 xD 0
4
Denote the 4×4 matrix by A. Then the system is equivalent to
A × x = b,
x = A−1 b.
To see how to invert the matrix in Excel and solve a system of linear
equations watch the video.
Question 3: Arbitrage
Consider a 5-year bond with annual payments, the principal payment of $100
at maturity, and the coupon rate of 4.5%. The yield to maturity (YTM) on this
bond is 3.15%. What is the current price of the bond?
Solutions:
To price a bond with given YTM, all what we need to do is to take all of the
cash flows that this bond produces and discount them to present.
This problem is a good illustration for the following irregularity. Notice that
the price of the bond is higher than the face value of the bond. It is possible
because the coupon rate is higher than YTM. In this case, we are saying that
the bond is priced at a premium because coupon rate is higher.
If the coupon rate was the same as YTM, i.e. y = 4.5%, the price of the
bond would be exactly its face value, i.e. $100,
5
Question 4: Computing YTM
Consider a 3-year bond with annual payments, the principal payment of $100
at maturity, and the coupon rate of 5.25%. Current spot interest rates are as
follows: the 1-year rate is 1.1%, the 2-year rate is 1.15%, and the 3-year rate is
1.50%. Compute the yield to maturity on this bond.
Solutions:
At first step, find the price of the bond similarly to the previous questions
Given the price of the bond, we can find YTM y as the solution of the following
equation
Solutions:
(a) A zero-coupon $100 face value bond, maturing in 20 years.
Denote T = 20. By definition Macaulay duration:
T
1 X CFt
D= ×t
P t=1 (1 + y)t
6
For a zero-coupon bond, all CFt = 0 for t < T, and CFT = $100. There-
fore, Macaulay duration for zero-coupon bond simplifies to
1 $100
D= × × T,
P (1 + y)T
i.e. the only term of the original sum which survives is the terminal term.
Notice that bond price for a zero-coupon bond is:
$100
P = .
(1 + y)T
Hence, Macaulay duration for zero-coupon bond is
1
D= × P × T = T.
P
Therefore, for a zero-coupon bond, Macaulay duration equals ma-
turity of the bond.
The Macaulay duration of the bond in (a) is 20 years.
Next, modified duration by definition is
D
MD = .
1+y
(b) A 5% coupon $100 face value perpetual bond. Assume that coupons are
paid annually.
Let us start by deriving modified duration for the perpetual bond. By
definition,
1 dP
MD = − ×
P dy
The price of a perpetual bond that pays C coupon annually is
∞
X C C
P = t
= .
t=1
(1 + y) y
The formula comes from Lecture 3 as the present value of the perpetuity.
First, let us find the derivative of the price of the bond with respect to y:
7
dP d Cy C
= =− 2
dy dy y
Plugging the result into the modified duration we get
1 C 1 C 1
MD = − × − 2 =−C × − 2 =
P y y
y y
One can calculate the sum by hand but it is not necessary for the purposes
of the class.2 In the video we show the Excel solution which is based on
calculating the sum on the RHS of the equation numerically. Macaulay
duration is D = 14.43. Note that for the calculations we also need to find
the price of bond which equals to sum of the discounted future cash flows
20
X $5 $100
P = + = $149.05.
t=1
(1 + 2%)t (1 + 2%)20
D 14.43
MD = = = 14.15.
(1 + y) 1 + 2%
2 Use
PT t (T x−T −1)xT +1 +x
the formula for increasing geometric series, t=1 tX = (1−x)2
, to get
T T T
1 +y T 1 + 1 −1 −1
1 PT $5 $5 y+1 y+1 y+1
D= P t=1 (1+y)t ×t= P
× y2
8
Question 6: Interest rate risk
You manage a pension fund and your liabilities consist of three payments as
follows:
(a) Use modified duration to determine what happens to the present value of
your liabilities when interest rates increase by 0.20%.
(b) Compute the actual change in the present value of your liabilities when
interest rates increase by 0.20%.
Solutions:
(a) Use modified duration to determine what happens to the present value of
your liabilities when interest rates increase by 0.20%.
Let us compute the present value of cash flows:
$40 $75 $105
P = + +
(1 + 5%)10 (1 + 5%)15 (1 + 5%)20
The present value of cash flows (our liabilities) is $100.21 million
Recall definition of Macaulay duration:
T
1 X CFt
D= × t.
P t=1 (1 + y)t
Hence,
1 40 75 105
D= × 10 + × 15 + × 20
100.21 (1 + 5%)10 (1 + 5%)15 (1 + 5%)20
The Macaulay duration of liabilities is 15.75 year.
The modified duration is linked to Macaulay duration and,
D 15.75
MD = = = 15
1+y 1 + 5%
Using definition of modified duration,
1 dP
MD = − ×
P dy
9
we can get the approximate change in the value of liabilities:
∆P = −P × M D × ∆y.
(b) Compute the actual change in the present value of your liabilities when
interest rates increase by 0.20%.
New discount rate is y = 5.2%.
Note that the approximation in (a) did a good job approximating actual
decrease. Though the values are not identically the same. The actual
change is less than what duration approximation gives us.
Let us understand why the actual change is less. The red line of the picture
below shows how the price of a bond depends on the yield. Since every
discounted cash-flow term in the value of a bond is a convex function in the
yield, the bond value is also the convex function in the yield.3 The actual
decrease in the value of the liabilities can be found by moving along the
red line. Modified duration helps to find the approximate change along the
blue line which is the tangent line with the slope proportional to modified
duration. Since the tangent line is always below the convex red line we get
that approximation will give us always larger decrease in the price than
the actual one in response to raise of the discounting rate.
10
(a) Compute modified duration of the bond.
(d) Suppose that interest rates drop by 1.5% at all maturities. Use modified
duration and convexity to determine a second-order approximate change
in the bond price.
(e) Suppose that interest rates drop by 1.5% at all maturities. Compute the
exact change in the bond price. Compare it approximations obtained in
(c) and (d).
Solution:
(a) Compute modified duration of the bond.
The solution repeats calculations we did in question 5. The price of the
bond is
5 5
X CFt X $5 $100
P = t
= t
+ = $106.77.
t=1
(1 + y) t=1
(1 + 3.5%) (1 + 3.5%)5
Macaulay Duration is
5 5
1 X CFt 1 X CFt
D= × t = × t = 4.56
P t=1 (1 + y)t $106.77 t=1 (1 + 3.5%)t
11
Finally, the modified duration is linked to Macaulay Duration:
D 4.56
MD = = = 4.41.
1+y 1 + 3.5%
T
d2 P 1 X t × (t + 1) × CFt
=
dy 2 (1 + y)2 t=1 (1 + y)t
Convexity of the bond is thus
T
11 1 X t × (t + 1) × CFt
CX = 2
.
2 P (1 + y) t=1 (1 + y)t
T
11 1 X
CX = P V (CFt ) × t × (t + 1)
2 P (1 + y)2 t=1
CX = 12.38
(c) Suppose that interest rates drop by 1.5% at all maturities (i.e., there is
a parallel shift in the yield curve downwards). Use modified duration to
determine a first-order approximate change in the bond price.
Similar to Question 6, approximation of price change can be found as
product of modified duration with current price of the bond and the change
in the interest rate.
12
∆P = −P × M D × ∆y
Plugging the numbers into the equation we get
∆P = $7.06
(d) Suppose that interest rates drop by 1.5% at all maturities. Use modified
duration and convexity to determine a second-order approximate change
in the bond price.
The second-order approximate change in the bond price is given by the
following expression,
∆P = P × −M D × ∆y + CX × ∆y2
Note that this is the approximate change we found in part (c) with small
additional term P × CX × ∆y2 which increases the approximation.
∆P = $7.36
(e) Suppose that interest rates drop by 1.5% at all maturities. Compute the
exact change in the bond price. Compare it approximations obtained in
(c) and (d).
New YTM is 2%. We can calculate the new bond price,
5
X $5 $100
P = t
+ = $114.14,
t=1
(1 + 2%) (1 + 2%)5
Note that approximate change in (d) is much closer to the actual change
than the on we got in (c).
13