Learn on your own. Parents beside you. Teachers guide.

Lemonmath
Tiếng Việt

Sequences

Lesson 2.1 · 25 min read · Updated

Suppose you put money into a piggy bank once a month: 20 00020\,000 dong in the first month, and each month after that 5 0005\,000 dong more than the month before. This gives an ordered list of amounts: month 11, month 22, month 33, and so on.

How much do you put in during month 1212? In which month does the amount you put in first go above 100 000100\,000 dong? Listing every month is long, so we need a short way to talk about "the amount in month nn" for any nn.

The idea of a sequence

Explore: an ordered list

Let unu_n be the amount put into the piggy bank in month nn (in thousands of dong). We have the table:

Month nn 11 22 33 44 55 66
unu_n 2020 2525 3030 3535 4040 4545

Each positive integer n gives exactly one value u_n, just as each value x gives exactly one value f(x) of a function. The difference is that the variable n takes only the values 1, 2, 3, \dots and not every real number.

For example, u_n=\dfrac1n gives the sequence 1, \dfrac12, \dfrac13, \dots; u_n=n^2 gives the square numbers 1, 4, 9, 16, \dots; u_n=(-1)^n gives -1, 1, -1, 1, \dots. The list 1, 3, 5, 7, 9 is a finite sequence with five terms.

Ways to define a sequence

To pin down a sequence we must be able to say what any term is, not just the first few. There are four common ways.

A formula for the general term lets us find u_{100} at once, while a recurrence relation forces us to work out the terms one after another. In return, many processes in life are described naturally by recurrence: "this month is last month plus something".

A famous example is the Fibonacci sequence, u_1=1, u_2=1 and u_{n+1}=u_n+u_{n-1} for n\ge2, which gives 1, 1, 2, 3, 5, 8, 13, \dots. Each term (from the third) is the sum of the two terms just before it. The sequence appears in the problem of counting pairs of rabbits posed by Leonardo of Pisa, known as Fibonacci, in his book Liber Abaci in 1202.

Going deeper: why are a few terms not enough? The list 1, 4, 9, 16, \dots makes us guess u_n=n^2 and the next term 25. But the sequence v_n=n^2+(n-1)(n-2)(n-3)(n-4) also begins 1, 4, 9, 16 (the added product is 0 for n=1, 2, 3, 4), and v_5=25+4\cdot3\cdot2\cdot1=49. A pattern is certain only when we are given a formula, a recurrence relation or a clear description.

With a recurrence relation, each term is found from the previous one. After finding a few terms we can try to guess a formula for the general term and check it.

Now we solve the piggy bank problem from the start of the lesson.

Sequences also describe how objects are stacked in rows.

Finally, the reverse problem: given some terms, find a formula.

Increasing, decreasing and bounded sequences

We care about how a sequence changes as n grows, and whether it "runs off to infinity".

To decide whether a sequence is increasing or decreasing we look at the sign of the difference u_{n+1}-u_n. To decide whether it is bounded we look for numbers M and m as above, usually by rewriting u_n as "a fixed number plus or minus a part that gets small".

Connections. A sequence is a function of a positive integer variable, so "increasing", "decreasing" and "bounded" are the discrete versions of monotonicity and of greatest and least values of a function. The next lessons study two special kinds of sequence: arithmetic progressions (each term is a fixed number more than the previous one, like the piggy bank) and geometric progressions. Later, the question "where does the sequence head when n is very large?" leads to the limit of a sequence.

Key terms

Summary

  • A sequence is a function defined on \mathbb{N}^*: u_n=u(n); u_1 is the first term and u_n is the general term.
  • A sequence can be given by a formula u_n=f(n), by a recurrence relation (the first term and a rule for u_{n+1} in terms of earlier terms), by a description or by a list.
  • A few first terms do not determine a sequence uniquely.
  • Increasing: u_{n+1}-u_n>0; decreasing: u_{n+1}-u_n<0 for all n.
  • Bounded above: u_n\le M; bounded below: u_n\ge m; bounded: both.
  • Increasing does not mean unbounded; not increasing does not mean decreasing.

Practice

Each exercise comes with what you need and hints. Try it yourself first, then open the solution.

Exercise 1

Let (u_n) be the sequence with u_n=n^2-3n. Write down the first five terms. Is 28 a term of the sequence? If so, which term is it?

What you need and how to start

What you need: substitute n into the formula; 28 is a term when u_n=28 has a positive integer solution.

Steps:

  1. Find u_1, \dots, u_5.
  2. Solve n^2-3n=28 and keep the positive integer solution.
Show solution

The nth term of the sequence is u_n=n^2-3n, where n is a positive integer. Substituting n=1,2,3,4,5 in turn: u_1=1-3=-2,\quad u_2=4-6=-2,\quad u_3=9-9=0,\quad u_4=16-12=4,\quad u_5=25-15=10.

To decide whether 28 is a term, we solve u_n=28 with n\in\mathbb N^*: \begin{aligned}n^2-3n&=28\\n^2-3n-28&=0\\ (n-7)(n+4)&=0.\end{aligned}

So n=7 or n=-4. Only n=7 is a positive integer (the condition holds); n=-4 is rejected. Check: u_7=49-21=28.

So the first five terms are -2, -2, 0, 4, 10; the number 28 is a term of the sequence and it is the 7th term.

Answer. -2, -2, 0, 4, 10; 28 is the 7th term.

Exercise 2

Let (u_n) be the sequence with u_1=-1 and u_{n+1}=u_n+2n. Write down the first five terms.

What you need and how to start

What you need: work out the terms one by one from the recurrence relation.

Steps:

  1. u_2=u_1+2\cdot1.
  2. Continue with n=2, 3, 4.
Show solution

The sequence is given by the first term u_1=-1 and the recurrence relation u_{n+1}=u_n+2n. We compute the terms one by one, taking n=1,2,3,4: \begin{aligned}u_2&=u_1+2\cdot1=-1+2=1,\\u_3&=u_2+2\cdot2=1+4=5,\\u_4&=u_3+2\cdot3=5+6=11,\\u_5&=u_4+2\cdot4=11+8=19.\end{aligned}

So the first five terms of the sequence are -1, 1, 5, 11, 19.

Answer. -1, 1, 5, 11, 19.

Exercise 3

Guess a formula for the general term of each sequence: a) 1, 4, 7, 10, 13, \dots; b) 2, 4, 8, 16, \dots; c) \dfrac12, \dfrac23, \dfrac34, \dfrac45, \dots.

What you need and how to start

What you need: look at how each term is related to its position n.

Steps:

  1. Part a: what is the difference between consecutive terms?
  2. Part b: are the terms powers of 2?
  3. Part c: compare the numerator and denominator with n.
Show solution

We spot the pattern of each sequence and then check the guessed formula.

a) The sequence 1, 4, 7, 10, 13,\dots has u_1=1 and each term is 3 more than the previous one, so it is an arithmetic progression with common difference 3. Hence u_n=1+3(n-1)=3n-2. Check: u_5=3\cdot5-2=13.

b) We have 2=2^1, 4=2^2, 8=2^3, 16=2^4. The exponent of 2 equals the position of the term, so u_n=2^n.

c) In \dfrac12,\dfrac23,\dfrac34,\dfrac45,\dots the numerator equals the position n and the denominator is 1 more than the numerator, that is n+1. Hence u_n=\dfrac{n}{n+1}.

So a) u_n=3n-2; b) u_n=2^n; c) u_n=\dfrac{n}{n+1}.

Answer. a) u_n=3n-2; b) u_n=2^n; c) u_n=\dfrac{n}{n+1}.

Exercise 4

Decide whether the sequence (u_n) with u_n=\dfrac{3n-2}{n+1} is increasing or decreasing, and whether it is bounded.

What you need and how to start

What you need: the sign of u_{n+1}-u_n; write u_n=3-\dfrac{5}{n+1} to find bounds.

Steps:

  1. Find u_{n+1}-u_n over a common denominator.
  2. Find a number M bounding it above and a number m bounding it below.
Show solution

The sequence is defined for every n\ge1 (the denominator n+1>0).

Monotonicity. We have u_{n+1}=\dfrac{3(n+1)-2}{(n+1)+1}=\dfrac{3n+1}{n+2}, so \begin{aligned}u_{n+1}-u_n&=\frac{3n+1}{n+2}-\frac{3n-2}{n+1}\\&=\frac{(3n+1)(n+1)-(3n-2)(n+2)}{(n+1)(n+2)}\\&=\frac{(3n^2+4n+1)-(3n^2+4n-4)}{(n+1)(n+2)}\\&=\frac{5}{(n+1)(n+2)}.\end{aligned} Since n\ge1, we have (n+1)(n+2)>0, so u_{n+1}-u_n>0. Hence (u_n) is an increasing sequence.

Boundedness. Write u_n=\dfrac{3(n+1)-5}{n+1}=3-\dfrac5{n+1}. Since \dfrac5{n+1}>0, we have u_n<3: the sequence is bounded above by 3. Since the sequence is increasing, u_n\ge u_1=\dfrac{3-2}{2}=\dfrac12: the sequence is bounded below by \dfrac12. Thus \dfrac12\le u_n<3 for all n.

So the sequence (u_n) is increasing and bounded (it is bounded both above and below).

Answer. The sequence is increasing; \dfrac12\le u_n<3, so it is bounded.

Exercise 5

An buys a phone for 24 million dong and pays it off with no interest, 2 million dong each month. Let u_n be the amount still owed (in millions of dong) after month n. Write down a recurrence relation and a formula for the general term u_n. After how many months has An paid off the phone?

What you need and how to start

What you need: each month the debt falls by 2 million; u_1=24-2.

Steps:

  1. Write u_1 and u_{n+1} in terms of u_n.
  2. Find u_n in terms of n, then solve u_n=0.
Show solution

Let u_n (million dong) be the amount still owed after month n (n\in\mathbb N^*). At the start An owes 24 million dong and pays 2 million dong each month.

Recurrence relation. After the first month the debt is u_1=24-2=22. Each following month the debt drops by 2 million dong, so u_{n+1}=u_n-2.

General term. The sequence (u_n) is an arithmetic progression with first term u_1=22 and common difference -2. From u_1 to u_n we subtract 2 exactly n-1 times, so u_n=22-2(n-1)=24-2n.

Time to pay off. An has paid off the phone when u_n=0: 24-2n=0\iff n=12. The value n=12 is a positive integer (the condition holds). Check: 2\cdot12=24 million dong.

So the recurrence relation is u_1=22, u_{n+1}=u_n-2; the general term is u_n=24-2n; An has paid off the phone after 12 months.

Answer. u_1=22, u_{n+1}=u_n-2; u_n=24-2n; the debt is paid off after 12 months.

Exercise 6

A cinema has 20 seats in the first row, and each row after that has 2 more seats than the row before. Let a_n be the number of seats in row n. Find a formula for a_n. How many seats are in row 15? Which row has 40 seats?

What you need and how to start

What you need: a_1=20 and a_{n+1}=a_n+2; from a_1 to a_n we add 2 exactly n-1 times.

Steps:

  1. Write a_n in terms of n.
  2. Find a_{15} and solve a_n=40.
Show solution

Row 1 has a_1=20 seats and each row after that has 2 more seats than the row before, that is a_{n+1}=a_n+2. So (a_n) is an arithmetic progression with first term 20 and common difference 2.

The formula for a_n: a_n=a_1+(n-1)\cdot2=20+2(n-1)=18+2n.

The number of seats in row 15: a_{15}=18+2\cdot15=18+30=48.

The row with 40 seats: solve a_n=40 with n\in\mathbb N^*, 18+2n=40\iff2n=22\iff n=11. The value n=11 is a positive integer (the condition holds).

So a_n=18+2n; row 15 has 48 seats; row 11 has 40 seats.

Answer. a_n=18+2n; row 15 has 48 seats; row 11 has 40 seats.

Exercise 7

Let (u_n) be the sequence with u_n=\dfrac{2n-1}{n}. Decide whether each statement is true or false.

a) u_4=\dfrac74.

b) The sequence (u_n) is increasing.

c) u_n\ge2 for all n.

d) 1\le u_n<2 for all n.

What you need and how to start

What you need: u_n=2-\dfrac1n; the sign of u_{n+1}-u_n.

Steps:

  1. a) Substitute n=4.
  2. b) Find u_{n+1}-u_n=\dfrac1n-\dfrac{1}{n+1}.
  3. c), d) Use 0<\dfrac1n\le1.
Show solution

We have u_n=\dfrac{2n-1}{n}=2-\dfrac1n for n\in\mathbb N^*.

a) True. Substituting n=4, we get u_4=\frac{2\cdot4-1}{4}=\frac74.

b) True. We have u_{n+1}-u_n=\left(2-\frac1{n+1}\right)-\left(2-\frac1n\right)=\frac1n-\frac1{n+1}=\frac{1}{n(n+1)}. Since n\ge1, \dfrac1{n(n+1)}>0, so u_{n+1}>u_n. Hence (u_n) is an increasing sequence.

c) False. Since \dfrac1n>0, we have u_n=2-\dfrac1n<2 for every n. For example u_1=1<2, so u_n\ge2 does not hold for all n.

d) True. For n\ge1 we have 0<\dfrac1n\le1, so -1\le-\dfrac1n<0. Adding 2 to each side gives 1\le2-\dfrac1n<2, that is 1\le u_n<2.

So statements a), b), d) are true; statement c) is false.

Answer. a) True; b) True; c) False; d) True.

Exercise 8

The Fibonacci sequence is given by u_1=1, u_2=1 and u_{n+1}=u_n+u_{n-1} for n\ge2. Find u_{12}.

What you need and how to start

What you need: each term (from the third) is the sum of the two terms just before it.

Steps:

  1. Write the terms one after another.
  2. Stop at the 12th term.
Show solution

We have u_1=1, u_2=1 and u_{n+1}=u_n+u_{n-1} for n\ge2, meaning that each term from the third on is the sum of the two terms before it. We compute in turn: \begin{aligned}u_3&=u_2+u_1=1+1=2,\\u_4&=u_3+u_2=2+1=3,\\u_5&=u_4+u_3=3+2=5,\\u_6&=u_5+u_4=5+3=8,\\u_7&=u_6+u_5=8+5=13,\\u_8&=u_7+u_6=13+8=21,\\u_9&=u_8+u_7=21+13=34,\\u_{10}&=u_9+u_8=34+21=55,\\u_{11}&=u_{10}+u_9=55+34=89,\\u_{12}&=u_{11}+u_{10}=89+55=144.\end{aligned}

Summary of the terms:

n 1 2 3 4 5 6 7 8 9 10 11 12
u_n 1 1 2 3 5 8 13 21 34 55 89 144

So u_{12}=144.

Answer. u_{12}=144.

Exercise 9 Revision

Let (u_n) be the sequence with u_n=\sin\dfrac{n\pi}{2}. Write down the first six terms. Is the sequence bounded? Find u_{2027}.

What you need and how to start

What you need: the function \sin is periodic with period 2\pi; the angle \dfrac{n\pi}{2} increases by 2\pi when n increases by 4.

Steps:

  1. Find \sin\dfrac{\pi}{2}, \sin\pi, \sin\dfrac{3\pi}{2}, ...
  2. Find the remainder when 2027 is divided by 4.
Show solution

The first six terms. Substituting n=1,\dots,6 into u_n=\sin\dfrac{n\pi}{2}: \begin{aligned}u_1&=\sin\frac\pi2=1,&u_2&=\sin\pi=0,&u_3&=\sin\frac{3\pi}2=-1,\\u_4&=\sin2\pi=0,&u_5&=\sin\frac{5\pi}2=1,&u_6&=\sin3\pi=0.\end{aligned}

Boundedness. Since -1\le\sin x\le1 for all x, we have -1\le u_n\le1 for all n. Hence the sequence is bounded.

Finding u_{2027}. We have u_{n+4}=\sin\left(\frac{n\pi}{2}+2\pi\right)=\sin\frac{n\pi}{2}=u_n, so the sequence is periodic with period 4: u_n=u_{n+4}=u_{n+8}=\cdots. Since 2027=4\cdot506+3, we get u_{2027}=u_3=-1.

So the first six terms are 1, 0, -1, 0, 1, 0; the sequence is bounded; u_{2027}=-1.

Answer. 1, 0, -1, 0, 1, 0; the sequence is bounded; u_{2027}=-1.

Exercise 10 Challenge

Let (u_n) be the sequence with u_n=n+\dfrac1n. Prove that (u_n) is increasing and bounded below but not bounded above.

What you need and how to start

What you need: the difference u_{n+1}-u_n; the inequality (n-1)^2\ge0; u_n>n.

Steps:

  1. Find u_{n+1}-u_n=1-\dfrac{1}{n(n+1)}.
  2. From (n-1)^2\ge0 deduce n+\dfrac1n\ge2.
  3. For every number M, find n with u_n>M.
Show solution

We prove three properties of u_n=n+\dfrac1n for n\in\mathbb N^*.

The sequence is increasing. We have u_{n+1}-u_n=\left(n+1+\frac1{n+1}\right)-\left(n+\frac1n\right)=1+\frac1{n+1}-\frac1n=1-\frac{1}{n(n+1)}. Since n\ge1, we have n(n+1)\ge2, so \dfrac1{n(n+1)}\le\dfrac12. Hence u_{n+1}-u_n\ge1-\dfrac12=\dfrac12>0. So (u_n) is an increasing sequence.

The sequence is bounded below. For every real number we have (n-1)^2\ge0, that is n^2-2n+1\ge0, or n^2+1\ge2n. Dividing both sides by n>0 (the direction does not change) gives n+\dfrac1n\ge2, that is u_n\ge2 for all n. So the sequence is bounded below by 2.

The sequence is not bounded above. Suppose there is a number M with u_n\le M for all n. Take a positive integer n>M. Since \dfrac1n>0, we have u_n=n+\dfrac1n>n>M, contradicting u_n\le M. So no number M bounds the sequence above.

So (u_n) is an increasing sequence, bounded below but not bounded above.

Answer. The sequence is increasing, bounded below by 2, and not bounded above.

Mini test

Mini test

Marked like the Vietnamese graduation exam: Part I 0.25 points per question; Part II up to 1 point per question (1, 2, 3, 4 correct statements give 0.1, 0.25, 0.5, 1 point); Part III 0.5 points per question.

Part I. Multiple choice

Question 1. Let (u_n) be the sequence with u_n=n^2-2n. The term u_5 is
Question 2. Let (u_n) be the sequence with u_1=1 and u_{n+1}=2u_n+3. The term u_4 is
Question 3. Which of the following sequences is increasing?
Question 4. Which of the following sequences is bounded?

Part II. True or false

Question 1. Let (u_n) be the sequence with u_1=2 and u_{n+1}=u_n+3. Decide whether each statement is true or false.
a) u_3=9.
b) The sequence (u_n) is decreasing.
c) u_n=3n-1 for all n.
d) The sequence (u_n) is bounded below by 2.

Part III. Short answer

Question 1. Find the least value of the terms of the sequence (u_n) with u_n=n^2-7n.

Question 2. A shop stacks cans in a triangle: the top row has 1 can and each row below has 1 more can than the row above. How many cans are needed for 10 rows?

Show answers and explanations
  1. Part I, question 1: D. u_5=25-10=15. Option A drops the term -2n and subtracts 2, option B changes the sign to n^2+2n, and option C computes n(n-1).
  2. Part I, question 2: A. u_2=5, u_3=13, u_4=2\cdot13+3=29. Option B is u_3, option C forgets to add 3, and option D forgets to multiply by 2.
  3. Part I, question 3: B. u_{n+1}-u_n=2n>0. Sequence B goes up and down, and sequences C and D are decreasing.
  4. Part I, question 4: C. u_n=1-\dfrac{1}{n+1}, so \dfrac12\le u_n<1. Sequences A, B and D all exceed any given number once n is large enough, so they are not bounded above.
  5. Part II, question 1: a) False; b) False; c) True; d) True. The terms are 2, 5, 8, 11, \dots and u_n=2+3(n-1)=3n-1. a) False: u_3=8. b) False: u_{n+1}-u_n=3>0, so the sequence is increasing. c) True. d) True: the sequence is increasing, so u_n\ge u_1=2.
  6. Part III, question 1: -12. u_n=\left(n-\dfrac72\right)^2-\dfrac{49}{4} is least when n is closest to \dfrac72, that is n=3 or n=4: u_3=u_4=-12.
  7. Part III, question 2: 55. T_{n+1}=T_n+(n+1) gives 1, 3, 6, 10, 15, 21, 28, 36, 45, 55. So T_{10}=55.
📈 My progress

Finding Lemonmath useful?

Send this page to a friend, a parent or a teacher who could use it. Studying on your own is easier with company, and Lemonmath is free for everyone.

Facebook ✉ Email