SlideShare a Scribd company logo
Sequences
o Sequences represent ordered lists of elements.
o OR a list of elements usually written in a row.
• 1, 2, 3, 4, 5, …1, 1/2, 1/3, 1/4, 1/5, …
o A sequence is defined as a function from a subset
of N to a set S. We use the notation an to denote
the image of the integer n. We call an a term of the
sequence.
– N={1, 2, 3, …} /whole numbers {0, 1, 2, 3, …}.
– S: { 2 4 6 8 10 …}
– {an} =a1, a2, a3, a4 …, an, …
Explicit Formula
o It is convenient to describe a sequence with a
formula.
o S: { 2 4 6 8 10 …}
o an = 2n
o 1, 3, 5, 7, 9, … an = 2n – 1
o 2, 5, 10, 17, 26, … an = n2 + 1
o Find formula for
o
1 1 1 1 1 1 1
1 , , , ,
2 2 3 3 4 4 5
    L
1 1
for all integers 1
1
kb n
k k
  

ARITHMETIC SEQUENCE
o Every term after the first is obtained from the
preceding term by adding a constant number
o The difference of any two consecutive terms is
called the common difference d
o 5, 9, 13, 17, … d= 4
ARITHMETIC SEQUENCE
o Let a be the first term and d be the common difference
of an arithmetic sequence. Then the sequence is a,
a+d, a+2d, …
a1 = first term = a = a + (1-1) d
a2 = second term = a + d = a + (2-1) d
By symmetry
an = nth term = a + (n - 1)d for all integers n 1.
• 3, 9, 15, 21, …
Here a = 3
d = 9 - 3 = 6
n = 20
a20 = ?
Since an = a + (n - 1) d;
a20 = 3 + (20 - 1) 6
= 3 + 114
= 117
GEOMETRIC SEQUENCE
o Every term after the first is obtained from the
preceding term by multiplying it with a constant
number (called the common ratio “r”)is called a
geometric sequence or geometric progression
(G.P.).
1, 2, 4, 8, 16, … (common ratio = 2)
an = nth term = arn-1; for all integers n  1
a, ar, ar2, ar3, …
SEQUENCES IN COMPUTER
PROGRAMMING
o An important data type in computer programming consists
of finite sequences known as one-dimensional arrays;
o The names of k students in a class may be
represented by an array of k elements “name”
as:
name [0], name[1], name[2], …, name[k-1]
SERIES
o The sum of the terms of a sequence forms a series.
– If a1, a2, a3, … represent a sequence of numbers, then the
corresponding series is
– a1 + a2 + a3 + …
o Summations
• =am + am+1 + am+2 + … + an.
• j is called the index of summation,
running from its lower limit m to its
upper limit n.
o Compute 𝑗=1
4
𝑗2
1+4+9+16=30
o 𝑗=1
3
2𝑗 − 1 =1+3+5=9
Summation Notation to Expanded
Form
o Write expanded form of
1 ( 1) 1 ( 1) ( 1)
1 2 3 4 1
1 1 1 ( 1)
1
2 3 4 1
n
n
n
n
  
     


     

L
L
0 1 2 3
0
( 1) ( 1) ( 1) ( 1) ( 1) ( 1)
1 0 1 1 1 2 1 3 1 1
i nn
i i n
     
     
     
 L
Induction
oThe principle of mathematical induction is
a useful tool for proving that a certain
predicate is true for all natural numbers.
Induction
o If we have a propositional function P(n), and we want
to prove that P(n) is true for any natural number n, we
do the following:
1. Show that P(1) is true.
(basis step)
2. Show that if P(n) then P(n + 1) for any n  N.
(inductive step)
3. Then P(n) must be true for any n  N.
(conclusion)
Induction
1. Basis Step:
P(1) is true.
For n = 1, left hand side of P(1) is the sum of all the
successive integers starting at 1 and ending at 1,
so LHS = 1 and RHS is
1(1 1) 2
. . 1
2 2
R H S

  
( 1)
( ):1 2 3
2
n n
P n n

    L
Induction
2. Inductive Step: Suppose P(k) is true for,
some integers k  1
I.
To prove P(k + 1) is true. That is,
II.
( 1)
1 2 3
2
k k
k

    L
( 1)( 2)
1 2 3 ( 1)
2
k k
k
 
     L
Induction
Consider L.H.S. of (2)
Hence by principle of Mathematical Induction the given
result true for all integers greater or equal to 1
1 2 3 ( 1) 1 2 3 ( 1)
( 1)
( 1) using (1)
2
( 1) 1
2
2
( 1)
2
( 1)( 2)
RHS of (2)
2
k k k
k k
k
k
k
k
k
k k
           

  
 
    
 
    
 
 
L L
Induction
o 1+3+5+…+(2n -1) = n2 for all integers n ≥1.
o Let P(n) be the equation 1+3+5+…+(2n -1) = n2
o Show that P(1) is true.
(basis step)
For n = 1, L.H.S of P(1) = 1 and
R.H.S =2(1)-1 = 1
Hence the equation is true for n = 1
Induction
o Suppose P(k) is true for some integer k ≥ 1.
(inductive step)
1 + 3 + 5 + … + (2k - 1) = k2 …………………(1)
To prove P(k+1) is true; i.e.,
1 + 3 + 5 + … +[2(k+1)-1] = (k+1)2 ………….……(2)
Consider L.H.S. of (2)
Thus P(k+1) is also true. Hence by mathematical induction, the given
equation is true for all integers n ≥ 1
2
2
1 3 5 [2( 1) 1] 1 3 5 (2 1)
1 3 5 (2 1) (2 1)
(2 1) using (1)
( 1)
R.H.S. of (2)
k k
k k
k k
k
           
       
  
 

L L
L

More Related Content

What's hot

GENERAL MATHEMATICS Module 1: Review on Functions
GENERAL MATHEMATICS Module 1: Review on FunctionsGENERAL MATHEMATICS Module 1: Review on Functions
GENERAL MATHEMATICS Module 1: Review on Functions
Galina Panela
 
Sequences and Series (Mathematics)
Sequences and Series (Mathematics) Sequences and Series (Mathematics)
Sequences and Series (Mathematics)
Dhrumil Maniar
 
Arithmetic and geometric_sequences
Arithmetic and geometric_sequencesArithmetic and geometric_sequences
Arithmetic and geometric_sequences
Mohamed Gibreel
 
Mathematical induction
Mathematical inductionMathematical induction
Mathematical induction
DhruvSethi28
 
Sequences and series
Sequences and seriesSequences and series
Sequences and series
rey castro
 
Geometric sequences and series
Geometric sequences and seriesGeometric sequences and series
Geometric sequences and series
Huereka
 
Sequence and Series Word File || Discrete Structure
Sequence and Series Word File || Discrete StructureSequence and Series Word File || Discrete Structure
Sequence and Series Word File || Discrete Structure
Zain Abid
 
Mathematical Induction DM
Mathematical Induction DMMathematical Induction DM
Mathematical Induction DM
Rokonuzzaman Rony
 
Lecture 5 6_7 - divide and conquer and method of solving recurrences
Lecture 5 6_7 - divide and conquer and method of solving recurrencesLecture 5 6_7 - divide and conquer and method of solving recurrences
Lecture 5 6_7 - divide and conquer and method of solving recurrences
jayavignesh86
 
Sequence and series
Sequence and series Sequence and series
Sequence and series
Sukhtej Sethi
 
Sequence and Series in Discrete Structure
Sequence and Series in Discrete Structure Sequence and Series in Discrete Structure
Sequence and Series in Discrete Structure
Zain Abid
 
Introduction to sequences and series
Introduction to sequences and seriesIntroduction to sequences and series
Introduction to sequences and series
MaxTorresdey
 
Chapter i
Chapter iChapter i
Lesson 11: Functions and Function Notation
Lesson 11: Functions and Function NotationLesson 11: Functions and Function Notation
Lesson 11: Functions and Function Notation
Kevin Johnson
 
Introduction of sequence
Introduction of sequenceIntroduction of sequence
Introduction of sequence
KARAN PANCHAL
 
Math induction
Math inductionMath induction
Math induction
asel_d
 
Functional Notations
Functional NotationsFunctional Notations
Functional Notations
Galina Panela
 
Module 2 topic 1 notes
Module 2 topic 1 notesModule 2 topic 1 notes
Module 2 topic 1 notes
chrystal_brinson
 
Sol56
Sol56Sol56
Function and graphs
Function and graphsFunction and graphs
Function and graphs
Rione Drevale
 

What's hot (20)

GENERAL MATHEMATICS Module 1: Review on Functions
GENERAL MATHEMATICS Module 1: Review on FunctionsGENERAL MATHEMATICS Module 1: Review on Functions
GENERAL MATHEMATICS Module 1: Review on Functions
 
Sequences and Series (Mathematics)
Sequences and Series (Mathematics) Sequences and Series (Mathematics)
Sequences and Series (Mathematics)
 
Arithmetic and geometric_sequences
Arithmetic and geometric_sequencesArithmetic and geometric_sequences
Arithmetic and geometric_sequences
 
Mathematical induction
Mathematical inductionMathematical induction
Mathematical induction
 
Sequences and series
Sequences and seriesSequences and series
Sequences and series
 
Geometric sequences and series
Geometric sequences and seriesGeometric sequences and series
Geometric sequences and series
 
Sequence and Series Word File || Discrete Structure
Sequence and Series Word File || Discrete StructureSequence and Series Word File || Discrete Structure
Sequence and Series Word File || Discrete Structure
 
Mathematical Induction DM
Mathematical Induction DMMathematical Induction DM
Mathematical Induction DM
 
Lecture 5 6_7 - divide and conquer and method of solving recurrences
Lecture 5 6_7 - divide and conquer and method of solving recurrencesLecture 5 6_7 - divide and conquer and method of solving recurrences
Lecture 5 6_7 - divide and conquer and method of solving recurrences
 
Sequence and series
Sequence and series Sequence and series
Sequence and series
 
Sequence and Series in Discrete Structure
Sequence and Series in Discrete Structure Sequence and Series in Discrete Structure
Sequence and Series in Discrete Structure
 
Introduction to sequences and series
Introduction to sequences and seriesIntroduction to sequences and series
Introduction to sequences and series
 
Chapter i
Chapter iChapter i
Chapter i
 
Lesson 11: Functions and Function Notation
Lesson 11: Functions and Function NotationLesson 11: Functions and Function Notation
Lesson 11: Functions and Function Notation
 
Introduction of sequence
Introduction of sequenceIntroduction of sequence
Introduction of sequence
 
Math induction
Math inductionMath induction
Math induction
 
Functional Notations
Functional NotationsFunctional Notations
Functional Notations
 
Module 2 topic 1 notes
Module 2 topic 1 notesModule 2 topic 1 notes
Module 2 topic 1 notes
 
Sol56
Sol56Sol56
Sol56
 
Function and graphs
Function and graphsFunction and graphs
Function and graphs
 

Viewers also liked

Jakvaeduragi foreldrar2016
Jakvaeduragi foreldrar2016Jakvaeduragi foreldrar2016
Jakvaeduragi foreldrar2016
ingileif2507
 
Autismo
AutismoAutismo
Autismo
yucetecom
 
Hvetjandi viðtalstækni og kennslufræðileg forysta
Hvetjandi viðtalstækni og kennslufræðileg forystaHvetjandi viðtalstækni og kennslufræðileg forysta
Hvetjandi viðtalstækni og kennslufræðileg forysta
ingileif2507
 
#tarea2 mta2016a
#tarea2 mta2016a#tarea2 mta2016a
#tarea2 mta2016a
Andres Perez
 
AN INTRODUCTION TO XTER EDU EBOOK VERSION - REVISED
AN INTRODUCTION TO XTER EDU EBOOK VERSION - REVISEDAN INTRODUCTION TO XTER EDU EBOOK VERSION - REVISED
AN INTRODUCTION TO XTER EDU EBOOK VERSION - REVISED
Iwobe Kingsley S.
 
LinkedIn - Disassembling Dalvik Bytecode
LinkedIn - Disassembling Dalvik BytecodeLinkedIn - Disassembling Dalvik Bytecode
LinkedIn - Disassembling Dalvik Bytecode
Alain Leon
 
B2. activity and intent
B2. activity and intentB2. activity and intent
B2. activity and intent
PERKYTORIALS
 
NCC common syllabus for B and C certificate examination
NCC common syllabus for B and C certificate examination NCC common syllabus for B and C certificate examination
NCC common syllabus for B and C certificate examination
Dr. Sanjay Sawant Dessai
 
Language Teachers' Target Language (LTTL): Assessing Student Writing
Language Teachers' Target Language (LTTL): Assessing Student WritingLanguage Teachers' Target Language (LTTL): Assessing Student Writing
Language Teachers' Target Language (LTTL): Assessing Student Writing
tatianaershovamsu
 
Sample question paper math Class XI CBSE
Sample question paper math Class XI CBSESample question paper math Class XI CBSE
Sample question paper math Class XI CBSE
Pratima Nayak ,Kendriya Vidyalaya Sangathan
 
The Evolving Role of Payments In a Customer Centric World
The Evolving Role of Payments In a Customer Centric World The Evolving Role of Payments In a Customer Centric World
The Evolving Role of Payments In a Customer Centric World
Chargebee
 

Viewers also liked (11)

Jakvaeduragi foreldrar2016
Jakvaeduragi foreldrar2016Jakvaeduragi foreldrar2016
Jakvaeduragi foreldrar2016
 
Autismo
AutismoAutismo
Autismo
 
Hvetjandi viðtalstækni og kennslufræðileg forysta
Hvetjandi viðtalstækni og kennslufræðileg forystaHvetjandi viðtalstækni og kennslufræðileg forysta
Hvetjandi viðtalstækni og kennslufræðileg forysta
 
#tarea2 mta2016a
#tarea2 mta2016a#tarea2 mta2016a
#tarea2 mta2016a
 
AN INTRODUCTION TO XTER EDU EBOOK VERSION - REVISED
AN INTRODUCTION TO XTER EDU EBOOK VERSION - REVISEDAN INTRODUCTION TO XTER EDU EBOOK VERSION - REVISED
AN INTRODUCTION TO XTER EDU EBOOK VERSION - REVISED
 
LinkedIn - Disassembling Dalvik Bytecode
LinkedIn - Disassembling Dalvik BytecodeLinkedIn - Disassembling Dalvik Bytecode
LinkedIn - Disassembling Dalvik Bytecode
 
B2. activity and intent
B2. activity and intentB2. activity and intent
B2. activity and intent
 
NCC common syllabus for B and C certificate examination
NCC common syllabus for B and C certificate examination NCC common syllabus for B and C certificate examination
NCC common syllabus for B and C certificate examination
 
Language Teachers' Target Language (LTTL): Assessing Student Writing
Language Teachers' Target Language (LTTL): Assessing Student WritingLanguage Teachers' Target Language (LTTL): Assessing Student Writing
Language Teachers' Target Language (LTTL): Assessing Student Writing
 
Sample question paper math Class XI CBSE
Sample question paper math Class XI CBSESample question paper math Class XI CBSE
Sample question paper math Class XI CBSE
 
The Evolving Role of Payments In a Customer Centric World
The Evolving Role of Payments In a Customer Centric World The Evolving Role of Payments In a Customer Centric World
The Evolving Role of Payments In a Customer Centric World
 

Similar to Sequences

Series in Discrete Structure || Computer Science
Series in Discrete Structure || Computer ScienceSeries in Discrete Structure || Computer Science
Series in Discrete Structure || Computer Science
MubasharGhazi
 
Per4 induction
Per4 inductionPer4 induction
Per4 induction
Evert Sandye Taasiringan
 
Arithmetic Progression & Geometric ProgresionP
Arithmetic Progression & Geometric ProgresionPArithmetic Progression & Geometric ProgresionP
Arithmetic Progression & Geometric ProgresionP
ibha1234
 
Arithmetic And Geometric Progressions
Arithmetic And Geometric ProgressionsArithmetic And Geometric Progressions
Arithmetic And Geometric Progressions
Finni Rice
 
Ap gp
Ap gpAp gp
Ap gp
sujoy7
 
Task 4
Task 4Task 4
Task 4
blackbox90s
 
6.sequences and series Further Mathematics Zimbabwe Zimsec Cambridge
6.sequences and series   Further Mathematics Zimbabwe Zimsec Cambridge6.sequences and series   Further Mathematics Zimbabwe Zimsec Cambridge
6.sequences and series Further Mathematics Zimbabwe Zimsec Cambridge
alproelearning
 
Sequence of DM
Sequence of  DM Sequence of  DM
Sequence of DM
Rokonuzzaman Rony
 
mathematical induction and stuff Induction.pptx
mathematical induction and stuff Induction.pptxmathematical induction and stuff Induction.pptx
mathematical induction and stuff Induction.pptx
ZenLooper
 
Unit-1 DAA_Notes.pdf
Unit-1 DAA_Notes.pdfUnit-1 DAA_Notes.pdf
Unit-1 DAA_Notes.pdf
AmayJaiswal4
 
sequence and series.docx
sequence and series.docxsequence and series.docx
sequence and series.docx
Getachew Mulaw
 
3.-SEQUENCES-AND-SERIES-THEORY.hhsssspdf
3.-SEQUENCES-AND-SERIES-THEORY.hhsssspdf3.-SEQUENCES-AND-SERIES-THEORY.hhsssspdf
3.-SEQUENCES-AND-SERIES-THEORY.hhsssspdf
nassorokayanda9412
 
Arithmetic sequence in elementary and HS
Arithmetic sequence in elementary and HSArithmetic sequence in elementary and HS
Arithmetic sequence in elementary and HS
RoseEdenAbitong2
 
Lecture 4 - Growth of Functions.ppt
Lecture 4 - Growth of Functions.pptLecture 4 - Growth of Functions.ppt
Lecture 4 - Growth of Functions.ppt
ZohairMughal1
 
Lecture 4 - Growth of Functions (1).ppt
Lecture 4 - Growth of Functions (1).pptLecture 4 - Growth of Functions (1).ppt
Lecture 4 - Growth of Functions (1).ppt
ZohairMughal1
 
Lecture5
Lecture5Lecture5
Lecture5
Atner Yegorov
 
(678215997) neethutext
(678215997) neethutext(678215997) neethutext
(678215997) neethutext
neethumaths
 
10-Sequences and summation.pptx
10-Sequences and summation.pptx10-Sequences and summation.pptx
10-Sequences and summation.pptx
jaffarbikat
 
Sequences And Series
Sequences And SeriesSequences And Series
Sequences And Series
goestoinfinity
 
Sequence function
Sequence functionSequence function
Sequence function
jennytuazon01630
 

Similar to Sequences (20)

Series in Discrete Structure || Computer Science
Series in Discrete Structure || Computer ScienceSeries in Discrete Structure || Computer Science
Series in Discrete Structure || Computer Science
 
Per4 induction
Per4 inductionPer4 induction
Per4 induction
 
Arithmetic Progression & Geometric ProgresionP
Arithmetic Progression & Geometric ProgresionPArithmetic Progression & Geometric ProgresionP
Arithmetic Progression & Geometric ProgresionP
 
Arithmetic And Geometric Progressions
Arithmetic And Geometric ProgressionsArithmetic And Geometric Progressions
Arithmetic And Geometric Progressions
 
Ap gp
Ap gpAp gp
Ap gp
 
Task 4
Task 4Task 4
Task 4
 
6.sequences and series Further Mathematics Zimbabwe Zimsec Cambridge
6.sequences and series   Further Mathematics Zimbabwe Zimsec Cambridge6.sequences and series   Further Mathematics Zimbabwe Zimsec Cambridge
6.sequences and series Further Mathematics Zimbabwe Zimsec Cambridge
 
Sequence of DM
Sequence of  DM Sequence of  DM
Sequence of DM
 
mathematical induction and stuff Induction.pptx
mathematical induction and stuff Induction.pptxmathematical induction and stuff Induction.pptx
mathematical induction and stuff Induction.pptx
 
Unit-1 DAA_Notes.pdf
Unit-1 DAA_Notes.pdfUnit-1 DAA_Notes.pdf
Unit-1 DAA_Notes.pdf
 
sequence and series.docx
sequence and series.docxsequence and series.docx
sequence and series.docx
 
3.-SEQUENCES-AND-SERIES-THEORY.hhsssspdf
3.-SEQUENCES-AND-SERIES-THEORY.hhsssspdf3.-SEQUENCES-AND-SERIES-THEORY.hhsssspdf
3.-SEQUENCES-AND-SERIES-THEORY.hhsssspdf
 
Arithmetic sequence in elementary and HS
Arithmetic sequence in elementary and HSArithmetic sequence in elementary and HS
Arithmetic sequence in elementary and HS
 
Lecture 4 - Growth of Functions.ppt
Lecture 4 - Growth of Functions.pptLecture 4 - Growth of Functions.ppt
Lecture 4 - Growth of Functions.ppt
 
Lecture 4 - Growth of Functions (1).ppt
Lecture 4 - Growth of Functions (1).pptLecture 4 - Growth of Functions (1).ppt
Lecture 4 - Growth of Functions (1).ppt
 
Lecture5
Lecture5Lecture5
Lecture5
 
(678215997) neethutext
(678215997) neethutext(678215997) neethutext
(678215997) neethutext
 
10-Sequences and summation.pptx
10-Sequences and summation.pptx10-Sequences and summation.pptx
10-Sequences and summation.pptx
 
Sequences And Series
Sequences And SeriesSequences And Series
Sequences And Series
 
Sequence function
Sequence functionSequence function
Sequence function
 

More from Abdur Rehman

Financial accounting
Financial accountingFinancial accounting
Financial accounting
Abdur Rehman
 
Dscrete structure
Dscrete  structureDscrete  structure
Dscrete structure
Abdur Rehman
 
Valid & invalid arguments
Valid & invalid argumentsValid & invalid arguments
Valid & invalid arguments
Abdur Rehman
 
Sets
SetsSets
Recursion
RecursionRecursion
Recursion
Abdur Rehman
 
Queue
QueueQueue
Quantification
QuantificationQuantification
Quantification
Abdur Rehman
 
Proving existential statements
Proving existential statementsProving existential statements
Proving existential statements
Abdur Rehman
 
Method of direct proof
Method of direct proofMethod of direct proof
Method of direct proof
Abdur Rehman
 
Proofs by contraposition
Proofs by contrapositionProofs by contraposition
Proofs by contraposition
Abdur Rehman
 
Laws in disceret
Laws in disceretLaws in disceret
Laws in disceret
Abdur Rehman
 
Converse, contrapositive, inverse
Converse, contrapositive, inverseConverse, contrapositive, inverse
Converse, contrapositive, inverse
Abdur Rehman
 
Constructing circuits for boolean expressions(gate)
Constructing circuits for boolean expressions(gate)Constructing circuits for boolean expressions(gate)
Constructing circuits for boolean expressions(gate)
Abdur Rehman
 
Application of bases
Application of basesApplication of bases
Application of bases
Abdur Rehman
 
Truth table
Truth tableTruth table
Truth table
Abdur Rehman
 
Intro to disceret structure
Intro to disceret structureIntro to disceret structure
Intro to disceret structure
Abdur Rehman
 
Dst lec3
Dst lec3Dst lec3
Dst lec3
Abdur Rehman
 
logic, preposition etc
logic, preposition etclogic, preposition etc
logic, preposition etc
Abdur Rehman
 

More from Abdur Rehman (18)

Financial accounting
Financial accountingFinancial accounting
Financial accounting
 
Dscrete structure
Dscrete  structureDscrete  structure
Dscrete structure
 
Valid & invalid arguments
Valid & invalid argumentsValid & invalid arguments
Valid & invalid arguments
 
Sets
SetsSets
Sets
 
Recursion
RecursionRecursion
Recursion
 
Queue
QueueQueue
Queue
 
Quantification
QuantificationQuantification
Quantification
 
Proving existential statements
Proving existential statementsProving existential statements
Proving existential statements
 
Method of direct proof
Method of direct proofMethod of direct proof
Method of direct proof
 
Proofs by contraposition
Proofs by contrapositionProofs by contraposition
Proofs by contraposition
 
Laws in disceret
Laws in disceretLaws in disceret
Laws in disceret
 
Converse, contrapositive, inverse
Converse, contrapositive, inverseConverse, contrapositive, inverse
Converse, contrapositive, inverse
 
Constructing circuits for boolean expressions(gate)
Constructing circuits for boolean expressions(gate)Constructing circuits for boolean expressions(gate)
Constructing circuits for boolean expressions(gate)
 
Application of bases
Application of basesApplication of bases
Application of bases
 
Truth table
Truth tableTruth table
Truth table
 
Intro to disceret structure
Intro to disceret structureIntro to disceret structure
Intro to disceret structure
 
Dst lec3
Dst lec3Dst lec3
Dst lec3
 
logic, preposition etc
logic, preposition etclogic, preposition etc
logic, preposition etc
 

Recently uploaded

Film vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movieFilm vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movie
Nicholas Montgomery
 
PIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf IslamabadPIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf Islamabad
AyyanKhan40
 
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
RitikBhardwaj56
 
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama UniversityNatural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Akanksha trivedi rama nursing college kanpur.
 
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
IreneSebastianRueco1
 
Life upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for studentLife upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for student
NgcHiNguyn25
 
A Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdfA Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdf
Jean Carlos Nunes Paixão
 
DRUGS AND ITS classification slide share
DRUGS AND ITS classification slide shareDRUGS AND ITS classification slide share
DRUGS AND ITS classification slide share
taiba qazi
 
clinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdfclinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdf
Priyankaranawat4
 
Smart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICTSmart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICT
simonomuemu
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
Nguyen Thanh Tu Collection
 
S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
tarandeep35
 
Digital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments UnitDigital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments Unit
chanes7
 
Main Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docxMain Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docx
adhitya5119
 
Pride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School DistrictPride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School District
David Douglas School District
 
Top five deadliest dog breeds in America
Top five deadliest dog breeds in AmericaTop five deadliest dog breeds in America
Top five deadliest dog breeds in America
Bisnar Chase Personal Injury Attorneys
 
The History of Stoke Newington Street Names
The History of Stoke Newington Street NamesThe History of Stoke Newington Street Names
The History of Stoke Newington Street Names
History of Stoke Newington
 
The Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collectionThe Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collection
Israel Genealogy Research Association
 
A Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptxA Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptx
thanhdowork
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
TechSoup
 

Recently uploaded (20)

Film vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movieFilm vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movie
 
PIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf IslamabadPIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf Islamabad
 
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
 
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama UniversityNatural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
 
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
 
Life upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for studentLife upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for student
 
A Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdfA Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdf
 
DRUGS AND ITS classification slide share
DRUGS AND ITS classification slide shareDRUGS AND ITS classification slide share
DRUGS AND ITS classification slide share
 
clinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdfclinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdf
 
Smart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICTSmart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICT
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
 
S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
 
Digital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments UnitDigital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments Unit
 
Main Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docxMain Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docx
 
Pride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School DistrictPride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School District
 
Top five deadliest dog breeds in America
Top five deadliest dog breeds in AmericaTop five deadliest dog breeds in America
Top five deadliest dog breeds in America
 
The History of Stoke Newington Street Names
The History of Stoke Newington Street NamesThe History of Stoke Newington Street Names
The History of Stoke Newington Street Names
 
The Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collectionThe Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collection
 
A Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptxA Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptx
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
 

Sequences

  • 1.
  • 2. Sequences o Sequences represent ordered lists of elements. o OR a list of elements usually written in a row. • 1, 2, 3, 4, 5, …1, 1/2, 1/3, 1/4, 1/5, … o A sequence is defined as a function from a subset of N to a set S. We use the notation an to denote the image of the integer n. We call an a term of the sequence. – N={1, 2, 3, …} /whole numbers {0, 1, 2, 3, …}. – S: { 2 4 6 8 10 …} – {an} =a1, a2, a3, a4 …, an, …
  • 3. Explicit Formula o It is convenient to describe a sequence with a formula. o S: { 2 4 6 8 10 …} o an = 2n o 1, 3, 5, 7, 9, … an = 2n – 1 o 2, 5, 10, 17, 26, … an = n2 + 1 o Find formula for o 1 1 1 1 1 1 1 1 , , , , 2 2 3 3 4 4 5     L 1 1 for all integers 1 1 kb n k k    
  • 4. ARITHMETIC SEQUENCE o Every term after the first is obtained from the preceding term by adding a constant number o The difference of any two consecutive terms is called the common difference d o 5, 9, 13, 17, … d= 4
  • 5. ARITHMETIC SEQUENCE o Let a be the first term and d be the common difference of an arithmetic sequence. Then the sequence is a, a+d, a+2d, … a1 = first term = a = a + (1-1) d a2 = second term = a + d = a + (2-1) d By symmetry an = nth term = a + (n - 1)d for all integers n 1. • 3, 9, 15, 21, … Here a = 3 d = 9 - 3 = 6 n = 20 a20 = ? Since an = a + (n - 1) d; a20 = 3 + (20 - 1) 6 = 3 + 114 = 117
  • 6. GEOMETRIC SEQUENCE o Every term after the first is obtained from the preceding term by multiplying it with a constant number (called the common ratio “r”)is called a geometric sequence or geometric progression (G.P.). 1, 2, 4, 8, 16, … (common ratio = 2) an = nth term = arn-1; for all integers n  1 a, ar, ar2, ar3, …
  • 7. SEQUENCES IN COMPUTER PROGRAMMING o An important data type in computer programming consists of finite sequences known as one-dimensional arrays; o The names of k students in a class may be represented by an array of k elements “name” as: name [0], name[1], name[2], …, name[k-1]
  • 8. SERIES o The sum of the terms of a sequence forms a series. – If a1, a2, a3, … represent a sequence of numbers, then the corresponding series is – a1 + a2 + a3 + … o Summations • =am + am+1 + am+2 + … + an. • j is called the index of summation, running from its lower limit m to its upper limit n. o Compute 𝑗=1 4 𝑗2 1+4+9+16=30 o 𝑗=1 3 2𝑗 − 1 =1+3+5=9
  • 9. Summation Notation to Expanded Form o Write expanded form of 1 ( 1) 1 ( 1) ( 1) 1 2 3 4 1 1 1 1 ( 1) 1 2 3 4 1 n n n n                   L L 0 1 2 3 0 ( 1) ( 1) ( 1) ( 1) ( 1) ( 1) 1 0 1 1 1 2 1 3 1 1 i nn i i n                    L
  • 10. Induction oThe principle of mathematical induction is a useful tool for proving that a certain predicate is true for all natural numbers.
  • 11. Induction o If we have a propositional function P(n), and we want to prove that P(n) is true for any natural number n, we do the following: 1. Show that P(1) is true. (basis step) 2. Show that if P(n) then P(n + 1) for any n  N. (inductive step) 3. Then P(n) must be true for any n  N. (conclusion)
  • 12. Induction 1. Basis Step: P(1) is true. For n = 1, left hand side of P(1) is the sum of all the successive integers starting at 1 and ending at 1, so LHS = 1 and RHS is 1(1 1) 2 . . 1 2 2 R H S     ( 1) ( ):1 2 3 2 n n P n n      L
  • 13. Induction 2. Inductive Step: Suppose P(k) is true for, some integers k  1 I. To prove P(k + 1) is true. That is, II. ( 1) 1 2 3 2 k k k      L ( 1)( 2) 1 2 3 ( 1) 2 k k k        L
  • 14. Induction Consider L.H.S. of (2) Hence by principle of Mathematical Induction the given result true for all integers greater or equal to 1 1 2 3 ( 1) 1 2 3 ( 1) ( 1) ( 1) using (1) 2 ( 1) 1 2 2 ( 1) 2 ( 1)( 2) RHS of (2) 2 k k k k k k k k k k k k                                   L L
  • 15. Induction o 1+3+5+…+(2n -1) = n2 for all integers n ≥1. o Let P(n) be the equation 1+3+5+…+(2n -1) = n2 o Show that P(1) is true. (basis step) For n = 1, L.H.S of P(1) = 1 and R.H.S =2(1)-1 = 1 Hence the equation is true for n = 1
  • 16. Induction o Suppose P(k) is true for some integer k ≥ 1. (inductive step) 1 + 3 + 5 + … + (2k - 1) = k2 …………………(1) To prove P(k+1) is true; i.e., 1 + 3 + 5 + … +[2(k+1)-1] = (k+1)2 ………….……(2) Consider L.H.S. of (2) Thus P(k+1) is also true. Hence by mathematical induction, the given equation is true for all integers n ≥ 1 2 2 1 3 5 [2( 1) 1] 1 3 5 (2 1) 1 3 5 (2 1) (2 1) (2 1) using (1) ( 1) R.H.S. of (2) k k k k k k k                           L L L