Chapter 2

Time Value of Money

Present value, future value, annuities, and discounting.

Time Value of Money

The time value of money (TVM) is arguably the most fundamental concept in finance. It states that a dollar today is worth more than a dollar tomorrow because money available now can be invested to earn returns. This principle underlies virtually all financial decision-making, from personal investments to corporate capital budgeting.

Future Value

If you invest an amount today, how much will it grow to in the future? The future value (FV) answers this question.

Simple Interest

With simple interest, you earn returns only on the principal: FV=PV×(1+r×t)FV = PV \times (1 + r \times t)

where PVPV is present value, rr is the interest rate per period, and tt is the number of periods.

Compound Interest

With compound interest, you earn returns on both principal and accumulated interest: FV=PV×(1+r)nFV = PV \times (1 + r)^n

where nn is the number of compounding periods.

Example: Investing 1,000 at 8% annually for 10 years: $$FV = 1000 \times (1.08)^{10} = \2,158.92$$

Continuous Compounding

As compounding frequency approaches infinity, we get continuous compounding: FV=PV×ertFV = PV \times e^{rt}

This formula is extensively used in derivatives pricing and theoretical finance.

Present Value

Present value (PV) is the inverse operation: what is a future cash flow worth today?

PV=FV(1+r)nPV = \frac{FV}{(1 + r)^n}

The process of calculating present value is called discounting, and rr is the discount rate.

Discount Factors

The discount factor DFDF represents the present value of 1receivedattime1 received at time t$: DFt=1(1+r)tDF_t = \frac{1}{(1 + r)^t}

For a series of cash flows, the present value is: PV=t=1nCFt×DFt=t=1nCFt(1+r)tPV = \sum_{t=1}^{n} CF_t \times DF_t = \sum_{t=1}^{n} \frac{CF_t}{(1 + r)^t}

Annuities

An annuity is a series of equal payments at regular intervals.

Ordinary Annuity (Payments at End of Period)

Present value: PV=PMT×1(1+r)nrPV = PMT \times \frac{1 - (1 + r)^{-n}}{r}

Future value: FV=PMT×(1+r)n1rFV = PMT \times \frac{(1 + r)^n - 1}{r}

Annuity Due (Payments at Beginning of Period)

Multiply ordinary annuity formulas by (1+r)(1 + r): PVdue=PVordinary×(1+r)PV_{due} = PV_{ordinary} \times (1 + r)

Perpetuity

A perpetuity is an annuity that continues forever. Its present value simplifies elegantly: PV=PMTrPV = \frac{PMT}{r}

For a growing perpetuity where payments grow at rate gg: PV=PMTrgPV = \frac{PMT}{r - g}

This formula is the foundation of the Gordon Growth Model for stock valuation.

Net Present Value (NPV)

NPV is the cornerstone of investment analysis. It sums all present values of cash flows, including the initial investment (typically negative):

NPV=C0+t=1nCFt(1+r)tNPV = -C_0 + \sum_{t=1}^{n} \frac{CF_t}{(1 + r)^t}

Decision rule: Accept projects with NPV>0NPV > 0; reject those with NPV<0NPV < 0.

Internal Rate of Return (IRR)

The IRR is the discount rate that makes NPV=0NPV = 0: 0=C0+t=1nCFt(1+IRR)t0 = -C_0 + \sum_{t=1}^{n} \frac{CF_t}{(1 + IRR)^t}

The IRR must typically be solved numerically (using Newton-Raphson or similar methods).

Decision rule: Accept if IRR>IRR > required return.

Caution: IRR can give misleading results with non-conventional cash flows or when comparing mutually exclusive projects.

Effective Annual Rate (EAR)

When interest is compounded more frequently than annually, the stated rate differs from the effective rate:

EAR=(1+rnominalm)m1EAR = \left(1 + \frac{r_{nominal}}{m}\right)^m - 1

where mm is the number of compounding periods per year.

Example: A 12% nominal rate compounded monthly: EAR=(1+0.1212)121=12.68%EAR = \left(1 + \frac{0.12}{12}\right)^{12} - 1 = 12.68\%

Applications in Programming

TVM calculations are fundamental to financial software:

  1. Loan Amortization: Calculate monthly payments and build amortization schedules
  2. Bond Pricing: Discount future coupon payments and principal
  3. Project Valuation: Implement NPV and IRR functions
  4. Retirement Planning: Model savings growth and withdrawal strategies

Efficient implementations require:

  • Handling edge cases (zero rates, infinite periods)
  • Numerical methods for IRR calculation
  • Precision considerations for large time horizons

Choosing the Discount Rate

The appropriate discount rate depends on the context:

  • Risk-free rate: Government bond yields (for riskless cash flows)
  • Cost of capital: For corporate investment decisions
  • Required return: Incorporating risk premiums for risky assets

The discount rate should reflect the opportunity cost of capital: what return could be earned on an investment of similar risk.

ELI10 Explanation

Simple analogy for better understanding

Imagine you have a choice: receive $100 today or $100 next year. Which would you pick? Most people would choose today! That's because with money now, you can buy things, invest it, or put it in a savings account where it grows. If you put $100 in a bank earning 5% interest, next year you'd have $105. So $100 today is actually worth more than $100 in the future. Time value of money is just a fancy way of saying that money is worth more the sooner you have it, because you can make it grow while you wait.

Self-Examination

Q1.

Why is a dollar received today worth more than a dollar received in the future, even in a world without inflation?

Q2.

How does increasing the compounding frequency affect the future value of an investment? What is the limit as compounding becomes continuous?

Q3.

Derive the present value formula for a perpetuity. Why doesn't the sum diverge to infinity even though payments continue forever?

Q4.

What are the limitations of using IRR as an investment decision criterion? When might NPV and IRR give conflicting recommendations?

Q5.

How would you implement a numerical solver for IRR in a programming language? What convergence issues might you encounter?