ICS141: Discrete Mathematics for Computer Science I

Similar documents
Sequences and summations

Asymptotic Dominance Problems. is not constant but for n 0, f ( n) 11. 0, so that for n N f

Available online through

Advanced Algorithmic Problem Solving Le 3 Arithmetic. Fredrik Heintz Dept of Computer and Information Science Linköping University

ME 501A Seminar in Engineering Analysis Page 1

In Calculus I you learned an approximation method using a Riemann sum. Recall that the Riemann sum is

Differential Entropy 吳家麟教授

Chapter 2 Intro to Math Techniques for Quantum Mechanics

On Several Inequalities Deduced Using a Power Series Approach

A Technique for Constructing Odd-order Magic Squares Using Basic Latin Squares

Infinite Sequences and Series. Sequences. Sequences { } { } A sequence is a list of number in a definite order: a 1, a 2, a 3,, a n, or {a n } or

Assignment 7/MATH 247/Winter, 2010 Due: Friday, March 19. Powers of a square matrix

10.2 Series. , we get. which is called an infinite series ( or just a series) and is denoted, for short, by the symbol. i i n

Chapter Unary Matrix Operations

Patterns of Continued Fractions with a Positive Integer as a Gap

MTH 146 Class 7 Notes

Chapter 7. Bounds for weighted sums of Random Variables

Area and the Definite Integral. Area under Curve. The Partition. y f (x) We want to find the area under f (x) on [ a, b ]

SUM PROPERTIES FOR THE K-LUCAS NUMBERS WITH ARITHMETIC INDEXES

A Series Illustrating Innovative Forms of the Organization & Exposition of Mathematics by Walter Gottschalk

Chapter 7 Infinite Series

. The set of these sums. be a partition of [ ab, ]. Consider the sum f( x) f( x 1)

Answer: First, I ll show how to find the terms analytically then I ll show how to use the TI to find them.

Chapter 2 Intro to Math Techniques for Quantum Mechanics

A Primer on Summation Notation George H Olson, Ph. D. Doctoral Program in Educational Leadership Appalachian State University Spring 2010

POWER SERIES R. E. SHOWALTER

Mu Sequences/Series Solutions National Convention 2014

Complex Variables. Chapter 19 Series and Residues. March 26, 2013 Lecturer: Shih-Yuan Chen

Chapter 2 Infinite Series Page 1 of 9

PubH 7405: REGRESSION ANALYSIS REGRESSION IN MATRIX TERMS

Approximations of Definite Integrals

this is the indefinite integral Since integration is the reverse of differentiation we can check the previous by [ ]

Simpson s 1/3 rd Rule of Integration

Section 5.1/5.2: Areas and Distances the Definite Integral

means the first term, a2 means the term, etc. Infinite Sequences: follow the same pattern forever.

a= x+1=4 Q. No. 2 Let T r be the r th term of an A.P., for r = 1,2,3,. If for some positive integers m, n. we 1 1 Option 2 1 1

Analytical Approach for the Solution of Thermodynamic Identities with Relativistic General Equation of State in a Mixture of Gases

Taylor Polynomials. The Tangent Line. (a, f (a)) and has the same slope as the curve y = f (x) at that point. It is the best

1 4 6 is symmetric 3 SPECIAL MATRICES 3.1 SYMMETRIC MATRICES. Defn: A matrix A is symmetric if and only if A = A, i.e., a ij =a ji i, j. Example 3.1.

Review of Sections

#A27 INTEGERS 13 (2013) SOME WEIGHTED SUMS OF PRODUCTS OF LUCAS SEQUENCES

Preliminary Examinations: Upper V Mathematics Paper 1

Review of the Riemann Integral

,... are the terms of the sequence. If the domain consists of the first n positive integers only, the sequence is a finite sequence.

Introduction to Computational Molecular Biology. Suffix Trees

LEVEL I. ,... if it is known that a 1

Geometric Sequences. Geometric Sequence. Geometric sequences have a common ratio.

MA123, Chapter 9: Computing some integrals (pp )

CS473-Algorithms I. Lecture 3. Solving Recurrences. Cevdet Aykanat - Bilkent University Computer Engineering Department

( a n ) converges or diverges.

Solutions Manual for Polymer Science and Technology Third Edition

A Brief Introduction to Olympiad Inequalities

CHAPTER 4 RADICAL EXPRESSIONS

Merge Sort. Outline and Reading. Divide-and-Conquer. Divide-and-conquer paradigm ( 4.1.1) Merge-sort ( 4.1.1)

UNIVERSITY OF BRISTOL. Examination for the Degrees of B.Sc. and M.Sci. (Level C/4) ANALYSIS 1B, SOLUTIONS MATH (Paper Code MATH-10006)

Introduction to Computer Design. Standard Forms for Boolean Functions. Sums and Products. Standard Forms for Boolean Functions (cont ) CMPT-150

ρ < 1 be five real numbers. The

Mathematically, integration is just finding the area under a curve from one point to another. It is b

INFINITE SERIES. ,... having infinite number of terms is called infinite sequence and its indicated sum, i.e., a 1

0 x < 5 PIECEWISE FUNCTIONS DAY1 4.7

MATH 104 FINAL SOLUTIONS. 1. (2 points each) Mark each of the following as True or False. No justification is required. y n = x 1 + x x n n

12 Iterative Methods. Linear Systems: Gauss-Seidel Nonlinear Systems Case Study: Chemical Reactions

4 Linear Homogeneous Recurrence Relation 4-1 Fibonacci Rabbits. 组合数学 Combinatorics

SUTCLIFFE S NOTES: CALCULUS 2 SWOKOWSKI S CHAPTER 11

SOLVING SYSTEMS OF EQUATIONS, DIRECT METHODS

Section IV.6: The Master Method and Applications

Basic Structures: Sets, Functions, Sequences, and Sums

Coding Theorems on New Fuzzy Information Theory of Order α and Type β

The total number of permutations of S is n!. We denote the set of all permutations of S by

Numerical Differentiation and Integration

1.3 Continuous Functions and Riemann Sums

Density estimation II

is an ordered list of numbers. Each number in a sequence is a term of a sequence. n-1 term

The internal structure of natural numbers, one method for the definition of large prime numbers, and a factorization test

COMPLEX NUMBERS AND DE MOIVRE S THEOREM

b a 2 ((g(x))2 (f(x)) 2 dx

Optimality of Strategies for Collapsing Expanded Random Variables In a Simple Random Sample Ed Stanek

Log1 Contest Round 2 Theta Complex Numbers. 4 points each. 5 points each

MATH2999 Directed Studies in Mathematics Matrix Theory and Its Applications

SOME REMARKS ON HORIZONTAL, SLANT, PARABOLIC AND POLYNOMIAL ASYMPTOTE

MATRIX AND VECTOR NORMS

Chapter Gauss-Seidel Method

Matrix. Definition 1... a1 ... (i) where a. are real numbers. for i 1, 2,, m and j = 1, 2,, n (iii) A is called a square matrix if m n.

Mathematics HL and further mathematics HL formula booklet

Chapter Newton-Raphson Method of Solving a Nonlinear Equation

Advanced Calculus Test File Spring Test 1

THE ROYAL STATISTICAL SOCIETY HIGHER CERTIFICATE

EECE 301 Signals & Systems

MAS221 Analysis, Semester 2 Exercises

3/20/2013. Splines There are cases where polynomial interpolation is bad overshoot oscillations. Examplef x. Interpolation at -4,-3,-2,-1,0,1,2,3,4

8.3 Sequences & Series: Convergence & Divergence

Chapter 5. The Riemann Integral. 5.1 The Riemann integral Partitions and lower and upper integrals. Note: 1.5 lectures

An Extended Mixture Inverse Gaussian Distribution

Section 6.3: Geometric Sequences

COSC 3361 Numerical Analysis I Numerical Integration and Differentiation (III) - Gauss Quadrature and Adaptive Quadrature

under the curve in the first quadrant.

10.5 Power Series. In this section, we are going to start talking about power series. A power series is a series of the form

Lecture 4 Recursive Algorithm Analysis. Merge Sort Solving Recurrences The Master Theorem

ANALYSIS HW 3. f(x + y) = f(x) + f(y) for all real x, y. Demonstration: Let f be such a function. Since f is smooth, f exists.

We will begin by supplying the proof to (a).

Transcription:

Uversty o Hw ICS: Dscrete Mthemtcs or Computer Scece I Dept. Iormto & Computer Sc., Uversty o Hw J Stelovsy bsed o sldes by Dr. Be d Dr. Stll Orgls by Dr. M. P. Fr d Dr. J.L. Gross Provded by McGrw-Hll ICS : Dscrete Mthemtcs I Fll -

Uversty o Hw Lecture Chpter. Bsc Structures. Sequeces d Summtos ICS : Dscrete Mthemtcs I Fll -

Summto Notto Uversty o Hw Gve sequece { }, teger lower boud or lmt, d teger upper boud, the the summto o { } rom to s wrtte d deed s ollows:... Here, s clled the dex o summto. m m l l ICS : Dscrete Mthemtcs I Fll -

Geerlzed Summtos Uversty o Hw For te sequece, we wrte: To sum ucto over ll members o set X {x, x, }: x X x x x Or, X {x Px}, we my ust wrte: x x x P x ICS : Dscrete Mthemtcs I Fll -

Smple Summto Exmple Uversty o Hw 9 6 5 7 ICS : Dscrete Mthemtcs I Fll -5

-6 ICS : Dscrete Mthemtcs I Fll Uversty o Hw More Summto Exmples A te sequece wth te sum: Usg predcte to dee set o elemets to sum over: 87 9 5 9 7 5 < x x x s prme

-7 ICS : Dscrete Mthemtcs I Fll Uversty o Hw 8 6 Summto Mpultos Some hdy dettes or summtos: Summg costt vlue c c Number o terms the summto

-8 ICS : Dscrete Mthemtcs I Fll Uversty o Hw Summto Mpultos Dstrbutve lw c c

-9 ICS : Dscrete Mthemtcs I Fll Uversty o Hw Summto Mpultos A pplcto o commuttvty g g

- ICS : Dscrete Mthemtcs I Fll Uversty o Hw Idex Shtg m m Let, the 6 6 5

- ICS : Dscrete Mthemtcs I Fll Uversty o Hw More Summto Mpultos Sequece splttg m m m <

- ICS : Dscrete Mthemtcs I Fll Uversty o Hw More Summto Mpultos Order reversl

Exmple: Geometrc Progresso Uversty o Hw A geometrc progresso s sequece o the orm,,,,,, where,r R. The sum o such sequece s gve by: S We c reduce ths to closed orm v clever mpulto o summtos... ICS : Dscrete Mthemtcs I Fll -

- ICS : Dscrete Mthemtcs I Fll Uversty o Hw Here we go... Geometrc Sum Dervto... r r r r rs S

-5 ICS : Dscrete Mthemtcs I Fll Uversty o Hw Dervto Exmple Cot... r S r rs

-6 ICS : Dscrete Mthemtcs I Fll Uversty o Hw Cocludg Log Dervto... S r r r r S r r S r S rs r S rs, Whe whe

Exmple: Impress Your Freds Uversty o Hw Bost, I m so smt; gve me y -dgt umber, d I ll dd ll the umbers rom to my hed ust ew secods. I.e., Evlute the summto: There s smple closed-orm ormul or the result, dscovered by Guss t ge! Ad requetly redscovered by my ICS : Dscrete Mthemtcs I Fll -7

Guss Trc, Illustrted Uversty o Hw Cosder the sum: // - We hve / ps o elemets, ech p summg to, or totl o /. ICS : Dscrete Mthemtcs I Fll -8

-9 ICS : Dscrete Mthemtcs I Fll Uversty o Hw Symbolc Dervto o Trc... l l l l l l For cse where s eve /

- ICS : Dscrete Mthemtcs I Fll Uversty o Hw Cocludg Guss Dervto So, you oly hve to do esy multplcto your hed, the cut hl. Also wors or odd prove ths t home.

Some Shortcut Expressos Uversty o Hw Geometrc sequece Guss trc Qudrtc seres Cubc seres ICS : Dscrete Mthemtcs I Fll -

Usg the Shortcuts Uversty o Hw Exmple: Evlute 5 Use seres splttg. Solve or desred summto. Apply qudrtc seres rule. Evlute. ICS : Dscrete Mthemtcs I Fll 5 9 97,95. 5 9 9 5 99 6 6 8,5,5 -

Cdlty Uversty o Hw The sets A d B hve the sme cdlty d oly there s oe-to-oe correspodece rom A to B. A set tht s ether te or hs the sme cdlty s the set o postve tegers s clled coutble. A set tht s ot coutble s clled ucoutble. Exmple: Show tht the set o odd postve tegers s coutble set. Cosder the ucto rom Z to the set o odd postve tegers ICS : Dscrete Mthemtcs I Fll A oe-to-oe correspodece betwee Z d the set o odd postve tegers. -

Cdlty cot. Uversty o Hw A te set S s coutble t s possble to lst the elemets o the set sequece dexed by the postve tegers,,,, s oeto-oe mppg : Z S where,,,, Exmple: Show tht the set o postve rtol umbers s coutble see gure ICS : Dscrete Mthemtcs I Fll -

-5 ICS : Dscrete Mthemtcs I Fll Uversty o Hw Summto Mpultos Useul dettes: < m m m Groupg. Order reversl. Sequece splttg.