Lecture#15 Discrete Mathematics
Summation
Computing Summation Let a 0 = 2, a 1 = 3, a 2 = -2, a 3 = 1 and a 4 = 0. Compute each of the summations: = a 0 + a 1 + a 2 +a 3 + a 4 = = 4 = a 0 + a 2 + a 4 = 2 + (-2) + 0 = 0 = a 1 = 3
Computing Summation: Examples Compute each of the following summations:
Expanding Summation Write the summation to expanded form:
Expanded Form of Summation Write the following using summation notation:
Summation and Variables Consider = = 14 & hence The index of a summation can be replaced by any other symbol. The index of a summation is therefore called a dummy variable.
Properties of Summation cRcR
n terms
Summation Properties: Exercise Express the following summation more simply:
The sum of the terms of an arithmetic sequence forms an arithmetic series (A.S). For example … is an arithmetic series of positive odd integers. In general, if a is the first term and d the common difference of an arithmetic series, then the series is given as: a + (a+d) + (a+2d) +… Arithmetic Series
Let a be the first term and d be the common difference of an arithmetic series. Then its nth term is: a n = a + (n - 1)d;n 1 If S n denotes the sum of first n terms of the A.S, then S n = a + (a + d) + (a + 2d) + … + [a + (n-1) d] S n = a + (a+d) + (a + 2d) + … + a n S n = a + (a+d) + (a + 2d) + … + (a n - d) + a n ………(1) Where a n = a + (n - 1) d Rewriting the terms in the series in reverse order, S n = a n + (a n - d) + (a n - 2d) + … + (a + d) + a ……….(2) Adding (1) & 2, we get S n = n/2 [2 a + (n - 1) d] Sum of (N-Term) Arithmetic Series
Find the sum of first n natural numbers: Solution: A = 1, d = 2-1=1, n = n Sum of Arithmetic Series: Example
Find the sum of all two digit positive integers which are neither divisible by 5 nor by 2. Solution: S n =( …. +99)–( …..+ 95) Sum of Arithmetic Series: Example
The sum of the terms of a geometric sequence forms a geometric series (G.S.). For example … is geometric series. In general, if a is the first term and r the common ratio of a geometric series, then the series is given as: a + ar + ar 2 + ar 3 + … Geometric Series
Let a be the first term and r be the common ratio of a geometric series. Then its nth term is: an = arn-1;n 1 If S n denotes the sum of first n terms of the G.S. then S n = a + ar + ar 2 + ar 3 + … + ar n-2 + ar n-1 ……………(1) Multiplying both sides by r we get. r S n = ar + ar 2 + ar 3 + … + ar n-1 + ar n ………………(2) Subtracting (2) from (1) we get S n - r S n = a – ar n (1 - r) S n = a (1 - r n ) S n = a (1 - r n ) / (1 - r) (r <>1) Sum of Geometric Series (N-Terms)
Find the sum of geometric series given below: Geometric Series: Example
Consider the infinite geometric series a + ar + ar2 + … + arn-1 + … then Infinite Geometric Series If S n S asn , then the series is convergent and S is its sum. If |r| < 1, then r n 0 as n
Find the sum of the infinite geometric series: Geometric Series Sum: Example
Find a common fraction for the recurring decimal 0.81 Solution: 0.81= … = … which is an infinite geometric series with Geometric Series Sum: Example
Important Sums
Series Sum: Example Sum to n terms the series … Solution: Lets write the Nth term of given series T k = [A 0 + (k-1)d].[B 0 + (k-1)d] = [1+(k-1)4].[5+(k-1)6] = (4k-3).(6k-1) = 24k 2 -22k+3 Now S n =
Series Sum: Example = (24k 2 -22k+3) = 24 k 2 – 22 k = 24 (n(n+1)(2n+1))/6 – 22 (n(n+1)) / n = 4n (2n 2 + 3n + 1) - 11 (n 2 + n) + 3n = 8n n 2 + 4n - 11n n + 3n = 8n 3 + n 2 - 4n