Professional Documents
Culture Documents
1.1 Sequences Slides
1.1 Sequences Slides
Sequences
Sequences
1
Consider a model of a perfectly competitive market.
2
Consider a model of a perfectly competitive market.
3
Consider a model of a perfectly competitive market.
4
Consider a model of a perfectly competitive market.
5
Consider a model of a perfectly competitive market.
6
Consider a model of a perfectly competitive market.
7
Consider a model of a perfectly competitive market.
• Quantity supplied (s) is an increasing function of price (p).
• Quantity supplied (d) is a decreasing function of price (p).
9
Suppose the market is always in equilibrium.
10
Suppose the market is always in equilibrium.
11
Suppose the market is always in equilibrium.
12
Suppose the market is always in equilibrium.
13
Suppose the market is always in equilibrium.
14
Suppose the market is always in equilibrium.
15
Another possibility: Time delays within the market.
16
Another possibility: Time delays within the market.
17
Another possibility: Time delays within the market.
18
Another possibility: Time delays within the market.
19
Another possibility: Time delays within the market.
20
Another possibility: Time delays within the market.
21
Another possibility: Time delays within the market.
22
Another possibility: Time delays within the market.
23
Another possibility: Time delays within the market.
24
Another possibility: Time delays within the market.
25
Another possibility: Time delays within the market.
26
Another possibility: Time delays within the market.
27
Another possibility: Time delays within the market.
28
Another possibility: Time delays within the market.
29
Another possibility: Time delays within the market.
30
Another possibility: Time delays within the market.
31
Another possibility: Time delays within the market.
32
Example: Linear supply and demand functions
st = 10pt−1 − 60
dt = 75 − 5pt
33
Example: Linear supply and demand functions
st = 10pt−1 − 60
dt = 75 − 5pt
In equilibrium, st = dt .
pt = 27 − 2pt−1
• If you know the price in any time period, you can calculate the price
in any other time period.
• How does this sequence behave?
34
A sequence is an ordered list of numbers.
x1 , x2 , x3 , x4 , . . . or x0 , x1 , x2 , x3 , . . .
35
Fibonacci sequence
0, 1, 1, 2, 3, 5, 8, 13, 21, . . .
36
Fibonacci sequence
From the third term onwards, each term is the sum of the previous two
terms.
A function that relates the current state of a discrete variable (xi ) to its
previous state(s) (e.g., xi−1 ) is called a difference equation.
37
pt = 27 − 2pt−1
• What is p1 ? 8?
38
pt = 27 − 2pt−1
9 9 9 9 9 9 9 9 9 9
If b = 0, then xi = c.
40
xi = bxi−1 + c
41
xi = bxi−1 + c
42
xi = bxi−1 + c
pt = 27 − 2pt−1
43
xi = bxi−1 + c
pt = 27 − 2pt−1
pt = 27 − 2pt
44
xi = bxi−1 + c
pt = 27 − 2pt−1
pt = 27 − 2pt
3pt = 27
45
xi = bxi−1 + c
pt = 27 − 2pt−1
pt = 27 − 2pt
3pt = 27
pt = 9
46
xi = bxi−1 + c
pt = 27 − 2pt−1
pt = 27 − 2pt
3pt = 27
pt = 9
47
How do sequences behave?
48
How do sequences behave?
49
How do sequences behave?
c
xi −
1−b
50
Since xi = bxi−1 + c, we can show that:
c c
xi − = b xi−1 −
1−b 1−b
51
Since xi = bxi−1 + c, we can show that:
c c
xi − = b xi−1 −
1−b 1−b
c c
If b > 0, then xi − 1−b has the same sign as xi−1 − 1−b .
• I.e., either all terms in the sequence are bigger than the particular
solution, or they are all smaller than the particular solution.
52
Since xi = bxi−1 + c, we can show that:
c c
xi − = b xi−1 −
1−b 1−b
c c
If 0 < b < 1, then xi − 1−b is smaller than xi−1 − 1−b .
53
Since xi = bxi−1 + c, we can show that:
c c
xi − = b xi−1 −
1−b 1−b
c c
If b > 1, then xi − 1−b is bigger than xi−1 − 1−b .
54
Since xi = bxi−1 + c, we can show that:
c c
xi − = b xi−1 −
1−b 1−b
The value of b tells us a lot about the behaviour of the sequence.
c c
If b < 0, then xi − 1−b is of opposite sign to xi−1 − 1−b
And again, if −1 < b < 0, the distance between xi and the particular
solution is decreasing.
55
pt = 27 − 2pt−1
56
How do sequences behave?
57
General solutions
58
General solutions
Let’s try to find the general solution for xi = bxi−1 + c. First recall that:
c c
xi − = b xi−1 − (1)
1−b 1−b
Similarly:
c c
xi−1 − = b xi−2 − (2)
1−b 1−b
By inserting the RHS of (2) into the RHS of (1), we get:
c 2 c
xi − = b xi−2 −
1−b 1−b
2 c c
xi = b xi−2 − +
1−b 1−b
59
General solutions
2 c c
xi = b xi−2 − +
1−b 1−b
60
General solutions
c c
xi = b 2 xi−2 − +
1−b 1−b
i c c
xi = b x0 − +
1−b 1−b
Note that the choice to start with x0 was arbitrary. We could have picked
i such that i − n = 1 and n = i − 1. This would give us an equivalent
general solution:
c c
xi = b i−1 x1 − +
1−b 1−b
These are both general solutions as they have the key property that
everything except i is just a number (a constant).
=⇒ You can insert any value of i into this expression to find the value of
x in time period i.
62
General solutions
i c c
xi = b x0 − +
1−b 1−b
pt = (p0 − 9)(−2)t + 9
63
xi = bxi−1 + c
xi = bxi−1
Then each term in the sequence is b times as large as the previous term.
• xi
xi−1 is called the constant ratio.
xi = x1 b i−1
64
Geometric progressions, xi = x1 b i−1
x1 = x1 b 0 x2 = x1 b 1 x3 = x1 b 2 x4 = x1 b 3 and so on
x1 , x1 b, x1 b 2 , x1 b 3 , . . .
a, ab, ab 2 , ab 3 , . . .
65
Geometric progressions
I will receive £100 one year from now. What is this worth to me now?
66
Present value
I will receive £100 one year from now. What is this worth to me now?
• I could borrow (and spend) some money now, and next year use the
£100 to repay the loan.
• The amount I can borrow in this way depends on the rate of interest.
• E.g., if the interest rate is 25%, then I could borrow £80 now. The
interest payable next year would then be 0.25 × £80 = £20.
67
Present value
I will receive £100 one year from now. What is this worth to me now?
• I could borrow (and spend) some money now, and next year use the
£100 to repay the loan.
• The amount I can borrow in this way depends on the rate of interest.
• E.g., if the interest rate is 25%, then I could borrow £80 now. The
interest payable next year would then be 0.25 × $ 80 = $ 20.
80 + 0.25 × 80 = 100
68
Present value
I will receive £100 one year from now. What is this worth to me now?
• I could borrow (and spend) some money now, and next year use the
£100 to repay the loan.
• The amount I can borrow in this way depends on the rate of interest.
• E.g., if the interest rate is 25%, then I could borrow £80 now. The
interest payable next year would then be 0.25 × $ 80 = $ 20.
80 + 0.25 × 80 = 100
80(1 + 0.25) = 100
100
80 =
1 + 0.25
• If the interest rate is 25%, then I could borrow (and spend) £64 now:
70
Present value
y (1 + r )−t
71
Present value
Suppose instead that you receive £100 this year, another £100 next year,
and yet another £100 the year after that. If the interest rate is 25%,
what’s the value of this stream of income today?
72
Present value
Suppose instead that you receive £100 this year, another £100 next year,
and yet another £100 the year after that. If the interest rate is 25%,
what’s the value of this stream of income today?
73
Present value
Suppose instead that you receive £100 this year, another £100 next year,
and yet another £100 the year after that. If the interest rate is 25%,
what’s the value of this stream of income today?
74
Present value
Suppose instead that you receive £100 this year, another £100 next year,
and yet another £100 the year after that. If the interest rate is 25%,
what’s the value of this stream of income today?
75
Present value
Suppose instead that you receive £100 this year, another £100 next year,
and yet another £100 the year after that. If the interest rate is 25%,
what’s the value of this stream of income today?
76
Present value
a + ab + ab 2 + ab 3 + · · · + ab n−1
77
Sum-to-n
sn = a + ab + ab 2 + ab 3 + · · · + ab n−1
E.g., a = 2, b = −3:
1 2 3 4 5 6 7 8 9
xi 2 −6 18 −54 162 −486 1458 −4374 13122
sn 2 −4 14 −40 122 −364 1094 −3280 9842
78
Sum-to-n
sn = a + ab + ab 2 + ab 3 + · · · + ab n−1
E.g., a = 2, b = −3:
1 2 3 4 5 6 7 8 9
xi 2 -6 18 −54 162 −486 1458 −4374 13122
sn 2 -4 14 −40 122 −364 1094 −3280 9842
79
Sum-to-n
sn = a + ab + ab 2 + ab 3 + · · · + ab n−1
E.g., a = 2, b = −3:
1 2 3 4 5 6 7 8 9
xi 2 -6 18 −54 162 −486 1458 −4374 13122
sn 2 −4 14 −40 122 −364 1094 −3280 9842
80
Sum-to-n
sn = a + ab + ab 2 + ab 3 + · · · + ab n−1
E.g., a = 2, b = −3:
1 2 3 4 5 6 7 8 9
xi 2 -6 18 -54 162 −486 1458 −4374 13122
sn 2 −4 14 -40 122 −364 1094 −3280 9842
81
Sum-to-n
E.g., a = 2, b = −3.
1 2 3 4 5 6 7 8 9
xi 2 −6 18 −54 162 −486 1458 −4374 13122
sn 2 −4 14 −40 122 −364 1094 −3280 9842
1 − bn
sn = a
1−b
1 − (−3)9
s9 = 2 = 9842
1 − (−3)
82
Sum-to-n
E.g., a = 2, b = −3.
1 2 3 4 5 6 7 8 9
xi 2 −6 18 −54 162 −486 1458 −4374 13122
sn 2 −4 14 −40 122 −364 1094 −3280 9842
1 − bn
sn = a
1−b
1 − (−3)9
s9 = 2 = 9842
1 − (−3)
83
Sum-to-n
sn = a + ab + ab 2 + ab 3 + · · · + ab n−1
1−b n
What if b = 1? We clearly can’t use the formula sn = a 1−b as we
can’t divide by zero. The sequence becomes:
sn = a + a × 1 + a × 12 + a × 13 + · · · + a × 1n−1
sn = na
84
Sum-to-n
1 − bn 1 − (1 + r )−n
sn = a =⇒ sn = y
1−b 1 − (1 + r )−1
E.g., if y = 500, r = 0.07 and n = 10, then the total present value is:
1 − (1.07)−10
s10 = 500 ≈ 3757.6
1 − (1.07)−1
85
Sum-to-n
The total present value of £y in each of n years, starting next year, is:
1 − bn 1 − (1 + r )−n
−1
sn = a =⇒ sn = y (1 + r )
1−b 1 − (1 + r )−1
E.g., if y = 500, r = 0.07 and n = 10, then the total present value is:
1 − (1.07)−10
−1
s10 = 500 × (1.07) ≈ 3511.8
1 − (1.07)−1
86
Summation operator
P
Geometric series are often written using the summation operator :
n
X
ab i−1 = a + ab + ab 2 + · · · + ab n−1
i=1
It’s the sum of all numbers of the form ab i−1 , where i runs in integer
values from 1 to n.
n
1 − bn
X
i−1
ab =a
1−b
i=1
87
Exercise
An individual will receive £3000 each year for n years, starting in three
years’ time.
88