MCA 202: Discrete Mathematics Instructor Neelima Gupta

Slides:



Advertisements
Similar presentations
MCA 202: Discrete Structures Instructor Neelima Gupta
Advertisements

MCA 202: Discrete Mathematics under construction Instructor Neelima Gupta
Cauchy-Schwarz (Cauchy-Schwarz inequality) For any a1,…,an, and any b1,…bn Proof by induction (on n): When n=1, LHS
(1) An ordered set of real numbers is called a sequence and is denoted by ( ). If the number of terms is unlimited, then the sequence is said to be an.
SEQUENCES and INFINITE SERIES
INFINITE SEQUENCES AND SERIES
(a) an ordered list of objects.
Infinite Sequences and Series
Number Sequences Lecture 7: Sep 28 (chapter 4.1 of the book and chapter 9 of the notes) ? overhang.
INFINITE SEQUENCES AND SERIES
Discrete Structures & Algorithms Summations EECE 320 — UBC.
Proof by Induction and contradiction Leo Cheung. The TAs Our office is in SHB117, feel free to come if you get problems about the course Or ask your questions.
INFINITE SEQUENCES AND SERIES
MULTIPLE INTEGRALS Double Integrals over General Regions MULTIPLE INTEGRALS In this section, we will learn: How to use double integrals to.
Using Areas to Approximate to Sums of Series In the previous examples it was shown that an area can be represented by the sum of a series. Conversely the.
12 INFINITE SEQUENCES AND SERIES The Comparison Tests In this section, we will learn: How to find the value of a series by comparing it with a known.
1 Section 3.3 Mathematical Induction. 2 Technique used extensively to prove results about large variety of discrete objects Can only be used to prove.
Mathematics.
Induction and Recursion by: Mohsin tahir (GL) Numan-ul-haq Waqas akram Rao arslan Ali asghar.
Arithmetic Series Additive Recursion. 7/15/2013 Arithmetic Series 2 The art of asking the right questions in mathematics is more important than the art.
Instructor Neelima Gupta
Sequences and Series (T) Students will know the form of an Arithmetic sequence.  Arithmetic Sequence: There exists a common difference (d) between each.
Sequences and Series A sequence is an ordered list of numbers where each term is obtained according to a fixed rule. A series, or progression, is a sum.
1 © 2010 Pearson Education, Inc. All rights reserved 10.1 DEFINITION OF A SEQUENCE An infinite sequence is a function whose domain is the set of positive.
Chapter Sequences and Series.
Number Sequences Lecture 7: Sep 29 ? overhang. This Lecture We will study some simple number sequences and their properties. The topics include: Representation.
MATH 224 – Discrete Mathematics
Calculus and Analytic Geometry II Cloud County Community College Spring, 2011 Instructor: Timothy L. Warkentin.
Multiple Integrals 12. Double Integrals over General Regions 12.3.
Copyright © Cengage Learning. All rights reserved Double Integrals over General Regions.
DOUBLE INTEGRALS OVER GENERAL REGIONS
MCA 520: Graph Theory Instructor Neelima Gupta
Example We can also evaluate a definite integral by interpretation of definite integral. Ex. Find by interpretation of definite integral. Sol. By the interpretation.
The importance of sequences and infinite series in calculus stems from Newton’s idea of representing functions as sums of infinite series.  For instance,
MCA 202: Discrete Mathematics Instructor Neelima Gupta
INTEGRALS Areas and Distances INTEGRALS In this section, we will learn that: We get the same special type of limit in trying to find the area under.
Chapter 2 Mathematical preliminaries 2.1 Set, Relation and Functions 2.2 Proof Methods 2.3 Logarithms 2.4 Floor and Ceiling Functions 2.5 Factorial and.
Number Sequences ? overhang. This Lecture We will study some simple number sequences and their properties. The topics include: Representation of a sequence.
MCA 202: Discrete Structures Instructor Neelima Gupta
Appendix A: Summations Motivation: Evaluating and/or bounding sums are frequently needed in the solution of recurrences Two types of evaluation problems:
Math 104 Calculus I Part 6 INFINITE SERIES. Series of Constants We’ve looked at limits and sequences. Now, we look at a specific kind of sequential limit,
Mathematics.
12 INFINITE SEQUENCES AND SERIES. In general, it is difficult to find the exact sum of a series.  We were able to accomplish this for geometric series.
Summations COSC 3101, PROF. J. ELDER 2 Recall: Insertion Sort.
Copyright © Cengage Learning. All rights reserved.
MTH253 Calculus III Chapter 11, Part I (sections 11.1 – 11.6) Sequences Series Convergence Tests.
1 2/21/2016 MATH 224 – Discrete Mathematics Sequences and Sums A sequence of the form ar 0, ar 1, ar 2, ar 3, ar 4, …, ar n, is called a geometric sequence.
Department of Statistics University of Rajshahi, Bangladesh
4.2 Area Definition of Sigma Notation = 14.
INFINITE SEQUENCES AND SERIES The convergence tests that we have looked at so far apply only to series with positive terms.
Appendix A: Summations Two types of summation problems in algorithms: 1) Prove by induction that formula is correct 2) Find the function that the sum equals.
Number Sequences Lecture 7: Sep 27 (chapter 4.1 of the book and chapter of the notes) ? overhang.
SEQUENCES A function whose domain is the set of all integers greater than or equal to some integer n 0 is called a sequence. Usually the initial number.
Copyright © Cengage Learning. All rights reserved The Integral Test and Estimates of Sums.
INFINITE SEQUENCES AND SERIES In general, it is difficult to find the exact sum of a series.  We were able to accomplish this for geometric series and.
SECTION 8.3 THE INTEGRAL AND COMPARISON TESTS. P2P28.3 INFINITE SEQUENCES AND SERIES  In general, it is difficult to find the exact sum of a series.
Lecture 17 – Sequences A list of numbers following a certain pattern
Mathematical Foundations (Solving Recurrence)
Chapter 8 Infinite Series.
Mathematics.
11.4 The Comparison Tests In this section, we will learn:
Copyright © Cengage Learning. All rights reserved.
The Area Question and the Integral
Copyright © Cengage Learning. All rights reserved.
Copyright © Cengage Learning. All rights reserved.
Quiz 1, Monday 1/28/19 Chapters 1,2 and 3 HW assignments 1-5.
5.1 Area.
Summations Alexandra Stefan.
11.3a: Positive-Term Series
11.4 Mathematical Induction
Presentation transcript:

MCA 202: Discrete Mathematics Instructor Neelima Gupta

Summation Series under construction Thanks: Imam Hussain (12), Joseph Vanlalchanchinmawia (14) MCA 2012

Summation Series lim Linearity of Summation (ca k +b k ) = c a k + b k n→∞ akak a k = Thanks: Imam Hussain (12), Joseph Vanlalchanchinmawia (14), Naveen Kumar(51) MCA 2012

Arithmetic Series a k+1 – a k = d ; where d is a constant a k = a 0 + a 1 + a a n-1 a k = (2a 0 + (n-1)d) Thanks: Imam Hussain (12), Joseph Vanlalchanchinmawia (14), Naveen Kumar(51) MCA 2012

Prove : a k = (2a 0 + (n-1)d) Proof: By mathematical induction, For n=1, LHS = a k = a 0 RHS = ½(2a 0 )=a 0 Assume that it is true for n,we will prove it for n+1. For n+1, a k = a k + a n = [2a 0 +(n-1)d]+(a 0 +nd) Thanks: Imam Hussain (12), Joseph Vanlalchanchinmawia (14), Naveen Kumar(51) MCA 2012

Contd… =(n+1)a 0 + (n-1+2)d =(n+1)a 0 + (n+1)d = [2a 0 + nd] Hence proved. Thanks: Imam Hussain (12), Joseph Vanlalchanchinmawia (14), Naveen Kumar(51) MCA 2012

Excercise: Prove that k = by induction Thanks: Imam Hussain (12), Joseph Vanlalchanchinmawia (14), Naveen Kumar(51) MCA 2012

Alternate Method S n = n -(i) S n = n + (n-1) + (n-2) (ii) Adding (i) and (ii), we have, 2S n = (n+1)+(n+1)+(n+1)+..+(n+1) S n = Thanks: Imam Hussain (12), Joseph Vanlalchanchinmawia (14), Naveen Kumar(51) MCA 2012

Geometric Series = r Sum = a k = r≠1 {finite terms} Sum = a k = |r|<1 {infinite terms} x i = 1+x+x 2 +x 3 +……+x n x i = |x|<1…(i) Differentiating (i) w.r.t x, we get, kx k = |x|<1 Thanks: Imam Hussain (12), Joseph Vanlalchanchinmawia (14), Naveen Kumar(51) MCA 2012

Harmonic Series H n = = Exercise: Prove that, H n = ln(n) + O(1) Thanks: Imam Hussain (12), Joseph Vanlalchanchinmawia (14), Naveen Kumar(51) MCA 2012

Telescoping Series (a k -a k-1 ) = a n - a 0 (a k -a k+1 ) = a 0 - a n Example: = – Therefore, = – = 1 - Thanks: Imam Hussain (12), Joseph Vanlalchanchinmawia (14), Naveen Kumar(51) MCA 2012

Bounding Summations Example Prove : 3 k ≤ c.3 n for all n≥n o Proof: By using mathematical induction, we have, Base case: Putting n=0, LHS: 3 0 = 1 RHS: c.3 0 =c So, it holds for all c≥1 Thanks: Gunjan Sawhney Roll no. 11 (MCA 2012)

Now, Suppose it holds for all n, i.e. 3 k ≤ c.3 n Then, 3 k = 3 k + 3 n+1 ≤ c.3 n + 3 n+1 = 3 n+1 (c/3 + 1) ≤ c.3 n+1 whenever, c/3+1 ≤ c => 1 ≤ 2c/3 => c ≥ 3/2 Thus, 3 k ≤ c.3 n is true for all c=3/2 and n≥0 Thanks: Gunjan Sawhney Roll no. 11 (MCA 2012)

Wrong Application Of Induction Example Prove: k = O(n) Proof: By using mathematical induction, we have, Base case: Putting n=1, LHS: 1=O(1) RHS: O(n)=O(1) So, it holds for n=1 Thanks: Gunjan Sawhney Roll no. 11 (MCA 2012)

Now, Suppose it holds for all n, i.e. k = O(n) Then, k = O(n) + (n+1) = O(n) which is incorrect. Thus, By induction we couldn’t prove it appropriately. REASON: We ignored the constant whose value can’t change. Thanks: Gunjan Sawhney Roll no. 11 (MCA 2012)

Bounding each term of Series  Few Examples : we have,for all k, hence In general : THANKS Sudhanshu Kumar Singh Roll No. 41 and Sukriti Sinha, Roll No. 42 (MCA 2012)

Bounding a series with Another Series Example : ( Here,So, using previous method will give us Hence, for a tighter bound,we use another series to bound the given series.) THANKS Sudhanshu Kumar Singh Roll No. 41 and Sukriti Sinha, Roll No. 42 (MCA 2012)

Usingto bound each term as follows : In general, This gives, THANKS Sudhanshu Kumar Singh Roll No. 41 and Sukriti Sinha, Roll No. 42 (MCA 2012)

Tip : THANKS Sudhanshu Kumar Singh Roll No. 41 and Sukriti Sinha, Roll No. 42 (MCA 2012)

Exercise: Bound the series using bounding the individual terms by another series. ( HINT: show that, for some r<1 ) Give some time to students to think!! THANKS Sudhanshu Kumar Singh Roll No. 41 and Sukriti Sinha, Roll No. 42 (MCA 2012)

Splitting Summation By Kamal Kishore Thanks: Imam Hussain (12), Joseph Vanlalchanchinmawia (14) MCA 2012

Solution: So, THANKS Sudhanshu Kumar Singh Roll No. 41 and Sukriti Sinha, Roll No. 42 (MCA 2012)

Thanks Kanika Choudhry Roll no.-17 (MCA 2012) QUES:- Show that O(1) by Splitting the Summation. SOLUTION:

Thanks Kanika Choudhry Roll no.-17 (MCA 2012) For k=1, = 2 > 1 For k=2, = > 1 For k=3, = < 1 For k=4,

Thanks Kanika Choudhry Roll no.-17 (MCA 2012) So, by Splitting the Summation Hence proved. where r =

Splitting the Summation contd.. Bounding the sum of Harmonic Series (not done in class 2013) Thanks Kanika Choudhry Roll no.-17 (MCA 2012)

Monotonically Increasing Functions A function f is said to be monotonically increasing, if for all x and y such that x ≤ y one has f(x) < f(y), so f maintains the order. Thanks Swati Mittal Roll no. 45 (MCA 2012)

Monotonically Non- Decreasing Functions A function f is said to be monotonically non- decreasing, if for all x and y such that x ≤ y one has f(x) ≤ f(y). Thanks Swati Mittal Roll no. 45 (MCA 2012)

Let f(k) be a monotonically increasing function, we can approximate it by integrals as follows: Approximating Summation By Integrals Lets prove this first! Thanks Swati Mittal Roll no. 45 (MCA 2012)

F(n-1) F(m) F(m+1) m-1mm+1 m+2 n-1 n n+1 The integral is the region under the curve and the total (blue) rectangle area represents the value of the summation. To Prove : F(n) n-2 F(x)Y X Thanks Swati Mittal Roll no. 45 (MCA 2012)

Hence Proved! Proof: We can see from the figure that, Area under the curve between “m” and “n +1 “ = sum of area of (blue)rectangles + something more(area of small triangles). Sum of areas of rectangles. Hence: Thanks Swati Mittal Roll no. 45 (MCA 2012)

F(n-1) F(m) F(m+1) F(n) m-1mm+1 m+2 n-1 n n+1 n-2 F(x)Y X Lets prove this now! This can be proved by shifting the rectangles in figure one left. Sum of area of red rectangles = area under the curve from m-1 to n + area of triangle above it area under the curve from m-1 to n Hence: Hence Proved! Thanks Swati Mittal Roll no. 45 (MCA 2012)

EXERCISE Let f(k) be a monotonically decreasing function prove: Thanks Swati Mittal Roll no. 45 (MCA 2012)

Monotonically Decreasing Functions A function f is said to be monotonically decreasing, if for all x and y such that x ≤ y one has f(x) > f(y), so f reverses the order. Thanks Swati Mittal Roll no. 45 (MCA 2012)

Monotonically Non- Increasing Functions A function f is said to be monotonically non- increasing, if for all x and y such that x ≤ y one has f(x) ≥ f(y). Thanks Swati Mittal Roll no. 45 (MCA 2012)

Thanks to Swatantra Kumar Verma Roll no. 43 MCA 2012 Approximating Summation Of Monotonically Decreasing Functions by Integrals When a summation can be expressed as,, where f(x) is a monotonically decreasing Function, we can approximate it by Integrals as follows:

PROOF Thanks to Swatantra Kumar Verma Roll no. 43 MCA 2012 Lets Prove this inequality first

F(n-1) F(m) F(m+1) F(n) Monotonically Decreasing Function Thanks to Swatantra Kumar Verma Roll no. 43 MCA 2012 m-1 m m+1 n-1 nn+1

Thanks to Swatantra Kumar Verma Roll no. 43 MCA 2012 To Prove : Proof : As we can see from the figure that: + Sum of the area of Lower triangle from m to n Therefore :-

Thanks to Swatantra Kumar Verma Roll no. 43 MCA 2012 Lets Prove this inequality Now

F(n-1) F(m) F(m+1) F(n) Monotonically Decreasing Function Thanks to Swatantra Kumar Verma Roll no. 43 MCA 2012 m-1 m m+1 n-1 nn+1

Thanks to Swatantra Kumar Verma Roll no. 43 MCA 2012 To prove: Proof : As we can see from the figure that: + Sum of the area of upper triangle from m to n Therefore :-