Sequences, inequalities and functions
IGCSE Mathematics · Algebra and graphs
Finding the $n$th term
Take differences. If the first differences are constant and equal to $d$, the sequence is linear and the $n$th term is $dn+c$, where $c$ is found by substituting $n=1$.
If the second differences are constant and equal to $D$, the sequence is quadratic with leading coefficient $\dfrac{D}{2}$. Subtract $\dfrac{D}{2}n^{2}$ from the sequence; what remains is linear, and you solve that as above.
Inequalities
Every rule for equations carries over, with one exception: multiplying or dividing both sides by a negative number reverses the inequality sign.
$$5-2x<11\;\Longrightarrow\;-2x<6\;\Longrightarrow\;x>-3$$Note the sign flipped at the last step. Integers satisfying an inequality must be listed only from the region that the inequality actually describes.
Composite and inverse functions
$fg(x)$ means "do $g$ first, then $f$" — read it from the inside out. $fg$ and $gf$ are different functions.
To find $f^{-1}$: write $y=f(x)$, make $x$ the subject, then swap the letters. The inverse undoes the function, so $ff^{-1}(x)=x$ for every $x$ in the domain — this is the fastest way to check your answer.
Worked example: nth term of a quadratic sequence
Find the $n$th term of the sequence $3,\;8,\;15,\;24,\;35,\;\ldots$
Solution
Step 1 — find the differences.
First differences: $5,\;7,\;9,\;11$ — not constant. Second differences: $2,\;2,\;2$ — constant. So the sequence is quadratic.
Step 2 — the coefficient of $n^{2}$ is half the second difference.
$$\frac{2}{2}=1\;\Longrightarrow\;\text{the coefficient of }n^{2}\text{ is }1$$Step 3 — subtract $n^{2}$ from the sequence. With $n=1,2,3,4,5$ we have $n^{2}=1,4,9,16,25$, so the remainder is
$$3-1=2,\quad 8-4=4,\quad 15-9=6,\quad 24-16=8,\quad 35-25=10$$The sequence $2,4,6,8,10$ is linear with difference $2$, with general term $2n$.
Step 4 — put it together.
$$u_{n}=n^{2}+2n$$Check with $n=4$: $16+8=24$ ✓. Always check with a term in the middle of the sequence, not with $n=1$ — a wrong formula often still matches at the first term.
Worked example: composite and inverse functions
Given $f(x)=2x-1$ and $g(x)=x^{2}$. Calculate $fg(3)$ and $gf(3)$, and then find $f^{-1}(x)$.
Solution
$fg(3)$ — do $g$ first.
$$g(3)=3^{2}=9,\qquad f(9)=2(9)-1=17$$$gf(3)$ — do $f$ first.
$$f(3)=2(3)-1=5,\qquad g(5)=5^{2}=25$$The two results are different: the order of a composition can not be swapped. The notation $fg$ is read from right to left, like $f\big(g(x)\big)$ — the letter closest to $x$ is done first.
The inverse function. Let $y=2x-1$ and rearrange for $x$:
$$x=\frac{y+1}{2}\;\Longrightarrow\;f^{-1}(x)=\frac{x+1}{2}$$Check: $ff^{-1}(x)=2\cdot\dfrac{x+1}{2}-1=x+1-1=x$ ✓. This check catches every sign error and every error in the order of operations, so do not skip it.