Fundamentals of Financial Mathematics
Financial mathematics uses mathematical methods to model and analyze financial markets. Because prices, interest rates, and returns are inherently uncertain, stochastic processes are the natural tool for capturing that randomness. This section covers the core building blocks: time value of money, interest rate mechanics, bond pricing, derivatives valuation, portfolio theory, and stochastic interest rate models.
Time Value of Money
A dollar today is worth more than a dollar tomorrow, because today's dollar can be invested and earn a return. This principle underpins nearly every calculation in financial mathematics.
Present Value vs. Future Value
Present value (PV) is the current worth of a future cash flow, discounted at some rate of return. Future value (FV) is the amount a current sum grows to after earning interest over time. The basic relationship is:
where is the interest rate per period and is the number of compounding periods. Rearranging gives:
These two formulas are the foundation for everything that follows.
Compounding Periods
Compounding means earning interest on previously earned interest. The frequency of compounding matters:
- Annually: interest added once per year
- Semi-annually: twice per year (common for bonds)
- Quarterly/Monthly: four or twelve times per year
- Continuously: the theoretical limit as compounding frequency approaches infinity
More frequent compounding produces a higher effective return for the same nominal rate, because each interest payment starts earning its own interest sooner.
Annuities and Perpetuities
An annuity is a series of equal payments at equal intervals over a fixed period. Mortgages and car loans are classic examples. The present value of an ordinary annuity paying per period for periods at rate is:
A perpetuity is an annuity that never ends. Its present value simplifies to:
This formula works because the payments stretch to infinity, and the geometric series converges when .
Interest Rates
Simple vs. Compound Interest
- Simple interest is computed only on the original principal:
- Compound interest is computed on the principal plus all accumulated interest:
Over short horizons the difference is small, but compound interest produces exponential growth, so the gap widens dramatically over longer periods. For example, $1,000 at 5% simple interest yields $1,500 after 10 years, while compound interest yields about $1,629.
Nominal vs. Effective Rates
The nominal rate is the stated annual rate, ignoring compounding effects. The effective annual rate (EAR) reflects the actual return after compounding:
where is the number of compounding periods per year. A nominal rate of 12% compounded monthly gives an EAR of about 12.68%. Whenever compounding is more frequent than annual, the effective rate exceeds the nominal rate.
Continuous Compounding
Continuous compounding is the limiting case as . The future value formula becomes:
where . This formulation is especially important in stochastic finance because it connects naturally to the exponential and logarithmic structures used in models like geometric Brownian motion.
Bonds and Loans
Coupon Payments
A bond is a debt instrument that pays periodic interest (coupons) and returns the face value at maturity. If a bond has face value , annual coupon rate , and pays semi-annually, each coupon payment is . The bond's price equals the sum of all discounted cash flows:
where is the discount rate per period and is the total number of coupon periods.

Yield to Maturity
Yield to maturity (YTM) is the single discount rate that equates a bond's market price to the present value of its future cash flows. It represents the total annualized return if the bond is held to maturity and all coupons are reinvested at the same rate.
YTM accounts for the coupon rate, time to maturity, and the difference between the purchase price and face value. There's no closed-form solution for YTM in general; it's typically found by numerical methods (e.g., Newton-Raphson or a financial calculator's iterative solver).
Amortization Schedules
An amortization schedule decomposes each loan payment into interest and principal components.
- Calculate the fixed periodic payment using the annuity formula.
- For each period, compute the interest portion as the outstanding balance times the periodic rate.
- The principal portion is the total payment minus the interest portion.
- Subtract the principal portion from the outstanding balance.
- Repeat until the balance reaches zero.
Early payments are mostly interest; later payments are mostly principal. This pattern arises because the interest charge shrinks as the balance declines.
Investment Valuation
Net Present Value (NPV)
Net present value is the sum of all discounted future cash flows minus the initial investment:
where is typically the (negative) initial outlay. A positive NPV means the project is expected to create value above the required rate of return. A negative NPV means it destroys value. NPV is the standard tool for capital budgeting decisions because it directly measures value creation in today's dollars.
Internal Rate of Return (IRR)
The internal rate of return is the discount rate that sets NPV to zero:
If exceeds the required rate of return, the project is attractive. One limitation: projects with non-conventional cash flows (alternating signs) can have multiple IRRs, making interpretation ambiguous. In such cases, NPV is more reliable.
Payback Period
The payback period is the time needed to recover the initial investment from cumulative cash inflows. It's simple to compute but has two significant weaknesses:
- It ignores the time value of money (a dollar received in year 5 counts the same as one in year 1).
- It ignores all cash flows after the payback date.
The discounted payback period partially addresses the first issue by using discounted cash flows, but the second limitation remains.
Financial Derivatives
Forwards vs. Futures Contracts
Both forwards and futures are agreements to buy or sell an asset at a predetermined price on a future date. The key differences:
| Feature | Forward | Future |
|---|---|---|
| Trading venue | Over-the-counter (private) | Exchange-traded |
| Standardization | Customized terms | Standardized contracts |
| Settlement | At expiration only | Marked-to-market daily |
| Counterparty risk | Higher (no clearinghouse) | Lower (clearinghouse guarantees) |
Daily marking-to-market means futures holders realize gains and losses incrementally, which affects pricing slightly compared to forwards when interest rates are stochastic.
Call vs. Put Options
- A call option gives the holder the right (not obligation) to buy the underlying asset at the strike price before or at expiration.
- A put option gives the holder the right (not obligation) to sell at .
The payoff at expiration for a European call is and for a European put is , where is the asset price at expiration. The option buyer pays a premium upfront for this right, and the most they can lose is that premium.
Black-Scholes Pricing Model
The Black-Scholes model provides a closed-form price for European options. It assumes the underlying asset price follows a geometric Brownian motion:
where is the drift, is the volatility, and is a standard Wiener process. The European call price is:
where:
and is the standard normal CDF. The five inputs are: current stock price , strike price , time to expiration , risk-free rate , and volatility . Notice that the drift drops out under risk-neutral pricing, which is a deep consequence of no-arbitrage arguments.
Key assumptions to keep in mind: constant volatility, no dividends (in the basic version), continuous trading, and no transaction costs. Real markets violate all of these, which is why practitioners use extensions and adjustments.

Portfolio Theory
Risk and Return Trade-off
Investors face a fundamental trade-off: higher expected returns generally require accepting more risk. Harry Markowitz's mean-variance framework quantifies this by measuring return as the expected value and risk as the variance (or standard deviation) of portfolio returns.
The efficient frontier is the set of portfolios that offer the maximum expected return for each level of risk. Any portfolio below the frontier is suboptimal because you could get higher return for the same risk, or lower risk for the same return.
Diversification Benefits
Diversification reduces portfolio risk by combining assets whose returns don't move in perfect lockstep. The portfolio variance for two assets is:
When the correlation , the portfolio standard deviation is less than the weighted average of individual standard deviations. This is the mathematical basis for the "free lunch" of diversification.
Diversification eliminates unsystematic risk (company- or industry-specific), but systematic risk (market-wide factors like recessions or interest rate changes) cannot be diversified away.
Optimal Portfolio Selection
The Markowitz mean-variance optimization finds portfolio weights that minimize variance for a target expected return (or maximize return for a target variance). In practice:
- Estimate expected returns, variances, and covariances for all assets.
- Solve the constrained optimization problem (often using quadratic programming).
- Trace out the efficient frontier by varying the target return.
- Select the portfolio on the frontier that matches your risk tolerance.
Adding a risk-free asset creates the capital market line, and the tangency portfolio (the point where a line from the risk-free rate is tangent to the efficient frontier) becomes the optimal risky portfolio for all investors.
Capital Asset Pricing Model (CAPM)
Systematic vs. Unsystematic Risk
- Systematic risk affects the entire market: interest rate shifts, recessions, geopolitical events. It cannot be diversified away.
- Unsystematic risk is specific to a firm or industry: a CEO departure, a product recall, a labor strike. It can be eliminated through diversification.
CAPM's central insight is that only systematic risk is priced. Since rational investors diversify, the market doesn't reward you for bearing risk that could have been eliminated.
Beta Coefficient
Beta () measures a security's sensitivity to market movements:
- : the stock moves with the market
- : more volatile than the market (e.g., tech stocks often have )
- : less volatile (e.g., utilities often have )
Security Market Line
The security market line (SML) plots expected return against beta. The CAPM equation is:
where is the risk-free rate and is the market risk premium. The SML's intercept is and its slope is the market risk premium.
- Securities plotting above the SML are undervalued (they offer more return than CAPM predicts for their risk).
- Securities plotting below the SML are overvalued.
This relationship holds in equilibrium under CAPM assumptions. In practice, deviations from the SML are the basis for active investment strategies.
Stochastic Interest Rate Models
Interest rates aren't constant; they evolve randomly over time. Stochastic interest rate models capture this behavior and are essential for pricing bonds, interest rate derivatives, and managing fixed-income risk.
Vasicek Model
The Vasicek model describes the short rate as an Ornstein-Uhlenbeck process:
where is the long-term mean rate, is the speed of mean reversion, and is the volatility. The mean-reversion property means that when rates are above they tend to drift down, and when below they drift up. This is realistic behavior for interest rates.
One drawback: the Vasicek model allows negative interest rates, since the noise term is additive and normally distributed. Before the era of negative policy rates, this was considered a significant limitation.
Cox-Ingersoll-Ross (CIR) Model
The CIR model modifies Vasicek by making the volatility proportional to :
This square-root diffusion ensures that when approaches zero, the volatility shrinks, preventing the rate from going negative (provided , the Feller condition). The CIR model retains mean reversion while producing a more realistic distribution of rates.
Heath-Jarrow-Morton (HJM) Framework
Rather than modeling a single short rate, the HJM framework models the entire forward rate curve as a stochastic process:
The key result is that the no-arbitrage condition pins down the drift entirely in terms of the volatility function . This means you only need to specify the volatility structure; the drift follows automatically.
HJM is a very general framework. Both the Vasicek and CIR models can be recovered as special cases with particular volatility specifications. The trade-off is that HJM models the entire curve (infinite-dimensional), which makes implementation more complex. In practice, finite-factor approximations are used.