Dr Zhang Fall 2014 Fordham University

Slides:



Advertisements
Similar presentations
New Jersey Center for Teaching and Learning
Advertisements

Chapter 1: Sequences and Sets 1.1 Sequences. Sequences What number comes next? 1, 2, 3, 4, 5, ____ 2, 6, 10, 14, 18, ____ 1, 2, 4, 8, 16, ____
Discrete Mathematics Recursion and Sequences
Investigating Sequences and Series
For a geometric sequence, , for every positive integer k.
1.3 Arithmetic Sequences Objectives:
11.3 – Geometric Sequences.
Chapter 11 Sequences and Series.
Advanced Counting Techniques
College Algebra Fifth Edition James Stewart Lothar Redlin Saleem Watson.
Introduction to sequences and series A sequence is a listing of numbers. For example, 2, 4, 6, 8,... or 1, 3, 5,... are the sequences of even positive.
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.
Sequences Informally, a sequence is a set of elements written in a row. – This concept is represented in CS using one- dimensional arrays The goal of mathematics.
Chapter 8. Section 8. 1 Section Summary Introduction Modeling with Recurrence Relations Fibonacci Numbers The Tower of Hanoi Counting Problems Algorithms.
Sequences & Summation Notation 8.1 JMerrill, 2007 Revised 2008.
Chapter 6 Sequences And Series Look at these number sequences carefully can you guess the next 2 numbers? What about guess the rule?
“Teach A Level Maths” Vol. 1: AS Core Modules
1 © 2010 Pearson Education, Inc. All rights reserved © 2010 Pearson Education, Inc. All rights reserved Chapter 11 Further Topics in Algebra.
1 © 2010 Pearson Education, Inc. All rights reserved © 2010 Pearson Education, Inc. All rights reserved Chapter 10 Further Topics in Algebra.
Fall 2015 COMP 2300 Discrete Structures for Computation Donghyun (David) Kim Department of Mathematics and Physics North Carolina Central University 1.
What are two types of Sequences?
Sequences & Series Pre-Calculus Lesson 9.1. Infinite Sequence: A sequence without bound - - 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, … ? (what’s next 2 terms)
CSE 2813 Discrete Structures Recurrence Relations Section 6.1.
SFM Productions Presents: Another action-packet episode of “Adventures inPre-Calculus!” 9.1Sequences and Series.
Introduction to sequences and series
Section 2.4. Section Summary Sequences. Examples: Geometric Progression, Arithmetic Progression Recurrence Relations Example: Fibonacci Sequence Summations.
Aim: Arithmetic Sequence Course: Alg. 2 & Trig. Do Now: Aim: What is an arithmetic sequence and series? Find the next three numbers in the sequence 1,
Series and Sequences An infinite sequence is an unending list of numbers that follow a pattern. The terms of the sequence are written a1, a2, a3,...,an,...
Arithmetic Series. A series is the expression for the sum of the terms of a sequence. SequenceSeries 6, 9, 12, 15, , 7, 11, 15,
By Sheldon, Megan, Jimmy, and Grant..  Sequence- list of numbers that usually form a pattern.  Each number in the list is called a term.  Finite sequence.
College Algebra Sixth Edition James Stewart Lothar Redlin Saleem Watson.
Section Finding sums of arithmetic series -Using Sigma notation Taylor Morgan.
Algebra II Unit 1 Lesson 2, 3 & 5
Find the sum of the numbers from 1 to 100. No calculators allowed! …… = ?????
Sequence – a function whose domain is positive integers. Section 9.1 – Sequences.
13.1 SEQUENCES Functions Modeling Change: A Preparation for Calculus, 4th Edition, 2011, Connally.
Sequences & Series MATH Precalculus S. Rook.
11.1 Sequences and Series. Sequences What number comes next? 1, 2, 3, 4, 5, ____ 2, 6, 10, 14, 18, ____ 1, 2, 4, 8, 16, ____
Sequences and Summations Section 2.4. Section Summary Sequences. – Examples: Geometric Progression, Arithmetic Progression Recurrence Relations – Example:
Introduction to Sequences
U SING AND W RITING S EQUENCES The numbers (outputs) of a sequence are called terms. sequence You can think of a sequence as a set of numbers written in.
Sequences and Series (Section 9.4 in Textbook).
SEQUENCES A sequence is a function whose domain in the set of positive integers. So if you have a function but limited the domain to the set of positive.
Section 11.1 Sequences. Sequence – list of values following a pattern Arithmetic – from term to term there is a common difference we’ll call d Geometric.
Investigating Sequences and Series Arithmetic Sequences.
Agenda Lecture Content:  Recurrence Relations  Solving Recurrence Relations  Iteration  Linear homogenous recurrence relation of order k with constant.
Essential Questions Introduction to Sequences
Recursive Formulas for Sequences Algebra II CP Mrs. Sweet
U8L1: Arithmetic Sequences and Series EQ: What are arithmetic sequences and series? How do I find values regarding them?
11.2 Arithmetic Series. What is a series?  When the terms of a sequence are added, the indicated sum of the terms is called a series.  Example  Sequence.
Arithmetic Sequences Objective:
Find the sum of the numbers from 1 to 100. No calculators allowed! …… = ?????
Investigating Sequences and Series Arithmetic Sequences.
Unit 9: Sequences and Series. Sequences A sequence is a list of #s in a particular order If the sequence of numbers does not end, then it is called an.
Ch.9 Sequences and Series Section 1 - Mathematical Patterns.
Do Now Solve the inequality and come up with a real world scenario that fits the solution. Also Pick up a textbook.
8.1 – Sequences and Series. Sequences Infinite sequence = a function whose domain is the set of positive integers a 1, a 2, …, a n are the terms of the.
 A sequence is a function whose domain is a set of consecutive integers. If a domain is not specified, it is understood that the domain starts with 1.
Copyright © 2012 Pearson Education, Inc. Publishing as Addison Wesley CHAPTER 8: Sequences, Series, and Combinatorics 8.1 Sequences and Series 8.2 Arithmetic.
Essential Question: How do you find the nth term and the sum of an arithmetic sequence? Students will write a summary describing the steps to find the.
Sequences & Summation Notation
Notes by Shibili Prasanth Science Grinds
Warm-up A field is 91.4 m long x 68.5 m wide.
Objectives Find the nth term of a sequence. Write rules for sequences.
The numbers in sequences are called terms.
Section 11.1 Sequences and Series
Number Patterns.
9-1 Mathematical Patterns
Note: Remove o from tonight’s hw
Presentation transcript:

Dr Zhang Fall 2014 Fordham University CISC1100: Sequence Dr Zhang Fall 2014 Fordham University

Outline Sequence: finding patterns Math notations Closed formula Recursive formula Two special types of sequences Conversion between closed formula and recursive formula Summations

Let’s play a game What number comes next? 1, 2, 3, 4, 5, ____ 6 2, 6, 10, 14, 18, ____ 22 1, 2, 4, 8, 16, ____ 32

What comes next? 50 2, 5, 10, 17, 26, 37, ____ 1, 2, 6, 24, 120, ____ 720 2, 3, 5, 8, 12, ____ 17 21 1, 1, 2, 3, 5, 8, 13, ____

The key to any sequence is to discover its pattern The pattern could be that each term is somehow related to previous terms The pattern could be described by its relationship to its position in the sequence (1st, 2nd, 3rd etc…) You might recognize the pattern as some well known sequence of integers (like the evens, or multiples of 10). You might be able to do all three of these ways!

2, 4, 6, 8, 10 … Can we relate an term to previous terms ? Second term is 2 more than the first term Third term is 2 more than the second term. … In fact, each subsequent term is just two more than the previous one.

2, 4, 6, 8, 10 … Can we describe each item in relation to its position in the sequence? The term at position 1 is 2 The term at position 2 is 4 The term at position 3 is 6 … The term at position n is 2 * n

2, 4, 6, 8, 10 … We have found two ways to describe the sequence each subsequent term is two more than the previous one the term at position n is 2 * n It’s also the sequence of all even numbers… To simplify our description of sequence, mathematicians introduce notations.

Mathematical Notation To refer to a term in a sequence, we use lower case letters (a, b, …) followed by a subscript indicating its position in the sequence Ex: 2, 4, 6, 8, 10 … a1 =2 first term in a sequence a2 =4 second term in a sequence an n-th term in a sequence , n can be any positive integers an+1 (n+1)-th term in a sequence

2, 4, 6, 8, 10 … What is a1? What is a3? What is a5? What is an if n = 4? What is an-1 if n = 4?

Recursive formula A recursive formula for a sequence is one where each term is described in relation to its previous term (or terms) For example: initial conditions recursive relation a4=?

Fibonacci sequence 0, 1, 1, 2, 3, 5, 8, 13, … What’s a10 ? Starting from a1, a2, …, until we get a10

Fibonacci in nature Suppose at 1st month, a newly-born pair of rabbits, one male, one female, are put in a field. Rabbits start to mate when one month old: at the end of its second month, a female produce another pair of rabbits (one male, one female) i.e., 2 pair of rabbits at 2nd month Suppose our rabbits never die Fibonacci asked: how many pairs will there be in 10th month, 20th month? 13 13

Recursion* Recursive formula has a correspondence in programming language: recursive function calls: Pseudo-code for function a(n) int a(n) { If n==1, return 0; If n==2, return 1 Return (a(n-1)+a(n-2)); }

Exercises: find out recursive formula 1, 4, 7,10,13, … 1, 2, 4, 8, 16, 32, … 1, 1, 2, 3, 5, 8, 13, …

Closed formula A closed formula for a sequence is a formula where each term is described only by an expression only involves its position. Examples: Can you write out the first few terms of a sequence described by ? Just plug in n=1, 2, 3, … into the formula to calculate a1, a2, a3, … Other examples:

To find closed formula 2, 4, 6, 8, 10 … Write each term in relation to its position (as a closed formula) a1=1* 2 a3= 3 * 2 a5= 5 * 2 More generally, an= n * 2 The n-th term of the sequence equals to 2n.

Exercises: find closed formula 1, 3, 5, 7, 9, … 3, 6, 9, 12, … 1, 4, 7, 10, 13, …

Closed formula vs. recursive formula Given the sequence, easier to find recursive formula Harder for evaluating a given term Closed formula Given the sequence, harder to find closed formula Easier for evaluating a given term

Two kinds of sequences: * with constant increment * exponential sequence

2, 4, 6, 8, 10 … Recursive formula: a1=2 an=an-1+2 Closed formula: an= 2n 1, 4, 7, 10, 13, 16… Recursive formula: a1=1 an=an-1+3 Closed formula: an= 3n-2 Any commonalities between them ?

Sequence with equal increments Recursive formula: x1=a xn=xn-1+b Closed formula: xn= ? x2=x1+b=a+b x3=x2+b=(a+b)+b=a+2b x4=x3+b=a+3b … xn=a+(n-1)b

Now try your hand at these. 2, 6, 10, 14, 18, ____ Recursive Formula Closed Formula

1, 2, 4, 8, 16, ____ Exponential Sequence Recursive Formula Closed Formula: Cn=?

General Exponential Sequence Recursive Formula Closed Formula: Cn=?

Exponential Sequence: example 2 1, 3, 9, 27, 81, ____ Recursive Formula Closed Formula

A fable about exponential sequence An India king wants to thank a man for inventing chess The wise man’s choice 1 grain of rice on the first square 2 grain of rice on the second square Each time, double the amount of rice Total amount of rice? About 36.89 cubic kilometers 80 times what would be produced in one harvest, at modern yields, if all of Earth's arable land could be devoted to rice As reference, Manhantan Island is 58.8 square kilometers. 27 27

Summations

Common Mathematical Notion Summation: A summation is just the sum of some terms in a sequence. For example 1+2+3+4+5+6 is the summation of first 6 terms of sequence: 1, 2, 3, 4, 5, 6, 7, …. 1+4+9+16+25 is the summation of the first 5 terms of sequence 1, 4, 9, 16, 25, 49, …

Summation is a very common Idea Because it is so common, mathematicians have developed a shorthand to represent summations (some people call this sigma notation) This is what the shorthand looks like, on the next few slides we will dissect it a bit.

Dissecting Sigma Notation The giant Sigma just means that this represents a summation

Dissecting Sigma Notation The n=1 at the bottom just states where is the sequence we want to start. If the value was 1 then we would start the sequence at the 1st position

Dissecting Sigma Notation The 7 at the top just says to which element in the sequence we want to get to. In this case we want to go up through the 7-th item.

Dissecting Sigma Notation The part to the right of the sigma is the closed formula for the sequence you want to sum over.

Dissecting Sigma Notation So this states that we want to compute summation of 1st, 2nd, …,7th term of the sequence given by closed formula, (an=2n+1).

Dissecting Sigma Notation Thus our summation is 3 +5+7 … + 15

Let’s try a few. Compute the following summations

How would you write the following sums using sigma notation? 5+10+15+20+25+30+35+40 1+8+27+64+125+216

Summary Sequence: finding patterns Recursive formula & Closed formula Two special types of sequences: Recursive formula => closed formula* Summations 39 39