The Education University of Hong Kong · FACULTY OF MATHEMATICS

MTH6131 Chap.1 Functions and Continuously Compounded Interest

- one subject, every graph, every model, every mark
7 Chapters4-page Bible
Our own words - no uploaded lecturer files
Updated for this semester
Chapter 1 of 16 · MTH6131

Functions and Continuously Compounded Interest

Why a calculus course opens with a bank balance

The first lecture chooses an example that anyone can state and that needs calculus to finish. A loan of principal P at rate r owes P(1 + r) at maturity. Roll the whole amount into a new loan on the same terms and the debt becomes P(1 + r)², and after n such loans it is P(1 + r) to the power n.

That is the compound interest model, and each step of it is ordinary arithmetic.

The interesting question comes next. Banks quote an annual rate and credit it in pieces, so with n credits a year for t years the balance is P(1 + r/n) to the power nt. What happens as n grows without bound?

The variable sits in the base and in the exponent at once, and the lecture resolves it by taking a logarithm and applying the rule for a zero over zero limit. The answer is the continuously compounded model, P times e to the power rt.

Three tools from later in the course, a limit, a logarithm and a derivative, are already needed on the first day, which is the case for teaching calculus before modelling.

The vocabulary of functions

The same lecture fixes the language used for the rest of the semester. A function from A to B assigns each input in the domain A exactly one output in the codomain B.

It is one to one when different inputs always give different outputs, onto when every element of the codomain is reached, and invertible exactly when it is both. Composition applies one function to the output of another, and the order matters: in general g of f and f of g are different functions even when both exist.

Even functions satisfy f(−x) = f(x) and odd functions satisfy f(−x) = −f(x); recognising either halves the work of a sketch later in the course.

What this chapter sets up for later

The number e reappears when logarithmic and exponential functions are differentiated, and the model itself returns at the end of the course as the differential equation dA/dt = rA, whose solution is the function found here as a limit.

Keeping that thread in view makes the final topic feel like a return rather than a new start.

In this chapter

What this chapter covers

  • 01

    The simple interest model and its repeated form

  • 02

    Splitting an annual rate into n credits

  • 03

    The limit of (1 + r/n) to the power nt

  • 04

    Domain, codomain and the one-output rule

  • 05

    One to one, onto and invertible functions

  • 06

    Composition and why its order matters

  • 07

    Even and odd functions

Worked example · free

Quarterly against continuous compounding

Q [6 marks]. AskSia-authored practice. A deposit of 20,000 earns 4% a year. Find the balance after five years with quarterly compounding and with continuous compounding, and explain which must be larger. The marks shown are an AskSia study allocation, not the University's marking scheme.
Compounding more often pays less and less.Compounding more often pays less and less. The five bars are computed from the formula on this page, and the continuous value is the limit the other four approach.Value after 3 years: 8,000 at 6% a yearyearly9,528.13quarterly9,564.95monthly9,573.44daily9,577.60continuous9,577.74Each step up in frequency adds less; the ceiling is the continuous value.
Compounding more often pays less and less. The five bars are computed from the formula on this page, and the continuous value is the limit the other four approach.
  • 2Write the quarterly formula with the rate split into four and the number of periods counted.
  • 2Write the continuous formula as the limit of the first.
  • 2Compare the two values and justify the order.
Quarterly compounding credits 1% four times a year for five years, so the balance is 20,000 × 1.01 to the power 20, about 24,403.80. Continuous compounding gives 20,000 × e to the power 0.2, about 24,428.06. The continuous value must be larger because (1 + r/n) to the power nt increases with n and approaches e to the power rt from below, so every finite compounding frequency sits under the continuous limit.
Sia tip — Check any compounding answer against two bounds: it cannot be below the yearly value or above the continuous one.
Glossary

Key terms

Principal
The amount lent or deposited at the start, on which interest is calculated.
Compound Interest
Interest that is added to the principal at the end of each period, so that later interest is earned on earlier interest as well.
Continuous Compounding
The limiting case of compounding as the number of periods per year grows without bound, which gives a balance of P times e to the power rt.
Codomain
The set a function maps into, which may be larger than the set of values actually reached.
Bijective Function
A function that is both one to one and onto, which is exactly the condition for it to have an inverse.
Composite Function
The function g of f obtained by applying f first and then g to its output.
FAQ

Functions and Continuously Compounded Interest FAQ

Why does the course start with interest rather than with limits?

Because the interest example shows why limits are needed. Compounding more and more often leads to a quantity with the variable in both the base and the exponent, and settling what it approaches takes a logarithm and a derivative. The example therefore motivates the order of the whole semester: calculus first, then modelling.

Is y squared equals x a function of x?

No. A function must give exactly one output for each input, and here the input 4 is paired with both 2 and minus 2. The relation still describes a perfectly good curve, and later chapters find its slope by implicit differentiation even though it is not a function of x.

How do I show that a function is invertible?

Show that it is one to one, by assuming f(a) = f(b) and deducing a = b, and that it is onto its codomain, by showing every element is reached. The lecture states that a function is invertible exactly when it has both properties, and that its inverse is then unique.

Study strategy

Exam move

Work the compounding formula for one set of numbers at four frequencies and at the continuous limit, and keep the table: it is the quickest way to see the limit behind e before the formal definition arrives. Then practise composition by writing both orders for pairs of simple functions and evaluating each at zero, until checking the order becomes automatic.

Working through Functions and Continuously Compounded Interest in MTH6131? Sia is AskSia’s AI Mathematics tutor — ask any MTH6131 Functions and Continuously Compounded Interest question and get a clear, step-by-step explanation grounded in how MTH6131 is taught and assessed. Read this chapter free, then take your hardest questions to Sia.

A+Everything unlocked
Unlocks this Bible + all 16 of your The Education University of Hong Kong subjects - and 1,000+ Bibles across every Australian university.
Sia - your MTH6131 tutor, unlimited, worked the way the exam marks it
The full 4-page Bible + practice bank with worked solutions
Chrome extension - sync your LMS so Sia knows your deadlines
Bilingual EN / Chinese on every Bible and every Sia answer
$0.99 Trial
30-day money-back · cancel in one tap · how it works