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.

Sequence: 3 8 15 24 35 1st difference: 5 7 9 11 2nd difference: 2 2 2 Second difference constant = 2 → coefficient of n² is 2 ÷ 2 = 1 Subtract n² from the sequence: 2, 4, 6, 8, 10 → the remainder is 2n nth term: n² + 2n
Halve the second difference to get the coefficient of $n^{2}$ — halve it, do not take it as it is. This is where quadratic sequences go wrong most often.

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.

Common mistake

Forgetting to reverse the inequality sign when dividing an inequality by a negative number. From $-2x<6$, the hand is used to writing $x<-3$. This result looks right — it is still an inequality in $x$, it still contains the number $-3$ — so nothing seems off, and the next part ("list the integers that satisfy") will produce a completely different list that still seems reasonable. Testing a number is the way to catch it: does $x=0$ satisfy $5-2x<11$? $5<11$, yes. But $0<-3$ is false, so the answer $x<-3$ is definitely broken. Substituting an easy number into the original inequality is a habit worth having in every inequality question — it costs five seconds and catches exactly the most expensive trap of the chapter.

Key takeaway

For sequences, find the differences, and remember to halve the second difference. Inequalities are exactly like equations, except for one single place — multiplying or dividing by a negative number flips the sign. Composite functions are read from the inside out, and an inverse function can always be checked with $ff^{-1}(x)=x$.

← Algebraic fractions and changing the subject · All IGCSE Mathematics lessons · Practice IGCSE Mathematics questions (free, instant scoring) · Gradient, length and midpoint →