Sums and Products. a i = a 1. i=1. a i = a i a n. n 1

Similar documents
Divisibility = 16, = 9, = 2, = 5. (Negative!)

Math Lecture 3 Notes

[Limits at infinity examples] Example. The graph of a function y = f(x) is shown below. Compute lim f(x) and lim f(x).

Chapter 11 - Sequences and Series

Infinite Continued Fractions

Induction 1 = 1(1+1) = 2(2+1) = 3(3+1) 2

Commutative Rings and Fields

Rings If R is a commutative ring, a zero divisor is a nonzero element x such that xy = 0 for some nonzero element y R.

Lesson 3 Algebraic expression: - the result obtained by applying operations (+, -,, ) to a collection of numbers and/or variables o

Math221: HW# 7 solutions

Inverses and Elementary Matrices

1 + lim. n n+1. f(x) = x + 1, x 1. and we check that f is increasing, instead. Using the quotient rule, we easily find that. 1 (x + 1) 1 x (x + 1) 2 =

Matrices. 1 a a2 1 b b 2 1 c c π

Examples of Groups

Math 324 Summer 2012 Elementary Number Theory Notes on Mathematical Induction

INTRODUCTION TO SIGMA NOTATION

Groups. s t or s t or even st rather than f(s,t).

Some Review Problems for Exam 2: Solutions

Algebra Review C H A P T E R. To solve an algebraic equation with one variable, find the value of the unknown variable.

Introduction to Series and Sequences Math 121 Calculus II Spring 2015

Polynomial Division. You may also see this kind of problem written like this: Perform the division x2 +2x 3

Sequences and infinite series

Binomial Coefficient Identities/Complements

Math 1320, Section 10 Quiz IV Solutions 20 Points

MATH141: Calculus II Exam #4 review solutions 7/20/2017 Page 1

9.4 Radical Expressions

Functions If (x, y 1 ), (x, y 2 ) S, then y 1 = y 2

LECTURE 5, FRIDAY

means is a subset of. So we say A B for sets A and B if x A we have x B holds. BY CONTRAST, a S means that a is a member of S.

No Solution Equations Let s look at the following equation: 2 +3=2 +7

Chapter 1 Review of Equations and Inequalities

GAUSSIAN ELIMINATION AND LU DECOMPOSITION (SUPPLEMENT FOR MA511)

ALGEBRA. 1. Some elementary number theory 1.1. Primes and divisibility. We denote the collection of integers

Math Lecture 4 Limit Laws

1.10 Continuity Brian E. Veitch

Discrete Math, Spring Solutions to Problems V

Fall 2017 Test II review problems

The Exponential of a Matrix

5.2 Infinite Series Brian E. Veitch

5. Introduction to limit

2017 HSC Mathematics Extension 1 Marking Guidelines

Problem Set 5 Solutions

Some Review Problems for Exam 3: Solutions

Limits: How to approach them?

Assignment 16 Assigned Weds Oct 11

21 Induction. Tom Lewis. Fall Term Tom Lewis () 21 Induction Fall Term / 14

16.4. Power Series. Introduction. Prerequisites. Learning Outcomes

5.9 Representations of Functions as a Power Series

Climbing an Infinite Ladder

Finding local extrema and intervals of increase/decrease

SEQUENCES, MATHEMATICAL INDUCTION, AND RECURSION

Relevant sections from AMATH 351 Course Notes (Wainwright): Relevant sections from AMATH 351 Course Notes (Poulin and Ingalls):

Discrete Mathematics. Spring 2017

PEANO AXIOMS FOR THE NATURAL NUMBERS AND PROOFS BY INDUCTION. The Peano axioms

Section 4.1: Sequences and Series

MATCHING. Match the correct vocabulary word with its definition

Intermediate Algebra. Gregg Waterman Oregon Institute of Technology

Math Lecture 36

Sequences and Series. College Algebra

Power series and Taylor series

Sequences of Real Numbers

INFINITE SEQUENCES AND SERIES

Problem Solving in Math (Math 43900) Fall 2013

Dot Products, Transposes, and Orthogonal Projections

Algebra Review. Finding Zeros (Roots) of Quadratics, Cubics, and Quartics. Kasten, Algebra 2. Algebra Review

MATH 301 INTRO TO ANALYSIS FALL 2016

MTH 1310, SUMMER 2012 DR. GRAHAM-SQUIRE. A rational expression is just a fraction involving polynomials, for example 3x2 2

At the start of the term, we saw the following formula for computing the sum of the first n integers:

1 Sequences and Summation

Recursion: Introduction and Correctness

Mathematical Induction Assignments

Algebra 2 Summer Assignment - Non Regents

Solving Linear Equations (in one variable)

3.1 Induction: An informal introduction

Section 4.6 Negative Exponents

Chapter 6. Polynomials

1 Overview and revision

Algebra 8.6 Simple Equations

Finding Limits Analytically

Lesson 3-2: Solving Linear Systems Algebraically

Fractions. Review R.7. Dr. Doug Ensley. January 7, Dr. Doug Ensley Review R.7

Order of Operations. Real numbers

Strong Induction (Second Principle) Example: There are two piles of cards, players take turn: each turn: one player removes any number of cards from

Direct Proofs. the product of two consecutive integers plus the larger of the two integers

University of Colorado at Colorado Springs Math 090 Fundamentals of College Algebra

The following are generally referred to as the laws or rules of exponents. x a x b = x a+b (5.1) 1 x b a (5.2) (x a ) b = x ab (5.

1.9 Algebraic Expressions

Sequences and Series. Copyright Cengage Learning. All rights reserved.

AN INVESTIGATION OF THE CHUNG-FELLER THEOREM AND SIMILAR COMBINATORIAL IDENTITIES

CS1800: Mathematical Induction. Professor Kevin Gold

Lecture 10: Powers of Matrices, Difference Equations

A NEW SET THEORY FOR ANALYSIS

CS 4700: Foundations of Artificial Intelligence Homework 2 Solutions. Graph. You can get to the same single state through multiple paths.

Topic 7 Notes Jeremy Orloff

Pre-Calculus Notes Section 12.2 Evaluating Limits DAY ONE: Lets look at finding the following limits using the calculator and algebraically.

Eby, MATH 0310 Spring 2017 Page 53. Parentheses are IMPORTANT!! Exponents only change what they! So if a is not inside parentheses, then it

Linear Equations & Inequalities Definitions

5. Sequences & Recursion

Chapter Generating Functions

Partitions, permutations and posets Péter Csikvári

Transcription:

Sums and Products -27-209 In this section, I ll review the notation for sums and products Addition and multiplication are binary operations: They operate on two numbers at a time If you want to add or multiply more than two numbers, you need to group the numbers so that you re only adding or multiplying two at once Addition and multiplication are associative, so it should not matter how I group the numbers when I add or multiply Now associativity holds for three numbers at a time; for instance, for addition, a+b+c a+b+c But why does this work for say two ways of grouping a sum of 00 numbers? It turns out that, using induction, it s possible to prove that any two ways of grouping a sum or product of n numbers, for n 3, give the same result Taking this for granted, I can define the sum of a list of numbers {a,a 2,a n } recursively as follows A sum of a single number is just the number: I know how to add two numbers: a i a 2 a i a +a 2 To add n numbers for n > 2, I add the first n of them which I assume I already know how to do, then add the n th : n a i a i +a n Note that this is a particular way of grouping the n summands: Make one group with the first n, and add it to the last term By associativity as noted above, this way of grouping the sum should give the same result as any other way Therefore, I might as well omit parentheses and write a i a +a 2 + +a n The product of a list of numbers {a,a 2,a n } is defined recursively in a similar way A product of a single number is just the number: I know how to multiply two numbers: a i a 2 a i a a 2 To multiply n numbers for n > 2, I multiply the first n of them which I assume I already know how to do, then multiply the n th : n a i a i a n

Again, I can drop the parentheses and write a i a a 2 a n Remark Some people define the sum and product of no numbers as follows: The sum of no numbers sometimes called the empty sum is defined to be 0, and the product of no numbers sometimes called the empty product is defined to be These definitions are useful when you re taking the sum or product of numbers in a set, rather than the sum or product of numbers indexed by a range of consecutive integers For example, suppose S {,4,9,3} Then to use summation notation to write the sum of the squares of the elements of S, you might write x 2 to mean 2 +4 2 +9 2 +3 2 x S Similarly, to write the product of the reciprocals of the numbers in S, you might write x to mean 4 9 3 x S If the set containing the elements of the sum or product varies in a discussion, it might happen that the containing set is empty Using the definitions for an empty sum or an empty product allows for this case For instance, x 2 0 That is, the sum of the squares of the elements of the empty set is 0 x The following properties and those for products which are given below are fairly obvious, but careful proofs require induction Proposition Properties of sums a i +b i c a i c c n c a i + a i b i Proof I ll prove as an example I ll use induction For n, the left side is side is c c The result holds for n Assume that the result holds for n: Then for n+, I have c n c n+ c c+c n c+c n+ c c c and the right 2

The first equality used the recursive definition of a sum The second equality follows from the induction hypothesis The final equality is just basic algebra Properties and can also be proved using induction Example Compute the following sums: 4 i 2 6 i b i i2 50 j 4 d d a i +c, where c is a constant 4 i 2 2 +2 2 +3 2 +4 2 30 6 i b i 2b 2 +3b 3 +4b 4 +5b 5 +6b 6 i2 Note that sums need not start indexing at 50 k 4 50 4 200 Note that the summation variable can be anything that you want a i +c a i + c a i +n c Example Compute the exact value of Note that n+2 n+ n2 +3n+2 50 n n+2 n+ n2 +3n+2 n+2 n+ n+n+2 n+ n+2 So 50 n n+2 n+ n2 +3n+2 50 n n+ n+2 3

I ll write out a few of the terms: 2 + 3 3 + 4 4 + 5 + 50 5 5 52 Most of the terms cancel in pairs, with the negative term in one expression cancelling with the positive term in the next expression Only the first term and the last term are left, and they give the value of the sum: 50 n n+2 n+ n2 +3n+2 2 52 This is an example of a telescoping sum Proposition Properties of products n n a i b i a i b i n k a k i a i c c n Proof I ll prove by way of example The proof will use induction on n For n, the left side is a i b i a b The right side is i b i a b The result holds a for n Assume that the result holds for n: n n a i b i a i b i 4

Then for n+, I have n+ a i b i a i b i a n+ b n+ n n a i b i a n+ b n+ n n a i a n+ b i b n+ n+ n+ a i The first equality follows from the recursive definition of a product The second equality uses the induction hypothesis The third equality comes from commutativity of multiplication And the fourth equality is a result of the recursive definition of a product again Properties and can also be proved by induction b i Example Compute the following products: 4 e n n ca i 2, where c is a constant 20 k 5 ca i 2 4 e n e e 2 e 3 e 4 e 0 n n n c 2 a 2 i c 2 20 k 5 5 20 a 2 i n 2 c 2n a i Example Compute the exact value of Note that So 50 n + 4n + 4n 2 + 4 n + 4 n 2 n2 +4n+4 n 2 50 n + 4n + 4n 2 5 50 n n+22 n 2 n+2 2 n 2

I ll write out a few of the terms: 3 2 2 42 2 2 52 3 2 62 502 42 48 2 52 49 2 522 50 2 Most of the terms in the numerators cancel with the terms in the denominators two fractions ahead Only the first two denominators and the last two numerators don t cancel, and they give the value of the product: 50 n + 4n + 4n 2 52 52 2 This is an example of a telescoping product 2 2 2 758276 If n is a positive integer, n! read n-factorial is the product of the integers from to n: For example, n! k 2 n k 5! 2 3 4 5 20 By convention, 0! is defined to be This definition agrees with the extension of factorials using the Gamma function, described below It also is the appropriate definition when factorials come up in binomial coefficients Note that n! 2 n n n! n There is a way of extending the definition of factorials to positive real numbers so that, for instance,! is defined The Gamma function is defined by 2 Γx 0 e t t x dt for x > 0 Note that x here is a real number If n is a positive integer, Here s a graph of the Gamma function: Γn+ n! 25 20 5 0 5 2 3 4 5 I ve placed dots at the points n,n! so you can see that the Gamma function really goes through the factorial points Note also that Γ But if I plug n 0 into the formula above, I get Γ0+ 0!, ie Γ 0! Thus, 0!, which is the convention I mentioned earlier 6

Example Evaluate Γ5 using the integral definition Do the antiderrivative by parts: So the definite integral is All the b-terms go to 0, because Note that 24 4!, so Γ5 4! Γ5 0 t 4 e t dt lim b d dt dt + t 4 e t 4t 3 e t + 2t 2 e t 24t e t + 24 e t 0 e t b 0 t 4 e t dt t 4 e t dt t 4 e t 4t 3 e t 2t 2 e t 24te t 24e t +c lim b 4 e b 4b 3 e b 2b 2 e b 24be b 24e b +24 24 b lim b bn e b 0 for n 0 c 209 by Bruce Ikenaga 7