Suppose that a borrower and a lender agree on the nominal interest rate to be paid on a loan. Then inflation turns out to be higher than they both expected.
a. Is the real interest rate on this loan higher or lower than expected?
b. Does the lender gain or lose from this unexpectedly high inflation? Does the borrower gain or lose?