Key: replicating the purchase of a call option by buying a fractional (\Delta) shares of stock and borrowing B dollars.
Assume at time T the stock will have two values, u\cdot S and d\cdot S. Let the values of a corresponding call option be C_u and C_d. h denotes the length of one time period. Then a cash flow table shows the replicating portfolio will satisfy
Solving gives
So the call option price is
The put option price is obtained entirely the same way by replacing C with P.
If the price of an option is mispriced, we can arbitrage by buying low, selling high, using the fact that the buying a call option is equivalent to buying \Delta shares and borrowing B dollars.
If we write
which is called the risk neutral probability, then the formula simplifies to
as if C is a kind of (discounted) expected value. [In fact, a calculation also shows p^* is related to the forward price:
Otherwise we can arbitrage by exchanging stock and bonds, ignoring options altogether.