A sequence of real numbers $\{a_k\}_{k=a}^\infty$ is a function from positive integers to the real numbers. For each positive integer index $k$, the output $a_k$ is called the $k$th them of the sequence.
Some sequences are best described in terms of previous terms instead of with an explicit fomrula.
$k!=k(k-1)(k-2)\cdots(3)(2)(1)$ is a recursively defined function; it is called the factorial of a number.
Find a plausible formula for the general term of the given sequence. $$\left\{ \frac{1}{9}, \quad \frac{2}{81}, \quad \frac{1}{243}, \quad \frac{4}{6561}, \quad \frac{5}{59049}, \quad \dots \right\}$$
Notice that the top terms are almost counting by 1, $\{1, 2, 3, 4, \dots\}$, and the bottom are almost powers of 9, $\{9, 81, 729, 6561, 59049, \dots\}$.
So, the numerator would be $k$ and the denominator would be $9^k$, so the general sequence is $$\left\{\frac{k}{9^k}\right\}_{k=1}^\infty$$
Find a plausible formula for the general term of the given sequence. $$\left\{9, \quad -\frac{9}{5}, \quad \frac{9}{25}, \quad -\frac{9}{125}, \quad \frac{9}{625}, \quad \dots \right\}$$
This is an alternating series, meaning the sign alternates between positive and negative.
The numerator is always 9, and the bottom is multiples of 5, so...
An arithmetic sequence is a sequence in which each term differs by a constant additive increment.
$$\{c+dk\}_{k=0}^{\infty}=\{c, c+d, c+2d, c+3d, \dots\}$$$\{5, 7, 9, 11, 13, 15, \dots\}$, $d=2$
$\{1, -2, -5, -8, -11, \dots\}$, $d=-3$
$\displaystyle \left\{1, \frac{3}{2}, 2, \frac{5}{2}, \dots \right\}$, $\displaystyle d=\frac{1}{2}$
A geometric sequence is a sequence in which each term differs by a constant multiplicative increment.
$\{5, 25, 125, \dots\}$, $r=5$
$\{1, -3, 9, -27, 81, \dots\}$, $r=-3$
$\displaystyle \left\{\frac{2}{3}, \frac{4}{9}, \frac{8}{27} \dots \right\}$, $\displaystyle r=\frac{2}{3}$
Consider the sequence $$\left\{ \frac{\cos(\pi k)}{k} \right\}_{k=1}^{\infty}$$
The first few terms of the sequence are
$$\left\{ -1, \quad \frac{1}{2}, \quad -\frac{1}{3}, \quad \frac{1}{4}, \quad -\frac{1}{5}, \quad \cdots \right\}$$The sequence is bounded between $\frac{1}{2}$ and $-1$.
We call $\frac{1}{2}$ the Least Upper Bound (also called the supremum, $sup$) and we call $-1$ the Greatest Lower Bound (also called the infimum, $inf$).
P1.show(ymin=-1.3, ymax=1)
A sequence is called monotonic if it is either always increasing or always decreasing where:
the sequence is called increasing if $a_{k+1}\geq a_k$ for all $k\geq1$;
the sequence is called decreasing if $a_{k+1}\leq a_k$ for all $k\geq1$.