Lecture 10: Sequences and Summations (2)
- Dr. Chengjiang Long
Computer Vision Researcher at Kitware Inc. Adjunct Professor at SUNY at Albany. Email: clong2@albany.edu
Lecture 10: Sequences and Summations (2) Dr. Chengjiang Long - - PowerPoint PPT Presentation
Lecture 10: Sequences and Summations (2) Dr. Chengjiang Long Computer Vision Researcher at Kitware Inc. Adjunct Professor at SUNY at Albany. Email: clong2@albany.edu Outline Special sequences Sum of the elements of a sequence 2 C.
Computer Vision Researcher at Kitware Inc. Adjunct Professor at SUNY at Albany. Email: clong2@albany.edu
Lecture 10 September 25, 2018 2 ICEN/ICSI210 Discrete Structures
Lecture 10 September 25, 2018 3 ICEN/ICSI210 Discrete Structures
Lecture 10 September 25, 2018 4 ICEN/ICSI210 Discrete Structures
integers to a set S. We use the notation(s): {an} or {an}#$%
&
sequence and a set, although they are distinct structures
Lecture 10 September 25, 2018 5 ICEN/ICSI210 Discrete Structures
Lecture 10 September 25, 2018 6 ICEN/ICSI210 Discrete Structures
Lecture 10 September 25, 2018 7 ICEN/ICSI210 Discrete Structures
Consider an arithmetic series a1, a2, a3, …, an. If the common difference (ai+1 - a1) = d, then we can compute the kth term ak as follows: a2 = a1 + d a3 = a2 + d = a1 +2 d a4 = a3 + d = a1 + 3d ak = a1 + (k-1).d
Lecture 10 September 25, 2018 8 ICEN/ICSI210 Discrete Structures
Golden ratio.
Lecture 10 September 25, 2018 9 ICEN/ICSI210 Discrete Structures
(
= 1/n is known as the harmonic sequence
1, 1/2, 1/3, 1/4, 1/5, …
summation is divergent: ∑%&'
(
(1/n) = ¥
Lecture 10 September 25, 2018 10 ICEN/ICSI210 Discrete Structures
Lecture 10 September 25, 2018 11 ICEN/ICSI210 Discrete Structures
Lecture 10 September 25, 2018 12 ICEN/ICSI210 Discrete Structures
notation: ∑"#$
%
&" = am + am+1 + … + an-1 + an Here
limits, which can be done in a straightforward manner (although we must be very careful): ∑"#'
%
&" = ∑"#(
%)' &"*'
Lecture 10 September 25, 2018 13 ICEN/ICSI210 Discrete Structures
Lecture 10 September 25, 2018 14 ICEN/ICSI210 Discrete Structures
Subtracting the expressions gives With 5 terms of the general geometric sequence, we have TRICK Multiply by r:
4 3 2 5
5 4 3 2 5
4 3 2 5 5
4 3 2
Lecture 10 September 25, 2018 15 ICEN/ICSI210 Discrete Structures
Subtracting the expressions gives With 5 terms of the general geometric sequence, we have TRICK Multiply by r:
4 3 2 5
5 4 3 2 5
4 3 2 5 5
4 3 2
5 5
Lecture 10 September 25, 2018 16 ICEN/ICSI210 Discrete Structures
Similarly, for n terms we get
5 5 5
Take out the common factors and divide by ( 1 – r )
Lecture 10 September 25, 2018 17 ICEN/ICSI210 Discrete Structures
gives a negative denominator if r > 1
n n
The formula
n n
Instead, we can use
Lecture 10 September 25, 2018 18 ICEN/ICSI210 Discrete Structures
Find the sum of the first 20 terms of the geometric series, leaving your answer in index form
20 20
n n
Solution:
3
We’ll simplify this answer without using a calculator
Lecture 10 September 25, 2018 19 ICEN/ICSI210 Discrete Structures
20
20
There are 20 minus signs here and 1 more outside the bracket!
20 20
1 2
Lecture 10 September 25, 2018 20 ICEN/ICSI210 Discrete Structures
following arithmetic series.
50 1
p
=
Lecture 10 September 25, 2018 21 ICEN/ICSI210 Discrete Structures
50 Terms
Lecture 10 September 25, 2018 22 ICEN/ICSI210 Discrete Structures
1 1 1 1
1 1 1 1
1
n
1 1 1 1 1 1
Lecture 10 September 25, 2018 23 ICEN/ICSI210 Discrete Structures
1
n
1
n
Lecture 10 September 25, 2018 24 ICEN/ICSI210 Discrete Structures
1
n
1
n
1 1 1
1
Lecture 10 September 25, 2018 25 ICEN/ICSI210 Discrete Structures
36
j
=
1
1
It is not convenient to find the last term.
Lecture 10 September 25, 2018 26 ICEN/ICSI210 Discrete Structures
Lecture 10 September 25, 2018 27 ICEN/ICSI210 Discrete Structures
%
1 = u-k+1, for k£u
%
' = n(n+1)/2
)
'* = n(n+1)(2n+1)/6
)
'$ » nk+1/(k+1)
Lecture 10 September 25, 2018 28 ICEN/ICSI210 Discrete Structures
upper limit of n for fixed integer), inifinite series are also useful
… does not converge
Lecture 10 September 25, 2018 29 ICEN/ICSI210 Discrete Structures
Lecture 10 September 25, 2018 30 ICEN/ICSI210 Discrete Structures
Here is the trick. Note that Does it help?
Lecture 10 September 25, 2018 31 ICEN/ICSI210 Discrete Structures
Lecture 10 September 25, 2018 32 ICEN/ICSI210 Discrete Structures
Lecture 10 September 25, 2018 33 ICEN/ICSI210 Discrete Structures
Lecture 10 September 25, 2018 34 ICEN/ICSI210 Discrete Structures
Lecture 10 September 25, 2018 35 ICEN/ICSI210 Discrete Structures
Lecture 10 September 25, 2018 36 ICEN/ICSI210 Discrete Structures
Lecture 10 September 25, 2018 37 ICEN/ICSI210 Discrete Structures
Lecture 10 September 25, 2018 38 ICEN/ICSI210 Discrete Structures
Lecture 10 September 25, 2018 39 ICEN/ICSI210 Discrete Structures