# Number, sequences and finance

> Math: Applications and Interpretation (IB Mathematics: Applications and Interpretation SL and HL) · Number and algebra. A free chapter of Atlas, the interactive visual textbook: https://atlasclass.app/math-aa/ibnumber/. On the site each page sits beside an interactive 3D figure; here it is the words and the math (LaTeX) alone.

## 1.1 · IB Math AA · Standard form

*a number as a × 10ᵏ*

This chapter is about growth: by adding (arithmetic), by multiplying (geometric), and the money, logarithms and approximations that go with it. It starts with how to write very large and very small numbers.

$$\begin{gathered} a \times 10^{k} \\ 1 \le a

$0.000\,052 = 5.2 \times 10^{-5}$ and $3\,450\,000 = 3.45 \times 10^{6}$: count how many places the decimal point moves, and the sign of $k$ says which way.

To multiply, multiply the $a$’s and add the powers, then tidy up: $(3 \times 10^{4})(6 \times 10^{5}) = 18 \times 10^{9} = 1.8 \times 10^{10}$, since 18 is not between 1 and 10.

The figure places the number on a line of powers of ten. Its position is $k + \log a$: $k$ grey steps of “times 10”, then a short blue piece for $a$, read off the ruler below.

## 1.2 · IB Math AA · Arithmetic sequences

*growth by adding*

In 2, 5, 8, 11, … each term is 3 more than the one before. That constant step is the **common difference** $d = 3$.

$$u_n = u_1 + (n - 1)\,d$$

The $n$th term needs $n - 1$ steps from the first, not $n$: $u_{20} = 2 + 19 \times 3 = 59$. Run it backward to find which term a number is: $2 + 3(n - 1) = 92$ gives $n = 31$.

In the figure each column is the last plus 3 red cubes, so the tops climb a straight line of gradient $d$. Simple interest, a salary with a fixed raise and the seats in rows of a theatre all grow this way.

## 1.2 · IB Math AA · Arithmetic series

*sigma notation, and pairing the terms*

A **series** adds the terms of a sequence. Sigma notation writes the sum compactly: $\sum_{k=1}^{6} (3k - 1) = 2 + 5 + 8 + 11 + 14 + 17$.

Write the sum again backward and add the two: every column holds $u_1 + u_n = 2 + 17 = 19$, so twice the sum is $6 \times 19$ and the sum is 57. In the figure the blue copy lands upside down on the red staircase and fills a rectangle.

$$\begin{aligned} S_n &= \frac{n}{2}\left(u_1 + u_n\right) \\ &= \frac{n}{2}\left(2u_1 + (n - 1)d\right) \end{aligned}$$

The first 20 terms: $S_{20} = \frac{20}{2}(2 + 59) = 610$. Use the first form when you know the last term, the second when you know $d$.

## 1.3 · IB Math AA · Geometric sequences and series

*growth by multiplying*

In 1, 3, 9, 27, 81, … each term is 3 times the one before: the **common ratio** is $r = 3$. In the figure each new block is three copies of the last, one of them in blue.

$$\begin{aligned} u_n &= u_1\, r^{\,n-1} \\ S_n &= \frac{u_1(r^n - 1)}{r - 1} \\ &= \frac{u_1(1 - r^n)}{1 - r} \quad (r \ne 1) \end{aligned}$$

So $u_{10} = 3^9 = 19,683$ and the five blocks hold $S_5 = \frac{3^5 - 1}{3 - 1} = 121$ cubes. The sum formula comes from writing $S_n$ and $rS_n$ one above the other: every term but two cancels when you subtract.

Growth by multiplying soon outruns growth by adding. After 7 steps the arithmetic columns of the last page reach 23; the geometric blocks reach 2,187. A ratio between 0 and 1 makes the terms shrink instead, which the next pages use for depreciation and for sums to infinity.

## 1.4 · IB Math AA · Compound interest and depreciation

*geometric sequences with money*

Money earning compound interest is multiplied by the same factor every period: a geometric sequence. With rate $r\%$ a year compounded $k$ times a year for $n$ years,

$$FV = PV\left(1 + \frac{r}{100k}\right)^{kn}$$

$1,000 at 6% compounded yearly is worth $1000 \times 1.06^{10} \approx 1,790.85$ dollars after 10 years (the red staircase). Compounded monthly it is $1,819.40: more periods, slightly more growth. It doubles once $1.06^n \ge 2$, that is $n \ge \frac{\ln 2}{\ln 1.06} \approx 11.9$, so after 12 years.

**Depreciation** is the same with a factor below 1. A $1,500 laptop losing 20% a year is worth $1500 \times 0.8^{n}$: $768 after 3 years and $161.06 after 10 (blue). Your calculator’s finance solver (TVM) does the same sums: $N$ periods, $I\%$, $PV$, $FV$.

## 1.7 · IB Math AI · Loans and annuities

*amortization: paying a balance down*

A loan of $10,000 at 8% a year is repaid in 5 equal yearly payments. Each year the balance grows by 8%, then a payment comes off. What payment leaves exactly 0?

In a finance solver: $N = 5$, $I\% = 8$, $PV = 10\,000$, $FV = 0$, one payment a year; it returns $PMT = -2504.56$ (negative: money paid out). By formula,

$$\begin{aligned} PMT &= \frac{PV \cdot i}{1 - (1 + i)^{-N}} \\ &= \frac{10\,000 \times 0.08}{1 - 1.08^{-5}} \\ &\approx 2,504.56 \end{aligned}$$

Year 1’s interest is $800.00, so only $1,704.56 of the first payment reduces the debt, to $8,295.44. Later payments carry less interest and more principal: the red teeth shrink. In all you pay $12,522.80, of which $2,522.80 is interest. An **annuity** is the same calculation turned round: a lump sum that pays out equal amounts until it is used up.

## 1.5 · IB Math AA · Exponents and logarithms

*the logarithm is the exponent*

For integer exponents, the laws come from counting factors:

$$\begin{gathered} a^m a^n = a^{m+n} \\ \frac{a^m}{a^n} = a^{m-n} \\ (a^m)^n = a^{mn}, \quad a^0 = 1 \\ a^{-n} = \frac{1}{a^n} \end{gathered}$$

A **logarithm** asks for the exponent: $\log_a b = x \iff a^x = b$. So $\log_{10} 1000 = 3$ and $\log_{10} 0.01 = -2$. Base 10 is written $\log$; base $e \approx 2.718$ is the **natural logarithm** $\ln$, so $\ln e = 1$ and $\ln 20 \approx 2.996$ (by calculator).

In the figure a point runs along $y = e^x$. The blue length on the $y$-axis is the number; the red length on the $x$-axis is its natural log. Doubling the blue length only adds $\ln 2 \approx 0.693$ to the red: logs turn multiplying into adding.

## 1.6 · IB Math AA · Simple deductive proof

*from the left-hand side to the right*

A proof starts from one side of a statement and reaches the other by steps that are each certainly true. To show $(n + 1)^2 - n^2 \equiv 2n + 1$:

$$\begin{aligned} \text{LHS} &= (n + 1)^2 - n^2 \\ &= n^2 + 2n + 1 - n^2 \\ &= 2n + 1 = \text{RHS} \end{aligned}$$

The sign $\equiv$ marks an **identity**, true for every $n$, as against an equation like $2n + 1 = 7$, true for one value. Checking $n = 1, 2, 3$ is evidence, not proof; the algebra covers all $n$ at once. Lay it out as one chain from LHS to RHS, never by working on both sides at once.

The figure is the same proof in tiles: around an $n \times n$ blue square, the red L of a row of $n$, a column of $n$ and one corner makes the $(n + 1) \times (n + 1)$ square. Another: the sum of three consecutive integers is $n + (n + 1) + (n + 2) = 3(n + 1)$, a multiple of 3.

## 1.6 · IB Math AI · Approximation and error

*rounding, bounds and percentage error*

A length measured as 7.4 cm to the nearest 0.1 cm could be anything from 7.35 cm up to (not including) 7.45 cm: half a unit either side. These are its **lower** and **upper bounds**.

For a 7.4 cm by 3.2 cm rectangle the area is 23.68 cm² as measured, but the true area lies between $7.35 \times 3.15 = 23.1525$ and $7.45 \times 3.25 = 24.2125$. In the figure the red rectangle wanders inside the blue square of possible corners.

$$\varepsilon = \left|\frac{v_A - v_E}{v_E}\right| \times 100\%$$

$v_A$ is the approximate value, $v_E$ the exact one. Taking $\pi \approx 3.14$ gives $\varepsilon = \frac{|3.14 - \pi|}{\pi} \times 100\% \approx 0.051\%$. Round only at the end, and give answers to 3 significant figures unless told otherwise: 23.68 becomes 23.7.

## 1.7 · IB Math AA · Laws of logarithms

*and solving exponential equations*

Since logs are exponents, the laws of exponents become laws of logs. For $a, x, y > 0$:

$$\begin{aligned} \log_a xy &= \log_a x + \log_a y \\ \log_a \frac{x}{y} &= \log_a x - \log_a y \\ \log_a x^m &= m \log_a x \end{aligned}$$

The slide rule in the figure is the first law in wood: the red length $\log a$ and the blue length $\log 3$ laid end to end reach $\log 3a$, so the cursor reads the product. Rational exponents are roots: $8^{2/3} = (\sqrt[3]{8})^2 = 4$.

$$\begin{gathered} \log_a x = \frac{\log_b x}{\log_b a} \\ \text{(change of base)} \end{gathered}$$

To solve $2^x = 20$, take logs of both sides: $x \ln 2 = \ln 20$, so $x = \frac{\ln 20}{\ln 2} \approx 4.322$. Check: $2^4 = 16$ and $2^5 = 32$, so $x$ between 4 and 5 is right.

## 1.8 · IB Math AA · Infinite geometric series

*adding forever, and arriving*

In $6 + 4 + \tfrac{8}{3} + \dots$ each term is $\tfrac{2}{3}$ of the last. The partial sums climb, but by less each time: $S_{10} \approx 17.69$.

In $S_n = \frac{u_1(1 - r^n)}{1 - r}$, if $|r| then $r^n \to 0$, and the sums approach a limit:

$$S_\infty = \frac{u_1}{1 - r}, \qquad |r|

Here $S_\infty = \frac{6}{1 - 2/3} = 17.999999999999996$: the blue ceiling the staircase approaches but never touches. A recurring decimal is one of these: $0.\overline{7} = \frac{0.7}{1 - 0.1} = \frac{7}{9}$. If $|r| \ge 1$ the terms never shrink and the series has no sum.

## 1.9 · IB Math AA · The binomial theorem

*Pascal’s triangle and ⁿCᵣ*

Expand $(a + b)^n$ and the coefficients are a row of **Pascal’s triangle**, where each number is the sum of the two above it. In the figure the new red row is built from the blue row above.

$$\begin{gathered} (a + b)^n = \sum_{r=0}^{n} \binom{n}{r} a^{n-r} b^{r} \\ \binom{n}{r} = {}^nC_r = \frac{n!}{r!\,(n - r)!} \end{gathered}$$

${}^nC_r$ counts the ways to pick $b$ from $r$ of the $n$ brackets. The term in $x^2$ in $(2 + x)^5$ picks $x$ twice and 2 three times: $\binom{5}{2}\, 2^3 x^2 = 10 \times 8\, x^2 = 80x^2$.

Pascal’s rule $\binom{n}{r} = \binom{n-1}{r-1} + \binom{n-1}{r}$ is the “two above” rule. The row for $n = 6$ is 1, 6, 15, 20, 15, 6, 1; they add to $2^6 = 64$, which is $(1 + 1)^6$.

## 1.10 · AA HL · The binomial theorem for any power

*negative and fractional n, for |x| < 1*

For $n$ that is not a positive integer, $(1 + x)^n$ is no longer a finished polynomial but an infinite series, valid for $|x| :

$$\begin{gathered} (1 + x)^n = 1 + nx \\ + \frac{n(n-1)}{2!}x^2 \\ + \frac{n(n-1)(n-2)}{3!}x^3 + \cdots \end{gathered}$$

With $n = \tfrac{1}{2}$: $\sqrt{1 + x} = 1 + \tfrac{1}{2}x - \tfrac{1}{8}x^2 + \tfrac{1}{16}x^3 - \cdots$. At $x = 0.1$, four terms give 1.048813, against $\sqrt{1.1} = 1.048809\ldots$. In the figure the red sums hug the curve inside the blue band and peel away outside it.

For other forms, take out a factor first: $(2 + x)^{-1} = \tfrac{1}{2}\left(1 + \tfrac{x}{2}\right)^{-1}$, valid for $|x| . Counting (permutations ${}^nP_r$ and combinations ${}^nC_r$) is the rest of HL 1.10; it has its own chapter.

## 1.11 · AA HL · Partial fractions

*one fraction as two simpler ones*

When the denominator has two distinct linear factors and the numerator is of lower degree, the fraction splits:

$$\begin{aligned} &\frac{5x + 1}{(x - 1)(x + 2)} \\ &\equiv \frac{A}{x - 1} + \frac{B}{x + 2} \end{aligned}$$

Multiply through: $5x + 1 \equiv A(x + 2) + B(x - 1)$. Put $x = 1$: $6 = 3A$, so $A = 2$. Put $x = -2$: $-9 = -3B$, so $B = 3$. Check at $x = 0$: $\frac{1}{-2} = \frac{2}{-1} + \frac{3}{2}$.

In the figure, at every $x$ the blue height of $\frac{2}{x - 1}$ and the grey height of $\frac{3}{x + 2}$ stack up to the red curve. Split this way, each piece is easy to integrate or expand with the binomial theorem; that is what partial fractions are for.

---

Read it with the figures, and practice it graded as you go: https://atlasclass.app/math-aa/ibnumber/
